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_buffer swig_types[14]
1356 #define SWIGTYPE_p_wxMenu swig_types[15]
1357 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1359 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1360 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1361 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1363 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxFont swig_types[27]
1369 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1370 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1371 #define SWIGTYPE_p_wxFSFile swig_types[30]
1372 #define SWIGTYPE_p_wxCaret swig_types[31]
1373 #define SWIGTYPE_ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_p_wxRegion swig_types[34]
1376 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1377 #define SWIGTYPE_p_int swig_types[36]
1378 #define SWIGTYPE_p_wxSize swig_types[37]
1379 #define SWIGTYPE_p_wxDC swig_types[38]
1380 #define SWIGTYPE_p_wxPySizer swig_types[39]
1381 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1382 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1384 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1387 #define SWIGTYPE_p_wxArrayString swig_types[46]
1388 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1389 #define SWIGTYPE_p_wxToolTip swig_types[48]
1390 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1391 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1392 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1393 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1395 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1396 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1397 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1398 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1399 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1400 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1401 #define SWIGTYPE_p_long swig_types[60]
1402 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1403 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1404 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1406 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1408 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1409 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1410 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1411 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1414 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1415 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1416 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1417 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1418 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1419 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1420 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1421 #define SWIGTYPE_p_wxRect swig_types[80]
1422 #define SWIGTYPE_p_wxButton swig_types[81]
1423 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1424 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1425 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1426 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1427 #define SWIGTYPE_p_char swig_types[86]
1428 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1429 #define SWIGTYPE_p_wxImage swig_types[88]
1430 #define SWIGTYPE_p_wxFrame swig_types[89]
1431 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1433 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1434 #define SWIGTYPE_p_wxPoint swig_types[93]
1435 #define SWIGTYPE_p_wxCursor swig_types[94]
1436 #define SWIGTYPE_p_wxObject swig_types[95]
1437 #define SWIGTYPE_p_wxInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1439 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1440 #define SWIGTYPE_p_wxDateTime swig_types[99]
1441 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1443 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1444 #define SWIGTYPE_p_unsigned_long swig_types[103]
1445 #define SWIGTYPE_p_wxWindow swig_types[104]
1446 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1447 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1448 #define SWIGTYPE_p_wxBitmap swig_types[107]
1449 #define SWIGTYPE_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_unsigned_int swig_types[109]
1451 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1453 #define SWIGTYPE_p_unsigned_char swig_types[112]
1454 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyApp swig_types[116]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1460 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1461 #define SWIGTYPE_p_wxQuantize swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1466 #define SWIGTYPE_p_wxColour swig_types[125]
1467 #define SWIGTYPE_p_wxValidator swig_types[126]
1468 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1469 static swig_type_info
*swig_types
[129];
1471 /* -------- TYPES TABLE (END) -------- */
1474 /*-----------------------------------------------
1475 @(target):= _core_.so
1476 ------------------------------------------------*/
1477 #define SWIG_init init_core_
1479 #define SWIG_name "_core_"
1481 #include "wx/wxPython/wxPython_int.h"
1482 #include "wx/wxPython/pyclasses.h"
1485 #ifndef wxPyUSE_EXPORT
1486 // Helper functions for dealing with SWIG objects and such. These are
1487 // located here so they know about the SWIG types and functions declared
1488 // in the wrapper code.
1490 #include <wx/hashmap.h>
1491 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1494 // Maintains a hashmap of className to swig_type_info pointers. Given the
1495 // name of a class either looks up the type info in the cache, or scans the
1496 // SWIG tables for it.
1497 extern PyObject
* wxPyPtrTypeMap
;
1499 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1501 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1503 if (typeInfoCache
== NULL
)
1504 typeInfoCache
= new wxPyTypeInfoHashMap
;
1506 wxString
name(className
);
1507 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1510 // it wasn't in the cache, so look it up from SWIG
1511 name
.Append(wxT(" *"));
1512 swigType
= SWIG_TypeQuery(name
.mb_str());
1514 // if it still wasn't found, try looking for a mapped name
1519 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1520 (char*)(const char*)name
.mbc_str())) != NULL
) {
1521 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1522 name
.Append(wxT(" *"));
1523 swigType
= SWIG_TypeQuery(name
.mb_str());
1527 // and add it to the map if found
1528 (*typeInfoCache
)[className
] = swigType
;
1535 // Check if a class name is a type known to SWIG
1536 bool wxPyCheckSwigType(const wxChar
* className
) {
1538 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1539 return swigType
!= NULL
;
1543 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 PyObject
* wxPyConstructObject(void* ptr
,
1546 const wxChar
* className
,
1549 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1550 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1552 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1556 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1557 // Ensures that the proxy object is of the specified (or derived) type. If
1558 // not able to perform the conversion then a Python exception is set and the
1559 // error should be handled properly in the caller. Returns True on success.
1560 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1561 const wxChar
* className
) {
1563 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1564 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1570 // Make a SWIGified pointer object suitable for a .this attribute
1571 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1573 PyObject
* robj
= NULL
;
1575 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1576 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1578 #ifdef SWIG_COBJECT_TYPES
1579 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1583 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1584 PyString_FromString(result
) : 0;
1594 // Export a C API in a struct. Other modules will be able to load this from
1595 // the wx._core_ module and will then have safe access to these functions,
1596 // even if they are located in another shared library.
1597 static wxPyCoreAPI API
= {
1600 wxPyConstructObject
,
1604 wxPyBeginAllowThreads
,
1605 wxPyEndAllowThreads
,
1606 wxPyBeginBlockThreads
,
1607 wxPyEndBlockThreads
,
1619 wxPoint_LIST_helper
,
1620 wxBitmap_LIST_helper
,
1621 wxString_LIST_helper
,
1622 wxAcceleratorEntry_LIST_helper
,
1631 wxPySimple_typecheck
,
1634 wxPyCBH_setCallbackInfo
,
1635 wxPyCBH_findCallback
,
1636 wxPyCBH_callCallback
,
1637 wxPyCBH_callCallbackObj
,
1643 wxPy2int_seq_helper
,
1644 wxPy4int_seq_helper
,
1645 wxArrayString2PyList_helper
,
1646 wxArrayInt2PyList_helper
,
1648 wxPyClientData_dtor
,
1650 wxPyOORClientData_dtor
,
1652 wxPyCBInputStream_create
,
1653 wxPyCBInputStream_copy
,
1656 wxPySwigInstance_Check
,
1665 #if !WXWIN_COMPATIBILITY_2_4
1666 #define wxHIDE_READONLY 0
1670 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1671 #define SWIG_From_int PyInt_FromLong
1676 enum wxHotkeyModifier
1684 #define wxEVT_HOTKEY 9999
1687 static const wxString
wxPyEmptyString(wxEmptyString
);
1688 static wxString
wxObject_GetClassName(wxObject
*self
){
1689 return self
->GetClassInfo()->GetClassName();
1691 static void wxObject_Destroy(wxObject
*self
){
1696 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1704 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1707 if (value
< min_value
) {
1709 PyErr_Format(PyExc_OverflowError
,
1710 "value %ld is less than '%s' minimum %ld",
1711 value
, errmsg
, min_value
);
1714 } else if (value
> max_value
) {
1716 PyErr_Format(PyExc_OverflowError
,
1717 "value %ld is greater than '%s' maximum %ld",
1718 value
, errmsg
, max_value
);
1727 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1729 if (PyNumber_Check(obj
)) {
1730 if (val
) *val
= PyInt_AsLong(obj
);
1734 SWIG_type_error("number", obj
);
1740 #if INT_MAX != LONG_MAX
1742 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1744 const char* errmsg
= val
? "int" : (char*)0;
1746 if (SWIG_AsVal_long(obj
, &v
)) {
1747 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1748 if (val
) *val
= (int)(v
);
1757 SWIG_type_error(errmsg
, obj
);
1763 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1765 return SWIG_AsVal_long(obj
,(long*)val
);
1771 SWIG_As_int(PyObject
* obj
)
1774 if (!SWIG_AsVal_int(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(int));
1785 SWIG_Check_int(PyObject
* obj
)
1787 return SWIG_AsVal_int(obj
, (int*)0);
1790 static PyObject
*wxSize_Get(wxSize
*self
){
1791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1792 PyObject
* tup
= PyTuple_New(2);
1793 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1794 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1795 wxPyEndBlockThreads(blocked
);
1800 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1802 if (PyNumber_Check(obj
)) {
1803 if (val
) *val
= PyFloat_AsDouble(obj
);
1807 SWIG_type_error("number", obj
);
1813 SWIGINTERNSHORT
double
1814 SWIG_As_double(PyObject
* obj
)
1817 if (!SWIG_AsVal_double(obj
, &v
)) {
1819 this is needed to make valgrind/purify happier.
1821 memset((void*)&v
, 0, sizeof(double));
1828 SWIG_Check_double(PyObject
* obj
)
1830 return SWIG_AsVal_double(obj
, (double*)0);
1834 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1835 #define SWIG_From_double PyFloat_FromDouble
1838 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1842 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1844 PyObject
* tup
= PyTuple_New(2);
1845 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1846 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1847 wxPyEndBlockThreads(blocked
);
1851 SWIGINTERNSHORT
long
1852 SWIG_As_long(PyObject
* obj
)
1855 if (!SWIG_AsVal_long(obj
, &v
)) {
1857 this is needed to make valgrind/purify happier.
1859 memset((void*)&v
, 0, sizeof(long));
1866 SWIG_Check_long(PyObject
* obj
)
1868 return SWIG_AsVal_long(obj
, (long*)0);
1871 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1875 static PyObject
*wxPoint_Get(wxPoint
*self
){
1876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1877 PyObject
* tup
= PyTuple_New(2);
1878 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1879 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1880 wxPyEndBlockThreads(blocked
);
1883 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1886 self
->width
= width
;
1887 self
->height
= height
;
1889 static PyObject
*wxRect_Get(wxRect
*self
){
1890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1891 PyObject
* tup
= PyTuple_New(4);
1892 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1893 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1894 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1895 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1896 wxPyEndBlockThreads(blocked
);
1900 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1903 wxRect
dest(0,0,0,0);
1906 reg1
.Intersect(reg2
);
1907 dest
= reg1
.GetBox();
1909 if (dest
!= wxRect(0,0,0,0)) {
1910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1911 wxRect
* newRect
= new wxRect(dest
);
1912 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1913 wxPyEndBlockThreads(blocked
);
1921 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1927 } else if (target
== Py_None
) {
1931 if (!PyTuple_Check(target
)) {
1933 target
= PyTuple_New(1);
1934 PyTuple_SetItem(target
, 0, o2
);
1936 o3
= PyTuple_New(1);
1937 PyTuple_SetItem(o3
, 0, o
);
1940 target
= PySequence_Concat(o2
, o3
);
1948 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1952 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1953 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1954 PyObject
* tup
= PyTuple_New(2);
1955 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1956 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1957 wxPyEndBlockThreads(blocked
);
1961 #include "wx/wxPython/pyistream.h"
1963 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1964 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1966 return new wxPyInputStream(wxis
);
1971 SWIGINTERNSHORT PyObject
*
1972 SWIG_From_char(char c
)
1974 return PyString_FromStringAndSize(&c
,1);
1978 SWIGINTERNSHORT PyObject
*
1979 SWIG_From_unsigned_SS_long(unsigned long value
)
1981 return (value
> LONG_MAX
) ?
1982 PyLong_FromUnsignedLong(value
)
1983 : PyInt_FromLong((long)(value
));
1987 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1991 static swig_type_info
* pchar_info
= 0;
1993 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1994 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1995 if (cptr
) *cptr
= vptr
;
1996 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2000 if (PyString_Check(obj
)) {
2002 *cptr
= PyString_AS_STRING(obj
);
2004 *psize
= PyString_GET_SIZE(obj
) + 1;
2011 SWIG_type_error("char *", obj
);
2018 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2020 char* cptr
; size_t csize
;
2021 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2024 char x[5] = "hello";
2026 ie, assing the array using an extra '0' char.
2028 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2029 if (csize
<= size
) {
2031 if (csize
) memcpy(val
, cptr
, csize
);
2032 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2038 PyErr_Format(PyExc_TypeError
,
2039 "a char array of maximum size %lu is expected",
2040 (unsigned long) size
);
2047 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2049 const char* errmsg
= val
? "char" : (char*)0;
2051 if (SWIG_AsVal_long(obj
, &v
)) {
2052 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2053 if (val
) *val
= (char)(v
);
2060 return SWIG_AsCharArray(obj
, val
, 1);
2065 SWIGINTERNSHORT
char
2066 SWIG_As_char(PyObject
* obj
)
2069 if (!SWIG_AsVal_char(obj
, &v
)) {
2071 this is needed to make valgrind/purify happier.
2073 memset((void*)&v
, 0, sizeof(char));
2080 SWIG_Check_char(PyObject
* obj
)
2082 return SWIG_AsVal_char(obj
, (char*)0);
2086 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2087 #define SWIG_From_long PyInt_FromLong
2090 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2091 // We use only strings for the streams, not unicode
2092 PyObject
* str
= PyObject_Str(obj
);
2094 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2097 self
->Write(PyString_AS_STRING(str
),
2098 PyString_GET_SIZE(str
));
2102 #include "wx/wxPython/pyistream.h"
2105 class wxPyFileSystemHandler
: public wxFileSystemHandler
2108 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2111 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2112 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2113 DEC_PYCALLBACK_STRING__pure(FindNext
);
2115 wxString
GetProtocol(const wxString
& location
) {
2116 return wxFileSystemHandler::GetProtocol(location
);
2119 wxString
GetLeftLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetLeftLocation(location
);
2123 wxString
GetAnchor(const wxString
& location
) {
2124 return wxFileSystemHandler::GetAnchor(location
);
2127 wxString
GetRightLocation(const wxString
& location
) {
2128 return wxFileSystemHandler::GetRightLocation(location
);
2131 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2132 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2139 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2140 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2141 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2142 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2146 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2148 if (obj
== Py_True
) {
2149 if (val
) *val
= true;
2152 if (obj
== Py_False
) {
2153 if (val
) *val
= false;
2157 if (SWIG_AsVal_int(obj
, &res
)) {
2158 if (val
) *val
= res
? true : false;
2164 SWIG_type_error("bool", obj
);
2170 SWIGINTERNSHORT
bool
2171 SWIG_As_bool(PyObject
* obj
)
2174 if (!SWIG_AsVal_bool(obj
, &v
)) {
2176 this is needed to make valgrind/purify happier.
2178 memset((void*)&v
, 0, sizeof(bool));
2185 SWIG_Check_bool(PyObject
* obj
)
2187 return SWIG_AsVal_bool(obj
, (bool*)0);
2190 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2191 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2192 return fname
.GetFullPath();
2195 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2198 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2201 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2202 const wxBitmap
& bitmap
,
2204 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2207 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2209 if (! PyString_Check(data
)) {
2210 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2211 "Expected string object"));
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 void* ptr
= (void*)PyString_AsString(data
);
2217 size_t size
= PyString_Size(data
);
2218 wxPyEndBlockThreads(blocked
);
2220 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2224 #include "wx/wxPython/pyistream.h"
2228 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2231 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2232 SWIG_type_error("unsigned number", obj
);
2235 *val
= (unsigned long)v
;
2241 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2242 unsigned long max_value
,
2245 if (value
> max_value
) {
2247 PyErr_Format(PyExc_OverflowError
,
2248 "value %lu is greater than '%s' minimum %lu",
2249 value
, errmsg
, max_value
);
2258 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2260 const char* errmsg
= val
? "unsigned char" : (char*)0;
2262 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2263 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2264 if (val
) *val
= (unsigned char)(v
);
2273 SWIG_type_error(errmsg
, obj
);
2279 SWIGINTERNSHORT
unsigned char
2280 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2283 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2285 this is needed to make valgrind/purify happier.
2287 memset((void*)&v
, 0, sizeof(unsigned char));
2294 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2296 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2300 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2301 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2306 SWIGINTERNSHORT
unsigned long
2307 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2310 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2312 this is needed to make valgrind/purify happier.
2314 memset((void*)&v
, 0, sizeof(unsigned long));
2321 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2323 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2326 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2327 wxImageHistogramEntry e
= (*self
)[key
];
2330 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,unsigned char r
,unsigned char g
,unsigned char b
){
2331 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2332 wxImageHistogramEntry e
= (*self
)[key
];
2335 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2336 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2339 wxImageHistogramEntry e
= (*self
)[key
];
2343 typedef unsigned char* buffer
;
2345 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2346 if (width
> 0 && height
> 0)
2347 return new wxImage(width
, height
, clear
);
2351 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2352 return new wxImage(bitmap
.ConvertToImage());
2354 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2355 if (DATASIZE
!= width
*height
*3) {
2356 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2360 // Copy the source data so the wxImage can clean it up later
2361 buffer copy
= (buffer
)malloc(DATASIZE
);
2363 wxPyBLOCK_THREADS(PyErr_NoMemory());
2366 memcpy(copy
, data
, DATASIZE
);
2367 return new wxImage(width
, height
, copy
, false);
2369 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2370 if (DATASIZE
!= width
*height
*3) {
2371 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2374 if (ALPHASIZE
!= width
*height
) {
2375 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2379 // Copy the source data so the wxImage can clean it up later
2380 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2381 if (dcopy
== NULL
) {
2382 wxPyBLOCK_THREADS(PyErr_NoMemory());
2385 memcpy(dcopy
, data
, DATASIZE
);
2387 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2388 if (acopy
== NULL
) {
2389 wxPyBLOCK_THREADS(PyErr_NoMemory());
2392 memcpy(acopy
, alpha
, ALPHASIZE
);
2394 return new wxImage(width
, height
, dcopy
, acopy
, false);
2396 static wxSize
wxImage_GetSize(wxImage
*self
){
2397 wxSize
size(self
->GetWidth(), self
->GetHeight());
2400 static PyObject
*wxImage_GetData(wxImage
*self
){
2401 buffer data
= self
->GetData();
2402 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2404 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2407 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2408 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2409 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2412 buffer copy
= (buffer
)malloc(DATASIZE
);
2414 wxPyBLOCK_THREADS(PyErr_NoMemory());
2417 memcpy(copy
, data
, DATASIZE
);
2418 self
->SetData(copy
, false);
2419 // wxImage takes ownership of copy...
2421 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2422 buffer data
= self
->GetData();
2423 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2425 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2428 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2429 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2430 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2433 self
->SetData(data
, true);
2435 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2436 buffer data
= self
->GetAlpha();
2440 int len
= self
->GetWidth() * self
->GetHeight();
2442 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2446 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2447 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2448 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2451 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2452 if (acopy
== NULL
) {
2453 wxPyBLOCK_THREADS(PyErr_NoMemory());
2456 memcpy(acopy
, alpha
, ALPHASIZE
);
2457 self
->SetAlpha(acopy
, false);
2458 // wxImage takes ownership of acopy...
2460 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2461 buffer data
= self
->GetAlpha();
2462 int len
= self
->GetWidth() * self
->GetHeight();
2464 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2467 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2468 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2469 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2472 self
->SetAlpha(alpha
, true);
2474 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2475 wxBitmap
bitmap(*self
, depth
);
2478 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2479 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2480 wxBitmap
bitmap( mono
, 1 );
2483 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2484 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2485 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2487 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2491 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2492 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2493 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2494 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2495 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2496 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2499 #include <wx/quantize.h>
2501 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2502 return wxQuantize::Quantize(src
, dest
,
2505 NULL
, // eightBitData
2508 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2509 if (PyCallable_Check(func
)) {
2510 self
->Connect(id
, lastId
, eventType
,
2511 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2512 new wxPyCallback(func
));
2514 else if (func
== Py_None
) {
2515 self
->Disconnect(id
, lastId
, eventType
,
2516 (wxObjectEventFunction
)
2517 &wxPyCallback::EventThunker
);
2521 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2525 return self
->Disconnect(id
, lastId
, eventType
,
2526 (wxObjectEventFunction
)
2527 &wxPyCallback::EventThunker
);
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2530 if (_self
&& _self
!= Py_None
) {
2531 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2534 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2536 self
->SetClientObject(NULL
); // This will delete it too
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2543 return self
->GetUnicodeKey();
2549 #if UINT_MAX < LONG_MAX
2550 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long
2554 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 #if UINT_MAX != ULONG_MAX
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 const char* errmsg
= val
? "unsigned int" : (char*)0;
2566 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2567 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2568 if (val
) *val
= (unsigned int)(v
);
2575 SWIG_type_error(errmsg
, obj
);
2580 SWIGINTERNSHORT
unsigned int
2581 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2583 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2592 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2594 this is needed to make valgrind/purify happier.
2596 memset((void*)&v
, 0, sizeof(unsigned int));
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2605 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2608 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2609 self
->m_size
= size
;
2611 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2612 int count
= self
->GetNumberOfFiles();
2613 wxString
* files
= self
->GetFiles();
2614 PyObject
* list
= PyList_New(count
);
2617 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2621 for (int i
=0; i
<count
; i
++) {
2622 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2628 static wxPyApp
*new_wxPyApp(){
2629 wxPythonApp
= new wxPyApp();
2632 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2634 void wxApp_CleanUp() {
2639 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2643 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2645 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2650 SWIG_type_error("char *", obj
);
2656 SWIGINTERN PyObject
*
2657 SWIG_FromCharPtr(const char* cptr
)
2660 size_t size
= strlen(cptr
);
2661 if (size
> INT_MAX
) {
2662 return SWIG_NewPointerObj((char*)(cptr
),
2663 SWIG_TypeQuery("char *"), 0);
2666 return PyString_FromStringAndSize(cptr
, size
);
2668 return PyString_FromString(cptr
);
2679 // A dummy class that raises an exception if used...
2683 wxEventLoop() { wxPyRaiseNotImplemented(); }
2684 int Run() { return 0; }
2685 void Exit(int rc
= 0) {}
2686 bool Pending() const { return false; }
2687 bool Dispatch() { return false; }
2688 bool IsRunning() const { return false; }
2689 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2690 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2695 #include <wx/evtloop.h>
2701 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2702 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2703 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2704 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2705 wxWindowList
& list
= self
->GetChildren();
2706 return wxPy_ConvertList(&list
);
2708 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2710 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2715 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2722 static long wxWindow_GetHandle(wxWindow
*self
){
2723 return wxPyGetWinHandle(self
);
2725 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2726 self
->AssociateHandle((WXWidget
)handle
);
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2730 return wxWindow::FindWindowById(id
, parent
);
2733 wxWindow
* wxFindWindowByName( const wxString
& name
,
2734 const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowByName(name
, parent
);
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByLabel(label
, parent
);
2745 #include <wx/msw/private.h> // to get wxGetWindowId
2749 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2751 WXHWND hWnd
= (WXHWND
)_hWnd
;
2752 long id
= wxGetWindowId(hWnd
);
2753 wxWindow
* win
= new wxWindow
;
2754 parent
->AddChild(win
);
2755 win
->SetEventHandler(win
);
2758 win
->SubclassWin(hWnd
);
2759 win
->AdoptAttributesFromHWND();
2760 win
->SetupColours();
2763 wxPyRaiseNotImplemented();
2769 PyObject
* GetTopLevelWindows() {
2770 return wxPy_ConvertList(&wxTopLevelWindows
);
2774 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2775 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2776 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2778 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2780 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2781 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2782 wxMenuItemList
& list
= self
->GetMenuItems();
2783 return wxPy_ConvertList(&list
);
2785 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2786 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2787 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2788 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2789 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2790 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2791 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2792 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2793 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2794 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2795 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2796 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2797 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2798 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2799 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2800 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2801 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2803 wxPyClientData
* data
= new wxPyClientData(clientData
);
2804 return self
->Append(item
, data
);
2806 return self
->Append(item
);
2808 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2810 wxPyClientData
* data
= new wxPyClientData(clientData
);
2811 return self
->Insert(item
, pos
, data
);
2813 return self
->Insert(item
, pos
);
2815 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2816 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2818 Py_INCREF(data
->m_obj
);
2825 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2826 wxPyClientData
* data
= new wxPyClientData(clientData
);
2827 self
->SetClientObject(n
, data
);
2831 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2832 wxPyUserData
* data
= NULL
;
2834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2835 data
= new wxPyUserData(userData
);
2836 wxPyEndBlockThreads(blocked
);
2838 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2840 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2841 wxPyUserData
* data
= NULL
;
2843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2844 data
= new wxPyUserData(userData
);
2845 wxPyEndBlockThreads(blocked
);
2847 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2849 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2850 wxPyUserData
* data
= NULL
;
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 data
= new wxPyUserData(userData
);
2854 wxPyEndBlockThreads(blocked
);
2856 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2861 SWIG_CheckDoubleInRange(double value
, double min_value
,
2862 double max_value
, const char* errmsg
)
2864 if (value
< min_value
) {
2866 PyErr_Format(PyExc_OverflowError
,
2867 "value %g is less than %s minimum %g",
2868 value
, errmsg
, min_value
);
2871 } else if (value
> max_value
) {
2873 PyErr_Format(PyExc_OverflowError
,
2874 "value %g is greater than %s maximum %g",
2875 value
, errmsg
, max_value
);
2884 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2886 const char* errmsg
= val
? "float" : (char*)0;
2888 if (SWIG_AsVal_double(obj
, &v
)) {
2889 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2890 if (val
) *val
= (float)(v
);
2899 SWIG_type_error(errmsg
, obj
);
2905 SWIGINTERNSHORT
float
2906 SWIG_As_float(PyObject
* obj
)
2909 if (!SWIG_AsVal_float(obj
, &v
)) {
2911 this is needed to make valgrind/purify happier.
2913 memset((void*)&v
, 0, sizeof(float));
2920 SWIG_Check_float(PyObject
* obj
)
2922 return SWIG_AsVal_float(obj
, (float*)0);
2926 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2927 #define SWIG_From_float PyFloat_FromDouble
2930 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2931 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2933 Py_INCREF(data
->m_obj
);
2941 // Figure out the type of the sizer item
2943 struct wxPySizerItemInfo
{
2945 : window(NULL
), sizer(NULL
), gotSize(false),
2946 size(wxDefaultSize
), gotPos(false), pos(-1)
2957 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2959 wxPySizerItemInfo info
;
2961 wxSize
* sizePtr
= &size
;
2963 // Find out what the type of the item is
2965 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2970 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2974 // try wxSize or (w,h)
2975 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2976 info
.size
= *sizePtr
;
2977 info
.gotSize
= true;
2981 if (checkIdx
&& PyInt_Check(item
)) {
2982 info
.pos
= PyInt_AsLong(item
);
2988 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2989 // no expected type, figure out what kind of error message to generate
2990 if ( !checkSize
&& !checkIdx
)
2991 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2992 else if ( checkSize
&& !checkIdx
)
2993 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2994 else if ( !checkSize
&& checkIdx
)
2995 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2997 // can this one happen?
2998 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3004 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3005 if (!self
->GetClientObject())
3006 self
->SetClientObject(new wxPyOORClientData(_self
));
3008 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3010 wxPyUserData
* data
= NULL
;
3011 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3012 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3013 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3014 data
= new wxPyUserData(userData
);
3015 wxPyEndBlockThreads(blocked
);
3017 // Now call the real Add method if a valid item type was found
3019 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3020 else if ( info
.sizer
)
3021 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3022 else if (info
.gotSize
)
3023 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3024 proportion
, flag
, border
, data
);
3028 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3030 wxPyUserData
* data
= NULL
;
3031 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3032 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3033 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3034 data
= new wxPyUserData(userData
);
3035 wxPyEndBlockThreads(blocked
);
3037 // Now call the real Insert method if a valid item type was found
3039 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3040 else if ( info
.sizer
)
3041 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3042 else if (info
.gotSize
)
3043 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3044 proportion
, flag
, border
, data
);
3048 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3050 wxPyUserData
* data
= NULL
;
3051 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3052 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3053 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3054 data
= new wxPyUserData(userData
);
3055 wxPyEndBlockThreads(blocked
);
3057 // Now call the real Prepend method if a valid item type was found
3059 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3060 else if ( info
.sizer
)
3061 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3062 else if (info
.gotSize
)
3063 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3064 proportion
, flag
, border
, data
);
3068 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3071 wxPyEndBlockThreads(blocked
);
3073 return self
->Remove(info
.window
);
3074 else if ( info
.sizer
)
3075 return self
->Remove(info
.sizer
);
3076 else if ( info
.gotPos
)
3077 return self
->Remove(info
.pos
);
3081 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3083 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3084 wxPyEndBlockThreads(blocked
);
3086 return self
->Detach(info
.window
);
3087 else if ( info
.sizer
)
3088 return self
->Detach(info
.sizer
);
3089 else if ( info
.gotPos
)
3090 return self
->Detach(info
.pos
);
3094 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3095 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3096 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3097 wxPyEndBlockThreads(blocked
);
3099 return self
->GetItem(info
.window
);
3100 else if ( info
.sizer
)
3101 return self
->GetItem(info
.sizer
);
3102 else if ( info
.gotPos
)
3103 return self
->GetItem(info
.pos
);
3107 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3108 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3109 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3110 wxPyEndBlockThreads(blocked
);
3112 self
->SetItemMinSize(info
.window
, size
);
3113 else if ( info
.sizer
)
3114 self
->SetItemMinSize(info
.sizer
, size
);
3115 else if ( info
.gotPos
)
3116 self
->SetItemMinSize(info
.pos
, size
);
3118 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3119 wxSizerItemList
& list
= self
->GetChildren();
3120 return wxPy_ConvertList(&list
);
3122 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3123 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3124 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3125 wxPyEndBlockThreads(blocked
);
3127 return self
->Show(info
.window
, show
, recursive
);
3128 else if ( info
.sizer
)
3129 return self
->Show(info
.sizer
, show
, recursive
);
3130 else if ( info
.gotPos
)
3131 return self
->Show(info
.pos
, show
);
3135 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3138 wxPyEndBlockThreads(blocked
);
3140 return self
->IsShown(info
.window
);
3141 else if ( info
.sizer
)
3142 return self
->IsShown(info
.sizer
);
3143 else if ( info
.gotPos
)
3144 return self
->IsShown(info
.pos
);
3150 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3151 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3152 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3157 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3159 if (source
== Py_None
) {
3160 **obj
= wxGBPosition(-1,-1);
3163 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3166 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3168 if (source
== Py_None
) {
3169 **obj
= wxGBSpan(-1,-1);
3172 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3176 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3180 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 PyObject
* tup
= PyTuple_New(2);
3183 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3184 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3185 wxPyEndBlockThreads(blocked
);
3188 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3189 self
->SetRowspan(rowspan
);
3190 self
->SetColspan(colspan
);
3192 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3193 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3194 PyObject
* tup
= PyTuple_New(2);
3195 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3196 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3197 wxPyEndBlockThreads(blocked
);
3200 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3201 wxPyUserData
* data
= NULL
;
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 data
= new wxPyUserData(userData
);
3205 wxPyEndBlockThreads(blocked
);
3207 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3209 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3210 wxPyUserData
* data
= NULL
;
3212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3213 data
= new wxPyUserData(userData
);
3214 wxPyEndBlockThreads(blocked
);
3216 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3218 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3219 wxPyUserData
* data
= NULL
;
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 data
= new wxPyUserData(userData
);
3223 wxPyEndBlockThreads(blocked
);
3225 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3227 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3229 self
->GetEndPos(row
, col
);
3230 return wxGBPosition(row
, col
);
3232 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3234 wxPyUserData
* data
= NULL
;
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3237 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3238 data
= new wxPyUserData(userData
);
3239 wxPyEndBlockThreads(blocked
);
3241 // Now call the real Add method if a valid item type was found
3243 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3244 else if ( info
.sizer
)
3245 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3246 else if (info
.gotSize
)
3247 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3248 pos
, span
, flag
, border
, data
);
3256 static int _wrap_EmptyString_set(PyObject
*) {
3257 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3262 static PyObject
*_wrap_EmptyString_get(void) {
3267 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3269 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3276 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxObject
*arg1
= (wxObject
*) 0 ;
3280 PyObject
* obj0
= 0 ;
3282 (char *) "self", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3287 if (SWIG_arg_fail(1)) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= wxObject_GetClassName(arg1
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3308 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxObject
*arg1
= (wxObject
*) 0 ;
3311 PyObject
* obj0
= 0 ;
3313 (char *) "self", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3318 if (SWIG_arg_fail(1)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxObject_Destroy(arg1
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 Py_INCREF(Py_None
); resultobj
= Py_None
;
3333 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3336 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3338 return Py_BuildValue((char *)"");
3340 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxSize
*arg1
= (wxSize
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "x", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3352 if (SWIG_arg_fail(1)) SWIG_fail
;
3354 arg2
= (int)(SWIG_As_int(obj1
));
3355 if (SWIG_arg_fail(2)) SWIG_fail
;
3357 if (arg1
) (arg1
)->x
= arg2
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxSize
*arg1
= (wxSize
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "self", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3377 if (SWIG_arg_fail(1)) SWIG_fail
;
3378 result
= (int) ((arg1
)->x
);
3381 resultobj
= SWIG_From_int((int)(result
));
3389 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxSize
*arg1
= (wxSize
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "self",(char *) "y", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail
;
3403 arg2
= (int)(SWIG_As_int(obj1
));
3404 if (SWIG_arg_fail(2)) SWIG_fail
;
3406 if (arg1
) (arg1
)->y
= arg2
;
3408 Py_INCREF(Py_None
); resultobj
= Py_None
;
3415 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxSize
*arg1
= (wxSize
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3421 (char *) "self", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3426 if (SWIG_arg_fail(1)) SWIG_fail
;
3427 result
= (int) ((arg1
)->y
);
3430 resultobj
= SWIG_From_int((int)(result
));
3438 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 int arg1
= (int) 0 ;
3441 int arg2
= (int) 0 ;
3443 PyObject
* obj0
= 0 ;
3444 PyObject
* obj1
= 0 ;
3446 (char *) "w",(char *) "h", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3452 arg1
= (int)(SWIG_As_int(obj0
));
3453 if (SWIG_arg_fail(1)) SWIG_fail
;
3458 arg2
= (int)(SWIG_As_int(obj1
));
3459 if (SWIG_arg_fail(2)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3476 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxSize
*arg1
= (wxSize
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "self", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3486 if (SWIG_arg_fail(1)) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxSize
*arg1
= (wxSize
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3510 (char *) "self",(char *) "sz", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail
;
3518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3536 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxSize
*arg1
= (wxSize
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3545 (char *) "self",(char *) "sz", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3550 if (SWIG_arg_fail(1)) SWIG_fail
;
3553 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3571 static PyObject
*_wrap_Size___add__(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___add__",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___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxSize
*arg1
= (wxSize
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 (char *) "self",(char *) "sz", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3622 if (SWIG_arg_fail(1)) SWIG_fail
;
3625 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3636 resultptr
= new wxSize((wxSize
&)(result
));
3637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3645 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxSize
*arg1
= (wxSize
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3651 PyObject
* obj1
= 0 ;
3653 (char *) "self",(char *) "sz", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3658 if (SWIG_arg_fail(1)) SWIG_fail
;
3661 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->IncTo((wxSize
const &)*arg2
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxSize
*arg1
= (wxSize
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3685 (char *) "self",(char *) "sz", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3690 if (SWIG_arg_fail(1)) SWIG_fail
;
3693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->DecTo((wxSize
const &)*arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxSize
*arg1
= (wxSize
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3716 PyObject
* obj2
= 0 ;
3718 (char *) "self",(char *) "w",(char *) "h", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3723 if (SWIG_arg_fail(1)) SWIG_fail
;
3725 arg2
= (int)(SWIG_As_int(obj1
));
3726 if (SWIG_arg_fail(2)) SWIG_fail
;
3729 arg3
= (int)(SWIG_As_int(obj2
));
3730 if (SWIG_arg_fail(3)) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 (arg1
)->Set(arg2
,arg3
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 Py_INCREF(Py_None
); resultobj
= Py_None
;
3746 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxSize
*arg1
= (wxSize
*) 0 ;
3750 PyObject
* obj0
= 0 ;
3751 PyObject
* obj1
= 0 ;
3753 (char *) "self",(char *) "w", NULL
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3758 if (SWIG_arg_fail(1)) SWIG_fail
;
3760 arg2
= (int)(SWIG_As_int(obj1
));
3761 if (SWIG_arg_fail(2)) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 (arg1
)->SetWidth(arg2
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 Py_INCREF(Py_None
); resultobj
= Py_None
;
3777 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxSize
*arg1
= (wxSize
*) 0 ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3784 (char *) "self",(char *) "h", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail
;
3791 arg2
= (int)(SWIG_As_int(obj1
));
3792 if (SWIG_arg_fail(2)) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 (arg1
)->SetHeight(arg2
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxSize
*arg1
= (wxSize
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3814 (char *) "self", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3819 if (SWIG_arg_fail(1)) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_From_int((int)(result
));
3836 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxSize
*arg1
= (wxSize
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3847 if (SWIG_arg_fail(1)) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_From_int((int)(result
));
3864 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxSize
*arg1
= (wxSize
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3870 (char *) "self", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3875 if (SWIG_arg_fail(1)) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3892 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxSize
*arg1
= (wxSize
*) 0 ;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3900 (char *) "self",(char *) "size", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3905 if (SWIG_arg_fail(1)) SWIG_fail
;
3908 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxSize
*arg1
= (wxSize
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(1)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (PyObject
*)wxSize_Get(arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3950 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3953 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3955 return Py_BuildValue((char *)"");
3957 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "x", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3969 if (SWIG_arg_fail(1)) SWIG_fail
;
3971 arg2
= (double)(SWIG_As_double(obj1
));
3972 if (SWIG_arg_fail(2)) SWIG_fail
;
3974 if (arg1
) (arg1
)->x
= arg2
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3983 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "self", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3994 if (SWIG_arg_fail(1)) SWIG_fail
;
3995 result
= (double) ((arg1
)->x
);
3998 resultobj
= SWIG_From_double((double)(result
));
4006 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
;
4008 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4013 (char *) "self",(char *) "y", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4018 if (SWIG_arg_fail(1)) SWIG_fail
;
4020 arg2
= (double)(SWIG_As_double(obj1
));
4021 if (SWIG_arg_fail(2)) SWIG_fail
;
4023 if (arg1
) (arg1
)->y
= arg2
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4043 if (SWIG_arg_fail(1)) SWIG_fail
;
4044 result
= (double) ((arg1
)->y
);
4047 resultobj
= SWIG_From_double((double)(result
));
4055 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 double arg1
= (double) 0.0 ;
4058 double arg2
= (double) 0.0 ;
4059 wxRealPoint
*result
;
4060 PyObject
* obj0
= 0 ;
4061 PyObject
* obj1
= 0 ;
4063 (char *) "x",(char *) "y", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 arg1
= (double)(SWIG_As_double(obj0
));
4070 if (SWIG_arg_fail(1)) SWIG_fail
;
4075 arg2
= (double)(SWIG_As_double(obj1
));
4076 if (SWIG_arg_fail(2)) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4093 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 Py_INCREF(Py_None
); resultobj
= Py_None
;
4118 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4121 wxRealPoint
*arg2
= 0 ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4127 (char *) "self",(char *) "pt", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail
;
4135 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4153 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4156 wxRealPoint
*arg2
= 0 ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4162 (char *) "self",(char *) "pt", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4167 if (SWIG_arg_fail(1)) SWIG_fail
;
4170 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4188 static PyObject
*_wrap_RealPoint___add__(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___add__",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___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4228 wxRealPoint
*arg2
= 0 ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 (char *) "self",(char *) "pt", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4239 if (SWIG_arg_fail(1)) SWIG_fail
;
4242 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4252 wxRealPoint
* resultptr
;
4253 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4262 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 PyObject
* obj2
= 0 ;
4271 (char *) "self",(char *) "x",(char *) "y", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4276 if (SWIG_arg_fail(1)) SWIG_fail
;
4278 arg2
= (double)(SWIG_As_double(obj1
));
4279 if (SWIG_arg_fail(2)) SWIG_fail
;
4282 arg3
= (double)(SWIG_As_double(obj2
));
4283 if (SWIG_arg_fail(3)) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 wxRealPoint_Set(arg1
,arg2
,arg3
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 Py_INCREF(Py_None
); resultobj
= Py_None
;
4299 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4303 PyObject
* obj0
= 0 ;
4305 (char *) "self", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4310 if (SWIG_arg_fail(1)) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4325 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4328 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4330 return Py_BuildValue((char *)"");
4332 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxPoint
*arg1
= (wxPoint
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "x", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 arg2
= (int)(SWIG_As_int(obj1
));
4347 if (SWIG_arg_fail(2)) SWIG_fail
;
4349 if (arg1
) (arg1
)->x
= arg2
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxPoint
*arg1
= (wxPoint
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4364 (char *) "self", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4369 if (SWIG_arg_fail(1)) SWIG_fail
;
4370 result
= (int) ((arg1
)->x
);
4373 resultobj
= SWIG_From_int((int)(result
));
4381 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxPoint
*arg1
= (wxPoint
*) 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4388 (char *) "self",(char *) "y", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4393 if (SWIG_arg_fail(1)) SWIG_fail
;
4395 arg2
= (int)(SWIG_As_int(obj1
));
4396 if (SWIG_arg_fail(2)) SWIG_fail
;
4398 if (arg1
) (arg1
)->y
= arg2
;
4400 Py_INCREF(Py_None
); resultobj
= Py_None
;
4407 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxPoint
*arg1
= (wxPoint
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4413 (char *) "self", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail
;
4419 result
= (int) ((arg1
)->y
);
4422 resultobj
= SWIG_From_int((int)(result
));
4430 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 int arg1
= (int) 0 ;
4433 int arg2
= (int) 0 ;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj1
= 0 ;
4438 (char *) "x",(char *) "y", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4444 arg1
= (int)(SWIG_As_int(obj0
));
4445 if (SWIG_arg_fail(1)) SWIG_fail
;
4450 arg2
= (int)(SWIG_As_int(obj1
));
4451 if (SWIG_arg_fail(2)) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4468 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxPoint
*arg1
= (wxPoint
*) 0 ;
4471 PyObject
* obj0
= 0 ;
4473 (char *) "self", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4478 if (SWIG_arg_fail(1)) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4493 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxPoint
*arg1
= (wxPoint
*) 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4502 (char *) "self",(char *) "pt", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail
;
4510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4528 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxPoint
*arg1
= (wxPoint
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4535 PyObject
* obj1
= 0 ;
4537 (char *) "self",(char *) "pt", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail
;
4545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4563 static PyObject
*_wrap_Point___add__(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___add__",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___sub__(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___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 wxPoint
* resultptr
;
4628 resultptr
= new wxPoint((wxPoint
&)(result
));
4629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4637 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxPoint
*arg1
= (wxPoint
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4644 PyObject
* obj1
= 0 ;
4646 (char *) "self",(char *) "pt", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4651 if (SWIG_arg_fail(1)) SWIG_fail
;
4654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4660 result
= (wxPoint
*) &_result_ref
;
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4673 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxPoint
*arg1
= (wxPoint
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4682 (char *) "self",(char *) "pt", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4687 if (SWIG_arg_fail(1)) SWIG_fail
;
4690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4696 result
= (wxPoint
*) &_result_ref
;
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4709 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxPoint
*arg1
= (wxPoint
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4716 PyObject
* obj2
= 0 ;
4718 (char *) "self",(char *) "x",(char *) "y", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4723 if (SWIG_arg_fail(1)) SWIG_fail
;
4725 arg2
= (long)(SWIG_As_long(obj1
));
4726 if (SWIG_arg_fail(2)) SWIG_fail
;
4729 arg3
= (long)(SWIG_As_long(obj2
));
4730 if (SWIG_arg_fail(3)) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 wxPoint_Set(arg1
,arg2
,arg3
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxPoint
*arg1
= (wxPoint
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4752 (char *) "self", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (PyObject
*)wxPoint_Get(arg1
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4772 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4775 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4777 return Py_BuildValue((char *)"");
4779 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 int arg1
= (int) 0 ;
4782 int arg2
= (int) 0 ;
4783 int arg3
= (int) 0 ;
4784 int arg4
= (int) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4789 PyObject
* obj3
= 0 ;
4791 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4797 arg1
= (int)(SWIG_As_int(obj0
));
4798 if (SWIG_arg_fail(1)) SWIG_fail
;
4803 arg2
= (int)(SWIG_As_int(obj1
));
4804 if (SWIG_arg_fail(2)) SWIG_fail
;
4809 arg3
= (int)(SWIG_As_int(obj2
));
4810 if (SWIG_arg_fail(3)) SWIG_fail
;
4815 arg4
= (int)(SWIG_As_int(obj3
));
4816 if (SWIG_arg_fail(4)) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4833 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4843 (char *) "topLeft",(char *) "bottomRight", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4849 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4869 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4879 (char *) "pos",(char *) "size", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4885 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4905 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "size", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4918 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4934 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxRect
*arg1
= (wxRect
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4939 (char *) "self", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4944 if (SWIG_arg_fail(1)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxRect
*arg1
= (wxRect
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4970 if (SWIG_arg_fail(1)) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (int)((wxRect
const *)arg1
)->GetX();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_From_int((int)(result
));
4987 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxRect
*arg1
= (wxRect
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4994 (char *) "self",(char *) "x", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4999 if (SWIG_arg_fail(1)) SWIG_fail
;
5001 arg2
= (int)(SWIG_As_int(obj1
));
5002 if (SWIG_arg_fail(2)) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 Py_INCREF(Py_None
); resultobj
= Py_None
;
5018 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxRect
*arg1
= (wxRect
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5024 (char *) "self", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5029 if (SWIG_arg_fail(1)) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (int)(arg1
)->GetY();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_From_int((int)(result
));
5046 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxRect
*arg1
= (wxRect
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "y", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5058 if (SWIG_arg_fail(1)) SWIG_fail
;
5060 arg2
= (int)(SWIG_As_int(obj1
));
5061 if (SWIG_arg_fail(2)) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxRect
*arg1
= (wxRect
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "self", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5088 if (SWIG_arg_fail(1)) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= SWIG_From_int((int)(result
));
5105 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxRect
*arg1
= (wxRect
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5112 (char *) "self",(char *) "w", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5117 if (SWIG_arg_fail(1)) SWIG_fail
;
5119 arg2
= (int)(SWIG_As_int(obj1
));
5120 if (SWIG_arg_fail(2)) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 (arg1
)->SetWidth(arg2
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 Py_INCREF(Py_None
); resultobj
= Py_None
;
5136 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxRect
*arg1
= (wxRect
*) 0 ;
5140 PyObject
* obj0
= 0 ;
5142 (char *) "self", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5147 if (SWIG_arg_fail(1)) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_From_int((int)(result
));
5164 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxRect
*arg1
= (wxRect
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5169 PyObject
* obj1
= 0 ;
5171 (char *) "self",(char *) "h", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5176 if (SWIG_arg_fail(1)) SWIG_fail
;
5178 arg2
= (int)(SWIG_As_int(obj1
));
5179 if (SWIG_arg_fail(2)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 (arg1
)->SetHeight(arg2
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxRect
*arg1
= (wxRect
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= ((wxRect
const *)arg1
)->GetPosition();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5215 wxPoint
* resultptr
;
5216 resultptr
= new wxPoint((wxPoint
&)(result
));
5217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5225 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxRect
*arg1
= (wxRect
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "p", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5238 if (SWIG_arg_fail(1)) SWIG_fail
;
5241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxRect
*arg1
= (wxRect
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= ((wxRect
const *)arg1
)->GetSize();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5278 resultptr
= new wxSize((wxSize
&)(result
));
5279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5287 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxRect
*arg1
= (wxRect
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5295 (char *) "self",(char *) "s", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5300 if (SWIG_arg_fail(1)) SWIG_fail
;
5303 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->SetSize((wxSize
const &)*arg2
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxRect
*arg1
= (wxRect
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "self", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5330 if (SWIG_arg_fail(1)) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5347 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxRect
*arg1
= (wxRect
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "self", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 wxPoint
* resultptr
;
5368 resultptr
= new wxPoint((wxPoint
&)(result
));
5369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5377 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxRect
*arg1
= (wxRect
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "p", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail
;
5393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxRect
*arg1
= (wxRect
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5415 (char *) "self", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5420 if (SWIG_arg_fail(1)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5429 wxPoint
* resultptr
;
5430 resultptr
= new wxPoint((wxPoint
&)(result
));
5431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5439 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxRect
*arg1
= (wxRect
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5447 (char *) "self",(char *) "p", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5452 if (SWIG_arg_fail(1)) SWIG_fail
;
5455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 Py_INCREF(Py_None
); resultobj
= Py_None
;
5471 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxRect
*arg1
= (wxRect
*) 0 ;
5475 PyObject
* obj0
= 0 ;
5477 (char *) "self", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5482 if (SWIG_arg_fail(1)) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= SWIG_From_int((int)(result
));
5499 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxRect
*arg1
= (wxRect
*) 0 ;
5503 PyObject
* obj0
= 0 ;
5505 (char *) "self", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5510 if (SWIG_arg_fail(1)) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (int)((wxRect
const *)arg1
)->GetTop();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5519 resultobj
= SWIG_From_int((int)(result
));
5527 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxRect
*arg1
= (wxRect
*) 0 ;
5531 PyObject
* obj0
= 0 ;
5533 (char *) "self", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5538 if (SWIG_arg_fail(1)) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= SWIG_From_int((int)(result
));
5555 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxRect
*arg1
= (wxRect
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5566 if (SWIG_arg_fail(1)) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (int)((wxRect
const *)arg1
)->GetRight();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_From_int((int)(result
));
5583 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxRect
*arg1
= (wxRect
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5590 (char *) "self",(char *) "left", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5595 if (SWIG_arg_fail(1)) SWIG_fail
;
5597 arg2
= (int)(SWIG_As_int(obj1
));
5598 if (SWIG_arg_fail(2)) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 (arg1
)->SetLeft(arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 Py_INCREF(Py_None
); resultobj
= Py_None
;
5614 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxRect
*arg1
= (wxRect
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "right", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5626 if (SWIG_arg_fail(1)) SWIG_fail
;
5628 arg2
= (int)(SWIG_As_int(obj1
));
5629 if (SWIG_arg_fail(2)) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 (arg1
)->SetRight(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 Py_INCREF(Py_None
); resultobj
= Py_None
;
5645 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxRect
*arg1
= (wxRect
*) 0 ;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5652 (char *) "self",(char *) "top", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail
;
5659 arg2
= (int)(SWIG_As_int(obj1
));
5660 if (SWIG_arg_fail(2)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->SetTop(arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxRect
*arg1
= (wxRect
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5683 (char *) "self",(char *) "bottom", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5688 if (SWIG_arg_fail(1)) SWIG_fail
;
5690 arg2
= (int)(SWIG_As_int(obj1
));
5691 if (SWIG_arg_fail(2)) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->SetBottom(arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxRect
*arg1
= (wxRect
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5715 PyObject
* obj2
= 0 ;
5717 (char *) "self",(char *) "dx",(char *) "dy", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail
;
5724 arg2
= (int)(SWIG_As_int(obj1
));
5725 if (SWIG_arg_fail(2)) SWIG_fail
;
5728 arg3
= (int)(SWIG_As_int(obj2
));
5729 if (SWIG_arg_fail(3)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5735 result
= (wxRect
*) &_result_ref
;
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5748 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxRect
*arg1
= (wxRect
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5756 PyObject
* obj2
= 0 ;
5758 (char *) "self",(char *) "dx",(char *) "dy", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5763 if (SWIG_arg_fail(1)) SWIG_fail
;
5765 arg2
= (int)(SWIG_As_int(obj1
));
5766 if (SWIG_arg_fail(2)) SWIG_fail
;
5769 arg3
= (int)(SWIG_As_int(obj2
));
5770 if (SWIG_arg_fail(3)) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5776 result
= (wxRect
*) &_result_ref
;
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5789 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxRect
*arg1
= (wxRect
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5796 PyObject
* obj2
= 0 ;
5798 (char *) "self",(char *) "dx",(char *) "dy", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5805 arg2
= (int)(SWIG_As_int(obj1
));
5806 if (SWIG_arg_fail(2)) SWIG_fail
;
5809 arg3
= (int)(SWIG_As_int(obj2
));
5810 if (SWIG_arg_fail(3)) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 (arg1
)->Offset(arg2
,arg3
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5819 Py_INCREF(Py_None
); resultobj
= Py_None
;
5826 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxRect
*arg1
= (wxRect
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5834 (char *) "self",(char *) "pt", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5839 if (SWIG_arg_fail(1)) SWIG_fail
;
5842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->Offset((wxPoint
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_Rect_Intersect(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_Intersect",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
)->Intersect((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_Union(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_Union",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
= (arg1
)->Union((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___add__(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___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5946 if (SWIG_arg_fail(1)) SWIG_fail
;
5949 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5960 resultptr
= new wxRect((wxRect
&)(result
));
5961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5969 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxRect
*arg1
= (wxRect
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5976 PyObject
* obj1
= 0 ;
5978 (char *) "self",(char *) "rect", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5983 if (SWIG_arg_fail(1)) SWIG_fail
;
5986 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5992 result
= (wxRect
*) &_result_ref
;
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6005 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxRect
*arg1
= (wxRect
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6014 (char *) "self",(char *) "rect", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail
;
6022 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6040 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxRect
*arg1
= (wxRect
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6049 (char *) "self",(char *) "rect", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6057 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6075 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxRect
*arg1
= (wxRect
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 PyObject
* obj2
= 0 ;
6085 (char *) "self",(char *) "x",(char *) "y", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6090 if (SWIG_arg_fail(1)) SWIG_fail
;
6092 arg2
= (int)(SWIG_As_int(obj1
));
6093 if (SWIG_arg_fail(2)) SWIG_fail
;
6096 arg3
= (int)(SWIG_As_int(obj2
));
6097 if (SWIG_arg_fail(3)) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxRect
*arg1
= (wxRect
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "pt", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6129 if (SWIG_arg_fail(1)) SWIG_fail
;
6132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6150 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxRect
*arg1
= (wxRect
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6159 (char *) "self",(char *) "rect", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6164 if (SWIG_arg_fail(1)) SWIG_fail
;
6167 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6185 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxRect
*arg1
= (wxRect
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6192 (char *) "self",(char *) "x", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6197 if (SWIG_arg_fail(1)) SWIG_fail
;
6199 arg2
= (int)(SWIG_As_int(obj1
));
6200 if (SWIG_arg_fail(2)) SWIG_fail
;
6202 if (arg1
) (arg1
)->x
= arg2
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxRect
*arg1
= (wxRect
*) 0 ;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6222 if (SWIG_arg_fail(1)) SWIG_fail
;
6223 result
= (int) ((arg1
)->x
);
6226 resultobj
= SWIG_From_int((int)(result
));
6234 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxRect
*arg1
= (wxRect
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6241 (char *) "self",(char *) "y", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail
;
6248 arg2
= (int)(SWIG_As_int(obj1
));
6249 if (SWIG_arg_fail(2)) SWIG_fail
;
6251 if (arg1
) (arg1
)->y
= arg2
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6260 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxRect
*arg1
= (wxRect
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail
;
6272 result
= (int) ((arg1
)->y
);
6275 resultobj
= SWIG_From_int((int)(result
));
6283 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxRect
*arg1
= (wxRect
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "width", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 arg2
= (int)(SWIG_As_int(obj1
));
6298 if (SWIG_arg_fail(2)) SWIG_fail
;
6300 if (arg1
) (arg1
)->width
= arg2
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxRect
*arg1
= (wxRect
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 result
= (int) ((arg1
)->width
);
6324 resultobj
= SWIG_From_int((int)(result
));
6332 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxRect
*arg1
= (wxRect
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6339 (char *) "self",(char *) "height", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6344 if (SWIG_arg_fail(1)) SWIG_fail
;
6346 arg2
= (int)(SWIG_As_int(obj1
));
6347 if (SWIG_arg_fail(2)) SWIG_fail
;
6349 if (arg1
) (arg1
)->height
= arg2
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxRect
*arg1
= (wxRect
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "self", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6369 if (SWIG_arg_fail(1)) SWIG_fail
;
6370 result
= (int) ((arg1
)->height
);
6373 resultobj
= SWIG_From_int((int)(result
));
6381 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxRect
*arg1
= (wxRect
*) 0 ;
6384 int arg2
= (int) 0 ;
6385 int arg3
= (int) 0 ;
6386 int arg4
= (int) 0 ;
6387 int arg5
= (int) 0 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 PyObject
* obj3
= 0 ;
6392 PyObject
* obj4
= 0 ;
6394 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6399 if (SWIG_arg_fail(1)) SWIG_fail
;
6402 arg2
= (int)(SWIG_As_int(obj1
));
6403 if (SWIG_arg_fail(2)) SWIG_fail
;
6408 arg3
= (int)(SWIG_As_int(obj2
));
6409 if (SWIG_arg_fail(3)) SWIG_fail
;
6414 arg4
= (int)(SWIG_As_int(obj3
));
6415 if (SWIG_arg_fail(4)) SWIG_fail
;
6420 arg5
= (int)(SWIG_As_int(obj4
));
6421 if (SWIG_arg_fail(5)) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 Py_INCREF(Py_None
); resultobj
= Py_None
;
6438 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxRect
*arg1
= (wxRect
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6449 if (SWIG_arg_fail(1)) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (PyObject
*)wxRect_Get(arg1
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6464 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxRect
*arg1
= (wxRect
*) 0 ;
6474 wxRect
*arg2
= (wxRect
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6479 (char *) "r1",(char *) "r2", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6484 if (SWIG_arg_fail(1)) SWIG_fail
;
6485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6486 if (SWIG_arg_fail(2)) SWIG_fail
;
6488 if (!wxPyCheckForApp()) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6502 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 double arg1
= (double) 0.0 ;
6505 double arg2
= (double) 0.0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6510 (char *) "x",(char *) "y", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6516 arg1
= (double)(SWIG_As_double(obj0
));
6517 if (SWIG_arg_fail(1)) SWIG_fail
;
6522 arg2
= (double)(SWIG_As_double(obj1
));
6523 if (SWIG_arg_fail(2)) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6540 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxPoint2D
*arg1
= 0 ;
6545 PyObject
* obj0
= 0 ;
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6553 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6569 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6574 PyObject
* obj0
= 0 ;
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6582 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6598 static PyObject
*_wrap_Point2D_GetFloor(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_GetFloor",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
)->GetFloor(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_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6638 int *arg2
= (int *) 0 ;
6639 int *arg3
= (int *) 0 ;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6650 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6653 if (SWIG_arg_fail(1)) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6662 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6663 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6664 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6665 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6672 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_From_double((double)(result
));
6700 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "self", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6711 if (SWIG_arg_fail(1)) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_From_double((double)(result
));
6728 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6735 (char *) "self",(char *) "length", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6740 if (SWIG_arg_fail(1)) SWIG_fail
;
6742 arg2
= (double)(SWIG_As_double(obj1
));
6743 if (SWIG_arg_fail(2)) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 (arg1
)->SetVectorLength(arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "degrees", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6771 if (SWIG_arg_fail(1)) SWIG_fail
;
6773 arg2
= (double)(SWIG_As_double(obj1
));
6774 if (SWIG_arg_fail(2)) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 (arg1
)->SetVectorAngle(arg2
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 Py_INCREF(Py_None
); resultobj
= Py_None
;
6790 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6793 wxPoint2D
*arg2
= 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "pt", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail
;
6807 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_From_double((double)(result
));
6825 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6828 wxPoint2D
*arg2
= 0 ;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6834 (char *) "self",(char *) "pt", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6839 if (SWIG_arg_fail(1)) SWIG_fail
;
6842 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_From_double((double)(result
));
6860 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6863 wxPoint2D
*arg2
= 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "vec", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6874 if (SWIG_arg_fail(1)) SWIG_fail
;
6877 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_From_double((double)(result
));
6895 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6898 wxPoint2D
*arg2
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6904 (char *) "self",(char *) "vec", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6909 if (SWIG_arg_fail(1)) SWIG_fail
;
6912 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_From_double((double)(result
));
6930 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6936 (char *) "self", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6941 if (SWIG_arg_fail(1)) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (arg1
)->operator -();
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6950 wxPoint2D
* resultptr
;
6951 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6960 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6963 wxPoint2D
*arg2
= 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "pt", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6974 if (SWIG_arg_fail(1)) SWIG_fail
;
6977 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6983 result
= (wxPoint2D
*) &_result_ref
;
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6996 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6999 wxPoint2D
*arg2
= 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7005 (char *) "self",(char *) "pt", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7010 if (SWIG_arg_fail(1)) SWIG_fail
;
7013 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7019 result
= (wxPoint2D
*) &_result_ref
;
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7032 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7035 wxPoint2D
*arg2
= 0 ;
7038 PyObject
* obj0
= 0 ;
7039 PyObject
* obj1
= 0 ;
7041 (char *) "self",(char *) "pt", NULL
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7046 if (SWIG_arg_fail(1)) SWIG_fail
;
7049 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7055 result
= (wxPoint2D
*) &_result_ref
;
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7068 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7071 wxPoint2D
*arg2
= 0 ;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7077 (char *) "self",(char *) "pt", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7082 if (SWIG_arg_fail(1)) SWIG_fail
;
7085 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7091 result
= (wxPoint2D
*) &_result_ref
;
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7104 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7107 wxPoint2D
*arg2
= 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7113 (char *) "self",(char *) "pt", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7121 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7139 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7142 wxPoint2D
*arg2
= 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7148 (char *) "self",(char *) "pt", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7153 if (SWIG_arg_fail(1)) SWIG_fail
;
7156 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7174 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7181 (char *) "self",(char *) "m_x", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7186 if (SWIG_arg_fail(1)) SWIG_fail
;
7188 arg2
= (double)(SWIG_As_double(obj1
));
7189 if (SWIG_arg_fail(2)) SWIG_fail
;
7191 if (arg1
) (arg1
)->m_x
= arg2
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7200 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "self", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 result
= (double) ((arg1
)->m_x
);
7215 resultobj
= SWIG_From_double((double)(result
));
7223 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7230 (char *) "self",(char *) "m_y", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail
;
7237 arg2
= (double)(SWIG_As_double(obj1
));
7238 if (SWIG_arg_fail(2)) SWIG_fail
;
7240 if (arg1
) (arg1
)->m_y
= arg2
;
7242 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail
;
7261 result
= (double) ((arg1
)->m_y
);
7264 resultobj
= SWIG_From_double((double)(result
));
7272 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7275 double arg2
= (double) 0 ;
7276 double arg3
= (double) 0 ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 PyObject
* obj2
= 0 ;
7281 (char *) "self",(char *) "x",(char *) "y", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7286 if (SWIG_arg_fail(1)) SWIG_fail
;
7289 arg2
= (double)(SWIG_As_double(obj1
));
7290 if (SWIG_arg_fail(2)) SWIG_fail
;
7295 arg3
= (double)(SWIG_As_double(obj2
));
7296 if (SWIG_arg_fail(3)) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 wxPoint2D_Set(arg1
,arg2
,arg3
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7319 (char *) "self", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7324 if (SWIG_arg_fail(1)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7339 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7342 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7344 return Py_BuildValue((char *)"");
7346 static int _wrap_DefaultPosition_set(PyObject
*) {
7347 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7352 static PyObject
*_wrap_DefaultPosition_get(void) {
7355 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7360 static int _wrap_DefaultSize_set(PyObject
*) {
7361 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7366 static PyObject
*_wrap_DefaultSize_get(void) {
7369 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7374 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 PyObject
*arg1
= (PyObject
*) 0 ;
7377 wxPyInputStream
*result
;
7378 PyObject
* obj0
= 0 ;
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7399 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "self", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7434 if (SWIG_arg_fail(1)) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 Py_INCREF(Py_None
); resultobj
= Py_None
;
7449 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "self", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "self", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7485 if (SWIG_arg_fail(1)) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->eof();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7502 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7505 int arg2
= (int) -1 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7510 (char *) "self",(char *) "size", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7515 if (SWIG_arg_fail(1)) SWIG_fail
;
7518 arg2
= (int)(SWIG_As_int(obj1
));
7519 if (SWIG_arg_fail(2)) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (PyObject
*)(arg1
)->read(arg2
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7536 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7539 int arg2
= (int) -1 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "size", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 arg2
= (int)(SWIG_As_int(obj1
));
7553 if (SWIG_arg_fail(2)) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (PyObject
*)(arg1
)->readline(arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7570 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7573 int arg2
= (int) -1 ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7578 (char *) "self",(char *) "sizehint", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail
;
7586 arg2
= (int)(SWIG_As_int(obj1
));
7587 if (SWIG_arg_fail(2)) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7604 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7608 int arg3
= (int) 0 ;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj1
= 0 ;
7611 PyObject
* obj2
= 0 ;
7613 (char *) "self",(char *) "offset",(char *) "whence", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7618 if (SWIG_arg_fail(1)) SWIG_fail
;
7620 arg2
= (int)(SWIG_As_int(obj1
));
7621 if (SWIG_arg_fail(2)) SWIG_fail
;
7625 arg3
= (int)(SWIG_As_int(obj2
));
7626 if (SWIG_arg_fail(3)) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 (arg1
)->seek(arg2
,arg3
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7654 if (SWIG_arg_fail(1)) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (int)(arg1
)->tell();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= SWIG_From_int((int)(result
));
7671 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7677 (char *) "self", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7682 if (SWIG_arg_fail(1)) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (char)(arg1
)->Peek();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_From_char((char)(result
));
7699 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7710 if (SWIG_arg_fail(1)) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (char)(arg1
)->GetC();
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_From_char((char)(result
));
7727 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7738 if (SWIG_arg_fail(1)) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (size_t)(arg1
)->LastRead();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7755 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (bool)(arg1
)->CanRead();
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7783 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "self", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (bool)(arg1
)->Eof();
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7817 PyObject
* obj1
= 0 ;
7819 (char *) "self",(char *) "c", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7824 if (SWIG_arg_fail(1)) SWIG_fail
;
7826 arg2
= (char)(SWIG_As_char(obj1
));
7827 if (SWIG_arg_fail(2)) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (bool)(arg1
)->Ungetch(arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7845 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7849 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7853 PyObject
* obj2
= 0 ;
7855 (char *) "self",(char *) "pos",(char *) "mode", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7860 if (SWIG_arg_fail(1)) SWIG_fail
;
7862 arg2
= (long)(SWIG_As_long(obj1
));
7863 if (SWIG_arg_fail(2)) SWIG_fail
;
7867 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7868 if (SWIG_arg_fail(3)) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_From_long((long)(result
));
7887 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (long)(arg1
)->TellI();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_From_long((long)(result
));
7915 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7918 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7920 return Py_BuildValue((char *)"");
7922 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7925 PyObject
*arg2
= (PyObject
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7929 (char *) "self",(char *) "obj", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxOutputStream_write(arg1
,arg2
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 Py_INCREF(Py_None
); resultobj
= Py_None
;
7950 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7953 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7955 return Py_BuildValue((char *)"");
7957 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7960 wxString
*arg2
= 0 ;
7961 wxString
*arg3
= 0 ;
7962 wxString
*arg4
= 0 ;
7965 wxPyInputStream
*temp1
;
7966 bool temp2
= false ;
7967 bool temp3
= false ;
7968 bool temp4
= false ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7971 PyObject
* obj2
= 0 ;
7972 PyObject
* obj3
= 0 ;
7973 PyObject
* obj4
= 0 ;
7975 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7980 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7981 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7983 PyErr_Clear(); // clear the failure of the wxPyConvert above
7984 arg1
= wxPyCBInputStream_create(obj0
, true);
7986 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7992 arg2
= wxString_in_helper(obj1
);
7993 if (arg2
== NULL
) SWIG_fail
;
7997 arg3
= wxString_in_helper(obj2
);
7998 if (arg3
== NULL
) SWIG_fail
;
8002 arg4
= wxString_in_helper(obj3
);
8003 if (arg4
== NULL
) SWIG_fail
;
8008 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8009 if (SWIG_arg_fail(5)) SWIG_fail
;
8011 SWIG_null_ref("wxDateTime");
8013 if (SWIG_arg_fail(5)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= wxPyMake_wxObject(result
, 1);
8056 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8059 PyObject
* obj0
= 0 ;
8061 (char *) "self", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8084 wxInputStream
*result
;
8085 PyObject
* obj0
= 0 ;
8087 (char *) "self", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (wxInputStream
*)(arg1
)->GetStream();
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 wxPyInputStream
* _ptr
= NULL
;
8104 _ptr
= new wxPyInputStream(result
);
8106 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8114 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8120 (char *) "self", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8125 if (SWIG_arg_fail(1)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8130 result
= (wxString
*) &_result_ref
;
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8149 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "self", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8160 if (SWIG_arg_fail(1)) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 wxString
const &_result_ref
= (arg1
)->GetLocation();
8165 result
= (wxString
*) &_result_ref
;
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8184 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8190 (char *) "self", NULL
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8195 if (SWIG_arg_fail(1)) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8200 result
= (wxString
*) &_result_ref
;
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8219 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8230 if (SWIG_arg_fail(1)) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (arg1
)->GetModificationTime();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 wxDateTime
* resultptr
;
8240 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8249 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8252 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8254 return Py_BuildValue((char *)"");
8256 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8259 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8261 return Py_BuildValue((char *)"");
8263 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxPyFileSystemHandler
*result
;
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8285 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8288 PyObject
*arg2
= (PyObject
*) 0 ;
8289 PyObject
*arg3
= (PyObject
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 PyObject
* obj2
= 0 ;
8294 (char *) "self",(char *) "self",(char *) "_class", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8319 wxString
*arg2
= 0 ;
8321 bool temp2
= false ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "location", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail
;
8332 arg2
= wxString_in_helper(obj1
);
8333 if (arg2
== NULL
) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8360 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8363 wxFileSystem
*arg2
= 0 ;
8364 wxString
*arg3
= 0 ;
8366 bool temp3
= false ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8369 PyObject
* obj2
= 0 ;
8371 (char *) "self",(char *) "fs",(char *) "location", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8376 if (SWIG_arg_fail(1)) SWIG_fail
;
8378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8379 if (SWIG_arg_fail(2)) SWIG_fail
;
8381 SWIG_null_ref("wxFileSystem");
8383 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 arg3
= wxString_in_helper(obj2
);
8387 if (arg3
== NULL
) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= wxPyMake_wxObject(result
, 1);
8414 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8417 wxString
*arg2
= 0 ;
8418 int arg3
= (int) 0 ;
8420 bool temp2
= false ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 PyObject
* obj2
= 0 ;
8425 (char *) "self",(char *) "spec",(char *) "flags", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8430 if (SWIG_arg_fail(1)) SWIG_fail
;
8432 arg2
= wxString_in_helper(obj1
);
8433 if (arg2
== NULL
) SWIG_fail
;
8438 arg3
= (int)(SWIG_As_int(obj2
));
8439 if (SWIG_arg_fail(3)) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8470 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (arg1
)->FindNext();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8502 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8505 wxString
*arg2
= 0 ;
8507 bool temp2
= false ;
8508 PyObject
* obj0
= 0 ;
8509 PyObject
* obj1
= 0 ;
8511 (char *) "self",(char *) "location", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8516 if (SWIG_arg_fail(1)) SWIG_fail
;
8518 arg2
= wxString_in_helper(obj1
);
8519 if (arg2
== NULL
) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8550 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8553 wxString
*arg2
= 0 ;
8555 bool temp2
= false ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "location", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8564 if (SWIG_arg_fail(1)) SWIG_fail
;
8566 arg2
= wxString_in_helper(obj1
);
8567 if (arg2
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8598 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8601 wxString
*arg2
= 0 ;
8603 bool temp2
= false ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8607 (char *) "self",(char *) "location", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8612 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 arg2
= wxString_in_helper(obj1
);
8615 if (arg2
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8646 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8649 wxString
*arg2
= 0 ;
8651 bool temp2
= false ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8655 (char *) "self",(char *) "location", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail
;
8662 arg2
= wxString_in_helper(obj1
);
8663 if (arg2
== NULL
) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8694 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8697 wxString
*arg2
= 0 ;
8699 bool temp2
= false ;
8700 PyObject
* obj0
= 0 ;
8701 PyObject
* obj1
= 0 ;
8703 (char *) "self",(char *) "location", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8708 if (SWIG_arg_fail(1)) SWIG_fail
;
8710 arg2
= wxString_in_helper(obj1
);
8711 if (arg2
== NULL
) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8742 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8745 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8747 return Py_BuildValue((char *)"");
8749 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxFileSystem
*result
;
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (wxFileSystem
*)new wxFileSystem();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= wxPyMake_wxObject(result
, 1);
8773 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8778 (char *) "self", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8783 if (SWIG_arg_fail(1)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8801 wxString
*arg2
= 0 ;
8802 bool arg3
= (bool) false ;
8803 bool temp2
= false ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 PyObject
* obj2
= 0 ;
8808 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8813 if (SWIG_arg_fail(1)) SWIG_fail
;
8815 arg2
= wxString_in_helper(obj1
);
8816 if (arg2
== NULL
) SWIG_fail
;
8821 arg3
= (bool)(SWIG_As_bool(obj2
));
8822 if (SWIG_arg_fail(3)) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8847 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8858 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (arg1
)->GetPath();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8879 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8882 wxString
*arg2
= 0 ;
8884 bool temp2
= false ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "location", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(1)) SWIG_fail
;
8895 arg2
= wxString_in_helper(obj1
);
8896 if (arg2
== NULL
) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= wxPyMake_wxObject(result
, 1);
8923 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8926 wxString
*arg2
= 0 ;
8927 int arg3
= (int) 0 ;
8929 bool temp2
= false ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8934 (char *) "self",(char *) "spec",(char *) "flags", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 arg2
= wxString_in_helper(obj1
);
8942 if (arg2
== NULL
) SWIG_fail
;
8947 arg3
= (int)(SWIG_As_int(obj2
));
8948 if (SWIG_arg_fail(3)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8979 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "self", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (arg1
)->FindNext();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9011 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "handler", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxFileSystem::AddHandler(arg1
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 wxFileSystem::CleanUpHandlers();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 Py_INCREF(Py_None
); resultobj
= Py_None
;
9057 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxString
*arg1
= 0 ;
9061 bool temp1
= false ;
9062 PyObject
* obj0
= 0 ;
9064 (char *) "filename", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9069 arg1
= wxString_in_helper(obj0
);
9070 if (arg1
== NULL
) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9101 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxString
*arg1
= 0 ;
9105 bool temp1
= false ;
9106 PyObject
* obj0
= 0 ;
9108 (char *) "url", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9113 arg1
= wxString_in_helper(obj0
);
9114 if (arg1
== NULL
) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9145 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9148 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9150 return Py_BuildValue((char *)"");
9152 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxInternetFSHandler
*result
;
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9174 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9177 wxString
*arg2
= 0 ;
9179 bool temp2
= false ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9183 (char *) "self",(char *) "location", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9188 if (SWIG_arg_fail(1)) SWIG_fail
;
9190 arg2
= wxString_in_helper(obj1
);
9191 if (arg2
== NULL
) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9218 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9221 wxFileSystem
*arg2
= 0 ;
9222 wxString
*arg3
= 0 ;
9224 bool temp3
= false ;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 PyObject
* obj2
= 0 ;
9229 (char *) "self",(char *) "fs",(char *) "location", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9234 if (SWIG_arg_fail(1)) SWIG_fail
;
9236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9237 if (SWIG_arg_fail(2)) SWIG_fail
;
9239 SWIG_null_ref("wxFileSystem");
9241 if (SWIG_arg_fail(2)) SWIG_fail
;
9244 arg3
= wxString_in_helper(obj2
);
9245 if (arg3
== NULL
) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= wxPyMake_wxObject(result
, 1);
9272 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9275 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9277 return Py_BuildValue((char *)"");
9279 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxZipFSHandler
*result
;
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9301 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9304 wxString
*arg2
= 0 ;
9306 bool temp2
= false ;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9310 (char *) "self",(char *) "location", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9315 if (SWIG_arg_fail(1)) SWIG_fail
;
9317 arg2
= wxString_in_helper(obj1
);
9318 if (arg2
== NULL
) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9345 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9348 wxFileSystem
*arg2
= 0 ;
9349 wxString
*arg3
= 0 ;
9351 bool temp3
= false ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9356 (char *) "self",(char *) "fs",(char *) "location", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail
;
9363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9364 if (SWIG_arg_fail(2)) SWIG_fail
;
9366 SWIG_null_ref("wxFileSystem");
9368 if (SWIG_arg_fail(2)) SWIG_fail
;
9371 arg3
= wxString_in_helper(obj2
);
9372 if (arg3
== NULL
) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= wxPyMake_wxObject(result
, 1);
9399 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9402 wxString
*arg2
= 0 ;
9403 int arg3
= (int) 0 ;
9405 bool temp2
= false ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9410 (char *) "self",(char *) "spec",(char *) "flags", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail
;
9417 arg2
= wxString_in_helper(obj1
);
9418 if (arg2
== NULL
) SWIG_fail
;
9423 arg3
= (int)(SWIG_As_int(obj2
));
9424 if (SWIG_arg_fail(3)) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9455 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (arg1
)->FindNext();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9487 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9490 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9492 return Py_BuildValue((char *)"");
9494 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxString
*arg1
= 0 ;
9499 bool temp1
= false ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 PyObject
* obj2
= 0 ;
9504 (char *) "filename",(char *) "image",(char *) "type", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9509 arg1
= wxString_in_helper(obj0
);
9510 if (arg1
== NULL
) SWIG_fail
;
9514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9515 if (SWIG_arg_fail(2)) SWIG_fail
;
9517 SWIG_null_ref("wxImage");
9519 if (SWIG_arg_fail(2)) SWIG_fail
;
9522 arg3
= (long)(SWIG_As_long(obj2
));
9523 if (SWIG_arg_fail(3)) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 Py_INCREF(Py_None
); resultobj
= Py_None
;
9547 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxString
*arg1
= 0 ;
9550 wxBitmap
*arg2
= 0 ;
9552 bool temp1
= false ;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9557 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9562 arg1
= wxString_in_helper(obj0
);
9563 if (arg1
== NULL
) SWIG_fail
;
9567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9568 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 SWIG_null_ref("wxBitmap");
9572 if (SWIG_arg_fail(2)) SWIG_fail
;
9575 arg3
= (long)(SWIG_As_long(obj2
));
9576 if (SWIG_arg_fail(3)) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxString
*arg1
= 0 ;
9603 PyObject
*arg2
= (PyObject
*) 0 ;
9604 bool temp1
= false ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9608 (char *) "filename",(char *) "data", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9613 arg1
= wxString_in_helper(obj0
);
9614 if (arg1
== NULL
) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 Py_INCREF(Py_None
); resultobj
= Py_None
;
9640 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxMemoryFSHandler
*result
;
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9662 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxString
*arg1
= 0 ;
9665 bool temp1
= false ;
9666 PyObject
* obj0
= 0 ;
9668 (char *) "filename", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9673 arg1
= wxString_in_helper(obj0
);
9674 if (arg1
== NULL
) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 Py_INCREF(Py_None
); resultobj
= Py_None
;
9699 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9702 wxString
*arg2
= 0 ;
9704 bool temp2
= false ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9708 (char *) "self",(char *) "location", NULL
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9713 if (SWIG_arg_fail(1)) SWIG_fail
;
9715 arg2
= wxString_in_helper(obj1
);
9716 if (arg2
== NULL
) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9743 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9746 wxFileSystem
*arg2
= 0 ;
9747 wxString
*arg3
= 0 ;
9749 bool temp3
= false ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9752 PyObject
* obj2
= 0 ;
9754 (char *) "self",(char *) "fs",(char *) "location", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9762 if (SWIG_arg_fail(2)) SWIG_fail
;
9764 SWIG_null_ref("wxFileSystem");
9766 if (SWIG_arg_fail(2)) SWIG_fail
;
9769 arg3
= wxString_in_helper(obj2
);
9770 if (arg3
== NULL
) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= wxPyMake_wxObject(result
, 1);
9797 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9800 wxString
*arg2
= 0 ;
9801 int arg3
= (int) 0 ;
9803 bool temp2
= false ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 PyObject
* obj2
= 0 ;
9808 (char *) "self",(char *) "spec",(char *) "flags", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9813 if (SWIG_arg_fail(1)) SWIG_fail
;
9815 arg2
= wxString_in_helper(obj1
);
9816 if (arg2
== NULL
) SWIG_fail
;
9821 arg3
= (int)(SWIG_As_int(obj2
));
9822 if (SWIG_arg_fail(3)) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9853 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (arg1
)->FindNext();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9888 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9890 return Py_BuildValue((char *)"");
9892 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (arg1
)->GetName();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9924 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9930 (char *) "self", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9935 if (SWIG_arg_fail(1)) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (arg1
)->GetExtension();
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9956 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (long)(arg1
)->GetType();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_From_long((long)(result
));
9984 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "self", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9995 if (SWIG_arg_fail(1)) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (arg1
)->GetMimeType();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10016 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10019 wxString
*arg2
= 0 ;
10021 bool temp2
= false ;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self",(char *) "name", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10030 if (SWIG_arg_fail(1)) SWIG_fail
;
10032 arg2
= wxString_in_helper(obj1
);
10033 if (arg2
== NULL
) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10060 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10063 wxString
*arg2
= 0 ;
10064 bool temp2
= false ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self",(char *) "name", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 arg2
= wxString_in_helper(obj1
);
10076 if (arg2
== NULL
) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 (arg1
)->SetName((wxString
const &)*arg2
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 Py_INCREF(Py_None
); resultobj
= Py_None
;
10101 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10104 wxString
*arg2
= 0 ;
10105 bool temp2
= false ;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self",(char *) "extension", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail
;
10116 arg2
= wxString_in_helper(obj1
);
10117 if (arg2
== NULL
) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 (arg1
)->SetExtension((wxString
const &)*arg2
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "type", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10154 if (SWIG_arg_fail(1)) SWIG_fail
;
10156 arg2
= (long)(SWIG_As_long(obj1
));
10157 if (SWIG_arg_fail(2)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 (arg1
)->SetType(arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 Py_INCREF(Py_None
); resultobj
= Py_None
;
10173 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10176 wxString
*arg2
= 0 ;
10177 bool temp2
= false ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "mimetype", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10186 if (SWIG_arg_fail(1)) SWIG_fail
;
10188 arg2
= wxString_in_helper(obj1
);
10189 if (arg2
== NULL
) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10214 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10217 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10219 return Py_BuildValue((char *)"");
10221 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxImageHistogram
*result
;
10224 char *kwnames
[] = {
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (wxImageHistogram
*)new wxImageHistogram();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10243 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 unsigned char arg1
;
10246 unsigned char arg2
;
10247 unsigned char arg3
;
10248 unsigned long result
;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 PyObject
* obj2
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "r",(char *) "g",(char *) "b", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10258 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10259 if (SWIG_arg_fail(1)) SWIG_fail
;
10262 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10263 if (SWIG_arg_fail(2)) SWIG_fail
;
10266 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10267 if (SWIG_arg_fail(3)) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10285 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10288 unsigned char *arg2
= (unsigned char *) 0 ;
10289 unsigned char *arg3
= (unsigned char *) 0 ;
10290 unsigned char *arg4
= (unsigned char *) 0 ;
10291 unsigned char arg5
= (unsigned char) 1 ;
10292 unsigned char arg6
= (unsigned char) 0 ;
10293 unsigned char arg7
= (unsigned char) 0 ;
10295 unsigned char temp2
;
10297 unsigned char temp3
;
10299 unsigned char temp4
;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 PyObject
* obj2
= 0 ;
10304 PyObject
* obj3
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10309 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10310 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10311 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10314 if (SWIG_arg_fail(1)) SWIG_fail
;
10317 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10318 if (SWIG_arg_fail(5)) SWIG_fail
;
10323 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10324 if (SWIG_arg_fail(6)) SWIG_fail
;
10329 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10330 if (SWIG_arg_fail(7)) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10344 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10345 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10346 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10347 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10348 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10355 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10358 unsigned long arg2
;
10359 unsigned long result
;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "key", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10368 if (SWIG_arg_fail(1)) SWIG_fail
;
10370 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10371 if (SWIG_arg_fail(2)) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10389 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10392 unsigned char arg2
;
10393 unsigned char arg3
;
10394 unsigned char arg4
;
10395 unsigned long result
;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 PyObject
* obj2
= 0 ;
10399 PyObject
* obj3
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10406 if (SWIG_arg_fail(1)) SWIG_fail
;
10408 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10409 if (SWIG_arg_fail(2)) SWIG_fail
;
10412 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10413 if (SWIG_arg_fail(3)) SWIG_fail
;
10416 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10417 if (SWIG_arg_fail(4)) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10435 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10438 wxColour
*arg2
= 0 ;
10439 unsigned long result
;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "colour", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10470 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10473 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10475 return Py_BuildValue((char *)"");
10477 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxString
*arg1
= 0 ;
10480 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10481 int arg3
= (int) -1 ;
10483 bool temp1
= false ;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 PyObject
* obj2
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "name",(char *) "type",(char *) "index", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10493 arg1
= wxString_in_helper(obj0
);
10494 if (arg1
== NULL
) SWIG_fail
;
10499 arg2
= (long)(SWIG_As_long(obj1
));
10500 if (SWIG_arg_fail(2)) SWIG_fail
;
10505 arg3
= (int)(SWIG_As_int(obj2
));
10506 if (SWIG_arg_fail(3)) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10531 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxImage
*arg1
= (wxImage
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 Py_INCREF(Py_None
); resultobj
= Py_None
;
10556 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxString
*arg1
= 0 ;
10559 wxString
*arg2
= 0 ;
10560 int arg3
= (int) -1 ;
10562 bool temp1
= false ;
10563 bool temp2
= false ;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10573 arg1
= wxString_in_helper(obj0
);
10574 if (arg1
== NULL
) SWIG_fail
;
10578 arg2
= wxString_in_helper(obj1
);
10579 if (arg2
== NULL
) SWIG_fail
;
10584 arg3
= (int)(SWIG_As_int(obj2
));
10585 if (SWIG_arg_fail(3)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10618 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxInputStream
*arg1
= 0 ;
10621 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10622 int arg3
= (int) -1 ;
10624 wxPyInputStream
*temp1
;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "stream",(char *) "type",(char *) "index", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10635 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10636 arg1
= temp1
->m_wxis
;
10639 PyErr_Clear(); // clear the failure of the wxPyConvert above
10640 arg1
= wxPyCBInputStream_create(obj0
, false);
10641 if (arg1
== NULL
) {
10642 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10650 arg2
= (long)(SWIG_As_long(obj1
));
10651 if (SWIG_arg_fail(2)) SWIG_fail
;
10656 arg3
= (int)(SWIG_As_int(obj2
));
10657 if (SWIG_arg_fail(3)) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10669 if (created1
) delete arg1
;
10674 if (created1
) delete arg1
;
10680 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxInputStream
*arg1
= 0 ;
10683 wxString
*arg2
= 0 ;
10684 int arg3
= (int) -1 ;
10686 wxPyInputStream
*temp1
;
10688 bool temp2
= false ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10698 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10699 arg1
= temp1
->m_wxis
;
10702 PyErr_Clear(); // clear the failure of the wxPyConvert above
10703 arg1
= wxPyCBInputStream_create(obj0
, false);
10704 if (arg1
== NULL
) {
10705 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10712 arg2
= wxString_in_helper(obj1
);
10713 if (arg2
== NULL
) SWIG_fail
;
10718 arg3
= (int)(SWIG_As_int(obj2
));
10719 if (SWIG_arg_fail(3)) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10731 if (created1
) delete arg1
;
10740 if (created1
) delete arg1
;
10750 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 int arg1
= (int) 0 ;
10753 int arg2
= (int) 0 ;
10754 bool arg3
= (bool) true ;
10756 PyObject
* obj0
= 0 ;
10757 PyObject
* obj1
= 0 ;
10758 PyObject
* obj2
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "width",(char *) "height",(char *) "clear", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10766 arg1
= (int)(SWIG_As_int(obj0
));
10767 if (SWIG_arg_fail(1)) SWIG_fail
;
10772 arg2
= (int)(SWIG_As_int(obj1
));
10773 if (SWIG_arg_fail(2)) SWIG_fail
;
10778 arg3
= (bool)(SWIG_As_bool(obj2
));
10779 if (SWIG_arg_fail(3)) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10796 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxBitmap
*arg1
= 0 ;
10800 PyObject
* obj0
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "bitmap", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail
;
10809 if (arg1
== NULL
) {
10810 SWIG_null_ref("wxBitmap");
10812 if (SWIG_arg_fail(1)) SWIG_fail
;
10815 if (!wxPyCheckForApp()) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10829 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10836 PyObject
* obj0
= 0 ;
10837 PyObject
* obj1
= 0 ;
10838 PyObject
* obj2
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "width",(char *) "height",(char *) "data", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10845 arg1
= (int)(SWIG_As_int(obj0
));
10846 if (SWIG_arg_fail(1)) SWIG_fail
;
10849 arg2
= (int)(SWIG_As_int(obj1
));
10850 if (SWIG_arg_fail(2)) SWIG_fail
;
10853 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10869 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 PyObject
* obj2
= 0 ;
10881 PyObject
* obj3
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10888 arg1
= (int)(SWIG_As_int(obj0
));
10889 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 arg2
= (int)(SWIG_As_int(obj1
));
10893 if (SWIG_arg_fail(2)) SWIG_fail
;
10896 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10899 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10915 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxImage
*arg1
= (wxImage
*) 0 ;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 PyObject
* obj2
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "width",(char *) "height", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10929 if (SWIG_arg_fail(1)) SWIG_fail
;
10931 arg2
= (int)(SWIG_As_int(obj1
));
10932 if (SWIG_arg_fail(2)) SWIG_fail
;
10935 arg3
= (int)(SWIG_As_int(obj2
));
10936 if (SWIG_arg_fail(3)) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 (arg1
)->Create(arg2
,arg3
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 Py_INCREF(Py_None
); resultobj
= Py_None
;
10952 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxImage
*arg1
= (wxImage
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10962 if (SWIG_arg_fail(1)) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10977 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxImage
*arg1
= (wxImage
*) 0 ;
10982 SwigValueWrapper
<wxImage
> result
;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 PyObject
* obj2
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "width",(char *) "height", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10992 if (SWIG_arg_fail(1)) SWIG_fail
;
10994 arg2
= (int)(SWIG_As_int(obj1
));
10995 if (SWIG_arg_fail(2)) SWIG_fail
;
10998 arg3
= (int)(SWIG_As_int(obj2
));
10999 if (SWIG_arg_fail(3)) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (arg1
)->Scale(arg2
,arg3
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 wxImage
* resultptr
;
11010 resultptr
= new wxImage((wxImage
&)(result
));
11011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11019 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxImage
*arg1
= (wxImage
*) 0 ;
11024 SwigValueWrapper
<wxImage
> result
;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 PyObject
* obj2
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11034 if (SWIG_arg_fail(1)) SWIG_fail
;
11036 arg2
= (int)(SWIG_As_int(obj1
));
11037 if (SWIG_arg_fail(2)) SWIG_fail
;
11040 arg3
= (int)(SWIG_As_int(obj2
));
11041 if (SWIG_arg_fail(3)) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 wxImage
* resultptr
;
11052 resultptr
= new wxImage((wxImage
&)(result
));
11053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11061 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxImage
*arg1
= (wxImage
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 PyObject
* obj2
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self",(char *) "width",(char *) "height", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11076 if (SWIG_arg_fail(1)) SWIG_fail
;
11078 arg2
= (int)(SWIG_As_int(obj1
));
11079 if (SWIG_arg_fail(2)) SWIG_fail
;
11082 arg3
= (int)(SWIG_As_int(obj2
));
11083 if (SWIG_arg_fail(3)) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11089 result
= (wxImage
*) &_result_ref
;
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11102 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxImage
*arg1
= (wxImage
*) 0 ;
11106 wxPoint
*arg3
= 0 ;
11107 int arg4
= (int) -1 ;
11108 int arg5
= (int) -1 ;
11109 int arg6
= (int) -1 ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 PyObject
* obj3
= 0 ;
11117 PyObject
* obj4
= 0 ;
11118 PyObject
* obj5
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11125 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11136 arg4
= (int)(SWIG_As_int(obj3
));
11137 if (SWIG_arg_fail(4)) SWIG_fail
;
11142 arg5
= (int)(SWIG_As_int(obj4
));
11143 if (SWIG_arg_fail(5)) SWIG_fail
;
11148 arg6
= (int)(SWIG_As_int(obj5
));
11149 if (SWIG_arg_fail(6)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11156 result
= (wxImage
*) &_result_ref
;
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11169 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxImage
*arg1
= (wxImage
*) 0 ;
11174 unsigned char arg4
;
11175 unsigned char arg5
;
11176 unsigned char arg6
;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 PyObject
* obj2
= 0 ;
11180 PyObject
* obj3
= 0 ;
11181 PyObject
* obj4
= 0 ;
11182 PyObject
* obj5
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11191 arg2
= (int)(SWIG_As_int(obj1
));
11192 if (SWIG_arg_fail(2)) SWIG_fail
;
11195 arg3
= (int)(SWIG_As_int(obj2
));
11196 if (SWIG_arg_fail(3)) SWIG_fail
;
11199 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11200 if (SWIG_arg_fail(4)) SWIG_fail
;
11203 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11204 if (SWIG_arg_fail(5)) SWIG_fail
;
11207 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11208 if (SWIG_arg_fail(6)) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11224 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxImage
*arg1
= (wxImage
*) 0 ;
11228 unsigned char arg3
;
11229 unsigned char arg4
;
11230 unsigned char arg5
;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 PyObject
* obj2
= 0 ;
11235 PyObject
* obj3
= 0 ;
11236 PyObject
* obj4
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11243 if (SWIG_arg_fail(1)) SWIG_fail
;
11246 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11249 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11250 if (SWIG_arg_fail(3)) SWIG_fail
;
11253 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11254 if (SWIG_arg_fail(4)) SWIG_fail
;
11257 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11258 if (SWIG_arg_fail(5)) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 Py_INCREF(Py_None
); resultobj
= Py_None
;
11274 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxImage
*arg1
= (wxImage
*) 0 ;
11279 unsigned char result
;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "x",(char *) "y", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11289 if (SWIG_arg_fail(1)) SWIG_fail
;
11291 arg2
= (int)(SWIG_As_int(obj1
));
11292 if (SWIG_arg_fail(2)) SWIG_fail
;
11295 arg3
= (int)(SWIG_As_int(obj2
));
11296 if (SWIG_arg_fail(3)) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11314 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxImage
*arg1
= (wxImage
*) 0 ;
11319 unsigned char result
;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 PyObject
* obj2
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self",(char *) "x",(char *) "y", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail
;
11331 arg2
= (int)(SWIG_As_int(obj1
));
11332 if (SWIG_arg_fail(2)) SWIG_fail
;
11335 arg3
= (int)(SWIG_As_int(obj2
));
11336 if (SWIG_arg_fail(3)) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11354 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxImage
*arg1
= (wxImage
*) 0 ;
11359 unsigned char result
;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 PyObject
* obj2
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "x",(char *) "y", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 arg2
= (int)(SWIG_As_int(obj1
));
11372 if (SWIG_arg_fail(2)) SWIG_fail
;
11375 arg3
= (int)(SWIG_As_int(obj2
));
11376 if (SWIG_arg_fail(3)) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11394 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxImage
*arg1
= (wxImage
*) 0 ;
11399 unsigned char arg4
;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 PyObject
* obj2
= 0 ;
11403 PyObject
* obj3
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11410 if (SWIG_arg_fail(1)) SWIG_fail
;
11412 arg2
= (int)(SWIG_As_int(obj1
));
11413 if (SWIG_arg_fail(2)) SWIG_fail
;
11416 arg3
= (int)(SWIG_As_int(obj2
));
11417 if (SWIG_arg_fail(3)) SWIG_fail
;
11420 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11421 if (SWIG_arg_fail(4)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11437 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxImage
*arg1
= (wxImage
*) 0 ;
11442 unsigned char result
;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "x",(char *) "y", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11452 if (SWIG_arg_fail(1)) SWIG_fail
;
11454 arg2
= (int)(SWIG_As_int(obj1
));
11455 if (SWIG_arg_fail(2)) SWIG_fail
;
11458 arg3
= (int)(SWIG_As_int(obj2
));
11459 if (SWIG_arg_fail(3)) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11477 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxImage
*arg1
= (wxImage
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11488 if (SWIG_arg_fail(1)) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)(arg1
)->HasAlpha();
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11505 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxImage
*arg1
= (wxImage
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11515 if (SWIG_arg_fail(1)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->InitAlpha();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxImage
*arg1
= (wxImage
*) 0 ;
11535 unsigned char arg4
= (unsigned char) wxIMAGE_ALPHA_THRESHOLD
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 PyObject
* obj2
= 0 ;
11540 PyObject
* obj3
= 0 ;
11541 char *kwnames
[] = {
11542 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11547 if (SWIG_arg_fail(1)) SWIG_fail
;
11549 arg2
= (int)(SWIG_As_int(obj1
));
11550 if (SWIG_arg_fail(2)) SWIG_fail
;
11553 arg3
= (int)(SWIG_As_int(obj2
));
11554 if (SWIG_arg_fail(3)) SWIG_fail
;
11558 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11559 if (SWIG_arg_fail(4)) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11578 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxImage
*arg1
= (wxImage
*) 0 ;
11581 byte
*arg2
= (byte
*) 0 ;
11582 byte
*arg3
= (byte
*) 0 ;
11583 byte
*arg4
= (byte
*) 0 ;
11584 byte arg5
= (byte
) 0 ;
11585 byte arg6
= (byte
) 0 ;
11586 byte arg7
= (byte
) 0 ;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 PyObject
* obj2
= 0 ;
11597 PyObject
* obj3
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11602 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11603 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11604 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail
;
11610 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11611 if (SWIG_arg_fail(5)) SWIG_fail
;
11616 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11617 if (SWIG_arg_fail(6)) SWIG_fail
;
11622 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11623 if (SWIG_arg_fail(7)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11636 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11637 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11638 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11639 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11640 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11641 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11648 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxImage
*arg1
= (wxImage
*) 0 ;
11651 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self",(char *) "threshold", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail
;
11664 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11665 if (SWIG_arg_fail(2)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11684 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxImage
*arg1
= (wxImage
*) 0 ;
11687 unsigned char arg2
;
11688 unsigned char arg3
;
11689 unsigned char arg4
;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 PyObject
* obj3
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11701 if (SWIG_arg_fail(1)) SWIG_fail
;
11703 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11704 if (SWIG_arg_fail(2)) SWIG_fail
;
11707 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11708 if (SWIG_arg_fail(3)) SWIG_fail
;
11711 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11712 if (SWIG_arg_fail(4)) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11730 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxImage
*arg1
= (wxImage
*) 0 ;
11733 wxImage
*arg2
= 0 ;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 PyObject
* obj2
= 0 ;
11741 PyObject
* obj3
= 0 ;
11742 PyObject
* obj4
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail
;
11751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11752 if (SWIG_arg_fail(2)) SWIG_fail
;
11753 if (arg2
== NULL
) {
11754 SWIG_null_ref("wxImage");
11756 if (SWIG_arg_fail(2)) SWIG_fail
;
11759 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11760 if (SWIG_arg_fail(3)) SWIG_fail
;
11763 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11764 if (SWIG_arg_fail(4)) SWIG_fail
;
11767 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11768 if (SWIG_arg_fail(5)) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11786 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxString
*arg1
= 0 ;
11790 bool temp1
= false ;
11791 PyObject
* obj0
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "name", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11798 arg1
= wxString_in_helper(obj0
);
11799 if (arg1
== NULL
) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11826 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxString
*arg1
= 0 ;
11829 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11831 bool temp1
= false ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "name",(char *) "type", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11840 arg1
= wxString_in_helper(obj0
);
11841 if (arg1
== NULL
) SWIG_fail
;
11846 arg2
= (long)(SWIG_As_long(obj1
));
11847 if (SWIG_arg_fail(2)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_int((int)(result
));
11874 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxImage
*arg1
= (wxImage
*) 0 ;
11877 wxString
*arg2
= 0 ;
11878 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11879 int arg4
= (int) -1 ;
11881 bool temp2
= false ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 PyObject
* obj2
= 0 ;
11885 PyObject
* obj3
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail
;
11894 arg2
= wxString_in_helper(obj1
);
11895 if (arg2
== NULL
) SWIG_fail
;
11900 arg3
= (long)(SWIG_As_long(obj2
));
11901 if (SWIG_arg_fail(3)) SWIG_fail
;
11906 arg4
= (int)(SWIG_As_int(obj3
));
11907 if (SWIG_arg_fail(4)) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11934 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxImage
*arg1
= (wxImage
*) 0 ;
11937 wxString
*arg2
= 0 ;
11938 wxString
*arg3
= 0 ;
11939 int arg4
= (int) -1 ;
11941 bool temp2
= false ;
11942 bool temp3
= false ;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 PyObject
* obj2
= 0 ;
11946 PyObject
* obj3
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11953 if (SWIG_arg_fail(1)) SWIG_fail
;
11955 arg2
= wxString_in_helper(obj1
);
11956 if (arg2
== NULL
) SWIG_fail
;
11960 arg3
= wxString_in_helper(obj2
);
11961 if (arg3
== NULL
) SWIG_fail
;
11966 arg4
= (int)(SWIG_As_int(obj3
));
11967 if (SWIG_arg_fail(4)) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12002 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxImage
*arg1
= (wxImage
*) 0 ;
12005 wxString
*arg2
= 0 ;
12008 bool temp2
= false ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 PyObject
* obj2
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "name",(char *) "type", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail
;
12020 arg2
= wxString_in_helper(obj1
);
12021 if (arg2
== NULL
) SWIG_fail
;
12025 arg3
= (int)(SWIG_As_int(obj2
));
12026 if (SWIG_arg_fail(3)) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12052 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxImage
*arg1
= (wxImage
*) 0 ;
12055 wxString
*arg2
= 0 ;
12056 wxString
*arg3
= 0 ;
12058 bool temp2
= false ;
12059 bool temp3
= false ;
12060 PyObject
* obj0
= 0 ;
12061 PyObject
* obj1
= 0 ;
12062 PyObject
* obj2
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12069 if (SWIG_arg_fail(1)) SWIG_fail
;
12071 arg2
= wxString_in_helper(obj1
);
12072 if (arg2
== NULL
) SWIG_fail
;
12076 arg3
= wxString_in_helper(obj2
);
12077 if (arg3
== NULL
) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12112 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxInputStream
*arg1
= 0 ;
12116 wxPyInputStream
*temp1
;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "stream", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12125 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12126 arg1
= temp1
->m_wxis
;
12129 PyErr_Clear(); // clear the failure of the wxPyConvert above
12130 arg1
= wxPyCBInputStream_create(obj0
, false);
12131 if (arg1
== NULL
) {
12132 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (bool)wxImage::CanRead(*arg1
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12149 if (created1
) delete arg1
;
12154 if (created1
) delete arg1
;
12160 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxImage
*arg1
= (wxImage
*) 0 ;
12163 wxInputStream
*arg2
= 0 ;
12164 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12165 int arg4
= (int) -1 ;
12167 wxPyInputStream
*temp2
;
12169 PyObject
* obj0
= 0 ;
12170 PyObject
* obj1
= 0 ;
12171 PyObject
* obj2
= 0 ;
12172 PyObject
* obj3
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail
;
12181 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12182 arg2
= temp2
->m_wxis
;
12185 PyErr_Clear(); // clear the failure of the wxPyConvert above
12186 arg2
= wxPyCBInputStream_create(obj1
, false);
12187 if (arg2
== NULL
) {
12188 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12196 arg3
= (long)(SWIG_As_long(obj2
));
12197 if (SWIG_arg_fail(3)) SWIG_fail
;
12202 arg4
= (int)(SWIG_As_int(obj3
));
12203 if (SWIG_arg_fail(4)) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12217 if (created2
) delete arg2
;
12222 if (created2
) delete arg2
;
12228 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxImage
*arg1
= (wxImage
*) 0 ;
12231 wxInputStream
*arg2
= 0 ;
12232 wxString
*arg3
= 0 ;
12233 int arg4
= (int) -1 ;
12235 wxPyInputStream
*temp2
;
12237 bool temp3
= false ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 PyObject
* obj2
= 0 ;
12241 PyObject
* obj3
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12248 if (SWIG_arg_fail(1)) SWIG_fail
;
12250 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12251 arg2
= temp2
->m_wxis
;
12254 PyErr_Clear(); // clear the failure of the wxPyConvert above
12255 arg2
= wxPyCBInputStream_create(obj1
, false);
12256 if (arg2
== NULL
) {
12257 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12264 arg3
= wxString_in_helper(obj2
);
12265 if (arg3
== NULL
) SWIG_fail
;
12270 arg4
= (int)(SWIG_As_int(obj3
));
12271 if (SWIG_arg_fail(4)) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12285 if (created2
) delete arg2
;
12294 if (created2
) delete arg2
;
12304 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxImage
*arg1
= (wxImage
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12315 if (SWIG_arg_fail(1)) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (bool)(arg1
)->Ok();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12332 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxImage
*arg1
= (wxImage
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (int)(arg1
)->GetWidth();
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_From_int((int)(result
));
12360 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxImage
*arg1
= (wxImage
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12371 if (SWIG_arg_fail(1)) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (int)(arg1
)->GetHeight();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_From_int((int)(result
));
12388 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxImage
*arg1
= (wxImage
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 result
= wxImage_GetSize(arg1
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12408 wxSize
* resultptr
;
12409 resultptr
= new wxSize((wxSize
&)(result
));
12410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12418 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxImage
*arg1
= (wxImage
*) 0 ;
12422 SwigValueWrapper
<wxImage
> result
;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "rect", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",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 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12445 wxImage
* resultptr
;
12446 resultptr
= new wxImage((wxImage
&)(result
));
12447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12455 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxImage
*arg1
= (wxImage
*) 0 ;
12459 wxPoint
*arg3
= 0 ;
12460 int arg4
= (int) -1 ;
12461 int arg5
= (int) -1 ;
12462 int arg6
= (int) -1 ;
12463 SwigValueWrapper
<wxImage
> result
;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 PyObject
* obj2
= 0 ;
12469 PyObject
* obj3
= 0 ;
12470 PyObject
* obj4
= 0 ;
12471 PyObject
* obj5
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail
;
12481 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12489 arg4
= (int)(SWIG_As_int(obj3
));
12490 if (SWIG_arg_fail(4)) SWIG_fail
;
12495 arg5
= (int)(SWIG_As_int(obj4
));
12496 if (SWIG_arg_fail(5)) SWIG_fail
;
12501 arg6
= (int)(SWIG_As_int(obj5
));
12502 if (SWIG_arg_fail(6)) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12513 wxImage
* resultptr
;
12514 resultptr
= new wxImage((wxImage
&)(result
));
12515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12523 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxImage
*arg1
= (wxImage
*) 0 ;
12526 SwigValueWrapper
<wxImage
> result
;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12534 if (SWIG_arg_fail(1)) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (arg1
)->Copy();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 wxImage
* resultptr
;
12544 resultptr
= new wxImage((wxImage
&)(result
));
12545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12553 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxImage
*arg1
= (wxImage
*) 0 ;
12556 wxImage
*arg2
= 0 ;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 PyObject
* obj2
= 0 ;
12562 PyObject
* obj3
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12569 if (SWIG_arg_fail(1)) SWIG_fail
;
12571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12572 if (SWIG_arg_fail(2)) SWIG_fail
;
12573 if (arg2
== NULL
) {
12574 SWIG_null_ref("wxImage");
12576 if (SWIG_arg_fail(2)) SWIG_fail
;
12579 arg3
= (int)(SWIG_As_int(obj2
));
12580 if (SWIG_arg_fail(3)) SWIG_fail
;
12583 arg4
= (int)(SWIG_As_int(obj3
));
12584 if (SWIG_arg_fail(4)) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxImage
*arg1
= (wxImage
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (PyObject
*)wxImage_GetData(arg1
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= result
;
12626 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxImage
*arg1
= (wxImage
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self",(char *) "data", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 wxImage_SetData(arg1
,arg2
,arg3
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 Py_INCREF(Py_None
); resultobj
= Py_None
;
12657 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxImage
*arg1
= (wxImage
*) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12668 if (SWIG_arg_fail(1)) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= result
;
12683 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxImage
*arg1
= (wxImage
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "data", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12696 if (SWIG_arg_fail(1)) SWIG_fail
;
12698 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 Py_INCREF(Py_None
); resultobj
= Py_None
;
12714 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxImage
*arg1
= (wxImage
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12725 if (SWIG_arg_fail(1)) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= result
;
12740 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxImage
*arg1
= (wxImage
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "alpha", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12753 if (SWIG_arg_fail(1)) SWIG_fail
;
12755 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxImage
*arg1
= (wxImage
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
;
12797 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxImage
*arg1
= (wxImage
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self",(char *) "alpha", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12810 if (SWIG_arg_fail(1)) SWIG_fail
;
12812 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxImage
*arg1
= (wxImage
*) 0 ;
12831 unsigned char arg2
;
12832 unsigned char arg3
;
12833 unsigned char arg4
;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 PyObject
* obj2
= 0 ;
12837 PyObject
* obj3
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12846 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12847 if (SWIG_arg_fail(2)) SWIG_fail
;
12850 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12851 if (SWIG_arg_fail(3)) SWIG_fail
;
12854 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12855 if (SWIG_arg_fail(4)) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxImage
*arg1
= (wxImage
*) 0 ;
12874 unsigned char *arg2
= (unsigned char *) 0 ;
12875 unsigned char *arg3
= (unsigned char *) 0 ;
12876 unsigned char *arg4
= (unsigned char *) 0 ;
12877 unsigned char temp2
;
12879 unsigned char temp3
;
12881 unsigned char temp4
;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12889 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12890 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12893 if (SWIG_arg_fail(1)) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12902 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12903 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12904 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12905 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12906 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12907 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12914 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxImage
*arg1
= (wxImage
*) 0 ;
12917 unsigned char result
;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (unsigned char)(arg1
)->GetMaskRed();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12942 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxImage
*arg1
= (wxImage
*) 0 ;
12945 unsigned char result
;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (unsigned char)(arg1
)->GetMaskGreen();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12970 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxImage
*arg1
= (wxImage
*) 0 ;
12973 unsigned char result
;
12974 PyObject
* obj0
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12981 if (SWIG_arg_fail(1)) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (unsigned char)(arg1
)->GetMaskBlue();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12998 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxImage
*arg1
= (wxImage
*) 0 ;
13001 bool arg2
= (bool) true ;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "mask", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13010 if (SWIG_arg_fail(1)) SWIG_fail
;
13013 arg2
= (bool)(SWIG_As_bool(obj1
));
13014 if (SWIG_arg_fail(2)) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 (arg1
)->SetMask(arg2
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 Py_INCREF(Py_None
); resultobj
= Py_None
;
13031 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxImage
*arg1
= (wxImage
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13042 if (SWIG_arg_fail(1)) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)(arg1
)->HasMask();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13059 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxImage
*arg1
= (wxImage
*) 0 ;
13063 wxPoint
*arg3
= 0 ;
13064 bool arg4
= (bool) true ;
13065 wxPoint
*arg5
= (wxPoint
*) NULL
;
13066 SwigValueWrapper
<wxImage
> result
;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 PyObject
* obj2
= 0 ;
13071 PyObject
* obj3
= 0 ;
13072 PyObject
* obj4
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13079 if (SWIG_arg_fail(1)) SWIG_fail
;
13081 arg2
= (double)(SWIG_As_double(obj1
));
13082 if (SWIG_arg_fail(2)) SWIG_fail
;
13086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13090 arg4
= (bool)(SWIG_As_bool(obj3
));
13091 if (SWIG_arg_fail(4)) SWIG_fail
;
13095 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(5)) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 wxImage
* resultptr
;
13107 resultptr
= new wxImage((wxImage
&)(result
));
13108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13116 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxImage
*arg1
= (wxImage
*) 0 ;
13119 bool arg2
= (bool) true ;
13120 SwigValueWrapper
<wxImage
> result
;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self",(char *) "clockwise", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13129 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 arg2
= (bool)(SWIG_As_bool(obj1
));
13133 if (SWIG_arg_fail(2)) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (arg1
)->Rotate90(arg2
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13144 wxImage
* resultptr
;
13145 resultptr
= new wxImage((wxImage
&)(result
));
13146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13154 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxImage
*arg1
= (wxImage
*) 0 ;
13157 bool arg2
= (bool) true ;
13158 SwigValueWrapper
<wxImage
> result
;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self",(char *) "horizontally", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13167 if (SWIG_arg_fail(1)) SWIG_fail
;
13170 arg2
= (bool)(SWIG_As_bool(obj1
));
13171 if (SWIG_arg_fail(2)) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (arg1
)->Mirror(arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 wxImage
* resultptr
;
13183 resultptr
= new wxImage((wxImage
&)(result
));
13184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13192 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxImage
*arg1
= (wxImage
*) 0 ;
13195 unsigned char arg2
;
13196 unsigned char arg3
;
13197 unsigned char arg4
;
13198 unsigned char arg5
;
13199 unsigned char arg6
;
13200 unsigned char arg7
;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 PyObject
* obj3
= 0 ;
13205 PyObject
* obj4
= 0 ;
13206 PyObject
* obj5
= 0 ;
13207 PyObject
* obj6
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13214 if (SWIG_arg_fail(1)) SWIG_fail
;
13216 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13217 if (SWIG_arg_fail(2)) SWIG_fail
;
13220 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13221 if (SWIG_arg_fail(3)) SWIG_fail
;
13224 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13225 if (SWIG_arg_fail(4)) SWIG_fail
;
13228 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13229 if (SWIG_arg_fail(5)) SWIG_fail
;
13232 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13233 if (SWIG_arg_fail(6)) SWIG_fail
;
13236 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13237 if (SWIG_arg_fail(7)) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13253 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxImage
*arg1
= (wxImage
*) 0 ;
13256 unsigned char arg2
;
13257 unsigned char arg3
;
13258 unsigned char arg4
;
13259 SwigValueWrapper
<wxImage
> result
;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 PyObject
* obj2
= 0 ;
13263 PyObject
* obj3
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail
;
13272 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13273 if (SWIG_arg_fail(2)) SWIG_fail
;
13276 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13277 if (SWIG_arg_fail(3)) SWIG_fail
;
13280 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13281 if (SWIG_arg_fail(4)) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 wxImage
* resultptr
;
13292 resultptr
= new wxImage((wxImage
&)(result
));
13293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13301 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxImage
*arg1
= (wxImage
*) 0 ;
13304 wxString
*arg2
= 0 ;
13305 wxString
*arg3
= 0 ;
13306 bool temp2
= false ;
13307 bool temp3
= false ;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 PyObject
* obj2
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "name",(char *) "value", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail
;
13319 arg2
= wxString_in_helper(obj1
);
13320 if (arg2
== NULL
) SWIG_fail
;
13324 arg3
= wxString_in_helper(obj2
);
13325 if (arg3
== NULL
) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxImage
*arg1
= (wxImage
*) 0 ;
13361 wxString
*arg2
= 0 ;
13363 bool temp2
= false ;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 PyObject
* obj2
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "name",(char *) "value", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail
;
13375 arg2
= wxString_in_helper(obj1
);
13376 if (arg2
== NULL
) SWIG_fail
;
13380 arg3
= (int)(SWIG_As_int(obj2
));
13381 if (SWIG_arg_fail(3)) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 Py_INCREF(Py_None
); resultobj
= Py_None
;
13405 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxImage
*arg1
= (wxImage
*) 0 ;
13408 wxString
*arg2
= 0 ;
13410 bool temp2
= false ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "name", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail
;
13421 arg2
= wxString_in_helper(obj1
);
13422 if (arg2
== NULL
) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13453 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxImage
*arg1
= (wxImage
*) 0 ;
13456 wxString
*arg2
= 0 ;
13458 bool temp2
= false ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "name", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13467 if (SWIG_arg_fail(1)) SWIG_fail
;
13469 arg2
= wxString_in_helper(obj1
);
13470 if (arg2
== NULL
) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_From_int((int)(result
));
13497 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxImage
*arg1
= (wxImage
*) 0 ;
13500 wxString
*arg2
= 0 ;
13502 bool temp2
= false ;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self",(char *) "name", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail
;
13513 arg2
= wxString_in_helper(obj1
);
13514 if (arg2
== NULL
) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxImage
*arg1
= (wxImage
*) 0 ;
13544 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13545 unsigned long result
;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self",(char *) "stopafter", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13554 if (SWIG_arg_fail(1)) SWIG_fail
;
13557 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13558 if (SWIG_arg_fail(2)) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13577 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxImage
*arg1
= (wxImage
*) 0 ;
13580 wxImageHistogram
*arg2
= 0 ;
13581 unsigned long result
;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self",(char *) "h", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13590 if (SWIG_arg_fail(1)) SWIG_fail
;
13592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13593 if (SWIG_arg_fail(2)) SWIG_fail
;
13594 if (arg2
== NULL
) {
13595 SWIG_null_ref("wxImageHistogram");
13597 if (SWIG_arg_fail(2)) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13615 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "handler", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 wxImage::AddHandler(arg1
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 Py_INCREF(Py_None
); resultobj
= Py_None
;
13640 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "handler", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13650 if (SWIG_arg_fail(1)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 wxImage::InsertHandler(arg1
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 Py_INCREF(Py_None
); resultobj
= Py_None
;
13665 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxString
*arg1
= 0 ;
13669 bool temp1
= false ;
13670 PyObject
* obj0
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "name", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13677 arg1
= wxString_in_helper(obj0
);
13678 if (arg1
== NULL
) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13708 char *kwnames
[] = {
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= wxImage::GetImageExtWildcard();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13733 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxImage
*arg1
= (wxImage
*) 0 ;
13736 int arg2
= (int) -1 ;
13738 PyObject
* obj0
= 0 ;
13739 PyObject
* obj1
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self",(char *) "depth", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13746 if (SWIG_arg_fail(1)) SWIG_fail
;
13749 arg2
= (int)(SWIG_As_int(obj1
));
13750 if (SWIG_arg_fail(2)) SWIG_fail
;
13754 if (!wxPyCheckForApp()) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 wxBitmap
* resultptr
;
13763 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13772 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxImage
*arg1
= (wxImage
*) 0 ;
13775 unsigned char arg2
;
13776 unsigned char arg3
;
13777 unsigned char arg4
;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 PyObject
* obj3
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13789 if (SWIG_arg_fail(1)) SWIG_fail
;
13791 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13792 if (SWIG_arg_fail(2)) SWIG_fail
;
13795 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13796 if (SWIG_arg_fail(3)) SWIG_fail
;
13799 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13800 if (SWIG_arg_fail(4)) SWIG_fail
;
13803 if (!wxPyCheckForApp()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 wxBitmap
* resultptr
;
13812 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13821 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13824 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13826 return Py_BuildValue((char *)"");
13828 static int _wrap_NullImage_set(PyObject
*) {
13829 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13834 static PyObject
*_wrap_NullImage_get(void) {
13837 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13842 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13843 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13848 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13853 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13855 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13862 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13863 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13868 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13873 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13875 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13882 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13883 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13888 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13893 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13895 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13902 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13903 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13908 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13913 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13915 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13922 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13923 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13928 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13933 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13935 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13942 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13943 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13948 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13953 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13955 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13962 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13963 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13968 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13973 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13975 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13982 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13983 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13988 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13993 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13995 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14002 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14003 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14008 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14013 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14015 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14022 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14023 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14028 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14033 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14035 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14042 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14043 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14048 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14053 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14055 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14062 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14063 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14068 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14073 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14075 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14082 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14083 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14088 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14093 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14095 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14102 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14103 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14108 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14113 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14115 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14122 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14123 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14128 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14133 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14135 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14142 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxBMPHandler
*result
;
14145 char *kwnames
[] = {
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (wxBMPHandler
*)new wxBMPHandler();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14164 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14167 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14169 return Py_BuildValue((char *)"");
14171 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxICOHandler
*result
;
14174 char *kwnames
[] = {
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (wxICOHandler
*)new wxICOHandler();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14193 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14196 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14198 return Py_BuildValue((char *)"");
14200 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxCURHandler
*result
;
14203 char *kwnames
[] = {
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (wxCURHandler
*)new wxCURHandler();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14222 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14225 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14227 return Py_BuildValue((char *)"");
14229 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxANIHandler
*result
;
14232 char *kwnames
[] = {
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxANIHandler
*)new wxANIHandler();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14251 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14254 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14256 return Py_BuildValue((char *)"");
14258 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxPNGHandler
*result
;
14261 char *kwnames
[] = {
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (wxPNGHandler
*)new wxPNGHandler();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14280 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14283 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14285 return Py_BuildValue((char *)"");
14287 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxGIFHandler
*result
;
14290 char *kwnames
[] = {
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (wxGIFHandler
*)new wxGIFHandler();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14309 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14312 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14314 return Py_BuildValue((char *)"");
14316 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxPCXHandler
*result
;
14319 char *kwnames
[] = {
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (wxPCXHandler
*)new wxPCXHandler();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14338 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14341 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14343 return Py_BuildValue((char *)"");
14345 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
;
14347 wxJPEGHandler
*result
;
14348 char *kwnames
[] = {
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14367 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14370 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14372 return Py_BuildValue((char *)"");
14374 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxPNMHandler
*result
;
14377 char *kwnames
[] = {
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (wxPNMHandler
*)new wxPNMHandler();
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14396 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14399 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14401 return Py_BuildValue((char *)"");
14403 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxXPMHandler
*result
;
14406 char *kwnames
[] = {
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (wxXPMHandler
*)new wxXPMHandler();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14425 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14428 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14430 return Py_BuildValue((char *)"");
14432 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxTIFFHandler
*result
;
14435 char *kwnames
[] = {
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14454 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14457 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14459 return Py_BuildValue((char *)"");
14461 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxImage
*arg1
= 0 ;
14464 wxImage
*arg2
= 0 ;
14465 int arg3
= (int) 236 ;
14466 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 PyObject
* obj3
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14479 if (SWIG_arg_fail(1)) SWIG_fail
;
14480 if (arg1
== NULL
) {
14481 SWIG_null_ref("wxImage");
14483 if (SWIG_arg_fail(1)) SWIG_fail
;
14486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(2)) SWIG_fail
;
14488 if (arg2
== NULL
) {
14489 SWIG_null_ref("wxImage");
14491 if (SWIG_arg_fail(2)) SWIG_fail
;
14495 arg3
= (int)(SWIG_As_int(obj2
));
14496 if (SWIG_arg_fail(3)) SWIG_fail
;
14501 arg4
= (int)(SWIG_As_int(obj3
));
14502 if (SWIG_arg_fail(4)) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14521 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14524 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14526 return Py_BuildValue((char *)"");
14528 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxEvtHandler
*result
;
14531 char *kwnames
[] = {
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (wxEvtHandler
*)new wxEvtHandler();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14550 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14553 wxEvtHandler
*result
;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14561 if (SWIG_arg_fail(1)) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= wxPyMake_wxObject(result
, 0);
14578 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14581 wxEvtHandler
*result
;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14589 if (SWIG_arg_fail(1)) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= wxPyMake_wxObject(result
, 0);
14606 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14609 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self",(char *) "handler", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14618 if (SWIG_arg_fail(1)) SWIG_fail
;
14619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14620 if (SWIG_arg_fail(2)) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 (arg1
)->SetNextHandler(arg2
);
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 Py_INCREF(Py_None
); resultobj
= Py_None
;
14635 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14638 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self",(char *) "handler", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14647 if (SWIG_arg_fail(1)) SWIG_fail
;
14648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14649 if (SWIG_arg_fail(2)) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 (arg1
)->SetPreviousHandler(arg2
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 Py_INCREF(Py_None
); resultobj
= Py_None
;
14664 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self",(char *) "enabled", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14704 if (SWIG_arg_fail(1)) SWIG_fail
;
14706 arg2
= (bool)(SWIG_As_bool(obj1
));
14707 if (SWIG_arg_fail(2)) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 (arg1
)->SetEvtHandlerEnabled(arg2
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14726 wxEvent
*arg2
= 0 ;
14728 PyObject
* obj0
= 0 ;
14729 PyObject
* obj1
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self",(char *) "event", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14736 if (SWIG_arg_fail(1)) SWIG_fail
;
14738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14739 if (SWIG_arg_fail(2)) SWIG_fail
;
14740 if (arg2
== NULL
) {
14741 SWIG_null_ref("wxEvent");
14743 if (SWIG_arg_fail(2)) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14761 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14764 wxEvent
*arg2
= 0 ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "event", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14773 if (SWIG_arg_fail(1)) SWIG_fail
;
14775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14776 if (SWIG_arg_fail(2)) SWIG_fail
;
14777 if (arg2
== NULL
) {
14778 SWIG_null_ref("wxEvent");
14780 if (SWIG_arg_fail(2)) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 (arg1
)->AddPendingEvent(*arg2
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 Py_INCREF(Py_None
); resultobj
= Py_None
;
14796 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14806 if (SWIG_arg_fail(1)) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 (arg1
)->ProcessPendingEvents();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 Py_INCREF(Py_None
); resultobj
= Py_None
;
14821 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14827 PyObject
*arg5
= (PyObject
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 PyObject
* obj1
= 0 ;
14830 PyObject
* obj2
= 0 ;
14831 PyObject
* obj3
= 0 ;
14832 PyObject
* obj4
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14839 if (SWIG_arg_fail(1)) SWIG_fail
;
14841 arg2
= (int)(SWIG_As_int(obj1
));
14842 if (SWIG_arg_fail(2)) SWIG_fail
;
14845 arg3
= (int)(SWIG_As_int(obj2
));
14846 if (SWIG_arg_fail(3)) SWIG_fail
;
14849 arg4
= (int)(SWIG_As_int(obj3
));
14850 if (SWIG_arg_fail(4)) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 Py_INCREF(Py_None
); resultobj
= Py_None
;
14867 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14871 int arg3
= (int) -1 ;
14872 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 PyObject
* obj2
= 0 ;
14877 PyObject
* obj3
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14884 if (SWIG_arg_fail(1)) SWIG_fail
;
14886 arg2
= (int)(SWIG_As_int(obj1
));
14887 if (SWIG_arg_fail(2)) SWIG_fail
;
14891 arg3
= (int)(SWIG_As_int(obj2
));
14892 if (SWIG_arg_fail(3)) SWIG_fail
;
14897 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14898 if (SWIG_arg_fail(4)) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14917 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14920 PyObject
*arg2
= (PyObject
*) 0 ;
14921 bool arg3
= (bool) true ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 PyObject
* obj2
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self",(char *) "_self",(char *) "incref", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14931 if (SWIG_arg_fail(1)) SWIG_fail
;
14935 arg3
= (bool)(SWIG_As_bool(obj2
));
14936 if (SWIG_arg_fail(3)) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 Py_INCREF(Py_None
); resultobj
= Py_None
;
14953 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14958 return Py_BuildValue((char *)"");
14960 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxEventType result
;
14963 char *kwnames
[] = {
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (wxEventType
)wxNewEventType();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_From_int((int)(result
));
14984 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxEvent
*arg1
= (wxEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14994 if (SWIG_arg_fail(1)) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 Py_INCREF(Py_None
); resultobj
= Py_None
;
15009 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxEvent
*arg1
= (wxEvent
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "typ", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15021 if (SWIG_arg_fail(1)) SWIG_fail
;
15023 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15024 if (SWIG_arg_fail(2)) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->SetEventType(arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 Py_INCREF(Py_None
); resultobj
= Py_None
;
15040 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxEvent
*arg1
= (wxEvent
*) 0 ;
15043 wxEventType result
;
15044 PyObject
* obj0
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15051 if (SWIG_arg_fail(1)) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_From_int((int)(result
));
15068 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxEvent
*arg1
= (wxEvent
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15079 if (SWIG_arg_fail(1)) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= wxPyMake_wxObject(result
, 0);
15096 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxEvent
*arg1
= (wxEvent
*) 0 ;
15099 wxObject
*arg2
= (wxObject
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 PyObject
* obj1
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self",(char *) "obj", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15108 if (SWIG_arg_fail(1)) SWIG_fail
;
15109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15110 if (SWIG_arg_fail(2)) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 (arg1
)->SetEventObject(arg2
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 Py_INCREF(Py_None
); resultobj
= Py_None
;
15125 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxEvent
*arg1
= (wxEvent
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15136 if (SWIG_arg_fail(1)) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= SWIG_From_long((long)(result
));
15153 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxEvent
*arg1
= (wxEvent
*) 0 ;
15156 long arg2
= (long) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "ts", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15165 if (SWIG_arg_fail(1)) SWIG_fail
;
15168 arg2
= (long)(SWIG_As_long(obj1
));
15169 if (SWIG_arg_fail(2)) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 (arg1
)->SetTimestamp(arg2
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15186 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxEvent
*arg1
= (wxEvent
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15197 if (SWIG_arg_fail(1)) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (int)((wxEvent
const *)arg1
)->GetId();
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_From_int((int)(result
));
15214 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxEvent
*arg1
= (wxEvent
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self",(char *) "Id", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15226 if (SWIG_arg_fail(1)) SWIG_fail
;
15228 arg2
= (int)(SWIG_As_int(obj1
));
15229 if (SWIG_arg_fail(2)) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 (arg1
)->SetId(arg2
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 Py_INCREF(Py_None
); resultobj
= Py_None
;
15245 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxEvent
*arg1
= (wxEvent
*) 0 ;
15249 PyObject
* obj0
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15256 if (SWIG_arg_fail(1)) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15273 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxEvent
*arg1
= (wxEvent
*) 0 ;
15276 bool arg2
= (bool) true ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "skip", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 arg2
= (bool)(SWIG_As_bool(obj1
));
15289 if (SWIG_arg_fail(2)) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 (arg1
)->Skip(arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 Py_INCREF(Py_None
); resultobj
= Py_None
;
15306 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxEvent
*arg1
= (wxEvent
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15317 if (SWIG_arg_fail(1)) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxEvent
*arg1
= (wxEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(1)) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15362 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxEvent
*arg1
= (wxEvent
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (int)(arg1
)->StopPropagation();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_From_int((int)(result
));
15390 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxEvent
*arg1
= (wxEvent
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self",(char *) "propagationLevel", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 arg2
= (int)(SWIG_As_int(obj1
));
15405 if (SWIG_arg_fail(2)) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 (arg1
)->ResumePropagation(arg2
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 Py_INCREF(Py_None
); resultobj
= Py_None
;
15421 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxEvent
*arg1
= (wxEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxEvent
*)(arg1
)->Clone();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15447 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxEvent
*arg1
= 0 ;
15457 wxPropagationDisabler
*result
;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "event", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15466 if (SWIG_arg_fail(1)) SWIG_fail
;
15467 if (arg1
== NULL
) {
15468 SWIG_null_ref("wxEvent");
15470 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15486 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15496 if (SWIG_arg_fail(1)) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 Py_INCREF(Py_None
); resultobj
= Py_None
;
15511 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15514 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15516 return Py_BuildValue((char *)"");
15518 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxEvent
*arg1
= 0 ;
15521 wxPropagateOnce
*result
;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "event", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15530 if (SWIG_arg_fail(1)) SWIG_fail
;
15531 if (arg1
== NULL
) {
15532 SWIG_null_ref("wxEvent");
15534 if (SWIG_arg_fail(1)) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15550 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15560 if (SWIG_arg_fail(1)) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15578 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15580 return Py_BuildValue((char *)"");
15582 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15585 int arg2
= (int) 0 ;
15586 wxCommandEvent
*result
;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "commandType",(char *) "winid", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15596 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15597 if (SWIG_arg_fail(1)) SWIG_fail
;
15602 arg2
= (int)(SWIG_As_int(obj1
));
15603 if (SWIG_arg_fail(2)) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15620 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15631 if (SWIG_arg_fail(1)) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_From_int((int)(result
));
15648 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15651 wxString
*arg2
= 0 ;
15652 bool temp2
= false ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "s", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail
;
15663 arg2
= wxString_in_helper(obj1
);
15664 if (arg2
== NULL
) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->SetString((wxString
const &)*arg2
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 Py_INCREF(Py_None
); resultobj
= Py_None
;
15689 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15700 if (SWIG_arg_fail(1)) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15721 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15732 if (SWIG_arg_fail(1)) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self",(char *) "extraLong", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15789 if (SWIG_arg_fail(1)) SWIG_fail
;
15791 arg2
= (long)(SWIG_As_long(obj1
));
15792 if (SWIG_arg_fail(2)) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 (arg1
)->SetExtraLong(arg2
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 Py_INCREF(Py_None
); resultobj
= Py_None
;
15808 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15819 if (SWIG_arg_fail(1)) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= SWIG_From_long((long)(result
));
15836 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "i", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15848 if (SWIG_arg_fail(1)) SWIG_fail
;
15850 arg2
= (int)(SWIG_As_int(obj1
));
15851 if (SWIG_arg_fail(2)) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetInt(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15878 if (SWIG_arg_fail(1)) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_From_long((long)(result
));
15895 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15906 if (SWIG_arg_fail(1)) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15921 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15924 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15926 return Py_BuildValue((char *)"");
15928 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15931 int arg2
= (int) 0 ;
15932 wxNotifyEvent
*result
;
15933 PyObject
* obj0
= 0 ;
15934 PyObject
* obj1
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "commandType",(char *) "winid", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15942 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15943 if (SWIG_arg_fail(1)) SWIG_fail
;
15948 arg2
= (int)(SWIG_As_int(obj1
));
15949 if (SWIG_arg_fail(2)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15966 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15976 if (SWIG_arg_fail(1)) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 Py_INCREF(Py_None
); resultobj
= Py_None
;
15991 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16001 if (SWIG_arg_fail(1)) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (bool)(arg1
)->IsAllowed();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16044 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16047 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16049 return Py_BuildValue((char *)"");
16051 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16054 int arg2
= (int) 0 ;
16055 int arg3
= (int) 0 ;
16056 int arg4
= (int) 0 ;
16057 wxScrollEvent
*result
;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 PyObject
* obj2
= 0 ;
16061 PyObject
* obj3
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16069 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16075 arg2
= (int)(SWIG_As_int(obj1
));
16076 if (SWIG_arg_fail(2)) SWIG_fail
;
16081 arg3
= (int)(SWIG_As_int(obj2
));
16082 if (SWIG_arg_fail(3)) SWIG_fail
;
16087 arg4
= (int)(SWIG_As_int(obj3
));
16088 if (SWIG_arg_fail(4)) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16105 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16116 if (SWIG_arg_fail(1)) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_From_int((int)(result
));
16133 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_From_int((int)(result
));
16161 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "orient", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 arg2
= (int)(SWIG_As_int(obj1
));
16176 if (SWIG_arg_fail(2)) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 (arg1
)->SetOrientation(arg2
);
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 Py_INCREF(Py_None
); resultobj
= Py_None
;
16192 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "pos", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 arg2
= (int)(SWIG_As_int(obj1
));
16207 if (SWIG_arg_fail(2)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->SetPosition(arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16223 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16228 return Py_BuildValue((char *)"");
16230 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16233 int arg2
= (int) 0 ;
16234 int arg3
= (int) 0 ;
16235 wxScrollWinEvent
*result
;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 PyObject
* obj2
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16246 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16247 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 arg2
= (int)(SWIG_As_int(obj1
));
16253 if (SWIG_arg_fail(2)) SWIG_fail
;
16258 arg3
= (int)(SWIG_As_int(obj2
));
16259 if (SWIG_arg_fail(3)) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16276 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_From_int((int)(result
));
16304 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_From_int((int)(result
));
16332 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "orient", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail
;
16346 arg2
= (int)(SWIG_As_int(obj1
));
16347 if (SWIG_arg_fail(2)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->SetOrientation(arg2
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 Py_INCREF(Py_None
); resultobj
= Py_None
;
16363 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "pos", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail
;
16377 arg2
= (int)(SWIG_As_int(obj1
));
16378 if (SWIG_arg_fail(2)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->SetPosition(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16397 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16399 return Py_BuildValue((char *)"");
16401 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16404 wxMouseEvent
*result
;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "mouseType", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16413 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16414 if (SWIG_arg_fail(1)) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= wxPyMake_wxObject(result
, 1);
16433 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16444 if (SWIG_arg_fail(1)) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16461 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16464 int arg2
= (int) wxMOUSE_BTN_ANY
;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "but", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16477 arg2
= (int)(SWIG_As_int(obj1
));
16478 if (SWIG_arg_fail(2)) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16497 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16500 int arg2
= (int) wxMOUSE_BTN_ANY
;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "but", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail
;
16513 arg2
= (int)(SWIG_As_int(obj1
));
16514 if (SWIG_arg_fail(2)) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16536 int arg2
= (int) wxMOUSE_BTN_ANY
;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self",(char *) "but", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16549 arg2
= (int)(SWIG_As_int(obj1
));
16550 if (SWIG_arg_fail(2)) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self",(char *) "but", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 arg2
= (int)(SWIG_As_int(obj1
));
16585 if (SWIG_arg_fail(2)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "but", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail
;
16618 arg2
= (int)(SWIG_As_int(obj1
));
16619 if (SWIG_arg_fail(2)) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16637 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= SWIG_From_int((int)(result
));
16665 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16676 if (SWIG_arg_fail(1)) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16693 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16704 if (SWIG_arg_fail(1)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16721 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16749 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16760 if (SWIG_arg_fail(1)) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16777 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16788 if (SWIG_arg_fail(1)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16805 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16816 if (SWIG_arg_fail(1)) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16833 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16844 if (SWIG_arg_fail(1)) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16861 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16872 if (SWIG_arg_fail(1)) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16889 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16893 PyObject
* obj0
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16900 if (SWIG_arg_fail(1)) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16917 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16945 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16973 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16984 if (SWIG_arg_fail(1)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17001 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17012 if (SWIG_arg_fail(1)) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17029 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17033 PyObject
* obj0
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17040 if (SWIG_arg_fail(1)) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17057 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17068 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (bool)(arg1
)->LeftIsDown();
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17085 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= (bool)(arg1
)->MiddleIsDown();
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17113 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "self", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17124 if (SWIG_arg_fail(1)) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (bool)(arg1
)->RightIsDown();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17141 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17145 PyObject
* obj0
= 0 ;
17146 char *kwnames
[] = {
17147 (char *) "self", NULL
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17169 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "self", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17180 if (SWIG_arg_fail(1)) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17197 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17208 if (SWIG_arg_fail(1)) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17225 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17253 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17264 if (SWIG_arg_fail(1)) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (arg1
)->GetPosition();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 wxPoint
* resultptr
;
17274 resultptr
= new wxPoint((wxPoint
&)(result
));
17275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17283 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17286 long *arg2
= (long *) 0 ;
17287 long *arg3
= (long *) 0 ;
17292 PyObject
* obj0
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self", NULL
17297 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17298 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17301 if (SWIG_arg_fail(1)) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 (arg1
)->GetPosition(arg2
,arg3
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17311 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17312 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17313 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17320 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self",(char *) "dc", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17333 if (SWIG_arg_fail(1)) SWIG_fail
;
17335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17336 if (SWIG_arg_fail(2)) SWIG_fail
;
17337 if (arg2
== NULL
) {
17338 SWIG_null_ref("wxDC");
17340 if (SWIG_arg_fail(2)) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 wxPoint
* resultptr
;
17351 resultptr
= new wxPoint((wxPoint
&)(result
));
17352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17360 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17364 PyObject
* obj0
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_From_int((int)(result
));
17388 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_From_int((int)(result
));
17416 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17427 if (SWIG_arg_fail(1)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= SWIG_From_int((int)(result
));
17444 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17455 if (SWIG_arg_fail(1)) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_From_int((int)(result
));
17472 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17483 if (SWIG_arg_fail(1)) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_From_int((int)(result
));
17500 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17504 PyObject
* obj0
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17511 if (SWIG_arg_fail(1)) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17528 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "m_x", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17542 arg2
= (int)(SWIG_As_int(obj1
));
17543 if (SWIG_arg_fail(2)) SWIG_fail
;
17545 if (arg1
) (arg1
)->m_x
= arg2
;
17547 Py_INCREF(Py_None
); resultobj
= Py_None
;
17554 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17565 if (SWIG_arg_fail(1)) SWIG_fail
;
17566 result
= (int) ((arg1
)->m_x
);
17569 resultobj
= SWIG_From_int((int)(result
));
17577 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "m_y", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail
;
17591 arg2
= (int)(SWIG_As_int(obj1
));
17592 if (SWIG_arg_fail(2)) SWIG_fail
;
17594 if (arg1
) (arg1
)->m_y
= arg2
;
17596 Py_INCREF(Py_None
); resultobj
= Py_None
;
17603 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17614 if (SWIG_arg_fail(1)) SWIG_fail
;
17615 result
= (int) ((arg1
)->m_y
);
17618 resultobj
= SWIG_From_int((int)(result
));
17626 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "m_leftDown", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17638 if (SWIG_arg_fail(1)) SWIG_fail
;
17640 arg2
= (bool)(SWIG_As_bool(obj1
));
17641 if (SWIG_arg_fail(2)) SWIG_fail
;
17643 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17663 if (SWIG_arg_fail(1)) SWIG_fail
;
17664 result
= (bool) ((arg1
)->m_leftDown
);
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "m_middleDown", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17687 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 arg2
= (bool)(SWIG_As_bool(obj1
));
17690 if (SWIG_arg_fail(2)) SWIG_fail
;
17692 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17694 Py_INCREF(Py_None
); resultobj
= Py_None
;
17701 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail
;
17713 result
= (bool) ((arg1
)->m_middleDown
);
17716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17724 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "m_rightDown", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17736 if (SWIG_arg_fail(1)) SWIG_fail
;
17738 arg2
= (bool)(SWIG_As_bool(obj1
));
17739 if (SWIG_arg_fail(2)) SWIG_fail
;
17741 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17743 Py_INCREF(Py_None
); resultobj
= Py_None
;
17750 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "self", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17761 if (SWIG_arg_fail(1)) SWIG_fail
;
17762 result
= (bool) ((arg1
)->m_rightDown
);
17765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17773 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self",(char *) "m_controlDown", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail
;
17787 arg2
= (bool)(SWIG_As_bool(obj1
));
17788 if (SWIG_arg_fail(2)) SWIG_fail
;
17790 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17792 Py_INCREF(Py_None
); resultobj
= Py_None
;
17799 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 char *kwnames
[] = {
17805 (char *) "self", NULL
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17810 if (SWIG_arg_fail(1)) SWIG_fail
;
17811 result
= (bool) ((arg1
)->m_controlDown
);
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17822 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self",(char *) "m_shiftDown", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17834 if (SWIG_arg_fail(1)) SWIG_fail
;
17836 arg2
= (bool)(SWIG_As_bool(obj1
));
17837 if (SWIG_arg_fail(2)) SWIG_fail
;
17839 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17841 Py_INCREF(Py_None
); resultobj
= Py_None
;
17848 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17859 if (SWIG_arg_fail(1)) SWIG_fail
;
17860 result
= (bool) ((arg1
)->m_shiftDown
);
17863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17871 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self",(char *) "m_altDown", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17883 if (SWIG_arg_fail(1)) SWIG_fail
;
17885 arg2
= (bool)(SWIG_As_bool(obj1
));
17886 if (SWIG_arg_fail(2)) SWIG_fail
;
17888 if (arg1
) (arg1
)->m_altDown
= arg2
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17897 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17908 if (SWIG_arg_fail(1)) SWIG_fail
;
17909 result
= (bool) ((arg1
)->m_altDown
);
17912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17920 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "m_metaDown", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17932 if (SWIG_arg_fail(1)) SWIG_fail
;
17934 arg2
= (bool)(SWIG_As_bool(obj1
));
17935 if (SWIG_arg_fail(2)) SWIG_fail
;
17937 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17939 Py_INCREF(Py_None
); resultobj
= Py_None
;
17946 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17958 result
= (bool) ((arg1
)->m_metaDown
);
17961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17969 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "m_wheelRotation", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17981 if (SWIG_arg_fail(1)) SWIG_fail
;
17983 arg2
= (int)(SWIG_As_int(obj1
));
17984 if (SWIG_arg_fail(2)) SWIG_fail
;
17986 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18007 result
= (int) ((arg1
)->m_wheelRotation
);
18010 resultobj
= SWIG_From_int((int)(result
));
18018 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "m_wheelDelta", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 arg2
= (int)(SWIG_As_int(obj1
));
18033 if (SWIG_arg_fail(2)) SWIG_fail
;
18035 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18037 Py_INCREF(Py_None
); resultobj
= Py_None
;
18044 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18055 if (SWIG_arg_fail(1)) SWIG_fail
;
18056 result
= (int) ((arg1
)->m_wheelDelta
);
18059 resultobj
= SWIG_From_int((int)(result
));
18067 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "m_linesPerAction", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18079 if (SWIG_arg_fail(1)) SWIG_fail
;
18081 arg2
= (int)(SWIG_As_int(obj1
));
18082 if (SWIG_arg_fail(2)) SWIG_fail
;
18084 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18086 Py_INCREF(Py_None
); resultobj
= Py_None
;
18093 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18105 result
= (int) ((arg1
)->m_linesPerAction
);
18108 resultobj
= SWIG_From_int((int)(result
));
18116 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18119 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18121 return Py_BuildValue((char *)"");
18123 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 int arg1
= (int) 0 ;
18126 int arg2
= (int) 0 ;
18127 wxSetCursorEvent
*result
;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "x",(char *) "y", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18137 arg1
= (int)(SWIG_As_int(obj0
));
18138 if (SWIG_arg_fail(1)) SWIG_fail
;
18143 arg2
= (int)(SWIG_As_int(obj1
));
18144 if (SWIG_arg_fail(2)) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18161 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18172 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_From_int((int)(result
));
18189 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_From_int((int)(result
));
18217 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18220 wxCursor
*arg2
= 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "cursor", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail
;
18231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18232 if (SWIG_arg_fail(2)) SWIG_fail
;
18233 if (arg2
== NULL
) {
18234 SWIG_null_ref("wxCursor");
18236 if (SWIG_arg_fail(2)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 Py_INCREF(Py_None
); resultobj
= Py_None
;
18252 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18268 result
= (wxCursor
*) &_result_ref
;
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 wxCursor
* resultptr
= new wxCursor(*result
);
18276 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18284 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18312 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18315 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18317 return Py_BuildValue((char *)"");
18319 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18322 wxKeyEvent
*result
;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "keyType", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18331 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18349 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18360 if (SWIG_arg_fail(1)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18377 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18405 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18416 if (SWIG_arg_fail(1)) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18461 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18472 if (SWIG_arg_fail(1)) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18489 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18517 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_From_int((int)(result
));
18545 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_From_int((int)(result
));
18573 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18576 unsigned int result
;
18577 PyObject
* obj0
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18584 if (SWIG_arg_fail(1)) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18601 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18604 unsigned int result
;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18612 if (SWIG_arg_fail(1)) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18629 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18640 if (SWIG_arg_fail(1)) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (arg1
)->GetPosition();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 wxPoint
* resultptr
;
18650 resultptr
= new wxPoint((wxPoint
&)(result
));
18651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18659 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18662 long *arg2
= (long *) 0 ;
18663 long *arg3
= (long *) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self", NULL
18673 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18674 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18677 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->GetPosition(arg2
,arg3
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18686 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18687 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18688 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18689 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18696 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18707 if (SWIG_arg_fail(1)) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_From_int((int)(result
));
18724 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18728 PyObject
* obj0
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18735 if (SWIG_arg_fail(1)) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_From_int((int)(result
));
18752 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "m_x", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18764 if (SWIG_arg_fail(1)) SWIG_fail
;
18766 arg2
= (int)(SWIG_As_int(obj1
));
18767 if (SWIG_arg_fail(2)) SWIG_fail
;
18769 if (arg1
) (arg1
)->m_x
= arg2
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail
;
18790 result
= (int) ((arg1
)->m_x
);
18793 resultobj
= SWIG_From_int((int)(result
));
18801 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self",(char *) "m_y", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail
;
18815 arg2
= (int)(SWIG_As_int(obj1
));
18816 if (SWIG_arg_fail(2)) SWIG_fail
;
18818 if (arg1
) (arg1
)->m_y
= arg2
;
18820 Py_INCREF(Py_None
); resultobj
= Py_None
;
18827 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18831 PyObject
* obj0
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18838 if (SWIG_arg_fail(1)) SWIG_fail
;
18839 result
= (int) ((arg1
)->m_y
);
18842 resultobj
= SWIG_From_int((int)(result
));
18850 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
;
18852 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 PyObject
* obj1
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self",(char *) "m_keyCode", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 arg2
= (long)(SWIG_As_long(obj1
));
18865 if (SWIG_arg_fail(2)) SWIG_fail
;
18867 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18869 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail
;
18888 result
= (long) ((arg1
)->m_keyCode
);
18891 resultobj
= SWIG_From_long((long)(result
));
18899 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self",(char *) "m_controlDown", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18911 if (SWIG_arg_fail(1)) SWIG_fail
;
18913 arg2
= (bool)(SWIG_As_bool(obj1
));
18914 if (SWIG_arg_fail(2)) SWIG_fail
;
18916 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail
;
18937 result
= (bool) ((arg1
)->m_controlDown
);
18940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18948 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "m_shiftDown", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail
;
18962 arg2
= (bool)(SWIG_As_bool(obj1
));
18963 if (SWIG_arg_fail(2)) SWIG_fail
;
18965 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18967 Py_INCREF(Py_None
); resultobj
= Py_None
;
18974 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18985 if (SWIG_arg_fail(1)) SWIG_fail
;
18986 result
= (bool) ((arg1
)->m_shiftDown
);
18989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18997 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
;
18999 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self",(char *) "m_altDown", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19009 if (SWIG_arg_fail(1)) SWIG_fail
;
19011 arg2
= (bool)(SWIG_As_bool(obj1
));
19012 if (SWIG_arg_fail(2)) SWIG_fail
;
19014 if (arg1
) (arg1
)->m_altDown
= arg2
;
19016 Py_INCREF(Py_None
); resultobj
= Py_None
;
19023 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19034 if (SWIG_arg_fail(1)) SWIG_fail
;
19035 result
= (bool) ((arg1
)->m_altDown
);
19038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19046 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "m_metaDown", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19058 if (SWIG_arg_fail(1)) SWIG_fail
;
19060 arg2
= (bool)(SWIG_As_bool(obj1
));
19061 if (SWIG_arg_fail(2)) SWIG_fail
;
19063 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19083 if (SWIG_arg_fail(1)) SWIG_fail
;
19084 result
= (bool) ((arg1
)->m_metaDown
);
19087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19095 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "m_scanCode", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19107 if (SWIG_arg_fail(1)) SWIG_fail
;
19109 arg2
= (bool)(SWIG_As_bool(obj1
));
19110 if (SWIG_arg_fail(2)) SWIG_fail
;
19112 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19132 if (SWIG_arg_fail(1)) SWIG_fail
;
19133 result
= (bool) ((arg1
)->m_scanCode
);
19136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19144 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19147 unsigned int arg2
;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "m_rawCode", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19156 if (SWIG_arg_fail(1)) SWIG_fail
;
19158 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19159 if (SWIG_arg_fail(2)) SWIG_fail
;
19161 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19163 Py_INCREF(Py_None
); resultobj
= Py_None
;
19170 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19173 unsigned int result
;
19174 PyObject
* obj0
= 0 ;
19175 char *kwnames
[] = {
19176 (char *) "self", NULL
19179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19181 if (SWIG_arg_fail(1)) SWIG_fail
;
19182 result
= (unsigned int) ((arg1
)->m_rawCode
);
19185 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19193 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19196 unsigned int arg2
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "m_rawFlags", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail
;
19207 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19208 if (SWIG_arg_fail(2)) SWIG_fail
;
19210 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19212 Py_INCREF(Py_None
); resultobj
= Py_None
;
19219 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19222 unsigned int result
;
19223 PyObject
* obj0
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19230 if (SWIG_arg_fail(1)) SWIG_fail
;
19231 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19234 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19242 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19245 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19247 return Py_BuildValue((char *)"");
19249 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19252 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19253 int arg2
= (int) 0 ;
19254 wxSizeEvent
*result
;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "sz",(char *) "winid", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19266 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19271 arg2
= (int)(SWIG_As_int(obj1
));
19272 if (SWIG_arg_fail(2)) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19289 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19300 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19309 wxSize
* resultptr
;
19310 resultptr
= new wxSize((wxSize
&)(result
));
19311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19319 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 wxRect
* resultptr
;
19340 resultptr
= new wxRect((wxRect
&)(result
));
19341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19349 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self",(char *) "rect", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19361 if (SWIG_arg_fail(1)) SWIG_fail
;
19364 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19365 if (SWIG_arg_fail(2)) SWIG_fail
;
19366 if (argp
== NULL
) {
19367 SWIG_null_ref("wxRect");
19369 if (SWIG_arg_fail(2)) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->SetRect(arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "size", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19398 if (SWIG_arg_fail(1)) SWIG_fail
;
19401 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19402 if (SWIG_arg_fail(2)) SWIG_fail
;
19403 if (argp
== NULL
) {
19404 SWIG_null_ref("wxSize");
19406 if (SWIG_arg_fail(2)) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 wxSizeEvent_SetSize(arg1
,arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19426 wxSize
*arg2
= (wxSize
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "m_size", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail
;
19436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19437 if (SWIG_arg_fail(2)) SWIG_fail
;
19438 if (arg1
) (arg1
)->m_size
= *arg2
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19458 if (SWIG_arg_fail(1)) SWIG_fail
;
19459 result
= (wxSize
*)& ((arg1
)->m_size
);
19461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19468 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19471 wxRect
*arg2
= (wxRect
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "m_rect", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19480 if (SWIG_arg_fail(1)) SWIG_fail
;
19481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19482 if (SWIG_arg_fail(2)) SWIG_fail
;
19483 if (arg1
) (arg1
)->m_rect
= *arg2
;
19485 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19503 if (SWIG_arg_fail(1)) SWIG_fail
;
19504 result
= (wxRect
*)& ((arg1
)->m_rect
);
19506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19513 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19516 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19518 return Py_BuildValue((char *)"");
19520 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19523 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19524 int arg2
= (int) 0 ;
19525 wxMoveEvent
*result
;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "pos",(char *) "winid", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19542 arg2
= (int)(SWIG_As_int(obj1
));
19543 if (SWIG_arg_fail(2)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19560 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 wxPoint
* resultptr
;
19581 resultptr
= new wxPoint((wxPoint
&)(result
));
19582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19590 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19601 if (SWIG_arg_fail(1)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19610 wxRect
* resultptr
;
19611 resultptr
= new wxRect((wxRect
&)(result
));
19612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19620 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self",(char *) "rect", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19633 if (SWIG_arg_fail(1)) SWIG_fail
;
19636 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->SetRect((wxRect
const &)*arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 Py_INCREF(Py_None
); resultobj
= Py_None
;
19652 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19655 wxPoint
*arg2
= 0 ;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 char *kwnames
[] = {
19660 (char *) "self",(char *) "pos", NULL
19663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19665 if (SWIG_arg_fail(1)) SWIG_fail
;
19668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 Py_INCREF(Py_None
); resultobj
= Py_None
;
19684 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19687 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19689 return Py_BuildValue((char *)"");
19691 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 int arg1
= (int) 0 ;
19694 wxPaintEvent
*result
;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "Id", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19703 arg1
= (int)(SWIG_As_int(obj0
));
19704 if (SWIG_arg_fail(1)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19721 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19724 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19726 return Py_BuildValue((char *)"");
19728 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 int arg1
= (int) 0 ;
19731 wxNcPaintEvent
*result
;
19732 PyObject
* obj0
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "winid", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19740 arg1
= (int)(SWIG_As_int(obj0
));
19741 if (SWIG_arg_fail(1)) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19758 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19761 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19763 return Py_BuildValue((char *)"");
19765 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 int arg1
= (int) 0 ;
19768 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19769 wxEraseEvent
*result
;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "Id",(char *) "dc", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19779 arg1
= (int)(SWIG_As_int(obj0
));
19780 if (SWIG_arg_fail(1)) SWIG_fail
;
19784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19785 if (SWIG_arg_fail(2)) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19801 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19812 if (SWIG_arg_fail(1)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= wxPyMake_wxObject(result
, 0);
19829 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19832 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19834 return Py_BuildValue((char *)"");
19836 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19839 int arg2
= (int) 0 ;
19840 wxFocusEvent
*result
;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "type",(char *) "winid", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19850 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19851 if (SWIG_arg_fail(1)) SWIG_fail
;
19856 arg2
= (int)(SWIG_As_int(obj1
));
19857 if (SWIG_arg_fail(2)) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19874 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= wxPyMake_wxObject(result
, 0);
19902 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19905 wxWindow
*arg2
= (wxWindow
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self",(char *) "win", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19914 if (SWIG_arg_fail(1)) SWIG_fail
;
19915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19916 if (SWIG_arg_fail(2)) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 (arg1
)->SetWindow(arg2
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 Py_INCREF(Py_None
); resultobj
= Py_None
;
19931 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19934 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19936 return Py_BuildValue((char *)"");
19938 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxWindow
*arg1
= (wxWindow
*) NULL
;
19941 wxChildFocusEvent
*result
;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "win", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19966 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19977 if (SWIG_arg_fail(1)) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= wxPyMake_wxObject(result
, 0);
19994 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19997 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19999 return Py_BuildValue((char *)"");
20001 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20004 bool arg2
= (bool) true ;
20005 int arg3
= (int) 0 ;
20006 wxActivateEvent
*result
;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 PyObject
* obj2
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "type",(char *) "active",(char *) "Id", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20017 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20018 if (SWIG_arg_fail(1)) SWIG_fail
;
20023 arg2
= (bool)(SWIG_As_bool(obj1
));
20024 if (SWIG_arg_fail(2)) SWIG_fail
;
20029 arg3
= (int)(SWIG_As_int(obj2
));
20030 if (SWIG_arg_fail(3)) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20047 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20058 if (SWIG_arg_fail(1)) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20075 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20078 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20080 return Py_BuildValue((char *)"");
20082 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 int arg1
= (int) 0 ;
20085 wxInitDialogEvent
*result
;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "Id", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20094 arg1
= (int)(SWIG_As_int(obj0
));
20095 if (SWIG_arg_fail(1)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20112 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20115 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20117 return Py_BuildValue((char *)"");
20119 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20122 int arg2
= (int) 0 ;
20123 wxMenu
*arg3
= (wxMenu
*) NULL
;
20124 wxMenuEvent
*result
;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "type",(char *) "winid",(char *) "menu", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20135 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20136 if (SWIG_arg_fail(1)) SWIG_fail
;
20141 arg2
= (int)(SWIG_As_int(obj1
));
20142 if (SWIG_arg_fail(2)) SWIG_fail
;
20146 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20147 if (SWIG_arg_fail(3)) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20163 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= SWIG_From_int((int)(result
));
20191 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "self", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20202 if (SWIG_arg_fail(1)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20219 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= wxPyMake_wxObject(result
, 0);
20247 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20250 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20252 return Py_BuildValue((char *)"");
20254 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20257 int arg2
= (int) 0 ;
20258 wxCloseEvent
*result
;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "type",(char *) "winid", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20268 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20269 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 arg2
= (int)(SWIG_As_int(obj1
));
20275 if (SWIG_arg_fail(2)) SWIG_fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20292 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20294 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "logOff", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20304 if (SWIG_arg_fail(1)) SWIG_fail
;
20306 arg2
= (bool)(SWIG_As_bool(obj1
));
20307 if (SWIG_arg_fail(2)) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->SetLoggingOff(arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20334 if (SWIG_arg_fail(1)) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20351 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20354 bool arg2
= (bool) true ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self",(char *) "veto", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20363 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 arg2
= (bool)(SWIG_As_bool(obj1
));
20367 if (SWIG_arg_fail(2)) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 (arg1
)->Veto(arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 Py_INCREF(Py_None
); resultobj
= Py_None
;
20384 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "canVeto", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 arg2
= (bool)(SWIG_As_bool(obj1
));
20399 if (SWIG_arg_fail(2)) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 (arg1
)->SetCanVeto(arg2
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 Py_INCREF(Py_None
); resultobj
= Py_None
;
20415 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20443 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20454 if (SWIG_arg_fail(1)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20471 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20474 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20476 return Py_BuildValue((char *)"");
20478 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 int arg1
= (int) 0 ;
20481 bool arg2
= (bool) false ;
20482 wxShowEvent
*result
;
20483 PyObject
* obj0
= 0 ;
20484 PyObject
* obj1
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "winid",(char *) "show", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20492 arg1
= (int)(SWIG_As_int(obj0
));
20493 if (SWIG_arg_fail(1)) SWIG_fail
;
20498 arg2
= (bool)(SWIG_As_bool(obj1
));
20499 if (SWIG_arg_fail(2)) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20516 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "show", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 arg2
= (bool)(SWIG_As_bool(obj1
));
20531 if (SWIG_arg_fail(2)) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->SetShow(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20547 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20578 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20580 return Py_BuildValue((char *)"");
20582 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 int arg1
= (int) 0 ;
20585 bool arg2
= (bool) true ;
20586 wxIconizeEvent
*result
;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "id",(char *) "iconized", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20596 arg1
= (int)(SWIG_As_int(obj0
));
20597 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 arg2
= (bool)(SWIG_As_bool(obj1
));
20603 if (SWIG_arg_fail(2)) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20620 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20631 if (SWIG_arg_fail(1)) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (bool)(arg1
)->Iconized();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20648 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20651 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20653 return Py_BuildValue((char *)"");
20655 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 int arg1
= (int) 0 ;
20658 wxMaximizeEvent
*result
;
20659 PyObject
* obj0
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "id", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20667 arg1
= (int)(SWIG_As_int(obj0
));
20668 if (SWIG_arg_fail(1)) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20685 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20688 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20690 return Py_BuildValue((char *)"");
20692 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20703 if (SWIG_arg_fail(1)) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (arg1
)->GetPosition();
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 wxPoint
* resultptr
;
20713 resultptr
= new wxPoint((wxPoint
&)(result
));
20714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20722 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20733 if (SWIG_arg_fail(1)) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (int)(arg1
)->GetNumberOfFiles();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= SWIG_From_int((int)(result
));
20750 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20761 if (SWIG_arg_fail(1)) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
;
20776 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20779 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20781 return Py_BuildValue((char *)"");
20783 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 int arg1
= (int) 0 ;
20786 wxUpdateUIEvent
*result
;
20787 PyObject
* obj0
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "commandId", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20795 arg1
= (int)(SWIG_As_int(obj0
));
20796 if (SWIG_arg_fail(1)) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20813 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20841 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20845 PyObject
* obj0
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20852 if (SWIG_arg_fail(1)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20869 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20880 if (SWIG_arg_fail(1)) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20901 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20912 if (SWIG_arg_fail(1)) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20929 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 char *kwnames
[] = {
20935 (char *) "self", NULL
20938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20940 if (SWIG_arg_fail(1)) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20957 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20985 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self",(char *) "check", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20997 if (SWIG_arg_fail(1)) SWIG_fail
;
20999 arg2
= (bool)(SWIG_As_bool(obj1
));
21000 if (SWIG_arg_fail(2)) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->Check(arg2
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self",(char *) "enable", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21028 if (SWIG_arg_fail(1)) SWIG_fail
;
21030 arg2
= (bool)(SWIG_As_bool(obj1
));
21031 if (SWIG_arg_fail(2)) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 (arg1
)->Enable(arg2
);
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 Py_INCREF(Py_None
); resultobj
= Py_None
;
21047 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21050 wxString
*arg2
= 0 ;
21051 bool temp2
= false ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "text", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21060 if (SWIG_arg_fail(1)) SWIG_fail
;
21062 arg2
= wxString_in_helper(obj1
);
21063 if (arg2
== NULL
) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->SetText((wxString
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 Py_INCREF(Py_None
); resultobj
= Py_None
;
21088 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21091 PyObject
* obj0
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "updateInterval", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21098 arg1
= (long)(SWIG_As_long(obj0
));
21099 if (SWIG_arg_fail(1)) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 Py_INCREF(Py_None
); resultobj
= Py_None
;
21115 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21118 char *kwnames
[] = {
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_From_long((long)(result
));
21139 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxWindow
*arg1
= (wxWindow
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "win", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21150 if (SWIG_arg_fail(1)) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21167 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 char *kwnames
[] = {
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 wxUpdateUIEvent::ResetUpdateTime();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxUpdateUIMode arg1
;
21191 PyObject
* obj0
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "mode", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21198 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21199 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 Py_INCREF(Py_None
); resultobj
= Py_None
;
21215 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxUpdateUIMode result
;
21218 char *kwnames
[] = {
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_From_int((result
));
21237 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21240 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21242 return Py_BuildValue((char *)"");
21244 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxSysColourChangedEvent
*result
;
21247 char *kwnames
[] = {
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21266 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21269 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21271 return Py_BuildValue((char *)"");
21273 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 int arg1
= (int) 0 ;
21276 wxWindow
*arg2
= (wxWindow
*) NULL
;
21277 wxMouseCaptureChangedEvent
*result
;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "winid",(char *) "gainedCapture", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21287 arg1
= (int)(SWIG_As_int(obj0
));
21288 if (SWIG_arg_fail(1)) SWIG_fail
;
21292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21293 if (SWIG_arg_fail(2)) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21309 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21320 if (SWIG_arg_fail(1)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= wxPyMake_wxObject(result
, 0);
21337 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21340 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21342 return Py_BuildValue((char *)"");
21344 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxDisplayChangedEvent
*result
;
21347 char *kwnames
[] = {
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21366 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21369 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21371 return Py_BuildValue((char *)"");
21373 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 int arg1
= (int) 0 ;
21376 wxPaletteChangedEvent
*result
;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "id", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21385 arg1
= (int)(SWIG_As_int(obj0
));
21386 if (SWIG_arg_fail(1)) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21403 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21406 wxWindow
*arg2
= (wxWindow
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "win", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail
;
21416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(2)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->SetChangedWindow(arg2
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21443 if (SWIG_arg_fail(1)) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 resultobj
= wxPyMake_wxObject(result
, 0);
21460 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21463 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21465 return Py_BuildValue((char *)"");
21467 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 int arg1
= (int) 0 ;
21470 wxQueryNewPaletteEvent
*result
;
21471 PyObject
* obj0
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "winid", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21479 arg1
= (int)(SWIG_As_int(obj0
));
21480 if (SWIG_arg_fail(1)) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21497 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "realized", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail
;
21511 arg2
= (bool)(SWIG_As_bool(obj1
));
21512 if (SWIG_arg_fail(2)) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 (arg1
)->SetPaletteRealized(arg2
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 Py_INCREF(Py_None
); resultobj
= Py_None
;
21528 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
;
21530 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21539 if (SWIG_arg_fail(1)) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21556 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21559 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21561 return Py_BuildValue((char *)"");
21563 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxNavigationKeyEvent
*result
;
21566 char *kwnames
[] = {
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21585 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21613 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "forward", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 arg2
= (bool)(SWIG_As_bool(obj1
));
21628 if (SWIG_arg_fail(2)) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 (arg1
)->SetDirection(arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 Py_INCREF(Py_None
); resultobj
= Py_None
;
21644 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21672 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "ischange", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21684 if (SWIG_arg_fail(1)) SWIG_fail
;
21686 arg2
= (bool)(SWIG_As_bool(obj1
));
21687 if (SWIG_arg_fail(2)) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 (arg1
)->SetWindowChange(arg2
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 Py_INCREF(Py_None
); resultobj
= Py_None
;
21703 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
;
21705 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21714 if (SWIG_arg_fail(1)) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21731 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 PyObject
* obj1
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self",(char *) "bIs", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21743 if (SWIG_arg_fail(1)) SWIG_fail
;
21745 arg2
= (bool)(SWIG_As_bool(obj1
));
21746 if (SWIG_arg_fail(2)) SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 (arg1
)->SetFromTab(arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 Py_INCREF(Py_None
); resultobj
= Py_None
;
21762 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "flags", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21774 if (SWIG_arg_fail(1)) SWIG_fail
;
21776 arg2
= (long)(SWIG_As_long(obj1
));
21777 if (SWIG_arg_fail(2)) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->SetFlags(arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21793 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= wxPyMake_wxObject(result
, 0);
21821 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21824 wxWindow
*arg2
= (wxWindow
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "win", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail
;
21834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21835 if (SWIG_arg_fail(2)) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 (arg1
)->SetCurrentFocus(arg2
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 Py_INCREF(Py_None
); resultobj
= Py_None
;
21850 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21853 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21855 return Py_BuildValue((char *)"");
21857 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxWindow
*arg1
= (wxWindow
*) NULL
;
21860 wxWindowCreateEvent
*result
;
21861 PyObject
* obj0
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "win", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21885 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21896 if (SWIG_arg_fail(1)) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= wxPyMake_wxObject(result
, 0);
21913 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21916 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21918 return Py_BuildValue((char *)"");
21920 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxWindow
*arg1
= (wxWindow
*) NULL
;
21923 wxWindowDestroyEvent
*result
;
21924 PyObject
* obj0
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "win", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21932 if (SWIG_arg_fail(1)) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21948 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21959 if (SWIG_arg_fail(1)) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= wxPyMake_wxObject(result
, 0);
21976 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21979 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21981 return Py_BuildValue((char *)"");
21983 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21986 int arg2
= (int) 0 ;
21987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21989 wxContextMenuEvent
*result
;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "type",(char *) "winid",(char *) "pt", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22001 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22002 if (SWIG_arg_fail(1)) SWIG_fail
;
22007 arg2
= (int)(SWIG_As_int(obj1
));
22008 if (SWIG_arg_fail(2)) SWIG_fail
;
22014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22031 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22047 result
= (wxPoint
*) &_result_ref
;
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22060 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22063 wxPoint
*arg2
= 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "pos", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22073 if (SWIG_arg_fail(1)) SWIG_fail
;
22076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 Py_INCREF(Py_None
); resultobj
= Py_None
;
22092 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22095 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22097 return Py_BuildValue((char *)"");
22099 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxIdleEvent
*result
;
22102 char *kwnames
[] = {
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (wxIdleEvent
*)new wxIdleEvent();
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22121 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22124 bool arg2
= (bool) true ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "needMore", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail
;
22136 arg2
= (bool)(SWIG_As_bool(obj1
));
22137 if (SWIG_arg_fail(2)) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 (arg1
)->RequestMore(arg2
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 Py_INCREF(Py_None
); resultobj
= Py_None
;
22154 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22156 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22158 PyObject
* obj0
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "self", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22165 if (SWIG_arg_fail(1)) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22182 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22185 PyObject
* obj0
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "mode", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22192 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22193 if (SWIG_arg_fail(1)) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 Py_INCREF(Py_None
); resultobj
= Py_None
;
22209 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22212 char *kwnames
[] = {
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_From_int((result
));
22231 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxWindow
*arg1
= (wxWindow
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "win", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (bool)wxIdleEvent::CanSend(arg1
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22259 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22262 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22264 return Py_BuildValue((char *)"");
22266 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 int arg1
= (int) 0 ;
22269 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "winid",(char *) "commandType", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22280 arg1
= (int)(SWIG_As_int(obj0
));
22281 if (SWIG_arg_fail(1)) SWIG_fail
;
22286 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22287 if (SWIG_arg_fail(2)) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22304 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 Py_INCREF(Py_None
); resultobj
= Py_None
;
22329 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22332 PyObject
*arg2
= (PyObject
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "self", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22341 if (SWIG_arg_fail(1)) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->SetSelf(arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 Py_INCREF(Py_None
); resultobj
= Py_None
;
22357 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22368 if (SWIG_arg_fail(1)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= (PyObject
*)(arg1
)->GetSelf();
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= result
;
22383 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22386 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22388 return Py_BuildValue((char *)"");
22390 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22393 int arg2
= (int) 0 ;
22394 wxPyCommandEvent
*result
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "commandType",(char *) "id", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22404 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22405 if (SWIG_arg_fail(1)) SWIG_fail
;
22410 arg2
= (int)(SWIG_As_int(obj1
));
22411 if (SWIG_arg_fail(2)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22428 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 Py_INCREF(Py_None
); resultobj
= Py_None
;
22453 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
;
22455 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22456 PyObject
*arg2
= (PyObject
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self",(char *) "self", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22465 if (SWIG_arg_fail(1)) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetSelf(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (PyObject
*)(arg1
)->GetSelf();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= result
;
22507 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22510 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22512 return Py_BuildValue((char *)"");
22514 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
;
22516 wxWindow
*arg1
= (wxWindow
*) 0 ;
22517 wxDateTime
*arg2
= 0 ;
22519 wxDateEvent
*result
;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 PyObject
* obj2
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "win",(char *) "dt",(char *) "type", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22532 if (SWIG_arg_fail(2)) SWIG_fail
;
22533 if (arg2
== NULL
) {
22534 SWIG_null_ref("wxDateTime");
22536 if (SWIG_arg_fail(2)) SWIG_fail
;
22539 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22540 if (SWIG_arg_fail(3)) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22556 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22559 wxDateTime
*result
;
22560 PyObject
* obj0
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22567 if (SWIG_arg_fail(1)) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22572 result
= (wxDateTime
*) &_result_ref
;
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22585 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22588 wxDateTime
*arg2
= 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "date", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22597 if (SWIG_arg_fail(1)) SWIG_fail
;
22599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22601 if (arg2
== NULL
) {
22602 SWIG_null_ref("wxDateTime");
22604 if (SWIG_arg_fail(2)) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 Py_INCREF(Py_None
); resultobj
= Py_None
;
22620 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22623 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22625 return Py_BuildValue((char *)"");
22627 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22630 char *kwnames
[] = {
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 result
= (wxPyApp
*)new_wxPyApp();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22649 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22652 PyObject
* obj0
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22659 if (SWIG_arg_fail(1)) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 Py_INCREF(Py_None
); resultobj
= Py_None
;
22674 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
;
22676 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22677 PyObject
*arg2
= (PyObject
*) 0 ;
22678 PyObject
*arg3
= (PyObject
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 PyObject
* obj2
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self",(char *) "self",(char *) "_class", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail
;
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 Py_INCREF(Py_None
); resultobj
= Py_None
;
22705 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22709 PyObject
* obj0
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22737 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22740 wxString
*arg2
= 0 ;
22741 bool temp2
= false ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "name", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22752 arg2
= wxString_in_helper(obj1
);
22753 if (arg2
== NULL
) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 (arg1
)->SetAppName((wxString
const &)*arg2
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 Py_INCREF(Py_None
); resultobj
= Py_None
;
22778 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
;
22780 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22782 PyObject
* obj0
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22789 if (SWIG_arg_fail(1)) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22810 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
;
22812 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22813 wxString
*arg2
= 0 ;
22814 bool temp2
= false ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self",(char *) "name", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail
;
22825 arg2
= wxString_in_helper(obj1
);
22826 if (arg2
== NULL
) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 (arg1
)->SetClassName((wxString
const &)*arg2
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 Py_INCREF(Py_None
); resultobj
= Py_None
;
22851 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22862 if (SWIG_arg_fail(1)) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22867 result
= (wxString
*) &_result_ref
;
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22877 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22886 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22889 wxString
*arg2
= 0 ;
22890 bool temp2
= false ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self",(char *) "name", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail
;
22901 arg2
= wxString_in_helper(obj1
);
22902 if (arg2
== NULL
) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 Py_INCREF(Py_None
); resultobj
= Py_None
;
22927 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22930 wxAppTraits
*result
;
22931 PyObject
* obj0
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22953 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22963 if (SWIG_arg_fail(1)) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->ProcessPendingEvents();
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22981 bool arg2
= (bool) false ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "onlyIfNeeded", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22991 if (SWIG_arg_fail(1)) SWIG_fail
;
22994 arg2
= (bool)(SWIG_As_bool(obj1
));
22995 if (SWIG_arg_fail(2)) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (bool)(arg1
)->Yield(arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23014 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23017 PyObject
* obj0
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23024 if (SWIG_arg_fail(1)) SWIG_fail
;
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 (arg1
)->WakeUpIdle();
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 Py_INCREF(Py_None
); resultobj
= Py_None
;
23039 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23042 char *kwnames
[] = {
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= (bool)wxPyApp::IsMainLoopRunning();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23063 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23074 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)(arg1
)->MainLoop();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_From_int((int)(result
));
23091 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23101 if (SWIG_arg_fail(1)) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23119 PyObject
* obj0
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "self", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23126 if (SWIG_arg_fail(1)) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 (arg1
)->ExitMainLoop();
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 Py_INCREF(Py_None
); resultobj
= Py_None
;
23141 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
;
23143 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23152 if (SWIG_arg_fail(1)) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (bool)(arg1
)->Pending();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23169 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self", NULL
23178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23180 if (SWIG_arg_fail(1)) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (bool)(arg1
)->Dispatch();
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23197 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23208 if (SWIG_arg_fail(1)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (bool)(arg1
)->ProcessIdle();
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23225 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23228 wxWindow
*arg2
= (wxWindow
*) 0 ;
23229 wxIdleEvent
*arg3
= 0 ;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 PyObject
* obj2
= 0 ;
23234 char *kwnames
[] = {
23235 (char *) "self",(char *) "win",(char *) "event", NULL
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23240 if (SWIG_arg_fail(1)) SWIG_fail
;
23241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23242 if (SWIG_arg_fail(2)) SWIG_fail
;
23244 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23245 if (SWIG_arg_fail(3)) SWIG_fail
;
23246 if (arg3
== NULL
) {
23247 SWIG_null_ref("wxIdleEvent");
23249 if (SWIG_arg_fail(3)) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23278 if (SWIG_arg_fail(1)) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23295 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23298 wxWindow
*arg2
= (wxWindow
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "win", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23307 if (SWIG_arg_fail(1)) SWIG_fail
;
23308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23309 if (SWIG_arg_fail(2)) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 (arg1
)->SetTopWindow(arg2
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 Py_INCREF(Py_None
); resultobj
= Py_None
;
23324 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= wxPyMake_wxObject(result
, 0);
23352 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self",(char *) "flag", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23364 if (SWIG_arg_fail(1)) SWIG_fail
;
23366 arg2
= (bool)(SWIG_As_bool(obj1
));
23367 if (SWIG_arg_fail(2)) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 (arg1
)->SetExitOnFrameDelete(arg2
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 Py_INCREF(Py_None
); resultobj
= Py_None
;
23383 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23394 if (SWIG_arg_fail(1)) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23411 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23413 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23415 PyObject
* obj0
= 0 ;
23416 PyObject
* obj1
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self",(char *) "flag", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail
;
23425 arg2
= (bool)(SWIG_As_bool(obj1
));
23426 if (SWIG_arg_fail(2)) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 (arg1
)->SetUseBestVisual(arg2
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 Py_INCREF(Py_None
); resultobj
= Py_None
;
23442 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23470 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23472 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23474 PyObject
* obj0
= 0 ;
23475 PyObject
* obj1
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self",(char *) "mode", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail
;
23484 arg2
= (int)(SWIG_As_int(obj1
));
23485 if (SWIG_arg_fail(2)) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 (arg1
)->SetPrintMode(arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 Py_INCREF(Py_None
); resultobj
= Py_None
;
23501 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23505 PyObject
* obj0
= 0 ;
23506 char *kwnames
[] = {
23507 (char *) "self", NULL
23510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23512 if (SWIG_arg_fail(1)) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= SWIG_From_int((int)(result
));
23529 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self",(char *) "mode", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail
;
23543 arg2
= (int)(SWIG_As_int(obj1
));
23544 if (SWIG_arg_fail(2)) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 (arg1
)->SetAssertMode(arg2
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 Py_INCREF(Py_None
); resultobj
= Py_None
;
23560 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23564 PyObject
* obj0
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23571 if (SWIG_arg_fail(1)) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (int)(arg1
)->GetAssertMode();
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_From_int((int)(result
));
23588 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23591 char *kwnames
[] = {
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23612 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23615 char *kwnames
[] = {
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_From_long((long)(result
));
23636 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23639 char *kwnames
[] = {
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_From_long((long)(result
));
23660 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23663 char *kwnames
[] = {
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (long)wxPyApp::GetMacExitMenuItemId();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= SWIG_From_long((long)(result
));
23684 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23687 char *kwnames
[] = {
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= wxPyApp::GetMacHelpMenuTitleName();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23712 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23715 PyObject
* obj0
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "val", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23722 arg1
= (bool)(SWIG_As_bool(obj0
));
23723 if (SWIG_arg_fail(1)) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 Py_INCREF(Py_None
); resultobj
= Py_None
;
23739 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23742 PyObject
* obj0
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "val", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23749 arg1
= (long)(SWIG_As_long(obj0
));
23750 if (SWIG_arg_fail(1)) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 wxPyApp::SetMacAboutMenuItemId(arg1
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 Py_INCREF(Py_None
); resultobj
= Py_None
;
23766 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23769 PyObject
* obj0
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "val", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23776 arg1
= (long)(SWIG_As_long(obj0
));
23777 if (SWIG_arg_fail(1)) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 Py_INCREF(Py_None
); resultobj
= Py_None
;
23793 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "val", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23803 arg1
= (long)(SWIG_As_long(obj0
));
23804 if (SWIG_arg_fail(1)) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 wxPyApp::SetMacExitMenuItemId(arg1
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 Py_INCREF(Py_None
); resultobj
= Py_None
;
23820 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxString
*arg1
= 0 ;
23823 bool temp1
= false ;
23824 PyObject
* obj0
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "val", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23831 arg1
= wxString_in_helper(obj0
);
23832 if (arg1
== NULL
) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 Py_INCREF(Py_None
); resultobj
= Py_None
;
23857 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23867 if (SWIG_arg_fail(1)) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 (arg1
)->_BootstrapApp();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 Py_INCREF(Py_None
); resultobj
= Py_None
;
23882 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23885 char *kwnames
[] = {
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (int)PyApp_GetComCtl32Version();
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= SWIG_From_int((int)(result
));
23906 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23909 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23911 return Py_BuildValue((char *)"");
23913 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 char *kwnames
[] = {
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 Py_INCREF(Py_None
); resultobj
= Py_None
;
23934 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23937 char *kwnames
[] = {
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 result
= (bool)wxYield();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23958 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23961 char *kwnames
[] = {
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (bool)wxYieldIfNeeded();
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23982 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxWindow
*arg1
= (wxWindow
*) NULL
;
23985 bool arg2
= (bool) false ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "win",(char *) "onlyIfNeeded", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23996 if (SWIG_arg_fail(1)) SWIG_fail
;
24000 arg2
= (bool)(SWIG_As_bool(obj1
));
24001 if (SWIG_arg_fail(2)) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (bool)wxSafeYield(arg1
,arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24020 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 char *kwnames
[] = {
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24034 Py_INCREF(Py_None
); resultobj
= Py_None
;
24041 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24044 wxEvent
*arg2
= 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "dest",(char *) "event", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24053 if (SWIG_arg_fail(1)) SWIG_fail
;
24055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24056 if (SWIG_arg_fail(2)) SWIG_fail
;
24057 if (arg2
== NULL
) {
24058 SWIG_null_ref("wxEvent");
24060 if (SWIG_arg_fail(2)) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 wxPostEvent(arg1
,*arg2
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 Py_INCREF(Py_None
); resultobj
= Py_None
;
24076 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 char *kwnames
[] = {
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24100 char *kwnames
[] = {
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (wxPyApp
*)wxPyGetApp();
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= wxPyMake_wxObject(result
, 0);
24121 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 char *arg1
= (char *) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "encoding", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24130 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24131 SWIG_arg_fail(1);SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 wxSetDefaultPyEncoding((char const *)arg1
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24150 char *kwnames
[] = {
24154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (char *)wxGetDefaultPyEncoding();
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_FromCharPtr(result
);
24169 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxEventLoop
*result
;
24172 char *kwnames
[] = {
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (wxEventLoop
*)new wxEventLoop();
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24191 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24201 if (SWIG_arg_fail(1)) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 Py_INCREF(Py_None
); resultobj
= Py_None
;
24216 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
;
24218 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24220 PyObject
* obj0
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24227 if (SWIG_arg_fail(1)) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 result
= (int)(arg1
)->Run();
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= SWIG_From_int((int)(result
));
24244 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24247 int arg2
= (int) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self",(char *) "rc", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail
;
24259 arg2
= (int)(SWIG_As_int(obj1
));
24260 if (SWIG_arg_fail(2)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 (arg1
)->Exit(arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 Py_INCREF(Py_None
); resultobj
= Py_None
;
24277 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24288 if (SWIG_arg_fail(1)) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24305 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (bool)(arg1
)->Dispatch();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24333 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24344 if (SWIG_arg_fail(1)) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24361 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
;
24363 wxEventLoop
*result
;
24364 char *kwnames
[] = {
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24383 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "loop", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24393 if (SWIG_arg_fail(1)) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 wxEventLoop::SetActive(arg1
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 Py_INCREF(Py_None
); resultobj
= Py_None
;
24408 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24411 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24413 return Py_BuildValue((char *)"");
24415 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 int arg1
= (int) 0 ;
24418 int arg2
= (int) 0 ;
24419 int arg3
= (int) 0 ;
24420 wxAcceleratorEntry
*result
;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24431 arg1
= (int)(SWIG_As_int(obj0
));
24432 if (SWIG_arg_fail(1)) SWIG_fail
;
24437 arg2
= (int)(SWIG_As_int(obj1
));
24438 if (SWIG_arg_fail(2)) SWIG_fail
;
24443 arg3
= (int)(SWIG_As_int(obj2
));
24444 if (SWIG_arg_fail(3)) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24461 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24471 if (SWIG_arg_fail(1)) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 PyObject
* obj2
= 0 ;
24495 PyObject
* obj3
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24502 if (SWIG_arg_fail(1)) SWIG_fail
;
24504 arg2
= (int)(SWIG_As_int(obj1
));
24505 if (SWIG_arg_fail(2)) SWIG_fail
;
24508 arg3
= (int)(SWIG_As_int(obj2
));
24509 if (SWIG_arg_fail(3)) SWIG_fail
;
24512 arg4
= (int)(SWIG_As_int(obj3
));
24513 if (SWIG_arg_fail(4)) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 (arg1
)->Set(arg2
,arg3
,arg4
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 Py_INCREF(Py_None
); resultobj
= Py_None
;
24529 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24540 if (SWIG_arg_fail(1)) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (int)(arg1
)->GetFlags();
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_From_int((int)(result
));
24557 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24568 if (SWIG_arg_fail(1)) SWIG_fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= (int)(arg1
)->GetKeyCode();
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= SWIG_From_int((int)(result
));
24585 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= (int)(arg1
)->GetCommand();
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= SWIG_From_int((int)(result
));
24613 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24616 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24618 return Py_BuildValue((char *)"");
24620 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24623 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24624 wxAcceleratorTable
*result
;
24625 PyObject
* obj0
= 0 ;
24626 char *kwnames
[] = {
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24632 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24633 if (arg2
) arg1
= PyList_Size(obj0
);
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24656 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24666 if (SWIG_arg_fail(1)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 Py_INCREF(Py_None
); resultobj
= Py_None
;
24681 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24692 if (SWIG_arg_fail(1)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24709 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24712 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24714 return Py_BuildValue((char *)"");
24716 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24717 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24722 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24725 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24730 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
;
24732 wxString
*arg1
= 0 ;
24733 wxAcceleratorEntry
*result
;
24734 bool temp1
= false ;
24735 PyObject
* obj0
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "label", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24742 arg1
= wxString_in_helper(obj0
);
24743 if (arg1
== NULL
) SWIG_fail
;
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24768 static int _wrap_PanelNameStr_set(PyObject
*) {
24769 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24774 static PyObject
*_wrap_PanelNameStr_get(void) {
24779 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24781 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24788 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxVisualAttributes
*result
;
24791 char *kwnames
[] = {
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24810 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
;
24812 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24820 if (SWIG_arg_fail(1)) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 delete_wxVisualAttributes(arg1
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 Py_INCREF(Py_None
); resultobj
= Py_None
;
24835 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24838 wxFont
*arg2
= (wxFont
*) 0 ;
24839 PyObject
* obj0
= 0 ;
24840 PyObject
* obj1
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self",(char *) "font", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24847 if (SWIG_arg_fail(1)) SWIG_fail
;
24848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24849 if (SWIG_arg_fail(2)) SWIG_fail
;
24850 if (arg1
) (arg1
)->font
= *arg2
;
24852 Py_INCREF(Py_None
); resultobj
= Py_None
;
24859 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24870 if (SWIG_arg_fail(1)) SWIG_fail
;
24871 result
= (wxFont
*)& ((arg1
)->font
);
24873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24880 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24883 wxColour
*arg2
= (wxColour
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 PyObject
* obj1
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "self",(char *) "colFg", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24892 if (SWIG_arg_fail(1)) SWIG_fail
;
24893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24894 if (SWIG_arg_fail(2)) SWIG_fail
;
24895 if (arg1
) (arg1
)->colFg
= *arg2
;
24897 Py_INCREF(Py_None
); resultobj
= Py_None
;
24904 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self", NULL
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24915 if (SWIG_arg_fail(1)) SWIG_fail
;
24916 result
= (wxColour
*)& ((arg1
)->colFg
);
24918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24925 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24928 wxColour
*arg2
= (wxColour
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "colBg", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail
;
24938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24939 if (SWIG_arg_fail(2)) SWIG_fail
;
24940 if (arg1
) (arg1
)->colBg
= *arg2
;
24942 Py_INCREF(Py_None
); resultobj
= Py_None
;
24949 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24961 result
= (wxColour
*)& ((arg1
)->colBg
);
24963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24970 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24973 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24975 return Py_BuildValue((char *)"");
24977 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxWindow
*arg1
= (wxWindow
*) 0 ;
24980 int arg2
= (int) (int)-1 ;
24981 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24982 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24983 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24984 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24985 long arg5
= (long) 0 ;
24986 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24987 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24991 bool temp6
= false ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 PyObject
* obj3
= 0 ;
24996 PyObject
* obj4
= 0 ;
24997 PyObject
* obj5
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail
;
25007 arg2
= (int const)(SWIG_As_int(obj1
));
25008 if (SWIG_arg_fail(2)) SWIG_fail
;
25014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25020 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25025 arg5
= (long)(SWIG_As_long(obj4
));
25026 if (SWIG_arg_fail(5)) SWIG_fail
;
25031 arg6
= wxString_in_helper(obj5
);
25032 if (arg6
== NULL
) SWIG_fail
;
25037 if (!wxPyCheckForApp()) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25059 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25062 char *kwnames
[] = {
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25068 if (!wxPyCheckForApp()) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (wxWindow
*)new wxWindow();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25082 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxWindow
*arg1
= (wxWindow
*) 0 ;
25085 wxWindow
*arg2
= (wxWindow
*) 0 ;
25086 int arg3
= (int) (int)-1 ;
25087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25091 long arg6
= (long) 0 ;
25092 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25097 bool temp7
= false ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 PyObject
* obj2
= 0 ;
25101 PyObject
* obj3
= 0 ;
25102 PyObject
* obj4
= 0 ;
25103 PyObject
* obj5
= 0 ;
25104 PyObject
* obj6
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25111 if (SWIG_arg_fail(1)) SWIG_fail
;
25112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25113 if (SWIG_arg_fail(2)) SWIG_fail
;
25116 arg3
= (int const)(SWIG_As_int(obj2
));
25117 if (SWIG_arg_fail(3)) SWIG_fail
;
25123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25134 arg6
= (long)(SWIG_As_long(obj5
));
25135 if (SWIG_arg_fail(6)) SWIG_fail
;
25140 arg7
= wxString_in_helper(obj6
);
25141 if (arg7
== NULL
) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25169 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
;
25171 wxWindow
*arg1
= (wxWindow
*) 0 ;
25172 bool arg2
= (bool) false ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self",(char *) "force", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25182 if (SWIG_arg_fail(1)) SWIG_fail
;
25185 arg2
= (bool)(SWIG_As_bool(obj1
));
25186 if (SWIG_arg_fail(2)) SWIG_fail
;
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (bool)(arg1
)->Close(arg2
);
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25205 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
;
25207 wxWindow
*arg1
= (wxWindow
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (bool)(arg1
)->Destroy();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25233 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxWindow
*arg1
= (wxWindow
*) 0 ;
25237 PyObject
* obj0
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25244 if (SWIG_arg_fail(1)) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (bool)(arg1
)->DestroyChildren();
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25261 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxWindow
*arg1
= (wxWindow
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 char *kwnames
[] = {
25267 (char *) "self", NULL
25270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25272 if (SWIG_arg_fail(1)) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25289 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxWindow
*arg1
= (wxWindow
*) 0 ;
25292 wxString
*arg2
= 0 ;
25293 bool temp2
= false ;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self",(char *) "title", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",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
= wxString_in_helper(obj1
);
25305 if (arg2
== NULL
) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 (arg1
)->SetTitle((wxString
const &)*arg2
);
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 Py_INCREF(Py_None
); resultobj
= Py_None
;
25330 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxWindow
*arg1
= (wxWindow
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 char *kwnames
[] = {
25336 (char *) "self", NULL
25339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25341 if (SWIG_arg_fail(1)) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= ((wxWindow
const *)arg1
)->GetTitle();
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25362 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxWindow
*arg1
= (wxWindow
*) 0 ;
25365 wxString
*arg2
= 0 ;
25366 bool temp2
= false ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "label", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail
;
25377 arg2
= wxString_in_helper(obj1
);
25378 if (arg2
== NULL
) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 (arg1
)->SetLabel((wxString
const &)*arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 Py_INCREF(Py_None
); resultobj
= Py_None
;
25403 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
;
25405 wxWindow
*arg1
= (wxWindow
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25414 if (SWIG_arg_fail(1)) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= ((wxWindow
const *)arg1
)->GetLabel();
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25435 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxWindow
*arg1
= (wxWindow
*) 0 ;
25438 wxString
*arg2
= 0 ;
25439 bool temp2
= false ;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "name", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25448 if (SWIG_arg_fail(1)) SWIG_fail
;
25450 arg2
= wxString_in_helper(obj1
);
25451 if (arg2
== NULL
) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->SetName((wxString
const &)*arg2
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25476 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxWindow
*arg1
= (wxWindow
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25487 if (SWIG_arg_fail(1)) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= ((wxWindow
const *)arg1
)->GetName();
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25508 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxWindow
*arg1
= (wxWindow
*) 0 ;
25511 wxWindowVariant arg2
;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 char *kwnames
[] = {
25515 (char *) "self",(char *) "variant", NULL
25518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25520 if (SWIG_arg_fail(1)) SWIG_fail
;
25522 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25523 if (SWIG_arg_fail(2)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 Py_INCREF(Py_None
); resultobj
= Py_None
;
25539 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxWindow
*arg1
= (wxWindow
*) 0 ;
25542 wxWindowVariant result
;
25543 PyObject
* obj0
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= SWIG_From_int((result
));
25565 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxWindow
*arg1
= (wxWindow
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self",(char *) "winid", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail
;
25579 arg2
= (int)(SWIG_As_int(obj1
));
25580 if (SWIG_arg_fail(2)) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->SetId(arg2
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 Py_INCREF(Py_None
); resultobj
= Py_None
;
25596 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxWindow
*arg1
= (wxWindow
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= (int)((wxWindow
const *)arg1
)->GetId();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_From_int((int)(result
));
25624 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25627 char *kwnames
[] = {
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (int)wxWindow::NewControlId();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_From_int((int)(result
));
25648 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
;
25652 PyObject
* obj0
= 0 ;
25653 char *kwnames
[] = {
25654 (char *) "winid", NULL
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25659 arg1
= (int)(SWIG_As_int(obj0
));
25660 if (SWIG_arg_fail(1)) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (int)wxWindow::NextControlId(arg1
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_From_int((int)(result
));
25678 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25682 PyObject
* obj0
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "winid", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25689 arg1
= (int)(SWIG_As_int(obj0
));
25690 if (SWIG_arg_fail(1)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (int)wxWindow::PrevControlId(arg1
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= SWIG_From_int((int)(result
));
25708 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25710 wxWindow
*arg1
= (wxWindow
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "size", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25721 if (SWIG_arg_fail(1)) SWIG_fail
;
25724 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 (arg1
)->SetSize((wxSize
const &)*arg2
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 Py_INCREF(Py_None
); resultobj
= Py_None
;
25740 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxWindow
*arg1
= (wxWindow
*) 0 ;
25747 int arg6
= (int) wxSIZE_AUTO
;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 PyObject
* obj2
= 0 ;
25751 PyObject
* obj3
= 0 ;
25752 PyObject
* obj4
= 0 ;
25753 PyObject
* obj5
= 0 ;
25754 char *kwnames
[] = {
25755 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25760 if (SWIG_arg_fail(1)) SWIG_fail
;
25762 arg2
= (int)(SWIG_As_int(obj1
));
25763 if (SWIG_arg_fail(2)) SWIG_fail
;
25766 arg3
= (int)(SWIG_As_int(obj2
));
25767 if (SWIG_arg_fail(3)) SWIG_fail
;
25770 arg4
= (int)(SWIG_As_int(obj3
));
25771 if (SWIG_arg_fail(4)) SWIG_fail
;
25774 arg5
= (int)(SWIG_As_int(obj4
));
25775 if (SWIG_arg_fail(5)) SWIG_fail
;
25779 arg6
= (int)(SWIG_As_int(obj5
));
25780 if (SWIG_arg_fail(6)) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxWindow
*arg1
= (wxWindow
*) 0 ;
25801 int arg3
= (int) wxSIZE_AUTO
;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25812 if (SWIG_arg_fail(1)) SWIG_fail
;
25815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25819 arg3
= (int)(SWIG_As_int(obj2
));
25820 if (SWIG_arg_fail(3)) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 Py_INCREF(Py_None
); resultobj
= Py_None
;
25837 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxWindow
*arg1
= (wxWindow
*) 0 ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 PyObject
* obj2
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self",(char *) "width",(char *) "height", NULL
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25851 if (SWIG_arg_fail(1)) SWIG_fail
;
25853 arg2
= (int)(SWIG_As_int(obj1
));
25854 if (SWIG_arg_fail(2)) SWIG_fail
;
25857 arg3
= (int)(SWIG_As_int(obj2
));
25858 if (SWIG_arg_fail(3)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 (arg1
)->SetSize(arg2
,arg3
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 Py_INCREF(Py_None
); resultobj
= Py_None
;
25874 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
;
25876 wxWindow
*arg1
= (wxWindow
*) 0 ;
25877 wxPoint
*arg2
= 0 ;
25878 int arg3
= (int) wxSIZE_USE_EXISTING
;
25880 PyObject
* obj0
= 0 ;
25881 PyObject
* obj1
= 0 ;
25882 PyObject
* obj2
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self",(char *) "pt",(char *) "flags", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail
;
25892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25896 arg3
= (int)(SWIG_As_int(obj2
));
25897 if (SWIG_arg_fail(3)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 Py_INCREF(Py_None
); resultobj
= Py_None
;
25914 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxWindow
*arg1
= (wxWindow
*) 0 ;
25919 int arg4
= (int) wxSIZE_USE_EXISTING
;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 PyObject
* obj2
= 0 ;
25923 PyObject
* obj3
= 0 ;
25924 char *kwnames
[] = {
25925 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25930 if (SWIG_arg_fail(1)) SWIG_fail
;
25932 arg2
= (int)(SWIG_As_int(obj1
));
25933 if (SWIG_arg_fail(2)) SWIG_fail
;
25936 arg3
= (int)(SWIG_As_int(obj2
));
25937 if (SWIG_arg_fail(3)) SWIG_fail
;
25941 arg4
= (int)(SWIG_As_int(obj3
));
25942 if (SWIG_arg_fail(4)) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 (arg1
)->Move(arg2
,arg3
,arg4
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 Py_INCREF(Py_None
); resultobj
= Py_None
;
25959 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxWindow
*arg1
= (wxWindow
*) 0 ;
25962 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25963 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25965 PyObject
* obj0
= 0 ;
25966 PyObject
* obj1
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self",(char *) "size", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25973 if (SWIG_arg_fail(1)) SWIG_fail
;
25977 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 Py_INCREF(Py_None
); resultobj
= Py_None
;
25994 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxWindow
*arg1
= (wxWindow
*) 0 ;
25997 PyObject
* obj0
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxWindow
*arg1
= (wxWindow
*) 0 ;
26022 PyObject
* obj0
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26029 if (SWIG_arg_fail(1)) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 Py_INCREF(Py_None
); resultobj
= Py_None
;
26044 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxWindow
*arg1
= (wxWindow
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "size", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26057 if (SWIG_arg_fail(1)) SWIG_fail
;
26060 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 Py_INCREF(Py_None
); resultobj
= Py_None
;
26076 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
;
26078 wxWindow
*arg1
= (wxWindow
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 PyObject
* obj2
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "width",(char *) "height", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail
;
26092 arg2
= (int)(SWIG_As_int(obj1
));
26093 if (SWIG_arg_fail(2)) SWIG_fail
;
26096 arg3
= (int)(SWIG_As_int(obj2
));
26097 if (SWIG_arg_fail(3)) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->SetClientSize(arg2
,arg3
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 Py_INCREF(Py_None
); resultobj
= Py_None
;
26113 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxWindow
*arg1
= (wxWindow
*) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "self",(char *) "rect", NULL
26124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26126 if (SWIG_arg_fail(1)) SWIG_fail
;
26129 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26145 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxWindow
*arg1
= (wxWindow
*) 0 ;
26149 PyObject
* obj0
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26156 if (SWIG_arg_fail(1)) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 result
= (arg1
)->GetPosition();
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26165 wxPoint
* resultptr
;
26166 resultptr
= new wxPoint((wxPoint
&)(result
));
26167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26175 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
;
26177 wxWindow
*arg1
= (wxWindow
*) 0 ;
26178 int *arg2
= (int *) 0 ;
26179 int *arg3
= (int *) 0 ;
26184 PyObject
* obj0
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self", NULL
26189 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26190 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26193 if (SWIG_arg_fail(1)) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 (arg1
)->GetPosition(arg2
,arg3
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 Py_INCREF(Py_None
); resultobj
= Py_None
;
26202 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26203 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26204 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26205 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26212 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxWindow
*arg1
= (wxWindow
*) 0 ;
26216 PyObject
* obj0
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26223 if (SWIG_arg_fail(1)) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= ((wxWindow
const *)arg1
)->GetSize();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 wxSize
* resultptr
;
26233 resultptr
= new wxSize((wxSize
&)(result
));
26234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26242 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxWindow
*arg1
= (wxWindow
*) 0 ;
26245 int *arg2
= (int *) 0 ;
26246 int *arg3
= (int *) 0 ;
26251 PyObject
* obj0
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self", NULL
26256 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26257 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26260 if (SWIG_arg_fail(1)) SWIG_fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 Py_INCREF(Py_None
); resultobj
= Py_None
;
26269 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26270 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26271 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26272 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26279 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxWindow
*arg1
= (wxWindow
*) 0 ;
26283 PyObject
* obj0
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26290 if (SWIG_arg_fail(1)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= ((wxWindow
const *)arg1
)->GetRect();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 wxRect
* resultptr
;
26300 resultptr
= new wxRect((wxRect
&)(result
));
26301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26309 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxWindow
*arg1
= (wxWindow
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26329 wxSize
* resultptr
;
26330 resultptr
= new wxSize((wxSize
&)(result
));
26331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26339 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxWindow
*arg1
= (wxWindow
*) 0 ;
26342 int *arg2
= (int *) 0 ;
26343 int *arg3
= (int *) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self", NULL
26353 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26354 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26357 if (SWIG_arg_fail(1)) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 Py_INCREF(Py_None
); resultobj
= Py_None
;
26366 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26367 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26368 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26369 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26376 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxWindow
*arg1
= (wxWindow
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26387 if (SWIG_arg_fail(1)) SWIG_fail
;
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26396 wxPoint
* resultptr
;
26397 resultptr
= new wxPoint((wxPoint
&)(result
));
26398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26406 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26407 PyObject
*resultobj
;
26408 wxWindow
*arg1
= (wxWindow
*) 0 ;
26410 PyObject
* obj0
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26417 if (SWIG_arg_fail(1)) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26426 wxRect
* resultptr
;
26427 resultptr
= new wxRect((wxRect
&)(result
));
26428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26436 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxWindow
*arg1
= (wxWindow
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self", NULL
26445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26447 if (SWIG_arg_fail(1)) SWIG_fail
;
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26456 wxSize
* resultptr
;
26457 resultptr
= new wxSize((wxSize
&)(result
));
26458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26466 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
;
26468 wxWindow
*arg1
= (wxWindow
*) 0 ;
26469 int *arg2
= (int *) 0 ;
26470 int *arg3
= (int *) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self", NULL
26480 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26481 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26484 if (SWIG_arg_fail(1)) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 Py_INCREF(Py_None
); resultobj
= Py_None
;
26493 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26494 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26495 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26496 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26503 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxWindow
*arg1
= (wxWindow
*) 0 ;
26506 PyObject
* obj0
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26513 if (SWIG_arg_fail(1)) SWIG_fail
;
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 (arg1
)->InvalidateBestSize();
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 Py_INCREF(Py_None
); resultobj
= Py_None
;
26528 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxWindow
*arg1
= (wxWindow
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 char *kwnames
[] = {
26534 (char *) "self", NULL
26537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26539 if (SWIG_arg_fail(1)) SWIG_fail
;
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26548 wxSize
* resultptr
;
26549 resultptr
= new wxSize((wxSize
&)(result
));
26550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26558 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxWindow
*arg1
= (wxWindow
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26569 if (SWIG_arg_fail(1)) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26578 wxSize
* resultptr
;
26579 resultptr
= new wxSize((wxSize
&)(result
));
26580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26588 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxWindow
*arg1
= (wxWindow
*) 0 ;
26591 int arg2
= (int) wxBOTH
;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26594 char *kwnames
[] = {
26595 (char *) "self",(char *) "direction", NULL
26598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26600 if (SWIG_arg_fail(1)) SWIG_fail
;
26603 arg2
= (int)(SWIG_As_int(obj1
));
26604 if (SWIG_arg_fail(2)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 (arg1
)->Center(arg2
);
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 Py_INCREF(Py_None
); resultobj
= Py_None
;
26621 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxWindow
*arg1
= (wxWindow
*) 0 ;
26624 int arg2
= (int) wxBOTH
;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "self",(char *) "dir", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26633 if (SWIG_arg_fail(1)) SWIG_fail
;
26636 arg2
= (int)(SWIG_As_int(obj1
));
26637 if (SWIG_arg_fail(2)) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 (arg1
)->CenterOnScreen(arg2
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 Py_INCREF(Py_None
); resultobj
= Py_None
;
26654 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
;
26656 wxWindow
*arg1
= (wxWindow
*) 0 ;
26657 int arg2
= (int) wxBOTH
;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self",(char *) "dir", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(1)) SWIG_fail
;
26669 arg2
= (int)(SWIG_As_int(obj1
));
26670 if (SWIG_arg_fail(2)) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 (arg1
)->CenterOnParent(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 Py_INCREF(Py_None
); resultobj
= Py_None
;
26687 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxWindow
*arg1
= (wxWindow
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 char *kwnames
[] = {
26692 (char *) "self", NULL
26695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26697 if (SWIG_arg_fail(1)) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 Py_INCREF(Py_None
); resultobj
= Py_None
;
26712 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxWindow
*arg1
= (wxWindow
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 (arg1
)->FitInside();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 Py_INCREF(Py_None
); resultobj
= Py_None
;
26737 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxWindow
*arg1
= (wxWindow
*) 0 ;
26742 int arg4
= (int) -1 ;
26743 int arg5
= (int) -1 ;
26744 int arg6
= (int) -1 ;
26745 int arg7
= (int) -1 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 PyObject
* obj2
= 0 ;
26749 PyObject
* obj3
= 0 ;
26750 PyObject
* obj4
= 0 ;
26751 PyObject
* obj5
= 0 ;
26752 PyObject
* obj6
= 0 ;
26753 char *kwnames
[] = {
26754 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26759 if (SWIG_arg_fail(1)) SWIG_fail
;
26761 arg2
= (int)(SWIG_As_int(obj1
));
26762 if (SWIG_arg_fail(2)) SWIG_fail
;
26765 arg3
= (int)(SWIG_As_int(obj2
));
26766 if (SWIG_arg_fail(3)) SWIG_fail
;
26770 arg4
= (int)(SWIG_As_int(obj3
));
26771 if (SWIG_arg_fail(4)) SWIG_fail
;
26776 arg5
= (int)(SWIG_As_int(obj4
));
26777 if (SWIG_arg_fail(5)) SWIG_fail
;
26782 arg6
= (int)(SWIG_As_int(obj5
));
26783 if (SWIG_arg_fail(6)) SWIG_fail
;
26788 arg7
= (int)(SWIG_As_int(obj6
));
26789 if (SWIG_arg_fail(7)) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 Py_INCREF(Py_None
); resultobj
= Py_None
;
26806 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxWindow
*arg1
= (wxWindow
*) 0 ;
26810 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26811 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26812 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26813 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 PyObject
* obj2
= 0 ;
26820 PyObject
* obj3
= 0 ;
26821 char *kwnames
[] = {
26822 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26827 if (SWIG_arg_fail(1)) SWIG_fail
;
26830 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26835 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26841 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 Py_INCREF(Py_None
); resultobj
= Py_None
;
26858 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
;
26860 wxWindow
*arg1
= (wxWindow
*) 0 ;
26863 int arg4
= (int) -1 ;
26864 int arg5
= (int) -1 ;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 PyObject
* obj2
= 0 ;
26868 PyObject
* obj3
= 0 ;
26869 PyObject
* obj4
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26876 if (SWIG_arg_fail(1)) SWIG_fail
;
26878 arg2
= (int)(SWIG_As_int(obj1
));
26879 if (SWIG_arg_fail(2)) SWIG_fail
;
26882 arg3
= (int)(SWIG_As_int(obj2
));
26883 if (SWIG_arg_fail(3)) SWIG_fail
;
26887 arg4
= (int)(SWIG_As_int(obj3
));
26888 if (SWIG_arg_fail(4)) SWIG_fail
;
26893 arg5
= (int)(SWIG_As_int(obj4
));
26894 if (SWIG_arg_fail(5)) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 Py_INCREF(Py_None
); resultobj
= Py_None
;
26911 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxWindow
*arg1
= (wxWindow
*) 0 ;
26915 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26916 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 PyObject
* obj2
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26928 if (SWIG_arg_fail(1)) SWIG_fail
;
26931 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26936 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 Py_INCREF(Py_None
); resultobj
= Py_None
;
26953 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxWindow
*arg1
= (wxWindow
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26973 wxSize
* resultptr
;
26974 resultptr
= new wxSize((wxSize
&)(result
));
26975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26983 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxWindow
*arg1
= (wxWindow
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26994 if (SWIG_arg_fail(1)) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 wxSize
* resultptr
;
27004 resultptr
= new wxSize((wxSize
&)(result
));
27005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27013 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxWindow
*arg1
= (wxWindow
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self",(char *) "minSize", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27026 if (SWIG_arg_fail(1)) SWIG_fail
;
27029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 Py_INCREF(Py_None
); resultobj
= Py_None
;
27045 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxWindow
*arg1
= (wxWindow
*) 0 ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 char *kwnames
[] = {
27053 (char *) "self",(char *) "maxSize", NULL
27056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27058 if (SWIG_arg_fail(1)) SWIG_fail
;
27061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 Py_INCREF(Py_None
); resultobj
= Py_None
;
27077 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
;
27079 wxWindow
*arg1
= (wxWindow
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",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 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= SWIG_From_int((int)(result
));
27105 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
;
27107 wxWindow
*arg1
= (wxWindow
*) 0 ;
27109 PyObject
* obj0
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= SWIG_From_int((int)(result
));
27133 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxWindow
*arg1
= (wxWindow
*) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 char *kwnames
[] = {
27139 (char *) "self", NULL
27142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27144 if (SWIG_arg_fail(1)) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_From_int((int)(result
));
27161 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxWindow
*arg1
= (wxWindow
*) 0 ;
27165 PyObject
* obj0
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= SWIG_From_int((int)(result
));
27189 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxWindow
*arg1
= (wxWindow
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 char *kwnames
[] = {
27197 (char *) "self",(char *) "size", NULL
27200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27202 if (SWIG_arg_fail(1)) SWIG_fail
;
27205 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 Py_INCREF(Py_None
); resultobj
= Py_None
;
27221 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxWindow
*arg1
= (wxWindow
*) 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 PyObject
* obj2
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self",(char *) "w",(char *) "h", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27235 if (SWIG_arg_fail(1)) SWIG_fail
;
27237 arg2
= (int)(SWIG_As_int(obj1
));
27238 if (SWIG_arg_fail(2)) SWIG_fail
;
27241 arg3
= (int)(SWIG_As_int(obj2
));
27242 if (SWIG_arg_fail(3)) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 (arg1
)->SetVirtualSize(arg2
,arg3
);
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 Py_INCREF(Py_None
); resultobj
= Py_None
;
27258 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxWindow
*arg1
= (wxWindow
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27269 if (SWIG_arg_fail(1)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27278 wxSize
* resultptr
;
27279 resultptr
= new wxSize((wxSize
&)(result
));
27280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27288 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxWindow
*arg1
= (wxWindow
*) 0 ;
27291 int *arg2
= (int *) 0 ;
27292 int *arg3
= (int *) 0 ;
27297 PyObject
* obj0
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self", NULL
27302 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27303 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27306 if (SWIG_arg_fail(1)) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 Py_INCREF(Py_None
); resultobj
= Py_None
;
27315 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27316 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27317 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27318 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27325 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxWindow
*arg1
= (wxWindow
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27336 if (SWIG_arg_fail(1)) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27345 wxSize
* resultptr
;
27346 resultptr
= new wxSize((wxSize
&)(result
));
27347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27355 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxWindow
*arg1
= (wxWindow
*) 0 ;
27358 bool arg2
= (bool) true ;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "self",(char *) "show", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27368 if (SWIG_arg_fail(1)) SWIG_fail
;
27371 arg2
= (bool)(SWIG_As_bool(obj1
));
27372 if (SWIG_arg_fail(2)) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (bool)(arg1
)->Show(arg2
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27391 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxWindow
*arg1
= (wxWindow
*) 0 ;
27395 PyObject
* obj0
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27402 if (SWIG_arg_fail(1)) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 result
= (bool)(arg1
)->Hide();
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27419 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
;
27421 wxWindow
*arg1
= (wxWindow
*) 0 ;
27422 bool arg2
= (bool) true ;
27424 PyObject
* obj0
= 0 ;
27425 PyObject
* obj1
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self",(char *) "enable", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27432 if (SWIG_arg_fail(1)) SWIG_fail
;
27435 arg2
= (bool)(SWIG_As_bool(obj1
));
27436 if (SWIG_arg_fail(2)) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (bool)(arg1
)->Enable(arg2
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27455 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxWindow
*arg1
= (wxWindow
*) 0 ;
27459 PyObject
* obj0
= 0 ;
27460 char *kwnames
[] = {
27461 (char *) "self", NULL
27464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27466 if (SWIG_arg_fail(1)) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 result
= (bool)(arg1
)->Disable();
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27483 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxWindow
*arg1
= (wxWindow
*) 0 ;
27487 PyObject
* obj0
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27511 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxWindow
*arg1
= (wxWindow
*) 0 ;
27515 PyObject
* obj0
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27522 if (SWIG_arg_fail(1)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27539 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxWindow
*arg1
= (wxWindow
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 PyObject
* obj1
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self",(char *) "style", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27551 if (SWIG_arg_fail(1)) SWIG_fail
;
27553 arg2
= (long)(SWIG_As_long(obj1
));
27554 if (SWIG_arg_fail(2)) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->SetWindowStyleFlag(arg2
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27570 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxWindow
*arg1
= (wxWindow
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27581 if (SWIG_arg_fail(1)) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 resultobj
= SWIG_From_long((long)(result
));
27598 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxWindow
*arg1
= (wxWindow
*) 0 ;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self",(char *) "flag", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27611 if (SWIG_arg_fail(1)) SWIG_fail
;
27613 arg2
= (int)(SWIG_As_int(obj1
));
27614 if (SWIG_arg_fail(2)) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27632 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxWindow
*arg1
= (wxWindow
*) 0 ;
27636 PyObject
* obj0
= 0 ;
27637 char *kwnames
[] = {
27638 (char *) "self", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27643 if (SWIG_arg_fail(1)) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27660 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxWindow
*arg1
= (wxWindow
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj1
= 0 ;
27666 char *kwnames
[] = {
27667 (char *) "self",(char *) "exStyle", NULL
27670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27672 if (SWIG_arg_fail(1)) SWIG_fail
;
27674 arg2
= (long)(SWIG_As_long(obj1
));
27675 if (SWIG_arg_fail(2)) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 (arg1
)->SetExtraStyle(arg2
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxWindow
*arg1
= (wxWindow
*) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 char *kwnames
[] = {
27697 (char *) "self", NULL
27700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27711 resultobj
= SWIG_From_long((long)(result
));
27719 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
;
27721 wxWindow
*arg1
= (wxWindow
*) 0 ;
27722 bool arg2
= (bool) true ;
27723 PyObject
* obj0
= 0 ;
27724 PyObject
* obj1
= 0 ;
27725 char *kwnames
[] = {
27726 (char *) "self",(char *) "modal", NULL
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27731 if (SWIG_arg_fail(1)) SWIG_fail
;
27734 arg2
= (bool)(SWIG_As_bool(obj1
));
27735 if (SWIG_arg_fail(2)) SWIG_fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 (arg1
)->MakeModal(arg2
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 Py_INCREF(Py_None
); resultobj
= Py_None
;
27752 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxWindow
*arg1
= (wxWindow
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self",(char *) "enableTheme", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27764 if (SWIG_arg_fail(1)) SWIG_fail
;
27766 arg2
= (bool)(SWIG_As_bool(obj1
));
27767 if (SWIG_arg_fail(2)) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 (arg1
)->SetThemeEnabled(arg2
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 Py_INCREF(Py_None
); resultobj
= Py_None
;
27783 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxWindow
*arg1
= (wxWindow
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27794 if (SWIG_arg_fail(1)) SWIG_fail
;
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27811 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxWindow
*arg1
= (wxWindow
*) 0 ;
27814 PyObject
* obj0
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27821 if (SWIG_arg_fail(1)) SWIG_fail
;
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 (arg1
)->SetFocus();
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 Py_INCREF(Py_None
); resultobj
= Py_None
;
27836 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxWindow
*arg1
= (wxWindow
*) 0 ;
27839 PyObject
* obj0
= 0 ;
27840 char *kwnames
[] = {
27841 (char *) "self", NULL
27844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27846 if (SWIG_arg_fail(1)) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 (arg1
)->SetFocusFromKbd();
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 Py_INCREF(Py_None
); resultobj
= Py_None
;
27861 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27864 char *kwnames
[] = {
27868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27870 if (!wxPyCheckForApp()) SWIG_fail
;
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (wxWindow
*)wxWindow::FindFocus();
27874 wxPyEndAllowThreads(__tstate
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= wxPyMake_wxObject(result
, 0);
27886 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxWindow
*arg1
= (wxWindow
*) 0 ;
27890 PyObject
* obj0
= 0 ;
27891 char *kwnames
[] = {
27892 (char *) "self", NULL
27895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27897 if (SWIG_arg_fail(1)) SWIG_fail
;
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27914 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27915 PyObject
*resultobj
;
27916 wxWindow
*arg1
= (wxWindow
*) 0 ;
27918 PyObject
* obj0
= 0 ;
27919 char *kwnames
[] = {
27920 (char *) "self", NULL
27923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27925 if (SWIG_arg_fail(1)) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27942 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxWindow
*arg1
= (wxWindow
*) 0 ;
27946 PyObject
* obj0
= 0 ;
27947 char *kwnames
[] = {
27948 (char *) "self", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27953 if (SWIG_arg_fail(1)) SWIG_fail
;
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27962 resultobj
= wxPyMake_wxObject(result
, 0);
27970 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27971 PyObject
*resultobj
;
27972 wxWindow
*arg1
= (wxWindow
*) 0 ;
27973 wxWindow
*arg2
= (wxWindow
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self",(char *) "child", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27983 if (SWIG_arg_fail(1)) SWIG_fail
;
27984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27985 if (SWIG_arg_fail(2)) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27994 resultobj
= wxPyMake_wxObject(result
, 0);
28002 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxWindow
*arg1
= (wxWindow
*) 0 ;
28005 wxWindow
*arg2
= (wxWindow
*) 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char *kwnames
[] = {
28009 (char *) "self",(char *) "win", NULL
28012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28014 if (SWIG_arg_fail(1)) SWIG_fail
;
28015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28016 if (SWIG_arg_fail(2)) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 (arg1
)->SetTmpDefaultItem(arg2
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 Py_INCREF(Py_None
); resultobj
= Py_None
;
28031 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxWindow
*arg1
= (wxWindow
*) 0 ;
28034 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "self",(char *) "flags", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28044 if (SWIG_arg_fail(1)) SWIG_fail
;
28047 arg2
= (int)(SWIG_As_int(obj1
));
28048 if (SWIG_arg_fail(2)) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (bool)(arg1
)->Navigate(arg2
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28067 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxWindow
*arg1
= (wxWindow
*) 0 ;
28070 wxWindow
*arg2
= (wxWindow
*) 0 ;
28071 PyObject
* obj0
= 0 ;
28072 PyObject
* obj1
= 0 ;
28073 char *kwnames
[] = {
28074 (char *) "self",(char *) "win", NULL
28077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28079 if (SWIG_arg_fail(1)) SWIG_fail
;
28080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28081 if (SWIG_arg_fail(2)) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 (arg1
)->MoveAfterInTabOrder(arg2
);
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 Py_INCREF(Py_None
); resultobj
= Py_None
;
28096 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
;
28098 wxWindow
*arg1
= (wxWindow
*) 0 ;
28099 wxWindow
*arg2
= (wxWindow
*) 0 ;
28100 PyObject
* obj0
= 0 ;
28101 PyObject
* obj1
= 0 ;
28102 char *kwnames
[] = {
28103 (char *) "self",(char *) "win", NULL
28106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28108 if (SWIG_arg_fail(1)) SWIG_fail
;
28109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28110 if (SWIG_arg_fail(2)) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 (arg1
)->MoveBeforeInTabOrder(arg2
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 Py_INCREF(Py_None
); resultobj
= Py_None
;
28125 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxWindow
*arg1
= (wxWindow
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= result
;
28151 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxWindow
*arg1
= (wxWindow
*) 0 ;
28155 PyObject
* obj0
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28162 if (SWIG_arg_fail(1)) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= wxPyMake_wxObject(result
, 0);
28179 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxWindow
*arg1
= (wxWindow
*) 0 ;
28183 PyObject
* obj0
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail
;
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28199 resultobj
= wxPyMake_wxObject(result
, 0);
28207 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxWindow
*arg1
= (wxWindow
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28218 if (SWIG_arg_fail(1)) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28235 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28236 PyObject
*resultobj
;
28237 wxWindow
*arg1
= (wxWindow
*) 0 ;
28238 wxWindow
*arg2
= (wxWindow
*) 0 ;
28240 PyObject
* obj0
= 0 ;
28241 PyObject
* obj1
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self",(char *) "newParent", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28248 if (SWIG_arg_fail(1)) SWIG_fail
;
28249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28250 if (SWIG_arg_fail(2)) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 result
= (bool)(arg1
)->Reparent(arg2
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28267 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxWindow
*arg1
= (wxWindow
*) 0 ;
28270 wxWindow
*arg2
= (wxWindow
*) 0 ;
28271 PyObject
* obj0
= 0 ;
28272 PyObject
* obj1
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self",(char *) "child", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28279 if (SWIG_arg_fail(1)) SWIG_fail
;
28280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28281 if (SWIG_arg_fail(2)) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 (arg1
)->AddChild(arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 Py_INCREF(Py_None
); resultobj
= Py_None
;
28296 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxWindow
*arg1
= (wxWindow
*) 0 ;
28299 wxWindow
*arg2
= (wxWindow
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 PyObject
* obj1
= 0 ;
28302 char *kwnames
[] = {
28303 (char *) "self",(char *) "child", NULL
28306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28308 if (SWIG_arg_fail(1)) SWIG_fail
;
28309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28310 if (SWIG_arg_fail(2)) SWIG_fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 (arg1
)->RemoveChild(arg2
);
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28318 Py_INCREF(Py_None
); resultobj
= Py_None
;
28325 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28326 PyObject
*resultobj
;
28327 wxWindow
*arg1
= (wxWindow
*) 0 ;
28330 PyObject
* obj0
= 0 ;
28331 PyObject
* obj1
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "winid", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28338 if (SWIG_arg_fail(1)) SWIG_fail
;
28340 arg2
= (long)(SWIG_As_long(obj1
));
28341 if (SWIG_arg_fail(2)) SWIG_fail
;
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= wxPyMake_wxObject(result
, 0);
28359 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28360 PyObject
*resultobj
;
28361 wxWindow
*arg1
= (wxWindow
*) 0 ;
28362 wxString
*arg2
= 0 ;
28364 bool temp2
= false ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self",(char *) "name", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28373 if (SWIG_arg_fail(1)) SWIG_fail
;
28375 arg2
= wxString_in_helper(obj1
);
28376 if (arg2
== NULL
) SWIG_fail
;
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= wxPyMake_wxObject(result
, 0);
28403 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxWindow
*arg1
= (wxWindow
*) 0 ;
28406 wxEvtHandler
*result
;
28407 PyObject
* obj0
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self", NULL
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28414 if (SWIG_arg_fail(1)) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= wxPyMake_wxObject(result
, 0);
28431 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxWindow
*arg1
= (wxWindow
*) 0 ;
28434 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28435 PyObject
* obj0
= 0 ;
28436 PyObject
* obj1
= 0 ;
28437 char *kwnames
[] = {
28438 (char *) "self",(char *) "handler", NULL
28441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28443 if (SWIG_arg_fail(1)) SWIG_fail
;
28444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28445 if (SWIG_arg_fail(2)) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 (arg1
)->SetEventHandler(arg2
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28460 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28462 wxWindow
*arg1
= (wxWindow
*) 0 ;
28463 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28464 PyObject
* obj0
= 0 ;
28465 PyObject
* obj1
= 0 ;
28466 char *kwnames
[] = {
28467 (char *) "self",(char *) "handler", NULL
28470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28472 if (SWIG_arg_fail(1)) SWIG_fail
;
28473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28474 if (SWIG_arg_fail(2)) SWIG_fail
;
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 (arg1
)->PushEventHandler(arg2
);
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28482 Py_INCREF(Py_None
); resultobj
= Py_None
;
28489 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28490 PyObject
*resultobj
;
28491 wxWindow
*arg1
= (wxWindow
*) 0 ;
28492 bool arg2
= (bool) false ;
28493 wxEvtHandler
*result
;
28494 PyObject
* obj0
= 0 ;
28495 PyObject
* obj1
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self",(char *) "deleteHandler", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28502 if (SWIG_arg_fail(1)) SWIG_fail
;
28505 arg2
= (bool)(SWIG_As_bool(obj1
));
28506 if (SWIG_arg_fail(2)) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= wxPyMake_wxObject(result
, 0);
28525 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
;
28527 wxWindow
*arg1
= (wxWindow
*) 0 ;
28528 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self",(char *) "handler", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28538 if (SWIG_arg_fail(1)) SWIG_fail
;
28539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28540 if (SWIG_arg_fail(2)) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28557 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxWindow
*arg1
= (wxWindow
*) 0 ;
28560 wxValidator
*arg2
= 0 ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char *kwnames
[] = {
28564 (char *) "self",(char *) "validator", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28569 if (SWIG_arg_fail(1)) SWIG_fail
;
28571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28572 if (SWIG_arg_fail(2)) SWIG_fail
;
28573 if (arg2
== NULL
) {
28574 SWIG_null_ref("wxValidator");
28576 if (SWIG_arg_fail(2)) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 Py_INCREF(Py_None
); resultobj
= Py_None
;
28592 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
;
28594 wxWindow
*arg1
= (wxWindow
*) 0 ;
28595 wxValidator
*result
;
28596 PyObject
* obj0
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "self", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28603 if (SWIG_arg_fail(1)) SWIG_fail
;
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 result
= (wxValidator
*)(arg1
)->GetValidator();
28608 wxPyEndAllowThreads(__tstate
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= wxPyMake_wxObject(result
, 0);
28620 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxWindow
*arg1
= (wxWindow
*) 0 ;
28624 PyObject
* obj0
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= (bool)(arg1
)->Validate();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28648 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxWindow
*arg1
= (wxWindow
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28659 if (SWIG_arg_fail(1)) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= (bool)(arg1
)->TransferDataToWindow();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28676 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
;
28678 wxWindow
*arg1
= (wxWindow
*) 0 ;
28680 PyObject
* obj0
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28687 if (SWIG_arg_fail(1)) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= (bool)(arg1
)->TransferDataFromWindow();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28704 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxWindow
*arg1
= (wxWindow
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28714 if (SWIG_arg_fail(1)) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 (arg1
)->InitDialog();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 Py_INCREF(Py_None
); resultobj
= Py_None
;
28729 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28730 PyObject
*resultobj
;
28731 wxWindow
*arg1
= (wxWindow
*) 0 ;
28732 wxAcceleratorTable
*arg2
= 0 ;
28733 PyObject
* obj0
= 0 ;
28734 PyObject
* obj1
= 0 ;
28735 char *kwnames
[] = {
28736 (char *) "self",(char *) "accel", NULL
28739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28741 if (SWIG_arg_fail(1)) SWIG_fail
;
28743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28744 if (SWIG_arg_fail(2)) SWIG_fail
;
28745 if (arg2
== NULL
) {
28746 SWIG_null_ref("wxAcceleratorTable");
28748 if (SWIG_arg_fail(2)) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 Py_INCREF(Py_None
); resultobj
= Py_None
;
28764 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
;
28766 wxWindow
*arg1
= (wxWindow
*) 0 ;
28767 wxAcceleratorTable
*result
;
28768 PyObject
* obj0
= 0 ;
28769 char *kwnames
[] = {
28770 (char *) "self", NULL
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28775 if (SWIG_arg_fail(1)) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28790 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxWindow
*arg1
= (wxWindow
*) 0 ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 PyObject
* obj3
= 0 ;
28801 char *kwnames
[] = {
28802 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28807 if (SWIG_arg_fail(1)) SWIG_fail
;
28809 arg2
= (int)(SWIG_As_int(obj1
));
28810 if (SWIG_arg_fail(2)) SWIG_fail
;
28813 arg3
= (int)(SWIG_As_int(obj2
));
28814 if (SWIG_arg_fail(3)) SWIG_fail
;
28817 arg4
= (int)(SWIG_As_int(obj3
));
28818 if (SWIG_arg_fail(4)) SWIG_fail
;
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28836 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxWindow
*arg1
= (wxWindow
*) 0 ;
28841 PyObject
* obj0
= 0 ;
28842 PyObject
* obj1
= 0 ;
28843 char *kwnames
[] = {
28844 (char *) "self",(char *) "hotkeyId", NULL
28847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28849 if (SWIG_arg_fail(1)) SWIG_fail
;
28851 arg2
= (int)(SWIG_As_int(obj1
));
28852 if (SWIG_arg_fail(2)) SWIG_fail
;
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28870 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
;
28872 wxWindow
*arg1
= (wxWindow
*) 0 ;
28873 wxPoint
*arg2
= 0 ;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 char *kwnames
[] = {
28879 (char *) "self",(char *) "pt", NULL
28882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28884 if (SWIG_arg_fail(1)) SWIG_fail
;
28887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28897 wxPoint
* resultptr
;
28898 resultptr
= new wxPoint((wxPoint
&)(result
));
28899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28907 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxWindow
*arg1
= (wxWindow
*) 0 ;
28913 PyObject
* obj0
= 0 ;
28914 PyObject
* obj1
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "self",(char *) "sz", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28921 if (SWIG_arg_fail(1)) SWIG_fail
;
28924 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28934 wxSize
* resultptr
;
28935 resultptr
= new wxSize((wxSize
&)(result
));
28936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28944 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxWindow
*arg1
= (wxWindow
*) 0 ;
28947 wxPoint
*arg2
= 0 ;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self",(char *) "pt", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28958 if (SWIG_arg_fail(1)) SWIG_fail
;
28961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28971 wxPoint
* resultptr
;
28972 resultptr
= new wxPoint((wxPoint
&)(result
));
28973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28981 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28982 PyObject
*resultobj
;
28983 wxWindow
*arg1
= (wxWindow
*) 0 ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 char *kwnames
[] = {
28990 (char *) "self",(char *) "sz", NULL
28993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28995 if (SWIG_arg_fail(1)) SWIG_fail
;
28998 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29008 wxSize
* resultptr
;
29009 resultptr
= new wxSize((wxSize
&)(result
));
29010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29018 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
;
29020 wxWindow
*arg1
= (wxWindow
*) 0 ;
29021 wxPoint
*arg2
= 0 ;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 char *kwnames
[] = {
29027 (char *) "self",(char *) "pt", NULL
29030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29032 if (SWIG_arg_fail(1)) SWIG_fail
;
29035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29045 wxPoint
* resultptr
;
29046 resultptr
= new wxPoint((wxPoint
&)(result
));
29047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29055 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
;
29057 wxWindow
*arg1
= (wxWindow
*) 0 ;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 char *kwnames
[] = {
29064 (char *) "self",(char *) "sz", NULL
29067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29069 if (SWIG_arg_fail(1)) SWIG_fail
;
29072 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29082 wxSize
* resultptr
;
29083 resultptr
= new wxSize((wxSize
&)(result
));
29084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29092 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxWindow
*arg1
= (wxWindow
*) 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 PyObject
* obj2
= 0 ;
29100 char *kwnames
[] = {
29101 (char *) "self",(char *) "x",(char *) "y", NULL
29104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29106 if (SWIG_arg_fail(1)) SWIG_fail
;
29108 arg2
= (int)(SWIG_As_int(obj1
));
29109 if (SWIG_arg_fail(2)) SWIG_fail
;
29112 arg3
= (int)(SWIG_As_int(obj2
));
29113 if (SWIG_arg_fail(3)) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 (arg1
)->WarpPointer(arg2
,arg3
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 Py_INCREF(Py_None
); resultobj
= Py_None
;
29129 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxWindow
*arg1
= (wxWindow
*) 0 ;
29132 PyObject
* obj0
= 0 ;
29133 char *kwnames
[] = {
29134 (char *) "self", NULL
29137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29139 if (SWIG_arg_fail(1)) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 (arg1
)->CaptureMouse();
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 Py_INCREF(Py_None
); resultobj
= Py_None
;
29154 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxWindow
*arg1
= (wxWindow
*) 0 ;
29157 PyObject
* obj0
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29164 if (SWIG_arg_fail(1)) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 (arg1
)->ReleaseMouse();
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 Py_INCREF(Py_None
); resultobj
= Py_None
;
29179 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
;
29182 char *kwnames
[] = {
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29188 if (!wxPyCheckForApp()) SWIG_fail
;
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 result
= (wxWindow
*)wxWindow::GetCapture();
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= wxPyMake_wxObject(result
, 0);
29204 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29205 PyObject
*resultobj
;
29206 wxWindow
*arg1
= (wxWindow
*) 0 ;
29208 PyObject
* obj0
= 0 ;
29209 char *kwnames
[] = {
29210 (char *) "self", NULL
29213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29215 if (SWIG_arg_fail(1)) SWIG_fail
;
29217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29232 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxWindow
*arg1
= (wxWindow
*) 0 ;
29235 bool arg2
= (bool) true ;
29236 wxRect
*arg3
= (wxRect
*) NULL
;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 PyObject
* obj2
= 0 ;
29240 char *kwnames
[] = {
29241 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29246 if (SWIG_arg_fail(1)) SWIG_fail
;
29249 arg2
= (bool)(SWIG_As_bool(obj1
));
29250 if (SWIG_arg_fail(2)) SWIG_fail
;
29254 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29255 if (SWIG_arg_fail(3)) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 Py_INCREF(Py_None
); resultobj
= Py_None
;
29271 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxWindow
*arg1
= (wxWindow
*) 0 ;
29275 bool arg3
= (bool) true ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 PyObject
* obj2
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29286 if (SWIG_arg_fail(1)) SWIG_fail
;
29289 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29293 arg3
= (bool)(SWIG_As_bool(obj2
));
29294 if (SWIG_arg_fail(3)) SWIG_fail
;
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 Py_INCREF(Py_None
); resultobj
= Py_None
;
29311 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
;
29313 wxWindow
*arg1
= (wxWindow
*) 0 ;
29314 PyObject
* obj0
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29321 if (SWIG_arg_fail(1)) SWIG_fail
;
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 Py_INCREF(Py_None
); resultobj
= Py_None
;
29336 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxWindow
*arg1
= (wxWindow
*) 0 ;
29339 PyObject
* obj0
= 0 ;
29340 char *kwnames
[] = {
29341 (char *) "self", NULL
29344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29346 if (SWIG_arg_fail(1)) SWIG_fail
;
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 (arg1
)->ClearBackground();
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 Py_INCREF(Py_None
); resultobj
= Py_None
;
29361 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxWindow
*arg1
= (wxWindow
*) 0 ;
29364 PyObject
* obj0
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self", NULL
29369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29371 if (SWIG_arg_fail(1)) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 Py_INCREF(Py_None
); resultobj
= Py_None
;
29386 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxWindow
*arg1
= (wxWindow
*) 0 ;
29389 PyObject
* obj0
= 0 ;
29390 char *kwnames
[] = {
29391 (char *) "self", NULL
29394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29396 if (SWIG_arg_fail(1)) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 Py_INCREF(Py_None
); resultobj
= Py_None
;
29411 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
;
29413 wxWindow
*arg1
= (wxWindow
*) 0 ;
29415 PyObject
* obj0
= 0 ;
29416 PyObject
* obj1
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "dc", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29423 if (SWIG_arg_fail(1)) SWIG_fail
;
29425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29426 if (SWIG_arg_fail(2)) SWIG_fail
;
29427 if (arg2
== NULL
) {
29428 SWIG_null_ref("wxDC");
29430 if (SWIG_arg_fail(2)) SWIG_fail
;
29433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29434 (arg1
)->PrepareDC(*arg2
);
29436 wxPyEndAllowThreads(__tstate
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29439 Py_INCREF(Py_None
); resultobj
= Py_None
;
29446 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29447 PyObject
*resultobj
;
29448 wxWindow
*arg1
= (wxWindow
*) 0 ;
29450 PyObject
* obj0
= 0 ;
29451 char *kwnames
[] = {
29452 (char *) "self", NULL
29455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29457 if (SWIG_arg_fail(1)) SWIG_fail
;
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29462 result
= (wxRegion
*) &_result_ref
;
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29475 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29476 PyObject
*resultobj
;
29477 wxWindow
*arg1
= (wxWindow
*) 0 ;
29479 PyObject
* obj0
= 0 ;
29480 char *kwnames
[] = {
29481 (char *) "self", NULL
29484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 wxRect
* resultptr
;
29496 resultptr
= new wxRect((wxRect
&)(result
));
29497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29505 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 wxWindow
*arg1
= (wxWindow
*) 0 ;
29510 int arg4
= (int) 1 ;
29511 int arg5
= (int) 1 ;
29513 PyObject
* obj0
= 0 ;
29514 PyObject
* obj1
= 0 ;
29515 PyObject
* obj2
= 0 ;
29516 PyObject
* obj3
= 0 ;
29517 PyObject
* obj4
= 0 ;
29518 char *kwnames
[] = {
29519 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29524 if (SWIG_arg_fail(1)) SWIG_fail
;
29526 arg2
= (int)(SWIG_As_int(obj1
));
29527 if (SWIG_arg_fail(2)) SWIG_fail
;
29530 arg3
= (int)(SWIG_As_int(obj2
));
29531 if (SWIG_arg_fail(3)) SWIG_fail
;
29535 arg4
= (int)(SWIG_As_int(obj3
));
29536 if (SWIG_arg_fail(4)) SWIG_fail
;
29541 arg5
= (int)(SWIG_As_int(obj4
));
29542 if (SWIG_arg_fail(5)) SWIG_fail
;
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29561 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxWindow
*arg1
= (wxWindow
*) 0 ;
29564 wxPoint
*arg2
= 0 ;
29567 PyObject
* obj0
= 0 ;
29568 PyObject
* obj1
= 0 ;
29569 char *kwnames
[] = {
29570 (char *) "self",(char *) "pt", NULL
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail
;
29578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29596 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxWindow
*arg1
= (wxWindow
*) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 char *kwnames
[] = {
29605 (char *) "self",(char *) "rect", NULL
29608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29610 if (SWIG_arg_fail(1)) SWIG_fail
;
29613 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29631 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
;
29633 wxWindow
*arg1
= (wxWindow
*) 0 ;
29634 wxVisualAttributes result
;
29635 PyObject
* obj0
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "self", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29642 if (SWIG_arg_fail(1)) SWIG_fail
;
29644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29645 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29651 wxVisualAttributes
* resultptr
;
29652 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29661 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
;
29663 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29664 wxVisualAttributes result
;
29665 PyObject
* obj0
= 0 ;
29666 char *kwnames
[] = {
29667 (char *) "variant", NULL
29670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29673 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29674 if (SWIG_arg_fail(1)) SWIG_fail
;
29678 if (!wxPyCheckForApp()) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29686 wxVisualAttributes
* resultptr
;
29687 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29696 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
;
29698 wxWindow
*arg1
= (wxWindow
*) 0 ;
29699 wxColour
*arg2
= 0 ;
29702 PyObject
* obj0
= 0 ;
29703 PyObject
* obj1
= 0 ;
29704 char *kwnames
[] = {
29705 (char *) "self",(char *) "colour", NULL
29708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29710 if (SWIG_arg_fail(1)) SWIG_fail
;
29713 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29731 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxWindow
*arg1
= (wxWindow
*) 0 ;
29734 wxColour
*arg2
= 0 ;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "self",(char *) "colour", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29744 if (SWIG_arg_fail(1)) SWIG_fail
;
29747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 Py_INCREF(Py_None
); resultobj
= Py_None
;
29763 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxWindow
*arg1
= (wxWindow
*) 0 ;
29766 wxColour
*arg2
= 0 ;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self",(char *) "colour", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29777 if (SWIG_arg_fail(1)) SWIG_fail
;
29780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29798 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxWindow
*arg1
= (wxWindow
*) 0 ;
29801 wxColour
*arg2
= 0 ;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self",(char *) "colour", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29811 if (SWIG_arg_fail(1)) SWIG_fail
;
29814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 Py_INCREF(Py_None
); resultobj
= Py_None
;
29830 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
;
29832 wxWindow
*arg1
= (wxWindow
*) 0 ;
29834 PyObject
* obj0
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "self", NULL
29839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29841 if (SWIG_arg_fail(1)) SWIG_fail
;
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29850 wxColour
* resultptr
;
29851 resultptr
= new wxColour((wxColour
&)(result
));
29852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29860 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxWindow
*arg1
= (wxWindow
*) 0 ;
29864 PyObject
* obj0
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29871 if (SWIG_arg_fail(1)) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29880 wxColour
* resultptr
;
29881 resultptr
= new wxColour((wxColour
&)(result
));
29882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29890 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
;
29892 wxWindow
*arg1
= (wxWindow
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29901 if (SWIG_arg_fail(1)) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29918 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
;
29920 wxWindow
*arg1
= (wxWindow
*) 0 ;
29922 PyObject
* obj0
= 0 ;
29923 char *kwnames
[] = {
29924 (char *) "self", NULL
29927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29929 if (SWIG_arg_fail(1)) SWIG_fail
;
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29946 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
;
29948 wxWindow
*arg1
= (wxWindow
*) 0 ;
29949 wxBackgroundStyle arg2
;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 char *kwnames
[] = {
29954 (char *) "self",(char *) "style", NULL
29957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29959 if (SWIG_arg_fail(1)) SWIG_fail
;
29961 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29962 if (SWIG_arg_fail(2)) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29980 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxWindow
*arg1
= (wxWindow
*) 0 ;
29983 wxBackgroundStyle result
;
29984 PyObject
* obj0
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29991 if (SWIG_arg_fail(1)) SWIG_fail
;
29993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_From_int((result
));
30006 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
;
30008 wxWindow
*arg1
= (wxWindow
*) 0 ;
30010 PyObject
* obj0
= 0 ;
30011 char *kwnames
[] = {
30012 (char *) "self", NULL
30015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30017 if (SWIG_arg_fail(1)) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (bool)(arg1
)->HasTransparentBackground();
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30034 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30035 PyObject
*resultobj
;
30036 wxWindow
*arg1
= (wxWindow
*) 0 ;
30037 wxCursor
*arg2
= 0 ;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 char *kwnames
[] = {
30042 (char *) "self",(char *) "cursor", NULL
30045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30047 if (SWIG_arg_fail(1)) SWIG_fail
;
30049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30050 if (SWIG_arg_fail(2)) SWIG_fail
;
30051 if (arg2
== NULL
) {
30052 SWIG_null_ref("wxCursor");
30054 if (SWIG_arg_fail(2)) SWIG_fail
;
30057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30058 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30072 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
;
30074 wxWindow
*arg1
= (wxWindow
*) 0 ;
30076 PyObject
* obj0
= 0 ;
30077 char *kwnames
[] = {
30078 (char *) "self", NULL
30081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30083 if (SWIG_arg_fail(1)) SWIG_fail
;
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (arg1
)->GetCursor();
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 wxCursor
* resultptr
;
30093 resultptr
= new wxCursor((wxCursor
&)(result
));
30094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30102 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
;
30104 wxWindow
*arg1
= (wxWindow
*) 0 ;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 char *kwnames
[] = {
30110 (char *) "self",(char *) "font", NULL
30113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30115 if (SWIG_arg_fail(1)) SWIG_fail
;
30117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30118 if (SWIG_arg_fail(2)) SWIG_fail
;
30119 if (arg2
== NULL
) {
30120 SWIG_null_ref("wxFont");
30122 if (SWIG_arg_fail(2)) SWIG_fail
;
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30140 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxWindow
*arg1
= (wxWindow
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 char *kwnames
[] = {
30147 (char *) "self",(char *) "font", NULL
30150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30152 if (SWIG_arg_fail(1)) SWIG_fail
;
30154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30155 if (SWIG_arg_fail(2)) SWIG_fail
;
30156 if (arg2
== NULL
) {
30157 SWIG_null_ref("wxFont");
30159 if (SWIG_arg_fail(2)) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 Py_INCREF(Py_None
); resultobj
= Py_None
;
30175 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 wxWindow
*arg1
= (wxWindow
*) 0 ;
30179 PyObject
* obj0
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail
;
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= (arg1
)->GetFont();
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30195 wxFont
* resultptr
;
30196 resultptr
= new wxFont((wxFont
&)(result
));
30197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30205 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxWindow
*arg1
= (wxWindow
*) 0 ;
30208 wxCaret
*arg2
= (wxCaret
*) 0 ;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self",(char *) "caret", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30217 if (SWIG_arg_fail(1)) SWIG_fail
;
30218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30219 if (SWIG_arg_fail(2)) SWIG_fail
;
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 (arg1
)->SetCaret(arg2
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 Py_INCREF(Py_None
); resultobj
= Py_None
;
30234 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxWindow
*arg1
= (wxWindow
*) 0 ;
30238 PyObject
* obj0
= 0 ;
30239 char *kwnames
[] = {
30240 (char *) "self", NULL
30243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30245 if (SWIG_arg_fail(1)) SWIG_fail
;
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30260 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
;
30262 wxWindow
*arg1
= (wxWindow
*) 0 ;
30264 PyObject
* obj0
= 0 ;
30265 char *kwnames
[] = {
30266 (char *) "self", NULL
30269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30271 if (SWIG_arg_fail(1)) SWIG_fail
;
30273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30274 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30280 resultobj
= SWIG_From_int((int)(result
));
30288 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxWindow
*arg1
= (wxWindow
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_From_int((int)(result
));
30316 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
;
30318 wxWindow
*arg1
= (wxWindow
*) 0 ;
30319 wxString
*arg2
= 0 ;
30320 int *arg3
= (int *) 0 ;
30321 int *arg4
= (int *) 0 ;
30322 bool temp2
= false ;
30327 PyObject
* obj0
= 0 ;
30328 PyObject
* obj1
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self",(char *) "string", NULL
30333 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30334 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(1)) SWIG_fail
;
30339 arg2
= wxString_in_helper(obj1
);
30340 if (arg2
== NULL
) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 Py_INCREF(Py_None
); resultobj
= Py_None
;
30351 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30352 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30353 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30354 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30369 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
;
30371 wxWindow
*arg1
= (wxWindow
*) 0 ;
30372 wxString
*arg2
= 0 ;
30373 int *arg3
= (int *) 0 ;
30374 int *arg4
= (int *) 0 ;
30375 int *arg5
= (int *) 0 ;
30376 int *arg6
= (int *) 0 ;
30377 wxFont
*arg7
= (wxFont
*) NULL
;
30378 bool temp2
= false ;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 PyObject
* obj2
= 0 ;
30390 char *kwnames
[] = {
30391 (char *) "self",(char *) "string",(char *) "font", NULL
30394 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30395 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30396 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30397 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30400 if (SWIG_arg_fail(1)) SWIG_fail
;
30402 arg2
= wxString_in_helper(obj1
);
30403 if (arg2
== NULL
) SWIG_fail
;
30407 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30408 if (SWIG_arg_fail(7)) SWIG_fail
;
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 Py_INCREF(Py_None
); resultobj
= Py_None
;
30418 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30419 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30420 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30421 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30422 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30423 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30424 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30425 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30440 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxWindow
*arg1
= (wxWindow
*) 0 ;
30443 int *arg2
= (int *) 0 ;
30444 int *arg3
= (int *) 0 ;
30449 PyObject
* obj0
= 0 ;
30450 PyObject
* obj1
= 0 ;
30451 PyObject
* obj2
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self",(char *) "x",(char *) "y", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30458 if (SWIG_arg_fail(1)) SWIG_fail
;
30460 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30461 temp2
= SWIG_As_int(obj1
);
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30464 res2
= SWIG_NEWOBJ
;
30468 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30469 temp3
= SWIG_As_int(obj2
);
30470 if (SWIG_arg_fail(3)) SWIG_fail
;
30472 res3
= SWIG_NEWOBJ
;
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 Py_INCREF(Py_None
); resultobj
= Py_None
;
30483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30484 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30486 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30493 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxWindow
*arg1
= (wxWindow
*) 0 ;
30496 int *arg2
= (int *) 0 ;
30497 int *arg3
= (int *) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 PyObject
* obj2
= 0 ;
30505 char *kwnames
[] = {
30506 (char *) "self",(char *) "x",(char *) "y", NULL
30509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail
;
30513 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30514 temp2
= SWIG_As_int(obj1
);
30515 if (SWIG_arg_fail(2)) SWIG_fail
;
30517 res2
= SWIG_NEWOBJ
;
30521 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30522 temp3
= SWIG_As_int(obj2
);
30523 if (SWIG_arg_fail(3)) SWIG_fail
;
30525 res3
= SWIG_NEWOBJ
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 Py_INCREF(Py_None
); resultobj
= Py_None
;
30536 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30537 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30538 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30539 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30546 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxWindow
*arg1
= (wxWindow
*) 0 ;
30549 wxPoint
*arg2
= 0 ;
30552 PyObject
* obj0
= 0 ;
30553 PyObject
* obj1
= 0 ;
30554 char *kwnames
[] = {
30555 (char *) "self",(char *) "pt", NULL
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30560 if (SWIG_arg_fail(1)) SWIG_fail
;
30563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30573 wxPoint
* resultptr
;
30574 resultptr
= new wxPoint((wxPoint
&)(result
));
30575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30583 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
;
30585 wxWindow
*arg1
= (wxWindow
*) 0 ;
30586 wxPoint
*arg2
= 0 ;
30589 PyObject
* obj0
= 0 ;
30590 PyObject
* obj1
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self",(char *) "pt", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30597 if (SWIG_arg_fail(1)) SWIG_fail
;
30600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30610 wxPoint
* resultptr
;
30611 resultptr
= new wxPoint((wxPoint
&)(result
));
30612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30620 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
;
30622 wxWindow
*arg1
= (wxWindow
*) 0 ;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 PyObject
* obj2
= 0 ;
30629 char *kwnames
[] = {
30630 (char *) "self",(char *) "x",(char *) "y", NULL
30633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30635 if (SWIG_arg_fail(1)) SWIG_fail
;
30637 arg2
= (int)(SWIG_As_int(obj1
));
30638 if (SWIG_arg_fail(2)) SWIG_fail
;
30641 arg3
= (int)(SWIG_As_int(obj2
));
30642 if (SWIG_arg_fail(3)) SWIG_fail
;
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= SWIG_From_int((result
));
30658 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30659 PyObject
*resultobj
;
30660 wxWindow
*arg1
= (wxWindow
*) 0 ;
30661 wxPoint
*arg2
= 0 ;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 char *kwnames
[] = {
30667 (char *) "self",(char *) "pt", NULL
30670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30672 if (SWIG_arg_fail(1)) SWIG_fail
;
30675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_From_int((result
));
30691 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30692 PyObject
*resultobj
;
30693 wxWindow
*arg1
= (wxWindow
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30699 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30701 if (SWIG_arg_fail(1)) SWIG_fail
;
30703 arg2
= (long)(SWIG_As_long(obj1
));
30704 if (SWIG_arg_fail(2)) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= SWIG_From_int((result
));
30720 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30721 PyObject
*resultobj
;
30722 wxWindow
*arg1
= (wxWindow
*) 0 ;
30724 PyObject
* obj0
= 0 ;
30726 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= SWIG_From_int((result
));
30743 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30748 argc
= PyObject_Length(args
);
30749 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30750 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30764 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30771 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30779 _v
= SWIG_Check_long(argv
[1]);
30781 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30786 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30791 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30792 PyObject
*resultobj
;
30793 wxWindow
*arg1
= (wxWindow
*) 0 ;
30794 long arg2
= (long) wxUPDATE_UI_NONE
;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self",(char *) "flags", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30803 if (SWIG_arg_fail(1)) SWIG_fail
;
30806 arg2
= (long)(SWIG_As_long(obj1
));
30807 if (SWIG_arg_fail(2)) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 (arg1
)->UpdateWindowUI(arg2
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 Py_INCREF(Py_None
); resultobj
= Py_None
;
30824 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxWindow
*arg1
= (wxWindow
*) 0 ;
30827 wxMenu
*arg2
= (wxMenu
*) 0 ;
30828 int arg3
= (int) -1 ;
30829 int arg4
= (int) -1 ;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 PyObject
* obj2
= 0 ;
30834 PyObject
* obj3
= 0 ;
30835 char *kwnames
[] = {
30836 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30841 if (SWIG_arg_fail(1)) SWIG_fail
;
30842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30843 if (SWIG_arg_fail(2)) SWIG_fail
;
30846 arg3
= (int)(SWIG_As_int(obj2
));
30847 if (SWIG_arg_fail(3)) SWIG_fail
;
30852 arg4
= (int)(SWIG_As_int(obj3
));
30853 if (SWIG_arg_fail(4)) SWIG_fail
;
30857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30858 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30872 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
;
30874 wxWindow
*arg1
= (wxWindow
*) 0 ;
30875 wxMenu
*arg2
= (wxMenu
*) 0 ;
30876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 PyObject
* obj2
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self",(char *) "menu",(char *) "pos", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30889 if (SWIG_arg_fail(1)) SWIG_fail
;
30890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30891 if (SWIG_arg_fail(2)) SWIG_fail
;
30895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30914 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30915 PyObject
*resultobj
;
30916 wxWindow
*arg1
= (wxWindow
*) 0 ;
30918 PyObject
* obj0
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "self", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail
;
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= (long)wxWindow_GetHandle(arg1
);
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30934 resultobj
= SWIG_From_long((long)(result
));
30942 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
;
30944 wxWindow
*arg1
= (wxWindow
*) 0 ;
30946 PyObject
* obj0
= 0 ;
30947 PyObject
* obj1
= 0 ;
30948 char *kwnames
[] = {
30949 (char *) "self",(char *) "handle", NULL
30952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30954 if (SWIG_arg_fail(1)) SWIG_fail
;
30956 arg2
= (long)(SWIG_As_long(obj1
));
30957 if (SWIG_arg_fail(2)) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 wxWindow_AssociateHandle(arg1
,arg2
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 Py_INCREF(Py_None
); resultobj
= Py_None
;
30973 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxWindow
*arg1
= (wxWindow
*) 0 ;
30976 PyObject
* obj0
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30983 if (SWIG_arg_fail(1)) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 (arg1
)->DissociateHandle();
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 Py_INCREF(Py_None
); resultobj
= Py_None
;
30998 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
;
31000 wxWindow
*arg1
= (wxWindow
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 char *kwnames
[] = {
31006 (char *) "self",(char *) "orient", NULL
31009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31011 if (SWIG_arg_fail(1)) SWIG_fail
;
31013 arg2
= (int)(SWIG_As_int(obj1
));
31014 if (SWIG_arg_fail(2)) SWIG_fail
;
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31020 wxPyEndAllowThreads(__tstate
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31032 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
;
31034 wxWindow
*arg1
= (wxWindow
*) 0 ;
31039 bool arg6
= (bool) true ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 PyObject
* obj2
= 0 ;
31043 PyObject
* obj3
= 0 ;
31044 PyObject
* obj4
= 0 ;
31045 PyObject
* obj5
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31052 if (SWIG_arg_fail(1)) SWIG_fail
;
31054 arg2
= (int)(SWIG_As_int(obj1
));
31055 if (SWIG_arg_fail(2)) SWIG_fail
;
31058 arg3
= (int)(SWIG_As_int(obj2
));
31059 if (SWIG_arg_fail(3)) SWIG_fail
;
31062 arg4
= (int)(SWIG_As_int(obj3
));
31063 if (SWIG_arg_fail(4)) SWIG_fail
;
31066 arg5
= (int)(SWIG_As_int(obj4
));
31067 if (SWIG_arg_fail(5)) SWIG_fail
;
31071 arg6
= (bool)(SWIG_As_bool(obj5
));
31072 if (SWIG_arg_fail(6)) SWIG_fail
;
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 Py_INCREF(Py_None
); resultobj
= Py_None
;
31089 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31090 PyObject
*resultobj
;
31091 wxWindow
*arg1
= (wxWindow
*) 0 ;
31094 bool arg4
= (bool) true ;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 PyObject
* obj2
= 0 ;
31098 PyObject
* obj3
= 0 ;
31099 char *kwnames
[] = {
31100 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31105 if (SWIG_arg_fail(1)) SWIG_fail
;
31107 arg2
= (int)(SWIG_As_int(obj1
));
31108 if (SWIG_arg_fail(2)) SWIG_fail
;
31111 arg3
= (int)(SWIG_As_int(obj2
));
31112 if (SWIG_arg_fail(3)) SWIG_fail
;
31116 arg4
= (bool)(SWIG_As_bool(obj3
));
31117 if (SWIG_arg_fail(4)) SWIG_fail
;
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 Py_INCREF(Py_None
); resultobj
= Py_None
;
31134 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31135 PyObject
*resultobj
;
31136 wxWindow
*arg1
= (wxWindow
*) 0 ;
31139 PyObject
* obj0
= 0 ;
31140 PyObject
* obj1
= 0 ;
31141 char *kwnames
[] = {
31142 (char *) "self",(char *) "orientation", NULL
31145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31147 if (SWIG_arg_fail(1)) SWIG_fail
;
31149 arg2
= (int)(SWIG_As_int(obj1
));
31150 if (SWIG_arg_fail(2)) SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= SWIG_From_int((int)(result
));
31168 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxWindow
*arg1
= (wxWindow
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 char *kwnames
[] = {
31176 (char *) "self",(char *) "orientation", NULL
31179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31181 if (SWIG_arg_fail(1)) SWIG_fail
;
31183 arg2
= (int)(SWIG_As_int(obj1
));
31184 if (SWIG_arg_fail(2)) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= SWIG_From_int((int)(result
));
31202 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
;
31204 wxWindow
*arg1
= (wxWindow
*) 0 ;
31207 PyObject
* obj0
= 0 ;
31208 PyObject
* obj1
= 0 ;
31209 char *kwnames
[] = {
31210 (char *) "self",(char *) "orientation", NULL
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31215 if (SWIG_arg_fail(1)) SWIG_fail
;
31217 arg2
= (int)(SWIG_As_int(obj1
));
31218 if (SWIG_arg_fail(2)) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= SWIG_From_int((int)(result
));
31236 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxWindow
*arg1
= (wxWindow
*) 0 ;
31241 wxRect
*arg4
= (wxRect
*) NULL
;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 PyObject
* obj2
= 0 ;
31245 PyObject
* obj3
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31252 if (SWIG_arg_fail(1)) SWIG_fail
;
31254 arg2
= (int)(SWIG_As_int(obj1
));
31255 if (SWIG_arg_fail(2)) SWIG_fail
;
31258 arg3
= (int)(SWIG_As_int(obj2
));
31259 if (SWIG_arg_fail(3)) SWIG_fail
;
31262 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31263 if (SWIG_arg_fail(4)) SWIG_fail
;
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 Py_INCREF(Py_None
); resultobj
= Py_None
;
31279 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31280 PyObject
*resultobj
;
31281 wxWindow
*arg1
= (wxWindow
*) 0 ;
31284 PyObject
* obj0
= 0 ;
31285 PyObject
* obj1
= 0 ;
31286 char *kwnames
[] = {
31287 (char *) "self",(char *) "lines", NULL
31290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31292 if (SWIG_arg_fail(1)) SWIG_fail
;
31294 arg2
= (int)(SWIG_As_int(obj1
));
31295 if (SWIG_arg_fail(2)) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (bool)(arg1
)->ScrollLines(arg2
);
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31313 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxWindow
*arg1
= (wxWindow
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 PyObject
* obj1
= 0 ;
31320 char *kwnames
[] = {
31321 (char *) "self",(char *) "pages", NULL
31324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31326 if (SWIG_arg_fail(1)) SWIG_fail
;
31328 arg2
= (int)(SWIG_As_int(obj1
));
31329 if (SWIG_arg_fail(2)) SWIG_fail
;
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 result
= (bool)(arg1
)->ScrollPages(arg2
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31347 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31348 PyObject
*resultobj
;
31349 wxWindow
*arg1
= (wxWindow
*) 0 ;
31351 PyObject
* obj0
= 0 ;
31352 char *kwnames
[] = {
31353 (char *) "self", NULL
31356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31358 if (SWIG_arg_fail(1)) SWIG_fail
;
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31361 result
= (bool)(arg1
)->LineUp();
31363 wxPyEndAllowThreads(__tstate
);
31364 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31375 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31376 PyObject
*resultobj
;
31377 wxWindow
*arg1
= (wxWindow
*) 0 ;
31379 PyObject
* obj0
= 0 ;
31380 char *kwnames
[] = {
31381 (char *) "self", NULL
31384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31386 if (SWIG_arg_fail(1)) SWIG_fail
;
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (bool)(arg1
)->LineDown();
31391 wxPyEndAllowThreads(__tstate
);
31392 if (PyErr_Occurred()) SWIG_fail
;
31395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31403 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxWindow
*arg1
= (wxWindow
*) 0 ;
31407 PyObject
* obj0
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "self", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31414 if (SWIG_arg_fail(1)) SWIG_fail
;
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= (bool)(arg1
)->PageUp();
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31431 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxWindow
*arg1
= (wxWindow
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 char *kwnames
[] = {
31437 (char *) "self", NULL
31440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31442 if (SWIG_arg_fail(1)) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= (bool)(arg1
)->PageDown();
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31459 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
;
31461 wxWindow
*arg1
= (wxWindow
*) 0 ;
31462 wxString
*arg2
= 0 ;
31463 bool temp2
= false ;
31464 PyObject
* obj0
= 0 ;
31465 PyObject
* obj1
= 0 ;
31466 char *kwnames
[] = {
31467 (char *) "self",(char *) "text", NULL
31470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31472 if (SWIG_arg_fail(1)) SWIG_fail
;
31474 arg2
= wxString_in_helper(obj1
);
31475 if (arg2
== NULL
) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 Py_INCREF(Py_None
); resultobj
= Py_None
;
31500 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
;
31502 wxWindow
*arg1
= (wxWindow
*) 0 ;
31503 wxString
*arg2
= 0 ;
31504 bool temp2
= false ;
31505 PyObject
* obj0
= 0 ;
31506 PyObject
* obj1
= 0 ;
31507 char *kwnames
[] = {
31508 (char *) "self",(char *) "text", NULL
31511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31513 if (SWIG_arg_fail(1)) SWIG_fail
;
31515 arg2
= wxString_in_helper(obj1
);
31516 if (arg2
== NULL
) SWIG_fail
;
31520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31521 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31526 Py_INCREF(Py_None
); resultobj
= Py_None
;
31541 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
;
31543 wxWindow
*arg1
= (wxWindow
*) 0 ;
31545 PyObject
* obj0
= 0 ;
31546 char *kwnames
[] = {
31547 (char *) "self", NULL
31550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31552 if (SWIG_arg_fail(1)) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31573 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
;
31575 wxWindow
*arg1
= (wxWindow
*) 0 ;
31576 wxString
*arg2
= 0 ;
31577 bool temp2
= false ;
31578 PyObject
* obj0
= 0 ;
31579 PyObject
* obj1
= 0 ;
31580 char *kwnames
[] = {
31581 (char *) "self",(char *) "tip", NULL
31584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",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
;
31588 arg2
= wxString_in_helper(obj1
);
31589 if (arg2
== NULL
) SWIG_fail
;
31593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31594 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31596 wxPyEndAllowThreads(__tstate
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31599 Py_INCREF(Py_None
); resultobj
= Py_None
;
31614 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxWindow
*arg1
= (wxWindow
*) 0 ;
31617 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31618 PyObject
* obj0
= 0 ;
31619 PyObject
* obj1
= 0 ;
31620 char *kwnames
[] = {
31621 (char *) "self",(char *) "tip", NULL
31624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31626 if (SWIG_arg_fail(1)) SWIG_fail
;
31627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31628 if (SWIG_arg_fail(2)) SWIG_fail
;
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 (arg1
)->SetToolTip(arg2
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 Py_INCREF(Py_None
); resultobj
= Py_None
;
31643 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
;
31645 wxWindow
*arg1
= (wxWindow
*) 0 ;
31647 PyObject
* obj0
= 0 ;
31648 char *kwnames
[] = {
31649 (char *) "self", NULL
31652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31654 if (SWIG_arg_fail(1)) SWIG_fail
;
31656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31657 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31659 wxPyEndAllowThreads(__tstate
);
31660 if (PyErr_Occurred()) SWIG_fail
;
31663 resultobj
= wxPyMake_wxObject(result
, 0);
31671 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31672 PyObject
*resultobj
;
31673 wxWindow
*arg1
= (wxWindow
*) 0 ;
31674 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31675 PyObject
* obj0
= 0 ;
31676 PyObject
* obj1
= 0 ;
31677 char *kwnames
[] = {
31678 (char *) "self",(char *) "dropTarget", NULL
31681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31683 if (SWIG_arg_fail(1)) SWIG_fail
;
31684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31685 if (SWIG_arg_fail(2)) SWIG_fail
;
31687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31688 (arg1
)->SetDropTarget(arg2
);
31690 wxPyEndAllowThreads(__tstate
);
31691 if (PyErr_Occurred()) SWIG_fail
;
31693 Py_INCREF(Py_None
); resultobj
= Py_None
;
31700 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31701 PyObject
*resultobj
;
31702 wxWindow
*arg1
= (wxWindow
*) 0 ;
31703 wxPyDropTarget
*result
;
31704 PyObject
* obj0
= 0 ;
31705 char *kwnames
[] = {
31706 (char *) "self", NULL
31709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31711 if (SWIG_arg_fail(1)) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31726 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
;
31728 wxWindow
*arg1
= (wxWindow
*) 0 ;
31729 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31730 PyObject
* obj0
= 0 ;
31731 PyObject
* obj1
= 0 ;
31732 char *kwnames
[] = {
31733 (char *) "self",(char *) "constraints", NULL
31736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31738 if (SWIG_arg_fail(1)) SWIG_fail
;
31739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31740 if (SWIG_arg_fail(2)) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 (arg1
)->SetConstraints(arg2
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31748 Py_INCREF(Py_None
); resultobj
= Py_None
;
31755 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
;
31757 wxWindow
*arg1
= (wxWindow
*) 0 ;
31758 wxLayoutConstraints
*result
;
31759 PyObject
* obj0
= 0 ;
31760 char *kwnames
[] = {
31761 (char *) "self", NULL
31764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31766 if (SWIG_arg_fail(1)) SWIG_fail
;
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31771 wxPyEndAllowThreads(__tstate
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31781 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31782 PyObject
*resultobj
;
31783 wxWindow
*arg1
= (wxWindow
*) 0 ;
31785 PyObject
* obj0
= 0 ;
31786 PyObject
* obj1
= 0 ;
31787 char *kwnames
[] = {
31788 (char *) "self",(char *) "autoLayout", NULL
31791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31793 if (SWIG_arg_fail(1)) SWIG_fail
;
31795 arg2
= (bool)(SWIG_As_bool(obj1
));
31796 if (SWIG_arg_fail(2)) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 (arg1
)->SetAutoLayout(arg2
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 Py_INCREF(Py_None
); resultobj
= Py_None
;
31812 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
;
31814 wxWindow
*arg1
= (wxWindow
*) 0 ;
31816 PyObject
* obj0
= 0 ;
31817 char *kwnames
[] = {
31818 (char *) "self", NULL
31821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31823 if (SWIG_arg_fail(1)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31840 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31841 PyObject
*resultobj
;
31842 wxWindow
*arg1
= (wxWindow
*) 0 ;
31844 PyObject
* obj0
= 0 ;
31845 char *kwnames
[] = {
31846 (char *) "self", NULL
31849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31851 if (SWIG_arg_fail(1)) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 result
= (bool)(arg1
)->Layout();
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31868 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
;
31870 wxWindow
*arg1
= (wxWindow
*) 0 ;
31871 wxSizer
*arg2
= (wxSizer
*) 0 ;
31872 bool arg3
= (bool) true ;
31873 PyObject
* obj0
= 0 ;
31874 PyObject
* obj1
= 0 ;
31875 PyObject
* obj2
= 0 ;
31876 char *kwnames
[] = {
31877 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31882 if (SWIG_arg_fail(1)) SWIG_fail
;
31883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31884 if (SWIG_arg_fail(2)) SWIG_fail
;
31887 arg3
= (bool)(SWIG_As_bool(obj2
));
31888 if (SWIG_arg_fail(3)) SWIG_fail
;
31892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31893 (arg1
)->SetSizer(arg2
,arg3
);
31895 wxPyEndAllowThreads(__tstate
);
31896 if (PyErr_Occurred()) SWIG_fail
;
31898 Py_INCREF(Py_None
); resultobj
= Py_None
;
31905 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
;
31907 wxWindow
*arg1
= (wxWindow
*) 0 ;
31908 wxSizer
*arg2
= (wxSizer
*) 0 ;
31909 bool arg3
= (bool) true ;
31910 PyObject
* obj0
= 0 ;
31911 PyObject
* obj1
= 0 ;
31912 PyObject
* obj2
= 0 ;
31913 char *kwnames
[] = {
31914 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31919 if (SWIG_arg_fail(1)) SWIG_fail
;
31920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31921 if (SWIG_arg_fail(2)) SWIG_fail
;
31924 arg3
= (bool)(SWIG_As_bool(obj2
));
31925 if (SWIG_arg_fail(3)) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 Py_INCREF(Py_None
); resultobj
= Py_None
;
31942 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31943 PyObject
*resultobj
;
31944 wxWindow
*arg1
= (wxWindow
*) 0 ;
31946 PyObject
* obj0
= 0 ;
31947 char *kwnames
[] = {
31948 (char *) "self", NULL
31951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31953 if (SWIG_arg_fail(1)) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= wxPyMake_wxSizer(result
, 0);
31970 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxWindow
*arg1
= (wxWindow
*) 0 ;
31973 wxSizer
*arg2
= (wxSizer
*) 0 ;
31974 PyObject
* obj0
= 0 ;
31975 PyObject
* obj1
= 0 ;
31976 char *kwnames
[] = {
31977 (char *) "self",(char *) "sizer", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31982 if (SWIG_arg_fail(1)) SWIG_fail
;
31983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(2)) SWIG_fail
;
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 (arg1
)->SetContainingSizer(arg2
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 Py_INCREF(Py_None
); resultobj
= Py_None
;
31999 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
;
32001 wxWindow
*arg1
= (wxWindow
*) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 char *kwnames
[] = {
32005 (char *) "self", NULL
32008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32010 if (SWIG_arg_fail(1)) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= wxPyMake_wxSizer(result
, 0);
32027 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32028 PyObject
*resultobj
;
32029 wxWindow
*arg1
= (wxWindow
*) 0 ;
32030 PyObject
* obj0
= 0 ;
32031 char *kwnames
[] = {
32032 (char *) "self", NULL
32035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32037 if (SWIG_arg_fail(1)) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 (arg1
)->InheritAttributes();
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 Py_INCREF(Py_None
); resultobj
= Py_None
;
32052 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
;
32054 wxWindow
*arg1
= (wxWindow
*) 0 ;
32056 PyObject
* obj0
= 0 ;
32057 char *kwnames
[] = {
32058 (char *) "self", NULL
32061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32063 if (SWIG_arg_fail(1)) SWIG_fail
;
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32080 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32083 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32085 return Py_BuildValue((char *)"");
32087 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
;
32090 wxWindow
*arg2
= (wxWindow
*) NULL
;
32092 PyObject
* obj0
= 0 ;
32093 PyObject
* obj1
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "id",(char *) "parent", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32100 arg1
= (long)(SWIG_As_long(obj0
));
32101 if (SWIG_arg_fail(1)) SWIG_fail
;
32104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32105 if (SWIG_arg_fail(2)) SWIG_fail
;
32108 if (!wxPyCheckForApp()) SWIG_fail
;
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32116 resultobj
= wxPyMake_wxObject(result
, 0);
32124 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32125 PyObject
*resultobj
;
32126 wxString
*arg1
= 0 ;
32127 wxWindow
*arg2
= (wxWindow
*) NULL
;
32129 bool temp1
= false ;
32130 PyObject
* obj0
= 0 ;
32131 PyObject
* obj1
= 0 ;
32132 char *kwnames
[] = {
32133 (char *) "name",(char *) "parent", NULL
32136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32138 arg1
= wxString_in_helper(obj0
);
32139 if (arg1
== NULL
) SWIG_fail
;
32143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32144 if (SWIG_arg_fail(2)) SWIG_fail
;
32147 if (!wxPyCheckForApp()) SWIG_fail
;
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= wxPyMake_wxObject(result
, 0);
32171 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
;
32173 wxString
*arg1
= 0 ;
32174 wxWindow
*arg2
= (wxWindow
*) NULL
;
32176 bool temp1
= false ;
32177 PyObject
* obj0
= 0 ;
32178 PyObject
* obj1
= 0 ;
32179 char *kwnames
[] = {
32180 (char *) "label",(char *) "parent", NULL
32183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32185 arg1
= wxString_in_helper(obj0
);
32186 if (arg1
== NULL
) SWIG_fail
;
32190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32191 if (SWIG_arg_fail(2)) SWIG_fail
;
32194 if (!wxPyCheckForApp()) SWIG_fail
;
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= wxPyMake_wxObject(result
, 0);
32218 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32219 PyObject
*resultobj
;
32220 wxWindow
*arg1
= (wxWindow
*) 0 ;
32221 unsigned long arg2
;
32223 PyObject
* obj0
= 0 ;
32224 PyObject
* obj1
= 0 ;
32225 char *kwnames
[] = {
32226 (char *) "parent",(char *) "_hWnd", NULL
32229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32231 if (SWIG_arg_fail(1)) SWIG_fail
;
32233 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32234 if (SWIG_arg_fail(2)) SWIG_fail
;
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32240 wxPyEndAllowThreads(__tstate
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32244 resultobj
= wxPyMake_wxObject(result
, 0);
32252 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32253 PyObject
*resultobj
;
32255 char *kwnames
[] = {
32259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 result
= (PyObject
*)GetTopLevelWindows();
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= result
;
32274 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32275 PyObject
*resultobj
;
32276 wxValidator
*result
;
32277 char *kwnames
[] = {
32281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32284 result
= (wxValidator
*)new wxValidator();
32286 wxPyEndAllowThreads(__tstate
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32296 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32297 PyObject
*resultobj
;
32298 wxValidator
*arg1
= (wxValidator
*) 0 ;
32299 wxValidator
*result
;
32300 PyObject
* obj0
= 0 ;
32301 char *kwnames
[] = {
32302 (char *) "self", NULL
32305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32307 if (SWIG_arg_fail(1)) SWIG_fail
;
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 result
= (wxValidator
*)(arg1
)->Clone();
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32316 resultobj
= wxPyMake_wxObject(result
, 0);
32324 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32325 PyObject
*resultobj
;
32326 wxValidator
*arg1
= (wxValidator
*) 0 ;
32327 wxWindow
*arg2
= (wxWindow
*) 0 ;
32329 PyObject
* obj0
= 0 ;
32330 PyObject
* obj1
= 0 ;
32331 char *kwnames
[] = {
32332 (char *) "self",(char *) "parent", NULL
32335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32337 if (SWIG_arg_fail(1)) SWIG_fail
;
32338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32339 if (SWIG_arg_fail(2)) SWIG_fail
;
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 result
= (bool)(arg1
)->Validate(arg2
);
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32356 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxValidator
*arg1
= (wxValidator
*) 0 ;
32360 PyObject
* obj0
= 0 ;
32361 char *kwnames
[] = {
32362 (char *) "self", NULL
32365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32367 if (SWIG_arg_fail(1)) SWIG_fail
;
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 result
= (bool)(arg1
)->TransferToWindow();
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32384 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32385 PyObject
*resultobj
;
32386 wxValidator
*arg1
= (wxValidator
*) 0 ;
32388 PyObject
* obj0
= 0 ;
32389 char *kwnames
[] = {
32390 (char *) "self", NULL
32393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32395 if (SWIG_arg_fail(1)) SWIG_fail
;
32397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32398 result
= (bool)(arg1
)->TransferFromWindow();
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32412 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
;
32414 wxValidator
*arg1
= (wxValidator
*) 0 ;
32416 PyObject
* obj0
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 result
= (wxWindow
*)(arg1
)->GetWindow();
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32432 resultobj
= wxPyMake_wxObject(result
, 0);
32440 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32441 PyObject
*resultobj
;
32442 wxValidator
*arg1
= (wxValidator
*) 0 ;
32443 wxWindow
*arg2
= (wxWindow
*) 0 ;
32444 PyObject
* obj0
= 0 ;
32445 PyObject
* obj1
= 0 ;
32446 char *kwnames
[] = {
32447 (char *) "self",(char *) "window", NULL
32450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32452 if (SWIG_arg_fail(1)) SWIG_fail
;
32453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32454 if (SWIG_arg_fail(2)) SWIG_fail
;
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 (arg1
)->SetWindow(arg2
);
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 Py_INCREF(Py_None
); resultobj
= Py_None
;
32469 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
;
32472 char *kwnames
[] = {
32476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (bool)wxValidator::IsSilent();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32493 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
;
32495 int arg1
= (int) true ;
32496 PyObject
* obj0
= 0 ;
32497 char *kwnames
[] = {
32498 (char *) "doIt", NULL
32501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32504 arg1
= (int)(SWIG_As_int(obj0
));
32505 if (SWIG_arg_fail(1)) SWIG_fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 wxValidator::SetBellOnError(arg1
);
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32515 Py_INCREF(Py_None
); resultobj
= Py_None
;
32522 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32525 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32527 return Py_BuildValue((char *)"");
32529 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32530 PyObject
*resultobj
;
32531 wxPyValidator
*result
;
32532 char *kwnames
[] = {
32536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 result
= (wxPyValidator
*)new wxPyValidator();
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32551 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
;
32553 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32554 PyObject
*arg2
= (PyObject
*) 0 ;
32555 PyObject
*arg3
= (PyObject
*) 0 ;
32556 int arg4
= (int) true ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 PyObject
* obj2
= 0 ;
32560 PyObject
* obj3
= 0 ;
32561 char *kwnames
[] = {
32562 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32567 if (SWIG_arg_fail(1)) SWIG_fail
;
32572 arg4
= (int)(SWIG_As_int(obj3
));
32573 if (SWIG_arg_fail(4)) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 Py_INCREF(Py_None
); resultobj
= Py_None
;
32590 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32593 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32595 return Py_BuildValue((char *)"");
32597 static int _wrap_DefaultValidator_set(PyObject
*) {
32598 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32603 static PyObject
*_wrap_DefaultValidator_get(void) {
32606 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32611 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
;
32613 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32614 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32615 long arg2
= (long) 0 ;
32617 bool temp1
= false ;
32618 PyObject
* obj0
= 0 ;
32619 PyObject
* obj1
= 0 ;
32620 char *kwnames
[] = {
32621 (char *) "title",(char *) "style", NULL
32624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32627 arg1
= wxString_in_helper(obj0
);
32628 if (arg1
== NULL
) SWIG_fail
;
32634 arg2
= (long)(SWIG_As_long(obj1
));
32635 if (SWIG_arg_fail(2)) SWIG_fail
;
32639 if (!wxPyCheckForApp()) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32643 wxPyEndAllowThreads(__tstate
);
32644 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32661 static PyObject
*_wrap_Menu_Append(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 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32669 wxMenuItem
*result
;
32670 bool temp3
= false ;
32671 bool temp4
= false ;
32672 PyObject
* obj0
= 0 ;
32673 PyObject
* obj1
= 0 ;
32674 PyObject
* obj2
= 0 ;
32675 PyObject
* obj3
= 0 ;
32676 PyObject
* obj4
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32683 if (SWIG_arg_fail(1)) SWIG_fail
;
32685 arg2
= (int)(SWIG_As_int(obj1
));
32686 if (SWIG_arg_fail(2)) SWIG_fail
;
32689 arg3
= wxString_in_helper(obj2
);
32690 if (arg3
== NULL
) SWIG_fail
;
32695 arg4
= wxString_in_helper(obj3
);
32696 if (arg4
== NULL
) SWIG_fail
;
32702 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32703 if (SWIG_arg_fail(5)) SWIG_fail
;
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32710 wxPyEndAllowThreads(__tstate
);
32711 if (PyErr_Occurred()) SWIG_fail
;
32714 resultobj
= wxPyMake_wxObject(result
, 0);
32738 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
;
32740 wxMenu
*arg1
= (wxMenu
*) 0 ;
32741 wxMenuItem
*result
;
32742 PyObject
* obj0
= 0 ;
32743 char *kwnames
[] = {
32744 (char *) "self", NULL
32747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32749 if (SWIG_arg_fail(1)) SWIG_fail
;
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= wxPyMake_wxObject(result
, 0);
32766 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
;
32768 wxMenu
*arg1
= (wxMenu
*) 0 ;
32770 wxString
*arg3
= 0 ;
32771 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32772 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32773 wxMenuItem
*result
;
32774 bool temp3
= false ;
32775 bool temp4
= false ;
32776 PyObject
* obj0
= 0 ;
32777 PyObject
* obj1
= 0 ;
32778 PyObject
* obj2
= 0 ;
32779 PyObject
* obj3
= 0 ;
32780 char *kwnames
[] = {
32781 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32786 if (SWIG_arg_fail(1)) SWIG_fail
;
32788 arg2
= (int)(SWIG_As_int(obj1
));
32789 if (SWIG_arg_fail(2)) SWIG_fail
;
32792 arg3
= wxString_in_helper(obj2
);
32793 if (arg3
== NULL
) SWIG_fail
;
32798 arg4
= wxString_in_helper(obj3
);
32799 if (arg4
== NULL
) SWIG_fail
;
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= wxPyMake_wxObject(result
, 0);
32835 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32836 PyObject
*resultobj
;
32837 wxMenu
*arg1
= (wxMenu
*) 0 ;
32839 wxString
*arg3
= 0 ;
32840 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32841 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32842 wxMenuItem
*result
;
32843 bool temp3
= false ;
32844 bool temp4
= false ;
32845 PyObject
* obj0
= 0 ;
32846 PyObject
* obj1
= 0 ;
32847 PyObject
* obj2
= 0 ;
32848 PyObject
* obj3
= 0 ;
32849 char *kwnames
[] = {
32850 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32855 if (SWIG_arg_fail(1)) SWIG_fail
;
32857 arg2
= (int)(SWIG_As_int(obj1
));
32858 if (SWIG_arg_fail(2)) SWIG_fail
;
32861 arg3
= wxString_in_helper(obj2
);
32862 if (arg3
== NULL
) SWIG_fail
;
32867 arg4
= wxString_in_helper(obj3
);
32868 if (arg4
== NULL
) SWIG_fail
;
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32876 wxPyEndAllowThreads(__tstate
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32880 resultobj
= wxPyMake_wxObject(result
, 0);
32904 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32905 PyObject
*resultobj
;
32906 wxMenu
*arg1
= (wxMenu
*) 0 ;
32908 wxString
*arg3
= 0 ;
32909 wxMenu
*arg4
= (wxMenu
*) 0 ;
32910 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32911 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32912 wxMenuItem
*result
;
32913 bool temp3
= false ;
32914 bool temp5
= false ;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 PyObject
* obj2
= 0 ;
32918 PyObject
* obj3
= 0 ;
32919 PyObject
* obj4
= 0 ;
32920 char *kwnames
[] = {
32921 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32926 if (SWIG_arg_fail(1)) SWIG_fail
;
32928 arg2
= (int)(SWIG_As_int(obj1
));
32929 if (SWIG_arg_fail(2)) SWIG_fail
;
32932 arg3
= wxString_in_helper(obj2
);
32933 if (arg3
== NULL
) SWIG_fail
;
32936 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32937 if (SWIG_arg_fail(4)) SWIG_fail
;
32940 arg5
= wxString_in_helper(obj4
);
32941 if (arg5
== NULL
) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32953 resultobj
= wxPyMake_wxObject(result
, 0);
32977 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
;
32979 wxMenu
*arg1
= (wxMenu
*) 0 ;
32980 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32981 wxMenuItem
*result
;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 char *kwnames
[] = {
32985 (char *) "self",(char *) "item", NULL
32988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32990 if (SWIG_arg_fail(1)) SWIG_fail
;
32991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32992 if (SWIG_arg_fail(2)) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33001 resultobj
= wxPyMake_wxObject(result
, 0);
33009 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33010 PyObject
*resultobj
;
33011 wxMenu
*arg1
= (wxMenu
*) 0 ;
33012 PyObject
* obj0
= 0 ;
33013 char *kwnames
[] = {
33014 (char *) "self", NULL
33017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33019 if (SWIG_arg_fail(1)) SWIG_fail
;
33021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33024 wxPyEndAllowThreads(__tstate
);
33025 if (PyErr_Occurred()) SWIG_fail
;
33027 Py_INCREF(Py_None
); resultobj
= Py_None
;
33034 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
;
33036 wxMenu
*arg1
= (wxMenu
*) 0 ;
33038 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33039 wxMenuItem
*result
;
33040 PyObject
* obj0
= 0 ;
33041 PyObject
* obj1
= 0 ;
33042 PyObject
* obj2
= 0 ;
33043 char *kwnames
[] = {
33044 (char *) "self",(char *) "pos",(char *) "item", NULL
33047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33049 if (SWIG_arg_fail(1)) SWIG_fail
;
33051 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33052 if (SWIG_arg_fail(2)) SWIG_fail
;
33054 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33055 if (SWIG_arg_fail(3)) SWIG_fail
;
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= wxPyMake_wxObject(result
, 0);
33072 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
;
33074 wxMenu
*arg1
= (wxMenu
*) 0 ;
33077 wxString
*arg4
= 0 ;
33078 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33079 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33080 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33081 wxMenuItem
*result
;
33082 bool temp4
= false ;
33083 bool temp5
= false ;
33084 PyObject
* obj0
= 0 ;
33085 PyObject
* obj1
= 0 ;
33086 PyObject
* obj2
= 0 ;
33087 PyObject
* obj3
= 0 ;
33088 PyObject
* obj4
= 0 ;
33089 PyObject
* obj5
= 0 ;
33090 char *kwnames
[] = {
33091 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33096 if (SWIG_arg_fail(1)) SWIG_fail
;
33098 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33099 if (SWIG_arg_fail(2)) SWIG_fail
;
33102 arg3
= (int)(SWIG_As_int(obj2
));
33103 if (SWIG_arg_fail(3)) SWIG_fail
;
33106 arg4
= wxString_in_helper(obj3
);
33107 if (arg4
== NULL
) SWIG_fail
;
33112 arg5
= wxString_in_helper(obj4
);
33113 if (arg5
== NULL
) SWIG_fail
;
33119 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33120 if (SWIG_arg_fail(6)) SWIG_fail
;
33124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33125 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33127 wxPyEndAllowThreads(__tstate
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= wxPyMake_wxObject(result
, 0);
33155 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
;
33157 wxMenu
*arg1
= (wxMenu
*) 0 ;
33159 wxMenuItem
*result
;
33160 PyObject
* obj0
= 0 ;
33161 PyObject
* obj1
= 0 ;
33162 char *kwnames
[] = {
33163 (char *) "self",(char *) "pos", NULL
33166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33168 if (SWIG_arg_fail(1)) SWIG_fail
;
33170 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33171 if (SWIG_arg_fail(2)) SWIG_fail
;
33174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33181 resultobj
= wxPyMake_wxObject(result
, 0);
33189 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33190 PyObject
*resultobj
;
33191 wxMenu
*arg1
= (wxMenu
*) 0 ;
33194 wxString
*arg4
= 0 ;
33195 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33196 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33197 wxMenuItem
*result
;
33198 bool temp4
= false ;
33199 bool temp5
= false ;
33200 PyObject
* obj0
= 0 ;
33201 PyObject
* obj1
= 0 ;
33202 PyObject
* obj2
= 0 ;
33203 PyObject
* obj3
= 0 ;
33204 PyObject
* obj4
= 0 ;
33205 char *kwnames
[] = {
33206 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33211 if (SWIG_arg_fail(1)) SWIG_fail
;
33213 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33214 if (SWIG_arg_fail(2)) SWIG_fail
;
33217 arg3
= (int)(SWIG_As_int(obj2
));
33218 if (SWIG_arg_fail(3)) SWIG_fail
;
33221 arg4
= wxString_in_helper(obj3
);
33222 if (arg4
== NULL
) SWIG_fail
;
33227 arg5
= wxString_in_helper(obj4
);
33228 if (arg5
== NULL
) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= wxPyMake_wxObject(result
, 0);
33264 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33265 PyObject
*resultobj
;
33266 wxMenu
*arg1
= (wxMenu
*) 0 ;
33269 wxString
*arg4
= 0 ;
33270 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33271 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33272 wxMenuItem
*result
;
33273 bool temp4
= false ;
33274 bool temp5
= false ;
33275 PyObject
* obj0
= 0 ;
33276 PyObject
* obj1
= 0 ;
33277 PyObject
* obj2
= 0 ;
33278 PyObject
* obj3
= 0 ;
33279 PyObject
* obj4
= 0 ;
33280 char *kwnames
[] = {
33281 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33286 if (SWIG_arg_fail(1)) SWIG_fail
;
33288 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33289 if (SWIG_arg_fail(2)) SWIG_fail
;
33292 arg3
= (int)(SWIG_As_int(obj2
));
33293 if (SWIG_arg_fail(3)) SWIG_fail
;
33296 arg4
= wxString_in_helper(obj3
);
33297 if (arg4
== NULL
) SWIG_fail
;
33302 arg5
= wxString_in_helper(obj4
);
33303 if (arg5
== NULL
) SWIG_fail
;
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33309 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33315 resultobj
= wxPyMake_wxObject(result
, 0);
33339 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33340 PyObject
*resultobj
;
33341 wxMenu
*arg1
= (wxMenu
*) 0 ;
33344 wxString
*arg4
= 0 ;
33345 wxMenu
*arg5
= (wxMenu
*) 0 ;
33346 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33347 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33348 wxMenuItem
*result
;
33349 bool temp4
= false ;
33350 bool temp6
= false ;
33351 PyObject
* obj0
= 0 ;
33352 PyObject
* obj1
= 0 ;
33353 PyObject
* obj2
= 0 ;
33354 PyObject
* obj3
= 0 ;
33355 PyObject
* obj4
= 0 ;
33356 PyObject
* obj5
= 0 ;
33357 char *kwnames
[] = {
33358 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33363 if (SWIG_arg_fail(1)) SWIG_fail
;
33365 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33366 if (SWIG_arg_fail(2)) SWIG_fail
;
33369 arg3
= (int)(SWIG_As_int(obj2
));
33370 if (SWIG_arg_fail(3)) SWIG_fail
;
33373 arg4
= wxString_in_helper(obj3
);
33374 if (arg4
== NULL
) SWIG_fail
;
33377 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33378 if (SWIG_arg_fail(5)) SWIG_fail
;
33381 arg6
= wxString_in_helper(obj5
);
33382 if (arg6
== NULL
) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= wxPyMake_wxObject(result
, 0);
33418 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
;
33420 wxMenu
*arg1
= (wxMenu
*) 0 ;
33421 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33422 wxMenuItem
*result
;
33423 PyObject
* obj0
= 0 ;
33424 PyObject
* obj1
= 0 ;
33425 char *kwnames
[] = {
33426 (char *) "self",(char *) "item", NULL
33429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33431 if (SWIG_arg_fail(1)) SWIG_fail
;
33432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33433 if (SWIG_arg_fail(2)) SWIG_fail
;
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33442 resultobj
= wxPyMake_wxObject(result
, 0);
33450 static PyObject
*_wrap_Menu_Prepend(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 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33458 wxMenuItem
*result
;
33459 bool temp3
= false ;
33460 bool temp4
= false ;
33461 PyObject
* obj0
= 0 ;
33462 PyObject
* obj1
= 0 ;
33463 PyObject
* obj2
= 0 ;
33464 PyObject
* obj3
= 0 ;
33465 PyObject
* obj4
= 0 ;
33466 char *kwnames
[] = {
33467 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33472 if (SWIG_arg_fail(1)) SWIG_fail
;
33474 arg2
= (int)(SWIG_As_int(obj1
));
33475 if (SWIG_arg_fail(2)) SWIG_fail
;
33478 arg3
= wxString_in_helper(obj2
);
33479 if (arg3
== NULL
) SWIG_fail
;
33484 arg4
= wxString_in_helper(obj3
);
33485 if (arg4
== NULL
) SWIG_fail
;
33491 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33492 if (SWIG_arg_fail(5)) SWIG_fail
;
33496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33497 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33499 wxPyEndAllowThreads(__tstate
);
33500 if (PyErr_Occurred()) SWIG_fail
;
33503 resultobj
= wxPyMake_wxObject(result
, 0);
33527 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
;
33529 wxMenu
*arg1
= (wxMenu
*) 0 ;
33530 wxMenuItem
*result
;
33531 PyObject
* obj0
= 0 ;
33532 char *kwnames
[] = {
33533 (char *) "self", NULL
33536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33538 if (SWIG_arg_fail(1)) SWIG_fail
;
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33543 wxPyEndAllowThreads(__tstate
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33547 resultobj
= wxPyMake_wxObject(result
, 0);
33555 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33556 PyObject
*resultobj
;
33557 wxMenu
*arg1
= (wxMenu
*) 0 ;
33559 wxString
*arg3
= 0 ;
33560 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33561 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33562 wxMenuItem
*result
;
33563 bool temp3
= false ;
33564 bool temp4
= false ;
33565 PyObject
* obj0
= 0 ;
33566 PyObject
* obj1
= 0 ;
33567 PyObject
* obj2
= 0 ;
33568 PyObject
* obj3
= 0 ;
33569 char *kwnames
[] = {
33570 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33575 if (SWIG_arg_fail(1)) SWIG_fail
;
33577 arg2
= (int)(SWIG_As_int(obj1
));
33578 if (SWIG_arg_fail(2)) SWIG_fail
;
33581 arg3
= wxString_in_helper(obj2
);
33582 if (arg3
== NULL
) SWIG_fail
;
33587 arg4
= wxString_in_helper(obj3
);
33588 if (arg4
== NULL
) SWIG_fail
;
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= wxPyMake_wxObject(result
, 0);
33624 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
;
33626 wxMenu
*arg1
= (wxMenu
*) 0 ;
33628 wxString
*arg3
= 0 ;
33629 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33630 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33631 wxMenuItem
*result
;
33632 bool temp3
= false ;
33633 bool temp4
= false ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 PyObject
* obj2
= 0 ;
33637 PyObject
* obj3
= 0 ;
33638 char *kwnames
[] = {
33639 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33644 if (SWIG_arg_fail(1)) SWIG_fail
;
33646 arg2
= (int)(SWIG_As_int(obj1
));
33647 if (SWIG_arg_fail(2)) SWIG_fail
;
33650 arg3
= wxString_in_helper(obj2
);
33651 if (arg3
== NULL
) SWIG_fail
;
33656 arg4
= wxString_in_helper(obj3
);
33657 if (arg4
== NULL
) SWIG_fail
;
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33669 resultobj
= wxPyMake_wxObject(result
, 0);
33693 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
;
33695 wxMenu
*arg1
= (wxMenu
*) 0 ;
33697 wxString
*arg3
= 0 ;
33698 wxMenu
*arg4
= (wxMenu
*) 0 ;
33699 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33700 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33701 wxMenuItem
*result
;
33702 bool temp3
= false ;
33703 bool temp5
= false ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 PyObject
* obj2
= 0 ;
33707 PyObject
* obj3
= 0 ;
33708 PyObject
* obj4
= 0 ;
33709 char *kwnames
[] = {
33710 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33715 if (SWIG_arg_fail(1)) SWIG_fail
;
33717 arg2
= (int)(SWIG_As_int(obj1
));
33718 if (SWIG_arg_fail(2)) SWIG_fail
;
33721 arg3
= wxString_in_helper(obj2
);
33722 if (arg3
== NULL
) SWIG_fail
;
33725 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33726 if (SWIG_arg_fail(4)) SWIG_fail
;
33729 arg5
= wxString_in_helper(obj4
);
33730 if (arg5
== NULL
) SWIG_fail
;
33735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33736 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33738 wxPyEndAllowThreads(__tstate
);
33739 if (PyErr_Occurred()) SWIG_fail
;
33742 resultobj
= wxPyMake_wxObject(result
, 0);
33766 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
;
33768 wxMenu
*arg1
= (wxMenu
*) 0 ;
33770 wxMenuItem
*result
;
33771 PyObject
* obj0
= 0 ;
33772 PyObject
* obj1
= 0 ;
33773 char *kwnames
[] = {
33774 (char *) "self",(char *) "id", NULL
33777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33779 if (SWIG_arg_fail(1)) SWIG_fail
;
33781 arg2
= (int)(SWIG_As_int(obj1
));
33782 if (SWIG_arg_fail(2)) SWIG_fail
;
33785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33786 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= wxPyMake_wxObject(result
, 0);
33800 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33801 PyObject
*resultobj
;
33802 wxMenu
*arg1
= (wxMenu
*) 0 ;
33803 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33804 wxMenuItem
*result
;
33805 PyObject
* obj0
= 0 ;
33806 PyObject
* obj1
= 0 ;
33807 char *kwnames
[] = {
33808 (char *) "self",(char *) "item", NULL
33811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33813 if (SWIG_arg_fail(1)) SWIG_fail
;
33814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33815 if (SWIG_arg_fail(2)) SWIG_fail
;
33817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33818 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33820 wxPyEndAllowThreads(__tstate
);
33821 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= wxPyMake_wxObject(result
, 0);
33832 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
;
33834 wxMenu
*arg1
= (wxMenu
*) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 char *kwnames
[] = {
33840 (char *) "self",(char *) "id", NULL
33843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33845 if (SWIG_arg_fail(1)) SWIG_fail
;
33847 arg2
= (int)(SWIG_As_int(obj1
));
33848 if (SWIG_arg_fail(2)) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= (bool)(arg1
)->Delete(arg2
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33866 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
;
33868 wxMenu
*arg1
= (wxMenu
*) 0 ;
33869 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 char *kwnames
[] = {
33874 (char *) "self",(char *) "item", NULL
33877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33879 if (SWIG_arg_fail(1)) SWIG_fail
;
33880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33881 if (SWIG_arg_fail(2)) SWIG_fail
;
33883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33884 result
= (bool)(arg1
)->Delete(arg2
);
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33898 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33899 PyObject
*resultobj
;
33900 wxMenu
*arg1
= (wxMenu
*) 0 ;
33901 PyObject
* obj0
= 0 ;
33902 char *kwnames
[] = {
33903 (char *) "self", NULL
33906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33908 if (SWIG_arg_fail(1)) SWIG_fail
;
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 wxMenu_Destroy(arg1
);
33913 wxPyEndAllowThreads(__tstate
);
33914 if (PyErr_Occurred()) SWIG_fail
;
33916 Py_INCREF(Py_None
); resultobj
= Py_None
;
33923 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33924 PyObject
*resultobj
;
33925 wxMenu
*arg1
= (wxMenu
*) 0 ;
33928 PyObject
* obj0
= 0 ;
33929 PyObject
* obj1
= 0 ;
33930 char *kwnames
[] = {
33931 (char *) "self",(char *) "id", NULL
33934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33936 if (SWIG_arg_fail(1)) SWIG_fail
;
33938 arg2
= (int)(SWIG_As_int(obj1
));
33939 if (SWIG_arg_fail(2)) SWIG_fail
;
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 result
= (bool)(arg1
)->Destroy(arg2
);
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33957 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33958 PyObject
*resultobj
;
33959 wxMenu
*arg1
= (wxMenu
*) 0 ;
33960 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33962 PyObject
* obj0
= 0 ;
33963 PyObject
* obj1
= 0 ;
33964 char *kwnames
[] = {
33965 (char *) "self",(char *) "item", NULL
33968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33970 if (SWIG_arg_fail(1)) SWIG_fail
;
33971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33972 if (SWIG_arg_fail(2)) SWIG_fail
;
33974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33975 result
= (bool)(arg1
)->Destroy(arg2
);
33977 wxPyEndAllowThreads(__tstate
);
33978 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33989 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33990 PyObject
*resultobj
;
33991 wxMenu
*arg1
= (wxMenu
*) 0 ;
33993 PyObject
* obj0
= 0 ;
33994 char *kwnames
[] = {
33995 (char *) "self", NULL
33998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34000 if (SWIG_arg_fail(1)) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34017 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34018 PyObject
*resultobj
;
34019 wxMenu
*arg1
= (wxMenu
*) 0 ;
34021 PyObject
* obj0
= 0 ;
34022 char *kwnames
[] = {
34023 (char *) "self", NULL
34026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34028 if (SWIG_arg_fail(1)) SWIG_fail
;
34030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34031 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34033 wxPyEndAllowThreads(__tstate
);
34034 if (PyErr_Occurred()) SWIG_fail
;
34036 resultobj
= result
;
34043 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34044 PyObject
*resultobj
;
34045 wxMenu
*arg1
= (wxMenu
*) 0 ;
34046 wxString
*arg2
= 0 ;
34048 bool temp2
= false ;
34049 PyObject
* obj0
= 0 ;
34050 PyObject
* obj1
= 0 ;
34051 char *kwnames
[] = {
34052 (char *) "self",(char *) "item", NULL
34055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34057 if (SWIG_arg_fail(1)) SWIG_fail
;
34059 arg2
= wxString_in_helper(obj1
);
34060 if (arg2
== NULL
) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= SWIG_From_int((int)(result
));
34087 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
;
34089 wxMenu
*arg1
= (wxMenu
*) 0 ;
34091 wxMenuItem
*result
;
34092 PyObject
* obj0
= 0 ;
34093 PyObject
* obj1
= 0 ;
34094 char *kwnames
[] = {
34095 (char *) "self",(char *) "id", NULL
34098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34100 if (SWIG_arg_fail(1)) SWIG_fail
;
34102 arg2
= (int)(SWIG_As_int(obj1
));
34103 if (SWIG_arg_fail(2)) SWIG_fail
;
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34113 resultobj
= wxPyMake_wxObject(result
, 0);
34121 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
;
34123 wxMenu
*arg1
= (wxMenu
*) 0 ;
34125 wxMenuItem
*result
;
34126 PyObject
* obj0
= 0 ;
34127 PyObject
* obj1
= 0 ;
34128 char *kwnames
[] = {
34129 (char *) "self",(char *) "position", NULL
34132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34134 if (SWIG_arg_fail(1)) SWIG_fail
;
34136 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34137 if (SWIG_arg_fail(2)) SWIG_fail
;
34140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34141 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34143 wxPyEndAllowThreads(__tstate
);
34144 if (PyErr_Occurred()) SWIG_fail
;
34147 resultobj
= wxPyMake_wxObject(result
, 0);
34155 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
;
34157 wxMenu
*arg1
= (wxMenu
*) 0 ;
34160 PyObject
* obj0
= 0 ;
34161 PyObject
* obj1
= 0 ;
34162 PyObject
* obj2
= 0 ;
34163 char *kwnames
[] = {
34164 (char *) "self",(char *) "id",(char *) "enable", NULL
34167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34169 if (SWIG_arg_fail(1)) SWIG_fail
;
34171 arg2
= (int)(SWIG_As_int(obj1
));
34172 if (SWIG_arg_fail(2)) SWIG_fail
;
34175 arg3
= (bool)(SWIG_As_bool(obj2
));
34176 if (SWIG_arg_fail(3)) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 (arg1
)->Enable(arg2
,arg3
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 Py_INCREF(Py_None
); resultobj
= Py_None
;
34192 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
;
34194 wxMenu
*arg1
= (wxMenu
*) 0 ;
34197 PyObject
* obj0
= 0 ;
34198 PyObject
* obj1
= 0 ;
34199 char *kwnames
[] = {
34200 (char *) "self",(char *) "id", NULL
34203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34205 if (SWIG_arg_fail(1)) SWIG_fail
;
34207 arg2
= (int)(SWIG_As_int(obj1
));
34208 if (SWIG_arg_fail(2)) SWIG_fail
;
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34226 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
;
34228 wxMenu
*arg1
= (wxMenu
*) 0 ;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 PyObject
* obj2
= 0 ;
34234 char *kwnames
[] = {
34235 (char *) "self",(char *) "id",(char *) "check", NULL
34238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34240 if (SWIG_arg_fail(1)) SWIG_fail
;
34242 arg2
= (int)(SWIG_As_int(obj1
));
34243 if (SWIG_arg_fail(2)) SWIG_fail
;
34246 arg3
= (bool)(SWIG_As_bool(obj2
));
34247 if (SWIG_arg_fail(3)) SWIG_fail
;
34250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34251 (arg1
)->Check(arg2
,arg3
);
34253 wxPyEndAllowThreads(__tstate
);
34254 if (PyErr_Occurred()) SWIG_fail
;
34256 Py_INCREF(Py_None
); resultobj
= Py_None
;
34263 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34264 PyObject
*resultobj
;
34265 wxMenu
*arg1
= (wxMenu
*) 0 ;
34268 PyObject
* obj0
= 0 ;
34269 PyObject
* obj1
= 0 ;
34270 char *kwnames
[] = {
34271 (char *) "self",(char *) "id", NULL
34274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34276 if (SWIG_arg_fail(1)) SWIG_fail
;
34278 arg2
= (int)(SWIG_As_int(obj1
));
34279 if (SWIG_arg_fail(2)) SWIG_fail
;
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34285 wxPyEndAllowThreads(__tstate
);
34286 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34297 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34298 PyObject
*resultobj
;
34299 wxMenu
*arg1
= (wxMenu
*) 0 ;
34301 wxString
*arg3
= 0 ;
34302 bool temp3
= false ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 PyObject
* obj2
= 0 ;
34306 char *kwnames
[] = {
34307 (char *) "self",(char *) "id",(char *) "label", NULL
34310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34312 if (SWIG_arg_fail(1)) SWIG_fail
;
34314 arg2
= (int)(SWIG_As_int(obj1
));
34315 if (SWIG_arg_fail(2)) SWIG_fail
;
34318 arg3
= wxString_in_helper(obj2
);
34319 if (arg3
== NULL
) SWIG_fail
;
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34324 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34329 Py_INCREF(Py_None
); resultobj
= Py_None
;
34344 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
;
34346 wxMenu
*arg1
= (wxMenu
*) 0 ;
34349 PyObject
* obj0
= 0 ;
34350 PyObject
* obj1
= 0 ;
34351 char *kwnames
[] = {
34352 (char *) "self",(char *) "id", NULL
34355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34357 if (SWIG_arg_fail(1)) SWIG_fail
;
34359 arg2
= (int)(SWIG_As_int(obj1
));
34360 if (SWIG_arg_fail(2)) SWIG_fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34382 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
;
34384 wxMenu
*arg1
= (wxMenu
*) 0 ;
34386 wxString
*arg3
= 0 ;
34387 bool temp3
= false ;
34388 PyObject
* obj0
= 0 ;
34389 PyObject
* obj1
= 0 ;
34390 PyObject
* obj2
= 0 ;
34391 char *kwnames
[] = {
34392 (char *) "self",(char *) "id",(char *) "helpString", NULL
34395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34397 if (SWIG_arg_fail(1)) SWIG_fail
;
34399 arg2
= (int)(SWIG_As_int(obj1
));
34400 if (SWIG_arg_fail(2)) SWIG_fail
;
34403 arg3
= wxString_in_helper(obj2
);
34404 if (arg3
== NULL
) SWIG_fail
;
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34411 wxPyEndAllowThreads(__tstate
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34414 Py_INCREF(Py_None
); resultobj
= Py_None
;
34429 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34430 PyObject
*resultobj
;
34431 wxMenu
*arg1
= (wxMenu
*) 0 ;
34434 PyObject
* obj0
= 0 ;
34435 PyObject
* obj1
= 0 ;
34436 char *kwnames
[] = {
34437 (char *) "self",(char *) "id", NULL
34440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34442 if (SWIG_arg_fail(1)) SWIG_fail
;
34444 arg2
= (int)(SWIG_As_int(obj1
));
34445 if (SWIG_arg_fail(2)) SWIG_fail
;
34448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34449 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34451 wxPyEndAllowThreads(__tstate
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34467 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxMenu
*arg1
= (wxMenu
*) 0 ;
34470 wxString
*arg2
= 0 ;
34471 bool temp2
= false ;
34472 PyObject
* obj0
= 0 ;
34473 PyObject
* obj1
= 0 ;
34474 char *kwnames
[] = {
34475 (char *) "self",(char *) "title", NULL
34478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34480 if (SWIG_arg_fail(1)) SWIG_fail
;
34482 arg2
= wxString_in_helper(obj1
);
34483 if (arg2
== NULL
) SWIG_fail
;
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 (arg1
)->SetTitle((wxString
const &)*arg2
);
34490 wxPyEndAllowThreads(__tstate
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34493 Py_INCREF(Py_None
); resultobj
= Py_None
;
34508 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34509 PyObject
*resultobj
;
34510 wxMenu
*arg1
= (wxMenu
*) 0 ;
34512 PyObject
* obj0
= 0 ;
34513 char *kwnames
[] = {
34514 (char *) "self", NULL
34517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34519 if (SWIG_arg_fail(1)) SWIG_fail
;
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34522 result
= ((wxMenu
const *)arg1
)->GetTitle();
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34540 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
;
34542 wxMenu
*arg1
= (wxMenu
*) 0 ;
34543 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 char *kwnames
[] = {
34547 (char *) "self",(char *) "handler", NULL
34550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34552 if (SWIG_arg_fail(1)) SWIG_fail
;
34553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34554 if (SWIG_arg_fail(2)) SWIG_fail
;
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 (arg1
)->SetEventHandler(arg2
);
34559 wxPyEndAllowThreads(__tstate
);
34560 if (PyErr_Occurred()) SWIG_fail
;
34562 Py_INCREF(Py_None
); resultobj
= Py_None
;
34569 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
;
34571 wxMenu
*arg1
= (wxMenu
*) 0 ;
34572 wxEvtHandler
*result
;
34573 PyObject
* obj0
= 0 ;
34574 char *kwnames
[] = {
34575 (char *) "self", NULL
34578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34580 if (SWIG_arg_fail(1)) SWIG_fail
;
34582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34583 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34585 wxPyEndAllowThreads(__tstate
);
34586 if (PyErr_Occurred()) SWIG_fail
;
34589 resultobj
= wxPyMake_wxObject(result
, 0);
34597 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34598 PyObject
*resultobj
;
34599 wxMenu
*arg1
= (wxMenu
*) 0 ;
34600 wxWindow
*arg2
= (wxWindow
*) 0 ;
34601 PyObject
* obj0
= 0 ;
34602 PyObject
* obj1
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "self",(char *) "win", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34609 if (SWIG_arg_fail(1)) SWIG_fail
;
34610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34611 if (SWIG_arg_fail(2)) SWIG_fail
;
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 (arg1
)->SetInvokingWindow(arg2
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34619 Py_INCREF(Py_None
); resultobj
= Py_None
;
34626 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxMenu
*arg1
= (wxMenu
*) 0 ;
34630 PyObject
* obj0
= 0 ;
34631 char *kwnames
[] = {
34632 (char *) "self", NULL
34635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34637 if (SWIG_arg_fail(1)) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= wxPyMake_wxObject(result
, 0);
34654 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34655 PyObject
*resultobj
;
34656 wxMenu
*arg1
= (wxMenu
*) 0 ;
34658 PyObject
* obj0
= 0 ;
34659 char *kwnames
[] = {
34660 (char *) "self", NULL
34663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34665 if (SWIG_arg_fail(1)) SWIG_fail
;
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34670 wxPyEndAllowThreads(__tstate
);
34671 if (PyErr_Occurred()) SWIG_fail
;
34674 resultobj
= SWIG_From_long((long)(result
));
34682 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
;
34684 wxMenu
*arg1
= (wxMenu
*) 0 ;
34685 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34686 PyObject
* obj0
= 0 ;
34687 PyObject
* obj1
= 0 ;
34688 char *kwnames
[] = {
34689 (char *) "self",(char *) "source", NULL
34692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34694 if (SWIG_arg_fail(1)) SWIG_fail
;
34696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34697 if (SWIG_arg_fail(2)) SWIG_fail
;
34700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34701 (arg1
)->UpdateUI(arg2
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 Py_INCREF(Py_None
); resultobj
= Py_None
;
34713 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 wxMenu
*arg1
= (wxMenu
*) 0 ;
34717 PyObject
* obj0
= 0 ;
34718 char *kwnames
[] = {
34719 (char *) "self", NULL
34722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34724 if (SWIG_arg_fail(1)) SWIG_fail
;
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34727 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34729 wxPyEndAllowThreads(__tstate
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34733 resultobj
= wxPyMake_wxObject(result
, 0);
34741 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
;
34743 wxMenu
*arg1
= (wxMenu
*) 0 ;
34744 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34745 PyObject
* obj0
= 0 ;
34746 PyObject
* obj1
= 0 ;
34747 char *kwnames
[] = {
34748 (char *) "self",(char *) "menubar", NULL
34751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34753 if (SWIG_arg_fail(1)) SWIG_fail
;
34754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34755 if (SWIG_arg_fail(2)) SWIG_fail
;
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 (arg1
)->Attach(arg2
);
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 Py_INCREF(Py_None
); resultobj
= Py_None
;
34770 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
;
34772 wxMenu
*arg1
= (wxMenu
*) 0 ;
34773 PyObject
* obj0
= 0 ;
34774 char *kwnames
[] = {
34775 (char *) "self", NULL
34778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34780 if (SWIG_arg_fail(1)) SWIG_fail
;
34782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 Py_INCREF(Py_None
); resultobj
= Py_None
;
34795 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
;
34797 wxMenu
*arg1
= (wxMenu
*) 0 ;
34799 PyObject
* obj0
= 0 ;
34800 char *kwnames
[] = {
34801 (char *) "self", NULL
34804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34806 if (SWIG_arg_fail(1)) SWIG_fail
;
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34823 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34824 PyObject
*resultobj
;
34825 wxMenu
*arg1
= (wxMenu
*) 0 ;
34826 wxMenu
*arg2
= (wxMenu
*) 0 ;
34827 PyObject
* obj0
= 0 ;
34828 PyObject
* obj1
= 0 ;
34829 char *kwnames
[] = {
34830 (char *) "self",(char *) "parent", NULL
34833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34835 if (SWIG_arg_fail(1)) SWIG_fail
;
34836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34837 if (SWIG_arg_fail(2)) SWIG_fail
;
34839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34840 (arg1
)->SetParent(arg2
);
34842 wxPyEndAllowThreads(__tstate
);
34843 if (PyErr_Occurred()) SWIG_fail
;
34845 Py_INCREF(Py_None
); resultobj
= Py_None
;
34852 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34853 PyObject
*resultobj
;
34854 wxMenu
*arg1
= (wxMenu
*) 0 ;
34856 PyObject
* obj0
= 0 ;
34857 char *kwnames
[] = {
34858 (char *) "self", NULL
34861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34863 if (SWIG_arg_fail(1)) SWIG_fail
;
34865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34866 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34868 wxPyEndAllowThreads(__tstate
);
34869 if (PyErr_Occurred()) SWIG_fail
;
34872 resultobj
= wxPyMake_wxObject(result
, 0);
34880 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34883 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34885 return Py_BuildValue((char *)"");
34887 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34888 PyObject
*resultobj
;
34889 long arg1
= (long) 0 ;
34891 PyObject
* obj0
= 0 ;
34892 char *kwnames
[] = {
34893 (char *) "style", NULL
34896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34899 arg1
= (long)(SWIG_As_long(obj0
));
34900 if (SWIG_arg_fail(1)) SWIG_fail
;
34904 if (!wxPyCheckForApp()) SWIG_fail
;
34905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34906 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34918 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
;
34920 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34921 wxMenu
*arg2
= (wxMenu
*) 0 ;
34922 wxString
*arg3
= 0 ;
34924 bool temp3
= false ;
34925 PyObject
* obj0
= 0 ;
34926 PyObject
* obj1
= 0 ;
34927 PyObject
* obj2
= 0 ;
34928 char *kwnames
[] = {
34929 (char *) "self",(char *) "menu",(char *) "title", NULL
34932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34934 if (SWIG_arg_fail(1)) SWIG_fail
;
34935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34936 if (SWIG_arg_fail(2)) SWIG_fail
;
34938 arg3
= wxString_in_helper(obj2
);
34939 if (arg3
== NULL
) SWIG_fail
;
34943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34944 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34946 wxPyEndAllowThreads(__tstate
);
34947 if (PyErr_Occurred()) SWIG_fail
;
34950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34966 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34967 PyObject
*resultobj
;
34968 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34970 wxMenu
*arg3
= (wxMenu
*) 0 ;
34971 wxString
*arg4
= 0 ;
34973 bool temp4
= false ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 PyObject
* obj3
= 0 ;
34978 char *kwnames
[] = {
34979 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34984 if (SWIG_arg_fail(1)) SWIG_fail
;
34986 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34987 if (SWIG_arg_fail(2)) SWIG_fail
;
34989 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34990 if (SWIG_arg_fail(3)) SWIG_fail
;
34992 arg4
= wxString_in_helper(obj3
);
34993 if (arg4
== NULL
) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35020 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
;
35022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35024 PyObject
* obj0
= 0 ;
35025 char *kwnames
[] = {
35026 (char *) "self", NULL
35029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35031 if (SWIG_arg_fail(1)) SWIG_fail
;
35033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35034 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35040 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35048 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35049 PyObject
*resultobj
;
35050 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35053 PyObject
* obj0
= 0 ;
35054 PyObject
* obj1
= 0 ;
35055 char *kwnames
[] = {
35056 (char *) "self",(char *) "pos", NULL
35059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35061 if (SWIG_arg_fail(1)) SWIG_fail
;
35063 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35064 if (SWIG_arg_fail(2)) SWIG_fail
;
35067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35074 resultobj
= wxPyMake_wxObject(result
, 0);
35082 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35083 PyObject
*resultobj
;
35084 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35086 wxMenu
*arg3
= (wxMenu
*) 0 ;
35087 wxString
*arg4
= 0 ;
35089 bool temp4
= false ;
35090 PyObject
* obj0
= 0 ;
35091 PyObject
* obj1
= 0 ;
35092 PyObject
* obj2
= 0 ;
35093 PyObject
* obj3
= 0 ;
35094 char *kwnames
[] = {
35095 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35100 if (SWIG_arg_fail(1)) SWIG_fail
;
35102 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35103 if (SWIG_arg_fail(2)) SWIG_fail
;
35105 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35106 if (SWIG_arg_fail(3)) SWIG_fail
;
35108 arg4
= wxString_in_helper(obj3
);
35109 if (arg4
== NULL
) SWIG_fail
;
35113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35114 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= wxPyMake_wxObject(result
, 0);
35136 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
;
35138 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35141 PyObject
* obj0
= 0 ;
35142 PyObject
* obj1
= 0 ;
35143 char *kwnames
[] = {
35144 (char *) "self",(char *) "pos", NULL
35147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35149 if (SWIG_arg_fail(1)) SWIG_fail
;
35151 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35152 if (SWIG_arg_fail(2)) SWIG_fail
;
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35158 wxPyEndAllowThreads(__tstate
);
35159 if (PyErr_Occurred()) SWIG_fail
;
35162 resultobj
= wxPyMake_wxObject(result
, 0);
35170 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
;
35172 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35175 PyObject
* obj0
= 0 ;
35176 PyObject
* obj1
= 0 ;
35177 PyObject
* obj2
= 0 ;
35178 char *kwnames
[] = {
35179 (char *) "self",(char *) "pos",(char *) "enable", NULL
35182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35184 if (SWIG_arg_fail(1)) SWIG_fail
;
35186 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35187 if (SWIG_arg_fail(2)) SWIG_fail
;
35190 arg3
= (bool)(SWIG_As_bool(obj2
));
35191 if (SWIG_arg_fail(3)) SWIG_fail
;
35194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35195 (arg1
)->EnableTop(arg2
,arg3
);
35197 wxPyEndAllowThreads(__tstate
);
35198 if (PyErr_Occurred()) SWIG_fail
;
35200 Py_INCREF(Py_None
); resultobj
= Py_None
;
35207 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35208 PyObject
*resultobj
;
35209 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35212 PyObject
* obj0
= 0 ;
35213 PyObject
* obj1
= 0 ;
35214 char *kwnames
[] = {
35215 (char *) "self",(char *) "pos", NULL
35218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35220 if (SWIG_arg_fail(1)) SWIG_fail
;
35222 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35223 if (SWIG_arg_fail(2)) SWIG_fail
;
35226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35227 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35229 wxPyEndAllowThreads(__tstate
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35241 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35242 PyObject
*resultobj
;
35243 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35245 wxString
*arg3
= 0 ;
35246 bool temp3
= false ;
35247 PyObject
* obj0
= 0 ;
35248 PyObject
* obj1
= 0 ;
35249 PyObject
* obj2
= 0 ;
35250 char *kwnames
[] = {
35251 (char *) "self",(char *) "pos",(char *) "label", NULL
35254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35256 if (SWIG_arg_fail(1)) SWIG_fail
;
35258 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35259 if (SWIG_arg_fail(2)) SWIG_fail
;
35262 arg3
= wxString_in_helper(obj2
);
35263 if (arg3
== NULL
) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 Py_INCREF(Py_None
); resultobj
= Py_None
;
35288 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35289 PyObject
*resultobj
;
35290 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35293 PyObject
* obj0
= 0 ;
35294 PyObject
* obj1
= 0 ;
35295 char *kwnames
[] = {
35296 (char *) "self",(char *) "pos", NULL
35299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35301 if (SWIG_arg_fail(1)) SWIG_fail
;
35303 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35304 if (SWIG_arg_fail(2)) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35326 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
;
35328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35329 wxString
*arg2
= 0 ;
35330 wxString
*arg3
= 0 ;
35332 bool temp2
= false ;
35333 bool temp3
= false ;
35334 PyObject
* obj0
= 0 ;
35335 PyObject
* obj1
= 0 ;
35336 PyObject
* obj2
= 0 ;
35337 char *kwnames
[] = {
35338 (char *) "self",(char *) "menu",(char *) "item", NULL
35341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35343 if (SWIG_arg_fail(1)) SWIG_fail
;
35345 arg2
= wxString_in_helper(obj1
);
35346 if (arg2
== NULL
) SWIG_fail
;
35350 arg3
= wxString_in_helper(obj2
);
35351 if (arg3
== NULL
) SWIG_fail
;
35355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35356 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35358 wxPyEndAllowThreads(__tstate
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35362 resultobj
= SWIG_From_int((int)(result
));
35386 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35387 PyObject
*resultobj
;
35388 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35390 wxMenuItem
*result
;
35391 PyObject
* obj0
= 0 ;
35392 PyObject
* obj1
= 0 ;
35393 char *kwnames
[] = {
35394 (char *) "self",(char *) "id", NULL
35397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35399 if (SWIG_arg_fail(1)) SWIG_fail
;
35401 arg2
= (int)(SWIG_As_int(obj1
));
35402 if (SWIG_arg_fail(2)) SWIG_fail
;
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= wxPyMake_wxObject(result
, 0);
35420 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35421 PyObject
*resultobj
;
35422 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35423 wxString
*arg2
= 0 ;
35425 bool temp2
= false ;
35426 PyObject
* obj0
= 0 ;
35427 PyObject
* obj1
= 0 ;
35428 char *kwnames
[] = {
35429 (char *) "self",(char *) "title", NULL
35432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35434 if (SWIG_arg_fail(1)) SWIG_fail
;
35436 arg2
= wxString_in_helper(obj1
);
35437 if (arg2
== NULL
) SWIG_fail
;
35441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35442 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35444 wxPyEndAllowThreads(__tstate
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= SWIG_From_int((int)(result
));
35464 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35465 PyObject
*resultobj
;
35466 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35469 PyObject
* obj0
= 0 ;
35470 PyObject
* obj1
= 0 ;
35471 PyObject
* obj2
= 0 ;
35472 char *kwnames
[] = {
35473 (char *) "self",(char *) "id",(char *) "enable", NULL
35476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35478 if (SWIG_arg_fail(1)) SWIG_fail
;
35480 arg2
= (int)(SWIG_As_int(obj1
));
35481 if (SWIG_arg_fail(2)) SWIG_fail
;
35484 arg3
= (bool)(SWIG_As_bool(obj2
));
35485 if (SWIG_arg_fail(3)) SWIG_fail
;
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35489 (arg1
)->Enable(arg2
,arg3
);
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 Py_INCREF(Py_None
); resultobj
= Py_None
;
35501 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35502 PyObject
*resultobj
;
35503 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35506 PyObject
* obj0
= 0 ;
35507 PyObject
* obj1
= 0 ;
35508 PyObject
* obj2
= 0 ;
35509 char *kwnames
[] = {
35510 (char *) "self",(char *) "id",(char *) "check", NULL
35513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35515 if (SWIG_arg_fail(1)) SWIG_fail
;
35517 arg2
= (int)(SWIG_As_int(obj1
));
35518 if (SWIG_arg_fail(2)) SWIG_fail
;
35521 arg3
= (bool)(SWIG_As_bool(obj2
));
35522 if (SWIG_arg_fail(3)) SWIG_fail
;
35525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35526 (arg1
)->Check(arg2
,arg3
);
35528 wxPyEndAllowThreads(__tstate
);
35529 if (PyErr_Occurred()) SWIG_fail
;
35531 Py_INCREF(Py_None
); resultobj
= Py_None
;
35538 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
;
35540 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35543 PyObject
* obj0
= 0 ;
35544 PyObject
* obj1
= 0 ;
35545 char *kwnames
[] = {
35546 (char *) "self",(char *) "id", NULL
35549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35551 if (SWIG_arg_fail(1)) SWIG_fail
;
35553 arg2
= (int)(SWIG_As_int(obj1
));
35554 if (SWIG_arg_fail(2)) SWIG_fail
;
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35572 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35573 PyObject
*resultobj
;
35574 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35577 PyObject
* obj0
= 0 ;
35578 PyObject
* obj1
= 0 ;
35579 char *kwnames
[] = {
35580 (char *) "self",(char *) "id", NULL
35583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35585 if (SWIG_arg_fail(1)) SWIG_fail
;
35587 arg2
= (int)(SWIG_As_int(obj1
));
35588 if (SWIG_arg_fail(2)) SWIG_fail
;
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35606 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
;
35608 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35610 wxString
*arg3
= 0 ;
35611 bool temp3
= false ;
35612 PyObject
* obj0
= 0 ;
35613 PyObject
* obj1
= 0 ;
35614 PyObject
* obj2
= 0 ;
35615 char *kwnames
[] = {
35616 (char *) "self",(char *) "id",(char *) "label", NULL
35619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35621 if (SWIG_arg_fail(1)) SWIG_fail
;
35623 arg2
= (int)(SWIG_As_int(obj1
));
35624 if (SWIG_arg_fail(2)) SWIG_fail
;
35627 arg3
= wxString_in_helper(obj2
);
35628 if (arg3
== NULL
) SWIG_fail
;
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35638 Py_INCREF(Py_None
); resultobj
= Py_None
;
35653 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35654 PyObject
*resultobj
;
35655 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35658 PyObject
* obj0
= 0 ;
35659 PyObject
* obj1
= 0 ;
35660 char *kwnames
[] = {
35661 (char *) "self",(char *) "id", NULL
35664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35666 if (SWIG_arg_fail(1)) SWIG_fail
;
35668 arg2
= (int)(SWIG_As_int(obj1
));
35669 if (SWIG_arg_fail(2)) SWIG_fail
;
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35675 wxPyEndAllowThreads(__tstate
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35691 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35692 PyObject
*resultobj
;
35693 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35695 wxString
*arg3
= 0 ;
35696 bool temp3
= false ;
35697 PyObject
* obj0
= 0 ;
35698 PyObject
* obj1
= 0 ;
35699 PyObject
* obj2
= 0 ;
35700 char *kwnames
[] = {
35701 (char *) "self",(char *) "id",(char *) "helpString", NULL
35704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35706 if (SWIG_arg_fail(1)) SWIG_fail
;
35708 arg2
= (int)(SWIG_As_int(obj1
));
35709 if (SWIG_arg_fail(2)) SWIG_fail
;
35712 arg3
= wxString_in_helper(obj2
);
35713 if (arg3
== NULL
) SWIG_fail
;
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 Py_INCREF(Py_None
); resultobj
= Py_None
;
35738 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35739 PyObject
*resultobj
;
35740 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35743 PyObject
* obj0
= 0 ;
35744 PyObject
* obj1
= 0 ;
35745 char *kwnames
[] = {
35746 (char *) "self",(char *) "id", NULL
35749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35751 if (SWIG_arg_fail(1)) SWIG_fail
;
35753 arg2
= (int)(SWIG_As_int(obj1
));
35754 if (SWIG_arg_fail(2)) SWIG_fail
;
35757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35758 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35760 wxPyEndAllowThreads(__tstate
);
35761 if (PyErr_Occurred()) SWIG_fail
;
35765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35776 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35777 PyObject
*resultobj
;
35778 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35780 PyObject
* obj0
= 0 ;
35781 char *kwnames
[] = {
35782 (char *) "self", NULL
35785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35787 if (SWIG_arg_fail(1)) SWIG_fail
;
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35792 wxPyEndAllowThreads(__tstate
);
35793 if (PyErr_Occurred()) SWIG_fail
;
35796 resultobj
= wxPyMake_wxObject(result
, 0);
35804 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35805 PyObject
*resultobj
;
35806 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35808 PyObject
* obj0
= 0 ;
35809 char *kwnames
[] = {
35810 (char *) "self", NULL
35813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35815 if (SWIG_arg_fail(1)) SWIG_fail
;
35817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35818 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35820 wxPyEndAllowThreads(__tstate
);
35821 if (PyErr_Occurred()) SWIG_fail
;
35824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35832 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35833 PyObject
*resultobj
;
35834 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35835 wxFrame
*arg2
= (wxFrame
*) 0 ;
35836 PyObject
* obj0
= 0 ;
35837 PyObject
* obj1
= 0 ;
35838 char *kwnames
[] = {
35839 (char *) "self",(char *) "frame", NULL
35842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35844 if (SWIG_arg_fail(1)) SWIG_fail
;
35845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35846 if (SWIG_arg_fail(2)) SWIG_fail
;
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 (arg1
)->Attach(arg2
);
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 Py_INCREF(Py_None
); resultobj
= Py_None
;
35861 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
;
35863 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35864 PyObject
* obj0
= 0 ;
35865 char *kwnames
[] = {
35866 (char *) "self", NULL
35869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35871 if (SWIG_arg_fail(1)) SWIG_fail
;
35873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35879 Py_INCREF(Py_None
); resultobj
= Py_None
;
35886 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35889 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35891 return Py_BuildValue((char *)"");
35893 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35894 PyObject
*resultobj
;
35895 wxMenu
*arg1
= (wxMenu
*) NULL
;
35896 int arg2
= (int) wxID_ANY
;
35897 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35899 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35900 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35901 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35902 wxMenu
*arg6
= (wxMenu
*) NULL
;
35903 wxMenuItem
*result
;
35904 bool temp3
= false ;
35905 bool temp4
= false ;
35906 PyObject
* obj0
= 0 ;
35907 PyObject
* obj1
= 0 ;
35908 PyObject
* obj2
= 0 ;
35909 PyObject
* obj3
= 0 ;
35910 PyObject
* obj4
= 0 ;
35911 PyObject
* obj5
= 0 ;
35912 char *kwnames
[] = {
35913 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35919 if (SWIG_arg_fail(1)) SWIG_fail
;
35923 arg2
= (int)(SWIG_As_int(obj1
));
35924 if (SWIG_arg_fail(2)) SWIG_fail
;
35929 arg3
= wxString_in_helper(obj2
);
35930 if (arg3
== NULL
) SWIG_fail
;
35936 arg4
= wxString_in_helper(obj3
);
35937 if (arg4
== NULL
) SWIG_fail
;
35943 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35944 if (SWIG_arg_fail(5)) SWIG_fail
;
35948 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35949 if (SWIG_arg_fail(6)) SWIG_fail
;
35952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35953 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35955 wxPyEndAllowThreads(__tstate
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= wxPyMake_wxObject(result
, 1);
35983 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
;
35985 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35987 PyObject
* obj0
= 0 ;
35988 char *kwnames
[] = {
35989 (char *) "self", NULL
35992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35994 if (SWIG_arg_fail(1)) SWIG_fail
;
35996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35997 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36003 resultobj
= wxPyMake_wxObject(result
, 0);
36011 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36012 PyObject
*resultobj
;
36013 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36014 wxMenu
*arg2
= (wxMenu
*) 0 ;
36015 PyObject
* obj0
= 0 ;
36016 PyObject
* obj1
= 0 ;
36017 char *kwnames
[] = {
36018 (char *) "self",(char *) "menu", NULL
36021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36023 if (SWIG_arg_fail(1)) SWIG_fail
;
36024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36025 if (SWIG_arg_fail(2)) SWIG_fail
;
36027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36028 (arg1
)->SetMenu(arg2
);
36030 wxPyEndAllowThreads(__tstate
);
36031 if (PyErr_Occurred()) SWIG_fail
;
36033 Py_INCREF(Py_None
); resultobj
= Py_None
;
36040 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36041 PyObject
*resultobj
;
36042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36044 PyObject
* obj0
= 0 ;
36045 PyObject
* obj1
= 0 ;
36046 char *kwnames
[] = {
36047 (char *) "self",(char *) "id", NULL
36050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36052 if (SWIG_arg_fail(1)) SWIG_fail
;
36054 arg2
= (int)(SWIG_As_int(obj1
));
36055 if (SWIG_arg_fail(2)) SWIG_fail
;
36058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36059 (arg1
)->SetId(arg2
);
36061 wxPyEndAllowThreads(__tstate
);
36062 if (PyErr_Occurred()) SWIG_fail
;
36064 Py_INCREF(Py_None
); resultobj
= Py_None
;
36071 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36072 PyObject
*resultobj
;
36073 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36075 PyObject
* obj0
= 0 ;
36076 char *kwnames
[] = {
36077 (char *) "self", NULL
36080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36082 if (SWIG_arg_fail(1)) SWIG_fail
;
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36087 wxPyEndAllowThreads(__tstate
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36091 resultobj
= SWIG_From_int((int)(result
));
36099 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36100 PyObject
*resultobj
;
36101 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36103 PyObject
* obj0
= 0 ;
36104 char *kwnames
[] = {
36105 (char *) "self", NULL
36108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36110 if (SWIG_arg_fail(1)) SWIG_fail
;
36112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36113 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36115 wxPyEndAllowThreads(__tstate
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36127 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
;
36129 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36130 wxString
*arg2
= 0 ;
36131 bool temp2
= false ;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 char *kwnames
[] = {
36135 (char *) "self",(char *) "str", NULL
36138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36140 if (SWIG_arg_fail(1)) SWIG_fail
;
36142 arg2
= wxString_in_helper(obj1
);
36143 if (arg2
== NULL
) SWIG_fail
;
36147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36148 (arg1
)->SetText((wxString
const &)*arg2
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 Py_INCREF(Py_None
); resultobj
= Py_None
;
36168 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
;
36170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36172 PyObject
* obj0
= 0 ;
36173 char *kwnames
[] = {
36174 (char *) "self", NULL
36177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36179 if (SWIG_arg_fail(1)) SWIG_fail
;
36181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36184 wxPyEndAllowThreads(__tstate
);
36185 if (PyErr_Occurred()) SWIG_fail
;
36189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36200 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36201 PyObject
*resultobj
;
36202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36204 PyObject
* obj0
= 0 ;
36205 char *kwnames
[] = {
36206 (char *) "self", NULL
36209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36211 if (SWIG_arg_fail(1)) SWIG_fail
;
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36215 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36216 result
= (wxString
*) &_result_ref
;
36219 wxPyEndAllowThreads(__tstate
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36235 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
;
36237 wxString
*arg1
= 0 ;
36239 bool temp1
= false ;
36240 PyObject
* obj0
= 0 ;
36241 char *kwnames
[] = {
36242 (char *) "text", NULL
36245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36247 arg1
= wxString_in_helper(obj0
);
36248 if (arg1
== NULL
) SWIG_fail
;
36252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36253 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36255 wxPyEndAllowThreads(__tstate
);
36256 if (PyErr_Occurred()) SWIG_fail
;
36260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36279 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
;
36281 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36283 PyObject
* obj0
= 0 ;
36284 char *kwnames
[] = {
36285 (char *) "self", NULL
36288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36290 if (SWIG_arg_fail(1)) SWIG_fail
;
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36298 resultobj
= SWIG_From_int((result
));
36305 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36306 PyObject
*resultobj
;
36307 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36309 PyObject
* obj0
= 0 ;
36310 PyObject
* obj1
= 0 ;
36311 char *kwnames
[] = {
36312 (char *) "self",(char *) "kind", NULL
36315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36317 if (SWIG_arg_fail(1)) SWIG_fail
;
36319 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36320 if (SWIG_arg_fail(2)) SWIG_fail
;
36323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36324 (arg1
)->SetKind((wxItemKind
)arg2
);
36326 wxPyEndAllowThreads(__tstate
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36329 Py_INCREF(Py_None
); resultobj
= Py_None
;
36336 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36337 PyObject
*resultobj
;
36338 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36340 PyObject
* obj0
= 0 ;
36341 PyObject
* obj1
= 0 ;
36342 char *kwnames
[] = {
36343 (char *) "self",(char *) "checkable", NULL
36346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36348 if (SWIG_arg_fail(1)) SWIG_fail
;
36350 arg2
= (bool)(SWIG_As_bool(obj1
));
36351 if (SWIG_arg_fail(2)) SWIG_fail
;
36354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36355 (arg1
)->SetCheckable(arg2
);
36357 wxPyEndAllowThreads(__tstate
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 Py_INCREF(Py_None
); resultobj
= Py_None
;
36367 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
;
36369 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36371 PyObject
* obj0
= 0 ;
36372 char *kwnames
[] = {
36373 (char *) "self", NULL
36376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36378 if (SWIG_arg_fail(1)) SWIG_fail
;
36380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36381 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36383 wxPyEndAllowThreads(__tstate
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36395 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36396 PyObject
*resultobj
;
36397 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36399 PyObject
* obj0
= 0 ;
36400 char *kwnames
[] = {
36401 (char *) "self", NULL
36404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36406 if (SWIG_arg_fail(1)) SWIG_fail
;
36408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36409 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36411 wxPyEndAllowThreads(__tstate
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36423 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36424 PyObject
*resultobj
;
36425 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36426 wxMenu
*arg2
= (wxMenu
*) 0 ;
36427 PyObject
* obj0
= 0 ;
36428 PyObject
* obj1
= 0 ;
36429 char *kwnames
[] = {
36430 (char *) "self",(char *) "menu", NULL
36433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36435 if (SWIG_arg_fail(1)) SWIG_fail
;
36436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36437 if (SWIG_arg_fail(2)) SWIG_fail
;
36439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36440 (arg1
)->SetSubMenu(arg2
);
36442 wxPyEndAllowThreads(__tstate
);
36443 if (PyErr_Occurred()) SWIG_fail
;
36445 Py_INCREF(Py_None
); resultobj
= Py_None
;
36452 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
;
36454 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36456 PyObject
* obj0
= 0 ;
36457 char *kwnames
[] = {
36458 (char *) "self", NULL
36461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36463 if (SWIG_arg_fail(1)) SWIG_fail
;
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36468 wxPyEndAllowThreads(__tstate
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36472 resultobj
= wxPyMake_wxObject(result
, 0);
36480 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36481 PyObject
*resultobj
;
36482 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36483 bool arg2
= (bool) true ;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 char *kwnames
[] = {
36487 (char *) "self",(char *) "enable", NULL
36490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36492 if (SWIG_arg_fail(1)) SWIG_fail
;
36495 arg2
= (bool)(SWIG_As_bool(obj1
));
36496 if (SWIG_arg_fail(2)) SWIG_fail
;
36500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36501 (arg1
)->Enable(arg2
);
36503 wxPyEndAllowThreads(__tstate
);
36504 if (PyErr_Occurred()) SWIG_fail
;
36506 Py_INCREF(Py_None
); resultobj
= Py_None
;
36513 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36514 PyObject
*resultobj
;
36515 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36517 PyObject
* obj0
= 0 ;
36518 char *kwnames
[] = {
36519 (char *) "self", NULL
36522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36524 if (SWIG_arg_fail(1)) SWIG_fail
;
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36529 wxPyEndAllowThreads(__tstate
);
36530 if (PyErr_Occurred()) SWIG_fail
;
36533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36541 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36542 PyObject
*resultobj
;
36543 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36544 bool arg2
= (bool) true ;
36545 PyObject
* obj0
= 0 ;
36546 PyObject
* obj1
= 0 ;
36547 char *kwnames
[] = {
36548 (char *) "self",(char *) "check", NULL
36551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36553 if (SWIG_arg_fail(1)) SWIG_fail
;
36556 arg2
= (bool)(SWIG_As_bool(obj1
));
36557 if (SWIG_arg_fail(2)) SWIG_fail
;
36561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36562 (arg1
)->Check(arg2
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 Py_INCREF(Py_None
); resultobj
= Py_None
;
36574 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
;
36576 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36578 PyObject
* obj0
= 0 ;
36579 char *kwnames
[] = {
36580 (char *) "self", NULL
36583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36585 if (SWIG_arg_fail(1)) SWIG_fail
;
36587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36588 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36590 wxPyEndAllowThreads(__tstate
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36602 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36603 PyObject
*resultobj
;
36604 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36605 PyObject
* obj0
= 0 ;
36606 char *kwnames
[] = {
36607 (char *) "self", NULL
36610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36612 if (SWIG_arg_fail(1)) SWIG_fail
;
36614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 Py_INCREF(Py_None
); resultobj
= Py_None
;
36627 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
;
36629 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36630 wxString
*arg2
= 0 ;
36631 bool temp2
= false ;
36632 PyObject
* obj0
= 0 ;
36633 PyObject
* obj1
= 0 ;
36634 char *kwnames
[] = {
36635 (char *) "self",(char *) "str", NULL
36638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36640 if (SWIG_arg_fail(1)) SWIG_fail
;
36642 arg2
= wxString_in_helper(obj1
);
36643 if (arg2
== NULL
) SWIG_fail
;
36647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36648 (arg1
)->SetHelp((wxString
const &)*arg2
);
36650 wxPyEndAllowThreads(__tstate
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36653 Py_INCREF(Py_None
); resultobj
= Py_None
;
36668 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36669 PyObject
*resultobj
;
36670 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36672 PyObject
* obj0
= 0 ;
36673 char *kwnames
[] = {
36674 (char *) "self", NULL
36677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36679 if (SWIG_arg_fail(1)) SWIG_fail
;
36681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36683 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36684 result
= (wxString
*) &_result_ref
;
36687 wxPyEndAllowThreads(__tstate
);
36688 if (PyErr_Occurred()) SWIG_fail
;
36692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36703 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36704 PyObject
*resultobj
;
36705 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36706 wxAcceleratorEntry
*result
;
36707 PyObject
* obj0
= 0 ;
36708 char *kwnames
[] = {
36709 (char *) "self", NULL
36712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36714 if (SWIG_arg_fail(1)) SWIG_fail
;
36716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36717 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36719 wxPyEndAllowThreads(__tstate
);
36720 if (PyErr_Occurred()) SWIG_fail
;
36722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36729 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36730 PyObject
*resultobj
;
36731 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36732 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36733 PyObject
* obj0
= 0 ;
36734 PyObject
* obj1
= 0 ;
36735 char *kwnames
[] = {
36736 (char *) "self",(char *) "accel", NULL
36739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36741 if (SWIG_arg_fail(1)) SWIG_fail
;
36742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36743 if (SWIG_arg_fail(2)) SWIG_fail
;
36745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36746 (arg1
)->SetAccel(arg2
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 Py_INCREF(Py_None
); resultobj
= Py_None
;
36758 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
;
36760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36762 PyObject
* obj0
= 0 ;
36763 PyObject
* obj1
= 0 ;
36764 char *kwnames
[] = {
36765 (char *) "self",(char *) "font", NULL
36768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36770 if (SWIG_arg_fail(1)) SWIG_fail
;
36772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36773 if (SWIG_arg_fail(2)) SWIG_fail
;
36774 if (arg2
== NULL
) {
36775 SWIG_null_ref("wxFont");
36777 if (SWIG_arg_fail(2)) SWIG_fail
;
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36783 wxPyEndAllowThreads(__tstate
);
36784 if (PyErr_Occurred()) SWIG_fail
;
36786 Py_INCREF(Py_None
); resultobj
= Py_None
;
36793 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36794 PyObject
*resultobj
;
36795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36797 PyObject
* obj0
= 0 ;
36798 char *kwnames
[] = {
36799 (char *) "self", NULL
36802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36804 if (SWIG_arg_fail(1)) SWIG_fail
;
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 result
= wxMenuItem_GetFont(arg1
);
36809 wxPyEndAllowThreads(__tstate
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36813 wxFont
* resultptr
;
36814 resultptr
= new wxFont((wxFont
&)(result
));
36815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36823 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36824 PyObject
*resultobj
;
36825 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36826 wxColour
*arg2
= 0 ;
36828 PyObject
* obj0
= 0 ;
36829 PyObject
* obj1
= 0 ;
36830 char *kwnames
[] = {
36831 (char *) "self",(char *) "colText", NULL
36834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36836 if (SWIG_arg_fail(1)) SWIG_fail
;
36839 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36843 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36845 wxPyEndAllowThreads(__tstate
);
36846 if (PyErr_Occurred()) SWIG_fail
;
36848 Py_INCREF(Py_None
); resultobj
= Py_None
;
36855 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36856 PyObject
*resultobj
;
36857 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36859 PyObject
* obj0
= 0 ;
36860 char *kwnames
[] = {
36861 (char *) "self", NULL
36864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36866 if (SWIG_arg_fail(1)) SWIG_fail
;
36868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36869 result
= wxMenuItem_GetTextColour(arg1
);
36871 wxPyEndAllowThreads(__tstate
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36875 wxColour
* resultptr
;
36876 resultptr
= new wxColour((wxColour
&)(result
));
36877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36885 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
;
36887 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36888 wxColour
*arg2
= 0 ;
36890 PyObject
* obj0
= 0 ;
36891 PyObject
* obj1
= 0 ;
36892 char *kwnames
[] = {
36893 (char *) "self",(char *) "colBack", NULL
36896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36898 if (SWIG_arg_fail(1)) SWIG_fail
;
36901 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36905 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36910 Py_INCREF(Py_None
); resultobj
= Py_None
;
36917 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36918 PyObject
*resultobj
;
36919 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36921 PyObject
* obj0
= 0 ;
36922 char *kwnames
[] = {
36923 (char *) "self", NULL
36926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36928 if (SWIG_arg_fail(1)) SWIG_fail
;
36930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36931 result
= wxMenuItem_GetBackgroundColour(arg1
);
36933 wxPyEndAllowThreads(__tstate
);
36934 if (PyErr_Occurred()) SWIG_fail
;
36937 wxColour
* resultptr
;
36938 resultptr
= new wxColour((wxColour
&)(result
));
36939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36947 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36948 PyObject
*resultobj
;
36949 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36950 wxBitmap
*arg2
= 0 ;
36951 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36952 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36953 PyObject
* obj0
= 0 ;
36954 PyObject
* obj1
= 0 ;
36955 PyObject
* obj2
= 0 ;
36956 char *kwnames
[] = {
36957 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36962 if (SWIG_arg_fail(1)) SWIG_fail
;
36964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36965 if (SWIG_arg_fail(2)) SWIG_fail
;
36966 if (arg2
== NULL
) {
36967 SWIG_null_ref("wxBitmap");
36969 if (SWIG_arg_fail(2)) SWIG_fail
;
36973 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36974 if (SWIG_arg_fail(3)) SWIG_fail
;
36975 if (arg3
== NULL
) {
36976 SWIG_null_ref("wxBitmap");
36978 if (SWIG_arg_fail(3)) SWIG_fail
;
36982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36983 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36985 wxPyEndAllowThreads(__tstate
);
36986 if (PyErr_Occurred()) SWIG_fail
;
36988 Py_INCREF(Py_None
); resultobj
= Py_None
;
36995 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36996 PyObject
*resultobj
;
36997 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36998 wxBitmap
*arg2
= 0 ;
36999 PyObject
* obj0
= 0 ;
37000 PyObject
* obj1
= 0 ;
37001 char *kwnames
[] = {
37002 (char *) "self",(char *) "bmpDisabled", NULL
37005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37007 if (SWIG_arg_fail(1)) SWIG_fail
;
37009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37010 if (SWIG_arg_fail(2)) SWIG_fail
;
37011 if (arg2
== NULL
) {
37012 SWIG_null_ref("wxBitmap");
37014 if (SWIG_arg_fail(2)) SWIG_fail
;
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37023 Py_INCREF(Py_None
); resultobj
= Py_None
;
37030 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37031 PyObject
*resultobj
;
37032 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37034 PyObject
* obj0
= 0 ;
37035 char *kwnames
[] = {
37036 (char *) "self", NULL
37039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37041 if (SWIG_arg_fail(1)) SWIG_fail
;
37043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37046 result
= (wxBitmap
*) &_result_ref
;
37049 wxPyEndAllowThreads(__tstate
);
37050 if (PyErr_Occurred()) SWIG_fail
;
37053 wxBitmap
* resultptr
= new wxBitmap(*result
);
37054 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37062 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37063 PyObject
*resultobj
;
37064 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37066 PyObject
* obj0
= 0 ;
37067 PyObject
* obj1
= 0 ;
37068 char *kwnames
[] = {
37069 (char *) "self",(char *) "nWidth", NULL
37072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37074 if (SWIG_arg_fail(1)) SWIG_fail
;
37076 arg2
= (int)(SWIG_As_int(obj1
));
37077 if (SWIG_arg_fail(2)) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 Py_INCREF(Py_None
); resultobj
= Py_None
;
37093 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37094 PyObject
*resultobj
;
37095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37097 PyObject
* obj0
= 0 ;
37098 char *kwnames
[] = {
37099 (char *) "self", NULL
37102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37104 if (SWIG_arg_fail(1)) SWIG_fail
;
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= SWIG_From_int((int)(result
));
37121 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37122 PyObject
*resultobj
;
37124 char *kwnames
[] = {
37128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37131 result
= (int)MenuItem_GetDefaultMarginWidth();
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37137 resultobj
= SWIG_From_int((int)(result
));
37145 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
;
37147 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37149 PyObject
* obj0
= 0 ;
37150 char *kwnames
[] = {
37151 (char *) "self", NULL
37154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37156 if (SWIG_arg_fail(1)) SWIG_fail
;
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37173 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37174 PyObject
*resultobj
;
37175 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37176 bool arg2
= (bool) true ;
37177 PyObject
* obj0
= 0 ;
37178 PyObject
* obj1
= 0 ;
37179 char *kwnames
[] = {
37180 (char *) "self",(char *) "ownerDrawn", NULL
37183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37185 if (SWIG_arg_fail(1)) SWIG_fail
;
37188 arg2
= (bool)(SWIG_As_bool(obj1
));
37189 if (SWIG_arg_fail(2)) SWIG_fail
;
37193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37194 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37196 wxPyEndAllowThreads(__tstate
);
37197 if (PyErr_Occurred()) SWIG_fail
;
37199 Py_INCREF(Py_None
); resultobj
= Py_None
;
37206 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37207 PyObject
*resultobj
;
37208 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37209 PyObject
* obj0
= 0 ;
37210 char *kwnames
[] = {
37211 (char *) "self", NULL
37214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37216 if (SWIG_arg_fail(1)) SWIG_fail
;
37218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37219 wxMenuItem_ResetOwnerDrawn(arg1
);
37221 wxPyEndAllowThreads(__tstate
);
37222 if (PyErr_Occurred()) SWIG_fail
;
37224 Py_INCREF(Py_None
); resultobj
= Py_None
;
37231 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37232 PyObject
*resultobj
;
37233 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37234 wxBitmap
*arg2
= 0 ;
37235 PyObject
* obj0
= 0 ;
37236 PyObject
* obj1
= 0 ;
37237 char *kwnames
[] = {
37238 (char *) "self",(char *) "bitmap", NULL
37241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37243 if (SWIG_arg_fail(1)) SWIG_fail
;
37245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37246 if (SWIG_arg_fail(2)) SWIG_fail
;
37247 if (arg2
== NULL
) {
37248 SWIG_null_ref("wxBitmap");
37250 if (SWIG_arg_fail(2)) SWIG_fail
;
37253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37254 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37256 wxPyEndAllowThreads(__tstate
);
37257 if (PyErr_Occurred()) SWIG_fail
;
37259 Py_INCREF(Py_None
); resultobj
= Py_None
;
37266 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37267 PyObject
*resultobj
;
37268 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37270 PyObject
* obj0
= 0 ;
37271 char *kwnames
[] = {
37272 (char *) "self", NULL
37275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37277 if (SWIG_arg_fail(1)) SWIG_fail
;
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37281 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37282 result
= (wxBitmap
*) &_result_ref
;
37285 wxPyEndAllowThreads(__tstate
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37289 wxBitmap
* resultptr
= new wxBitmap(*result
);
37290 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37298 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37301 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37303 return Py_BuildValue((char *)"");
37305 static int _wrap_ControlNameStr_set(PyObject
*) {
37306 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37311 static PyObject
*_wrap_ControlNameStr_get(void) {
37316 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37318 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37325 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
;
37327 wxWindow
*arg1
= (wxWindow
*) 0 ;
37328 int arg2
= (int) -1 ;
37329 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37330 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37331 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37332 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37333 long arg5
= (long) 0 ;
37334 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37335 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37336 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37341 bool temp7
= false ;
37342 PyObject
* obj0
= 0 ;
37343 PyObject
* obj1
= 0 ;
37344 PyObject
* obj2
= 0 ;
37345 PyObject
* obj3
= 0 ;
37346 PyObject
* obj4
= 0 ;
37347 PyObject
* obj5
= 0 ;
37348 PyObject
* obj6
= 0 ;
37349 char *kwnames
[] = {
37350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37355 if (SWIG_arg_fail(1)) SWIG_fail
;
37358 arg2
= (int)(SWIG_As_int(obj1
));
37359 if (SWIG_arg_fail(2)) SWIG_fail
;
37365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37376 arg5
= (long)(SWIG_As_long(obj4
));
37377 if (SWIG_arg_fail(5)) SWIG_fail
;
37382 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37383 if (SWIG_arg_fail(6)) SWIG_fail
;
37384 if (arg6
== NULL
) {
37385 SWIG_null_ref("wxValidator");
37387 if (SWIG_arg_fail(6)) SWIG_fail
;
37392 arg7
= wxString_in_helper(obj6
);
37393 if (arg7
== NULL
) SWIG_fail
;
37398 if (!wxPyCheckForApp()) SWIG_fail
;
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37402 wxPyEndAllowThreads(__tstate
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37420 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37421 PyObject
*resultobj
;
37423 char *kwnames
[] = {
37427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37429 if (!wxPyCheckForApp()) SWIG_fail
;
37430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37431 result
= (wxControl
*)new wxControl();
37433 wxPyEndAllowThreads(__tstate
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37443 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
;
37445 wxControl
*arg1
= (wxControl
*) 0 ;
37446 wxWindow
*arg2
= (wxWindow
*) 0 ;
37447 int arg3
= (int) -1 ;
37448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37452 long arg6
= (long) 0 ;
37453 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37454 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37455 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37456 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37460 bool temp8
= false ;
37461 PyObject
* obj0
= 0 ;
37462 PyObject
* obj1
= 0 ;
37463 PyObject
* obj2
= 0 ;
37464 PyObject
* obj3
= 0 ;
37465 PyObject
* obj4
= 0 ;
37466 PyObject
* obj5
= 0 ;
37467 PyObject
* obj6
= 0 ;
37468 PyObject
* obj7
= 0 ;
37469 char *kwnames
[] = {
37470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37475 if (SWIG_arg_fail(1)) SWIG_fail
;
37476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37477 if (SWIG_arg_fail(2)) SWIG_fail
;
37480 arg3
= (int)(SWIG_As_int(obj2
));
37481 if (SWIG_arg_fail(3)) SWIG_fail
;
37487 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37493 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37498 arg6
= (long)(SWIG_As_long(obj5
));
37499 if (SWIG_arg_fail(6)) SWIG_fail
;
37504 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37505 if (SWIG_arg_fail(7)) SWIG_fail
;
37506 if (arg7
== NULL
) {
37507 SWIG_null_ref("wxValidator");
37509 if (SWIG_arg_fail(7)) SWIG_fail
;
37514 arg8
= wxString_in_helper(obj7
);
37515 if (arg8
== NULL
) SWIG_fail
;
37520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37543 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37544 PyObject
*resultobj
;
37545 wxControl
*arg1
= (wxControl
*) 0 ;
37546 wxCommandEvent
*arg2
= 0 ;
37547 PyObject
* obj0
= 0 ;
37548 PyObject
* obj1
= 0 ;
37549 char *kwnames
[] = {
37550 (char *) "self",(char *) "event", NULL
37553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37555 if (SWIG_arg_fail(1)) SWIG_fail
;
37557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37558 if (SWIG_arg_fail(2)) SWIG_fail
;
37559 if (arg2
== NULL
) {
37560 SWIG_null_ref("wxCommandEvent");
37562 if (SWIG_arg_fail(2)) SWIG_fail
;
37565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37566 (arg1
)->Command(*arg2
);
37568 wxPyEndAllowThreads(__tstate
);
37569 if (PyErr_Occurred()) SWIG_fail
;
37571 Py_INCREF(Py_None
); resultobj
= Py_None
;
37578 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
;
37580 wxControl
*arg1
= (wxControl
*) 0 ;
37582 PyObject
* obj0
= 0 ;
37583 char *kwnames
[] = {
37584 (char *) "self", NULL
37587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37589 if (SWIG_arg_fail(1)) SWIG_fail
;
37591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37592 result
= (arg1
)->GetLabel();
37594 wxPyEndAllowThreads(__tstate
);
37595 if (PyErr_Occurred()) SWIG_fail
;
37599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37610 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37611 PyObject
*resultobj
;
37612 wxControl
*arg1
= (wxControl
*) 0 ;
37613 wxString
*arg2
= 0 ;
37614 bool temp2
= false ;
37615 PyObject
* obj0
= 0 ;
37616 PyObject
* obj1
= 0 ;
37617 char *kwnames
[] = {
37618 (char *) "self",(char *) "label", NULL
37621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37623 if (SWIG_arg_fail(1)) SWIG_fail
;
37625 arg2
= wxString_in_helper(obj1
);
37626 if (arg2
== NULL
) SWIG_fail
;
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 (arg1
)->SetLabel((wxString
const &)*arg2
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37636 Py_INCREF(Py_None
); resultobj
= Py_None
;
37651 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37652 PyObject
*resultobj
;
37653 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37654 wxVisualAttributes result
;
37655 PyObject
* obj0
= 0 ;
37656 char *kwnames
[] = {
37657 (char *) "variant", NULL
37660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37663 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37664 if (SWIG_arg_fail(1)) SWIG_fail
;
37668 if (!wxPyCheckForApp()) SWIG_fail
;
37669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37670 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37672 wxPyEndAllowThreads(__tstate
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37676 wxVisualAttributes
* resultptr
;
37677 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37686 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37689 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37691 return Py_BuildValue((char *)"");
37693 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37694 PyObject
*resultobj
;
37695 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37696 wxString
*arg2
= 0 ;
37697 PyObject
*arg3
= (PyObject
*) NULL
;
37699 bool temp2
= false ;
37700 PyObject
* obj0
= 0 ;
37701 PyObject
* obj1
= 0 ;
37702 PyObject
* obj2
= 0 ;
37703 char *kwnames
[] = {
37704 (char *) "self",(char *) "item",(char *) "clientData", NULL
37707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37709 if (SWIG_arg_fail(1)) SWIG_fail
;
37711 arg2
= wxString_in_helper(obj1
);
37712 if (arg2
== NULL
) SWIG_fail
;
37719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37720 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37722 wxPyEndAllowThreads(__tstate
);
37723 if (PyErr_Occurred()) SWIG_fail
;
37726 resultobj
= SWIG_From_int((int)(result
));
37742 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37743 PyObject
*resultobj
;
37744 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37745 wxArrayString
*arg2
= 0 ;
37746 bool temp2
= false ;
37747 PyObject
* obj0
= 0 ;
37748 PyObject
* obj1
= 0 ;
37749 char *kwnames
[] = {
37750 (char *) "self",(char *) "strings", NULL
37753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37755 if (SWIG_arg_fail(1)) SWIG_fail
;
37757 if (! PySequence_Check(obj1
)) {
37758 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37761 arg2
= new wxArrayString
;
37763 int i
, len
=PySequence_Length(obj1
);
37764 for (i
=0; i
<len
; i
++) {
37765 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37767 PyObject
* str
= PyObject_Unicode(item
);
37769 PyObject
* str
= PyObject_Str(item
);
37771 if (PyErr_Occurred()) SWIG_fail
;
37772 arg2
->Add(Py2wxString(str
));
37778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37779 (arg1
)->Append((wxArrayString
const &)*arg2
);
37781 wxPyEndAllowThreads(__tstate
);
37782 if (PyErr_Occurred()) SWIG_fail
;
37784 Py_INCREF(Py_None
); resultobj
= Py_None
;
37786 if (temp2
) delete arg2
;
37791 if (temp2
) delete arg2
;
37797 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37798 PyObject
*resultobj
;
37799 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37800 wxString
*arg2
= 0 ;
37802 PyObject
*arg4
= (PyObject
*) NULL
;
37804 bool temp2
= false ;
37805 PyObject
* obj0
= 0 ;
37806 PyObject
* obj1
= 0 ;
37807 PyObject
* obj2
= 0 ;
37808 PyObject
* obj3
= 0 ;
37809 char *kwnames
[] = {
37810 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37815 if (SWIG_arg_fail(1)) SWIG_fail
;
37817 arg2
= wxString_in_helper(obj1
);
37818 if (arg2
== NULL
) SWIG_fail
;
37822 arg3
= (int)(SWIG_As_int(obj2
));
37823 if (SWIG_arg_fail(3)) SWIG_fail
;
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37832 wxPyEndAllowThreads(__tstate
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37836 resultobj
= SWIG_From_int((int)(result
));
37852 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37853 PyObject
*resultobj
;
37854 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37855 PyObject
* obj0
= 0 ;
37856 char *kwnames
[] = {
37857 (char *) "self", NULL
37860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37862 if (SWIG_arg_fail(1)) SWIG_fail
;
37864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37867 wxPyEndAllowThreads(__tstate
);
37868 if (PyErr_Occurred()) SWIG_fail
;
37870 Py_INCREF(Py_None
); resultobj
= Py_None
;
37877 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37878 PyObject
*resultobj
;
37879 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 char *kwnames
[] = {
37884 (char *) "self",(char *) "n", NULL
37887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37889 if (SWIG_arg_fail(1)) SWIG_fail
;
37891 arg2
= (int)(SWIG_As_int(obj1
));
37892 if (SWIG_arg_fail(2)) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 (arg1
)->Delete(arg2
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37901 Py_INCREF(Py_None
); resultobj
= Py_None
;
37908 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37909 PyObject
*resultobj
;
37910 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37913 PyObject
* obj0
= 0 ;
37914 PyObject
* obj1
= 0 ;
37915 char *kwnames
[] = {
37916 (char *) "self",(char *) "n", NULL
37919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37921 if (SWIG_arg_fail(1)) SWIG_fail
;
37923 arg2
= (int)(SWIG_As_int(obj1
));
37924 if (SWIG_arg_fail(2)) SWIG_fail
;
37927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37928 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37930 wxPyEndAllowThreads(__tstate
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37933 resultobj
= result
;
37940 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37941 PyObject
*resultobj
;
37942 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37944 PyObject
*arg3
= (PyObject
*) 0 ;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 PyObject
* obj2
= 0 ;
37948 char *kwnames
[] = {
37949 (char *) "self",(char *) "n",(char *) "clientData", NULL
37952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37954 if (SWIG_arg_fail(1)) SWIG_fail
;
37956 arg2
= (int)(SWIG_As_int(obj1
));
37957 if (SWIG_arg_fail(2)) SWIG_fail
;
37961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37962 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37964 wxPyEndAllowThreads(__tstate
);
37965 if (PyErr_Occurred()) SWIG_fail
;
37967 Py_INCREF(Py_None
); resultobj
= Py_None
;
37974 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37975 PyObject
*resultobj
;
37976 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37978 PyObject
* obj0
= 0 ;
37979 char *kwnames
[] = {
37980 (char *) "self", NULL
37983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37985 if (SWIG_arg_fail(1)) SWIG_fail
;
37987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37988 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37990 wxPyEndAllowThreads(__tstate
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37994 resultobj
= SWIG_From_int((int)(result
));
38002 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38003 PyObject
*resultobj
;
38004 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38006 PyObject
* obj0
= 0 ;
38007 char *kwnames
[] = {
38008 (char *) "self", NULL
38011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38013 if (SWIG_arg_fail(1)) SWIG_fail
;
38015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38016 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38018 wxPyEndAllowThreads(__tstate
);
38019 if (PyErr_Occurred()) SWIG_fail
;
38022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38030 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38031 PyObject
*resultobj
;
38032 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38035 PyObject
* obj0
= 0 ;
38036 PyObject
* obj1
= 0 ;
38037 char *kwnames
[] = {
38038 (char *) "self",(char *) "n", NULL
38041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38043 if (SWIG_arg_fail(1)) SWIG_fail
;
38045 arg2
= (int)(SWIG_As_int(obj1
));
38046 if (SWIG_arg_fail(2)) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38052 wxPyEndAllowThreads(__tstate
);
38053 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38068 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38069 PyObject
*resultobj
;
38070 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38071 wxArrayString result
;
38072 PyObject
* obj0
= 0 ;
38073 char *kwnames
[] = {
38074 (char *) "self", NULL
38077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38079 if (SWIG_arg_fail(1)) SWIG_fail
;
38081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38082 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38088 resultobj
= wxArrayString2PyList_helper(result
);
38096 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38097 PyObject
*resultobj
;
38098 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38100 wxString
*arg3
= 0 ;
38101 bool temp3
= false ;
38102 PyObject
* obj0
= 0 ;
38103 PyObject
* obj1
= 0 ;
38104 PyObject
* obj2
= 0 ;
38105 char *kwnames
[] = {
38106 (char *) "self",(char *) "n",(char *) "s", NULL
38109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38111 if (SWIG_arg_fail(1)) SWIG_fail
;
38113 arg2
= (int)(SWIG_As_int(obj1
));
38114 if (SWIG_arg_fail(2)) SWIG_fail
;
38117 arg3
= wxString_in_helper(obj2
);
38118 if (arg3
== NULL
) SWIG_fail
;
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38125 wxPyEndAllowThreads(__tstate
);
38126 if (PyErr_Occurred()) SWIG_fail
;
38128 Py_INCREF(Py_None
); resultobj
= Py_None
;
38143 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38144 PyObject
*resultobj
;
38145 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38146 wxString
*arg2
= 0 ;
38148 bool temp2
= false ;
38149 PyObject
* obj0
= 0 ;
38150 PyObject
* obj1
= 0 ;
38151 char *kwnames
[] = {
38152 (char *) "self",(char *) "s", NULL
38155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38157 if (SWIG_arg_fail(1)) SWIG_fail
;
38159 arg2
= wxString_in_helper(obj1
);
38160 if (arg2
== NULL
) SWIG_fail
;
38164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38165 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38167 wxPyEndAllowThreads(__tstate
);
38168 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= SWIG_From_int((int)(result
));
38187 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
;
38189 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38191 PyObject
* obj0
= 0 ;
38192 PyObject
* obj1
= 0 ;
38193 char *kwnames
[] = {
38194 (char *) "self",(char *) "n", NULL
38197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38199 if (SWIG_arg_fail(1)) SWIG_fail
;
38201 arg2
= (int)(SWIG_As_int(obj1
));
38202 if (SWIG_arg_fail(2)) SWIG_fail
;
38205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38206 (arg1
)->SetSelection(arg2
);
38208 wxPyEndAllowThreads(__tstate
);
38209 if (PyErr_Occurred()) SWIG_fail
;
38211 Py_INCREF(Py_None
); resultobj
= Py_None
;
38218 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38219 PyObject
*resultobj
;
38220 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38222 PyObject
* obj0
= 0 ;
38223 char *kwnames
[] = {
38224 (char *) "self", NULL
38227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38229 if (SWIG_arg_fail(1)) SWIG_fail
;
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38234 wxPyEndAllowThreads(__tstate
);
38235 if (PyErr_Occurred()) SWIG_fail
;
38238 resultobj
= SWIG_From_int((int)(result
));
38246 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38247 PyObject
*resultobj
;
38248 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38249 wxString
*arg2
= 0 ;
38251 bool temp2
= false ;
38252 PyObject
* obj0
= 0 ;
38253 PyObject
* obj1
= 0 ;
38254 char *kwnames
[] = {
38255 (char *) "self",(char *) "s", NULL
38258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38260 if (SWIG_arg_fail(1)) SWIG_fail
;
38262 arg2
= wxString_in_helper(obj1
);
38263 if (arg2
== NULL
) SWIG_fail
;
38267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38290 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38291 PyObject
*resultobj
;
38292 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38294 PyObject
* obj0
= 0 ;
38295 char *kwnames
[] = {
38296 (char *) "self", NULL
38299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38301 if (SWIG_arg_fail(1)) SWIG_fail
;
38303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38304 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38306 wxPyEndAllowThreads(__tstate
);
38307 if (PyErr_Occurred()) SWIG_fail
;
38311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38322 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38323 PyObject
*resultobj
;
38324 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38326 PyObject
* obj0
= 0 ;
38327 PyObject
* obj1
= 0 ;
38328 char *kwnames
[] = {
38329 (char *) "self",(char *) "n", NULL
38332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38334 if (SWIG_arg_fail(1)) SWIG_fail
;
38336 arg2
= (int)(SWIG_As_int(obj1
));
38337 if (SWIG_arg_fail(2)) SWIG_fail
;
38340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38341 (arg1
)->Select(arg2
);
38343 wxPyEndAllowThreads(__tstate
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38346 Py_INCREF(Py_None
); resultobj
= Py_None
;
38353 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38356 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38358 return Py_BuildValue((char *)"");
38360 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38363 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38365 return Py_BuildValue((char *)"");
38367 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38368 PyObject
*resultobj
;
38369 wxSizerItem
*result
;
38370 char *kwnames
[] = {
38374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 result
= (wxSizerItem
*)new wxSizerItem();
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38389 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38390 PyObject
*resultobj
;
38391 wxWindow
*arg1
= (wxWindow
*) 0 ;
38395 PyObject
*arg5
= (PyObject
*) NULL
;
38396 wxSizerItem
*result
;
38397 PyObject
* obj0
= 0 ;
38398 PyObject
* obj1
= 0 ;
38399 PyObject
* obj2
= 0 ;
38400 PyObject
* obj3
= 0 ;
38401 PyObject
* obj4
= 0 ;
38402 char *kwnames
[] = {
38403 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38408 if (SWIG_arg_fail(1)) SWIG_fail
;
38410 arg2
= (int)(SWIG_As_int(obj1
));
38411 if (SWIG_arg_fail(2)) SWIG_fail
;
38414 arg3
= (int)(SWIG_As_int(obj2
));
38415 if (SWIG_arg_fail(3)) SWIG_fail
;
38418 arg4
= (int)(SWIG_As_int(obj3
));
38419 if (SWIG_arg_fail(4)) SWIG_fail
;
38425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38426 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38428 wxPyEndAllowThreads(__tstate
);
38429 if (PyErr_Occurred()) SWIG_fail
;
38431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38438 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38439 PyObject
*resultobj
;
38445 PyObject
*arg6
= (PyObject
*) NULL
;
38446 wxSizerItem
*result
;
38447 PyObject
* obj0
= 0 ;
38448 PyObject
* obj1
= 0 ;
38449 PyObject
* obj2
= 0 ;
38450 PyObject
* obj3
= 0 ;
38451 PyObject
* obj4
= 0 ;
38452 PyObject
* obj5
= 0 ;
38453 char *kwnames
[] = {
38454 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38459 arg1
= (int)(SWIG_As_int(obj0
));
38460 if (SWIG_arg_fail(1)) SWIG_fail
;
38463 arg2
= (int)(SWIG_As_int(obj1
));
38464 if (SWIG_arg_fail(2)) SWIG_fail
;
38467 arg3
= (int)(SWIG_As_int(obj2
));
38468 if (SWIG_arg_fail(3)) SWIG_fail
;
38471 arg4
= (int)(SWIG_As_int(obj3
));
38472 if (SWIG_arg_fail(4)) SWIG_fail
;
38475 arg5
= (int)(SWIG_As_int(obj4
));
38476 if (SWIG_arg_fail(5)) SWIG_fail
;
38482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38483 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38485 wxPyEndAllowThreads(__tstate
);
38486 if (PyErr_Occurred()) SWIG_fail
;
38488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38495 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38496 PyObject
*resultobj
;
38497 wxSizer
*arg1
= (wxSizer
*) 0 ;
38501 PyObject
*arg5
= (PyObject
*) NULL
;
38502 wxSizerItem
*result
;
38503 PyObject
* obj0
= 0 ;
38504 PyObject
* obj1
= 0 ;
38505 PyObject
* obj2
= 0 ;
38506 PyObject
* obj3
= 0 ;
38507 PyObject
* obj4
= 0 ;
38508 char *kwnames
[] = {
38509 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38514 if (SWIG_arg_fail(1)) SWIG_fail
;
38516 arg2
= (int)(SWIG_As_int(obj1
));
38517 if (SWIG_arg_fail(2)) SWIG_fail
;
38520 arg3
= (int)(SWIG_As_int(obj2
));
38521 if (SWIG_arg_fail(3)) SWIG_fail
;
38524 arg4
= (int)(SWIG_As_int(obj3
));
38525 if (SWIG_arg_fail(4)) SWIG_fail
;
38531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38532 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38534 wxPyEndAllowThreads(__tstate
);
38535 if (PyErr_Occurred()) SWIG_fail
;
38537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38544 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38545 PyObject
*resultobj
;
38546 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38547 PyObject
* obj0
= 0 ;
38548 char *kwnames
[] = {
38549 (char *) "self", NULL
38552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38554 if (SWIG_arg_fail(1)) SWIG_fail
;
38556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38557 (arg1
)->DeleteWindows();
38559 wxPyEndAllowThreads(__tstate
);
38560 if (PyErr_Occurred()) SWIG_fail
;
38562 Py_INCREF(Py_None
); resultobj
= Py_None
;
38569 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38570 PyObject
*resultobj
;
38571 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38572 PyObject
* obj0
= 0 ;
38573 char *kwnames
[] = {
38574 (char *) "self", NULL
38577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38579 if (SWIG_arg_fail(1)) SWIG_fail
;
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 (arg1
)->DetachSizer();
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38587 Py_INCREF(Py_None
); resultobj
= Py_None
;
38594 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38595 PyObject
*resultobj
;
38596 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38598 PyObject
* obj0
= 0 ;
38599 char *kwnames
[] = {
38600 (char *) "self", NULL
38603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38605 if (SWIG_arg_fail(1)) SWIG_fail
;
38607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38608 result
= (arg1
)->GetSize();
38610 wxPyEndAllowThreads(__tstate
);
38611 if (PyErr_Occurred()) SWIG_fail
;
38614 wxSize
* resultptr
;
38615 resultptr
= new wxSize((wxSize
&)(result
));
38616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38624 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38625 PyObject
*resultobj
;
38626 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38628 PyObject
* obj0
= 0 ;
38629 char *kwnames
[] = {
38630 (char *) "self", NULL
38633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38635 if (SWIG_arg_fail(1)) SWIG_fail
;
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 result
= (arg1
)->CalcMin();
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38644 wxSize
* resultptr
;
38645 resultptr
= new wxSize((wxSize
&)(result
));
38646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38654 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38655 PyObject
*resultobj
;
38656 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38659 PyObject
* obj0
= 0 ;
38660 PyObject
* obj1
= 0 ;
38661 PyObject
* obj2
= 0 ;
38662 char *kwnames
[] = {
38663 (char *) "self",(char *) "pos",(char *) "size", NULL
38666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38668 if (SWIG_arg_fail(1)) SWIG_fail
;
38671 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38672 if (SWIG_arg_fail(2)) SWIG_fail
;
38673 if (argp
== NULL
) {
38674 SWIG_null_ref("wxPoint");
38676 if (SWIG_arg_fail(2)) SWIG_fail
;
38681 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38682 if (SWIG_arg_fail(3)) SWIG_fail
;
38683 if (argp
== NULL
) {
38684 SWIG_null_ref("wxSize");
38686 if (SWIG_arg_fail(3)) SWIG_fail
;
38690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38691 (arg1
)->SetDimension(arg2
,arg3
);
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38696 Py_INCREF(Py_None
); resultobj
= Py_None
;
38703 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38704 PyObject
*resultobj
;
38705 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38707 PyObject
* obj0
= 0 ;
38708 char *kwnames
[] = {
38709 (char *) "self", NULL
38712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38714 if (SWIG_arg_fail(1)) SWIG_fail
;
38716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38717 result
= (arg1
)->GetMinSize();
38719 wxPyEndAllowThreads(__tstate
);
38720 if (PyErr_Occurred()) SWIG_fail
;
38723 wxSize
* resultptr
;
38724 resultptr
= new wxSize((wxSize
&)(result
));
38725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38733 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38734 PyObject
*resultobj
;
38735 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38737 PyObject
* obj0
= 0 ;
38738 char *kwnames
[] = {
38739 (char *) "self", NULL
38742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38744 if (SWIG_arg_fail(1)) SWIG_fail
;
38746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38747 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38749 wxPyEndAllowThreads(__tstate
);
38750 if (PyErr_Occurred()) SWIG_fail
;
38753 wxSize
* resultptr
;
38754 resultptr
= new wxSize((wxSize
&)(result
));
38755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38763 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38764 PyObject
*resultobj
;
38765 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38768 PyObject
* obj0
= 0 ;
38769 PyObject
* obj1
= 0 ;
38770 PyObject
* obj2
= 0 ;
38771 char *kwnames
[] = {
38772 (char *) "self",(char *) "x",(char *) "y", NULL
38775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38777 if (SWIG_arg_fail(1)) SWIG_fail
;
38779 arg2
= (int)(SWIG_As_int(obj1
));
38780 if (SWIG_arg_fail(2)) SWIG_fail
;
38783 arg3
= (int)(SWIG_As_int(obj2
));
38784 if (SWIG_arg_fail(3)) SWIG_fail
;
38787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38788 (arg1
)->SetInitSize(arg2
,arg3
);
38790 wxPyEndAllowThreads(__tstate
);
38791 if (PyErr_Occurred()) SWIG_fail
;
38793 Py_INCREF(Py_None
); resultobj
= Py_None
;
38800 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38801 PyObject
*resultobj
;
38802 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38805 PyObject
* obj0
= 0 ;
38806 PyObject
* obj1
= 0 ;
38807 PyObject
* obj2
= 0 ;
38808 char *kwnames
[] = {
38809 (char *) "self",(char *) "width",(char *) "height", NULL
38812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38814 if (SWIG_arg_fail(1)) SWIG_fail
;
38816 arg2
= (int)(SWIG_As_int(obj1
));
38817 if (SWIG_arg_fail(2)) SWIG_fail
;
38820 arg3
= (int)(SWIG_As_int(obj2
));
38821 if (SWIG_arg_fail(3)) SWIG_fail
;
38824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38825 (arg1
)->SetRatio(arg2
,arg3
);
38827 wxPyEndAllowThreads(__tstate
);
38828 if (PyErr_Occurred()) SWIG_fail
;
38830 Py_INCREF(Py_None
); resultobj
= Py_None
;
38837 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38838 PyObject
*resultobj
;
38839 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38842 PyObject
* obj0
= 0 ;
38843 PyObject
* obj1
= 0 ;
38844 char *kwnames
[] = {
38845 (char *) "self",(char *) "size", NULL
38848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38850 if (SWIG_arg_fail(1)) SWIG_fail
;
38853 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38857 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38859 wxPyEndAllowThreads(__tstate
);
38860 if (PyErr_Occurred()) SWIG_fail
;
38862 Py_INCREF(Py_None
); resultobj
= Py_None
;
38869 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38870 PyObject
*resultobj
;
38871 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38873 PyObject
* obj0
= 0 ;
38874 PyObject
* obj1
= 0 ;
38875 char *kwnames
[] = {
38876 (char *) "self",(char *) "ratio", NULL
38879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38881 if (SWIG_arg_fail(1)) SWIG_fail
;
38883 arg2
= (float)(SWIG_As_float(obj1
));
38884 if (SWIG_arg_fail(2)) SWIG_fail
;
38887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38888 (arg1
)->SetRatio(arg2
);
38890 wxPyEndAllowThreads(__tstate
);
38891 if (PyErr_Occurred()) SWIG_fail
;
38893 Py_INCREF(Py_None
); resultobj
= Py_None
;
38900 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38901 PyObject
*resultobj
;
38902 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38904 PyObject
* obj0
= 0 ;
38905 char *kwnames
[] = {
38906 (char *) "self", NULL
38909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38911 if (SWIG_arg_fail(1)) SWIG_fail
;
38913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38914 result
= (float)(arg1
)->GetRatio();
38916 wxPyEndAllowThreads(__tstate
);
38917 if (PyErr_Occurred()) SWIG_fail
;
38920 resultobj
= SWIG_From_float((float)(result
));
38928 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38929 PyObject
*resultobj
;
38930 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38932 PyObject
* obj0
= 0 ;
38933 char *kwnames
[] = {
38934 (char *) "self", NULL
38937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38939 if (SWIG_arg_fail(1)) SWIG_fail
;
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38942 result
= (arg1
)->GetRect();
38944 wxPyEndAllowThreads(__tstate
);
38945 if (PyErr_Occurred()) SWIG_fail
;
38948 wxRect
* resultptr
;
38949 resultptr
= new wxRect((wxRect
&)(result
));
38950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38958 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38959 PyObject
*resultobj
;
38960 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38962 PyObject
* obj0
= 0 ;
38963 char *kwnames
[] = {
38964 (char *) "self", NULL
38967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38969 if (SWIG_arg_fail(1)) SWIG_fail
;
38971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38972 result
= (bool)(arg1
)->IsWindow();
38974 wxPyEndAllowThreads(__tstate
);
38975 if (PyErr_Occurred()) SWIG_fail
;
38978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38986 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38987 PyObject
*resultobj
;
38988 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38990 PyObject
* obj0
= 0 ;
38991 char *kwnames
[] = {
38992 (char *) "self", NULL
38995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38997 if (SWIG_arg_fail(1)) SWIG_fail
;
38999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39000 result
= (bool)(arg1
)->IsSizer();
39002 wxPyEndAllowThreads(__tstate
);
39003 if (PyErr_Occurred()) SWIG_fail
;
39006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39014 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39015 PyObject
*resultobj
;
39016 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39018 PyObject
* obj0
= 0 ;
39019 char *kwnames
[] = {
39020 (char *) "self", NULL
39023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39025 if (SWIG_arg_fail(1)) SWIG_fail
;
39027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39028 result
= (bool)(arg1
)->IsSpacer();
39030 wxPyEndAllowThreads(__tstate
);
39031 if (PyErr_Occurred()) SWIG_fail
;
39034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39042 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39043 PyObject
*resultobj
;
39044 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39046 PyObject
* obj0
= 0 ;
39047 PyObject
* obj1
= 0 ;
39048 char *kwnames
[] = {
39049 (char *) "self",(char *) "proportion", NULL
39052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39054 if (SWIG_arg_fail(1)) SWIG_fail
;
39056 arg2
= (int)(SWIG_As_int(obj1
));
39057 if (SWIG_arg_fail(2)) SWIG_fail
;
39060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39061 (arg1
)->SetProportion(arg2
);
39063 wxPyEndAllowThreads(__tstate
);
39064 if (PyErr_Occurred()) SWIG_fail
;
39066 Py_INCREF(Py_None
); resultobj
= Py_None
;
39073 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39074 PyObject
*resultobj
;
39075 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39077 PyObject
* obj0
= 0 ;
39078 char *kwnames
[] = {
39079 (char *) "self", NULL
39082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39084 if (SWIG_arg_fail(1)) SWIG_fail
;
39086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39087 result
= (int)(arg1
)->GetProportion();
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39093 resultobj
= SWIG_From_int((int)(result
));
39101 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39102 PyObject
*resultobj
;
39103 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39105 PyObject
* obj0
= 0 ;
39106 PyObject
* obj1
= 0 ;
39107 char *kwnames
[] = {
39108 (char *) "self",(char *) "flag", NULL
39111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39113 if (SWIG_arg_fail(1)) SWIG_fail
;
39115 arg2
= (int)(SWIG_As_int(obj1
));
39116 if (SWIG_arg_fail(2)) SWIG_fail
;
39119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39120 (arg1
)->SetFlag(arg2
);
39122 wxPyEndAllowThreads(__tstate
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39125 Py_INCREF(Py_None
); resultobj
= Py_None
;
39132 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39133 PyObject
*resultobj
;
39134 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39136 PyObject
* obj0
= 0 ;
39137 char *kwnames
[] = {
39138 (char *) "self", NULL
39141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39143 if (SWIG_arg_fail(1)) SWIG_fail
;
39145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39146 result
= (int)(arg1
)->GetFlag();
39148 wxPyEndAllowThreads(__tstate
);
39149 if (PyErr_Occurred()) SWIG_fail
;
39152 resultobj
= SWIG_From_int((int)(result
));
39160 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39161 PyObject
*resultobj
;
39162 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39164 PyObject
* obj0
= 0 ;
39165 PyObject
* obj1
= 0 ;
39166 char *kwnames
[] = {
39167 (char *) "self",(char *) "border", NULL
39170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39172 if (SWIG_arg_fail(1)) SWIG_fail
;
39174 arg2
= (int)(SWIG_As_int(obj1
));
39175 if (SWIG_arg_fail(2)) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 (arg1
)->SetBorder(arg2
);
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39184 Py_INCREF(Py_None
); resultobj
= Py_None
;
39191 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39192 PyObject
*resultobj
;
39193 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 char *kwnames
[] = {
39197 (char *) "self", NULL
39200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39202 if (SWIG_arg_fail(1)) SWIG_fail
;
39204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39205 result
= (int)(arg1
)->GetBorder();
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39211 resultobj
= SWIG_From_int((int)(result
));
39219 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39220 PyObject
*resultobj
;
39221 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39223 PyObject
* obj0
= 0 ;
39224 char *kwnames
[] = {
39225 (char *) "self", NULL
39228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39230 if (SWIG_arg_fail(1)) SWIG_fail
;
39232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39233 result
= (wxWindow
*)(arg1
)->GetWindow();
39235 wxPyEndAllowThreads(__tstate
);
39236 if (PyErr_Occurred()) SWIG_fail
;
39239 resultobj
= wxPyMake_wxObject(result
, 0);
39247 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39248 PyObject
*resultobj
;
39249 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39250 wxWindow
*arg2
= (wxWindow
*) 0 ;
39251 PyObject
* obj0
= 0 ;
39252 PyObject
* obj1
= 0 ;
39253 char *kwnames
[] = {
39254 (char *) "self",(char *) "window", NULL
39257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39259 if (SWIG_arg_fail(1)) SWIG_fail
;
39260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39261 if (SWIG_arg_fail(2)) SWIG_fail
;
39263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39264 (arg1
)->SetWindow(arg2
);
39266 wxPyEndAllowThreads(__tstate
);
39267 if (PyErr_Occurred()) SWIG_fail
;
39269 Py_INCREF(Py_None
); resultobj
= Py_None
;
39276 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39277 PyObject
*resultobj
;
39278 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39280 PyObject
* obj0
= 0 ;
39281 char *kwnames
[] = {
39282 (char *) "self", NULL
39285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39287 if (SWIG_arg_fail(1)) SWIG_fail
;
39289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39290 result
= (wxSizer
*)(arg1
)->GetSizer();
39292 wxPyEndAllowThreads(__tstate
);
39293 if (PyErr_Occurred()) SWIG_fail
;
39296 resultobj
= wxPyMake_wxSizer(result
, 0);
39304 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39305 PyObject
*resultobj
;
39306 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39307 wxSizer
*arg2
= (wxSizer
*) 0 ;
39308 PyObject
* obj0
= 0 ;
39309 PyObject
* obj1
= 0 ;
39310 char *kwnames
[] = {
39311 (char *) "self",(char *) "sizer", NULL
39314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39316 if (SWIG_arg_fail(1)) SWIG_fail
;
39317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39318 if (SWIG_arg_fail(2)) SWIG_fail
;
39320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39321 (arg1
)->SetSizer(arg2
);
39323 wxPyEndAllowThreads(__tstate
);
39324 if (PyErr_Occurred()) SWIG_fail
;
39326 Py_INCREF(Py_None
); resultobj
= Py_None
;
39333 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39334 PyObject
*resultobj
;
39335 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39337 PyObject
* obj0
= 0 ;
39338 char *kwnames
[] = {
39339 (char *) "self", NULL
39342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39344 if (SWIG_arg_fail(1)) SWIG_fail
;
39346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39348 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39349 result
= (wxSize
*) &_result_ref
;
39352 wxPyEndAllowThreads(__tstate
);
39353 if (PyErr_Occurred()) SWIG_fail
;
39355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39362 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39363 PyObject
*resultobj
;
39364 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39367 PyObject
* obj0
= 0 ;
39368 PyObject
* obj1
= 0 ;
39369 char *kwnames
[] = {
39370 (char *) "self",(char *) "size", NULL
39373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39375 if (SWIG_arg_fail(1)) SWIG_fail
;
39378 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39382 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39384 wxPyEndAllowThreads(__tstate
);
39385 if (PyErr_Occurred()) SWIG_fail
;
39387 Py_INCREF(Py_None
); resultobj
= Py_None
;
39394 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39395 PyObject
*resultobj
;
39396 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39398 PyObject
* obj0
= 0 ;
39399 PyObject
* obj1
= 0 ;
39400 char *kwnames
[] = {
39401 (char *) "self",(char *) "show", NULL
39404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39406 if (SWIG_arg_fail(1)) SWIG_fail
;
39408 arg2
= (bool)(SWIG_As_bool(obj1
));
39409 if (SWIG_arg_fail(2)) SWIG_fail
;
39412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39413 (arg1
)->Show(arg2
);
39415 wxPyEndAllowThreads(__tstate
);
39416 if (PyErr_Occurred()) SWIG_fail
;
39418 Py_INCREF(Py_None
); resultobj
= Py_None
;
39425 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
;
39427 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39429 PyObject
* obj0
= 0 ;
39430 char *kwnames
[] = {
39431 (char *) "self", NULL
39434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39436 if (SWIG_arg_fail(1)) SWIG_fail
;
39438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39439 result
= (bool)(arg1
)->IsShown();
39441 wxPyEndAllowThreads(__tstate
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39453 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39454 PyObject
*resultobj
;
39455 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39457 PyObject
* obj0
= 0 ;
39458 char *kwnames
[] = {
39459 (char *) "self", NULL
39462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39464 if (SWIG_arg_fail(1)) SWIG_fail
;
39466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39467 result
= (arg1
)->GetPosition();
39469 wxPyEndAllowThreads(__tstate
);
39470 if (PyErr_Occurred()) SWIG_fail
;
39473 wxPoint
* resultptr
;
39474 resultptr
= new wxPoint((wxPoint
&)(result
));
39475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39483 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39484 PyObject
*resultobj
;
39485 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39487 PyObject
* obj0
= 0 ;
39488 char *kwnames
[] = {
39489 (char *) "self", NULL
39492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39494 if (SWIG_arg_fail(1)) SWIG_fail
;
39496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39497 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39499 wxPyEndAllowThreads(__tstate
);
39500 if (PyErr_Occurred()) SWIG_fail
;
39502 resultobj
= result
;
39509 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39512 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39514 return Py_BuildValue((char *)"");
39516 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39517 PyObject
*resultobj
;
39518 wxSizer
*arg1
= (wxSizer
*) 0 ;
39519 PyObject
*arg2
= (PyObject
*) 0 ;
39520 PyObject
* obj0
= 0 ;
39521 PyObject
* obj1
= 0 ;
39522 char *kwnames
[] = {
39523 (char *) "self",(char *) "_self", NULL
39526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39528 if (SWIG_arg_fail(1)) SWIG_fail
;
39531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39532 wxSizer__setOORInfo(arg1
,arg2
);
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 Py_INCREF(Py_None
); resultobj
= Py_None
;
39544 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39545 PyObject
*resultobj
;
39546 wxSizer
*arg1
= (wxSizer
*) 0 ;
39547 PyObject
*arg2
= (PyObject
*) 0 ;
39548 int arg3
= (int) 0 ;
39549 int arg4
= (int) 0 ;
39550 int arg5
= (int) 0 ;
39551 PyObject
*arg6
= (PyObject
*) NULL
;
39552 wxSizerItem
*result
;
39553 PyObject
* obj0
= 0 ;
39554 PyObject
* obj1
= 0 ;
39555 PyObject
* obj2
= 0 ;
39556 PyObject
* obj3
= 0 ;
39557 PyObject
* obj4
= 0 ;
39558 PyObject
* obj5
= 0 ;
39559 char *kwnames
[] = {
39560 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39565 if (SWIG_arg_fail(1)) SWIG_fail
;
39569 arg3
= (int)(SWIG_As_int(obj2
));
39570 if (SWIG_arg_fail(3)) SWIG_fail
;
39575 arg4
= (int)(SWIG_As_int(obj3
));
39576 if (SWIG_arg_fail(4)) SWIG_fail
;
39581 arg5
= (int)(SWIG_As_int(obj4
));
39582 if (SWIG_arg_fail(5)) SWIG_fail
;
39589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39590 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39602 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39603 PyObject
*resultobj
;
39604 wxSizer
*arg1
= (wxSizer
*) 0 ;
39606 PyObject
*arg3
= (PyObject
*) 0 ;
39607 int arg4
= (int) 0 ;
39608 int arg5
= (int) 0 ;
39609 int arg6
= (int) 0 ;
39610 PyObject
*arg7
= (PyObject
*) NULL
;
39611 wxSizerItem
*result
;
39612 PyObject
* obj0
= 0 ;
39613 PyObject
* obj1
= 0 ;
39614 PyObject
* obj2
= 0 ;
39615 PyObject
* obj3
= 0 ;
39616 PyObject
* obj4
= 0 ;
39617 PyObject
* obj5
= 0 ;
39618 PyObject
* obj6
= 0 ;
39619 char *kwnames
[] = {
39620 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39625 if (SWIG_arg_fail(1)) SWIG_fail
;
39627 arg2
= (int)(SWIG_As_int(obj1
));
39628 if (SWIG_arg_fail(2)) SWIG_fail
;
39633 arg4
= (int)(SWIG_As_int(obj3
));
39634 if (SWIG_arg_fail(4)) SWIG_fail
;
39639 arg5
= (int)(SWIG_As_int(obj4
));
39640 if (SWIG_arg_fail(5)) SWIG_fail
;
39645 arg6
= (int)(SWIG_As_int(obj5
));
39646 if (SWIG_arg_fail(6)) SWIG_fail
;
39653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39654 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39656 wxPyEndAllowThreads(__tstate
);
39657 if (PyErr_Occurred()) SWIG_fail
;
39659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39666 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39667 PyObject
*resultobj
;
39668 wxSizer
*arg1
= (wxSizer
*) 0 ;
39669 PyObject
*arg2
= (PyObject
*) 0 ;
39670 int arg3
= (int) 0 ;
39671 int arg4
= (int) 0 ;
39672 int arg5
= (int) 0 ;
39673 PyObject
*arg6
= (PyObject
*) NULL
;
39674 wxSizerItem
*result
;
39675 PyObject
* obj0
= 0 ;
39676 PyObject
* obj1
= 0 ;
39677 PyObject
* obj2
= 0 ;
39678 PyObject
* obj3
= 0 ;
39679 PyObject
* obj4
= 0 ;
39680 PyObject
* obj5
= 0 ;
39681 char *kwnames
[] = {
39682 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39687 if (SWIG_arg_fail(1)) SWIG_fail
;
39691 arg3
= (int)(SWIG_As_int(obj2
));
39692 if (SWIG_arg_fail(3)) SWIG_fail
;
39697 arg4
= (int)(SWIG_As_int(obj3
));
39698 if (SWIG_arg_fail(4)) SWIG_fail
;
39703 arg5
= (int)(SWIG_As_int(obj4
));
39704 if (SWIG_arg_fail(5)) SWIG_fail
;
39711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39712 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39714 wxPyEndAllowThreads(__tstate
);
39715 if (PyErr_Occurred()) SWIG_fail
;
39717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39724 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39725 PyObject
*resultobj
;
39726 wxSizer
*arg1
= (wxSizer
*) 0 ;
39727 PyObject
*arg2
= (PyObject
*) 0 ;
39729 PyObject
* obj0
= 0 ;
39730 PyObject
* obj1
= 0 ;
39731 char *kwnames
[] = {
39732 (char *) "self",(char *) "item", NULL
39735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39737 if (SWIG_arg_fail(1)) SWIG_fail
;
39740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39741 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39743 wxPyEndAllowThreads(__tstate
);
39744 if (PyErr_Occurred()) SWIG_fail
;
39747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39755 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39756 PyObject
*resultobj
;
39757 wxSizer
*arg1
= (wxSizer
*) 0 ;
39758 PyObject
*arg2
= (PyObject
*) 0 ;
39760 PyObject
* obj0
= 0 ;
39761 PyObject
* obj1
= 0 ;
39762 char *kwnames
[] = {
39763 (char *) "self",(char *) "item", NULL
39766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39768 if (SWIG_arg_fail(1)) SWIG_fail
;
39771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39772 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39774 wxPyEndAllowThreads(__tstate
);
39775 if (PyErr_Occurred()) SWIG_fail
;
39778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39786 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
;
39788 wxSizer
*arg1
= (wxSizer
*) 0 ;
39789 PyObject
*arg2
= (PyObject
*) 0 ;
39790 wxSizerItem
*result
;
39791 PyObject
* obj0
= 0 ;
39792 PyObject
* obj1
= 0 ;
39793 char *kwnames
[] = {
39794 (char *) "self",(char *) "item", NULL
39797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39799 if (SWIG_arg_fail(1)) SWIG_fail
;
39802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39805 wxPyEndAllowThreads(__tstate
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39815 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39816 PyObject
*resultobj
;
39817 wxSizer
*arg1
= (wxSizer
*) 0 ;
39818 PyObject
*arg2
= (PyObject
*) 0 ;
39821 PyObject
* obj0
= 0 ;
39822 PyObject
* obj1
= 0 ;
39823 PyObject
* obj2
= 0 ;
39824 char *kwnames
[] = {
39825 (char *) "self",(char *) "item",(char *) "size", NULL
39828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39830 if (SWIG_arg_fail(1)) SWIG_fail
;
39834 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39838 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39840 wxPyEndAllowThreads(__tstate
);
39841 if (PyErr_Occurred()) SWIG_fail
;
39843 Py_INCREF(Py_None
); resultobj
= Py_None
;
39850 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39851 PyObject
*resultobj
;
39852 wxSizer
*arg1
= (wxSizer
*) 0 ;
39853 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39854 wxSizerItem
*result
;
39855 PyObject
* obj0
= 0 ;
39856 PyObject
* obj1
= 0 ;
39857 char *kwnames
[] = {
39858 (char *) "self",(char *) "item", NULL
39861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39863 if (SWIG_arg_fail(1)) SWIG_fail
;
39864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39865 if (SWIG_arg_fail(2)) SWIG_fail
;
39867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39868 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39870 wxPyEndAllowThreads(__tstate
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39880 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
;
39882 wxSizer
*arg1
= (wxSizer
*) 0 ;
39884 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39885 wxSizerItem
*result
;
39886 PyObject
* obj0
= 0 ;
39887 PyObject
* obj1
= 0 ;
39888 PyObject
* obj2
= 0 ;
39889 char *kwnames
[] = {
39890 (char *) "self",(char *) "index",(char *) "item", NULL
39893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39895 if (SWIG_arg_fail(1)) SWIG_fail
;
39897 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39898 if (SWIG_arg_fail(2)) SWIG_fail
;
39900 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39901 if (SWIG_arg_fail(3)) SWIG_fail
;
39903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39904 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39906 wxPyEndAllowThreads(__tstate
);
39907 if (PyErr_Occurred()) SWIG_fail
;
39909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39916 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39917 PyObject
*resultobj
;
39918 wxSizer
*arg1
= (wxSizer
*) 0 ;
39919 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39920 wxSizerItem
*result
;
39921 PyObject
* obj0
= 0 ;
39922 PyObject
* obj1
= 0 ;
39923 char *kwnames
[] = {
39924 (char *) "self",(char *) "item", NULL
39927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39929 if (SWIG_arg_fail(1)) SWIG_fail
;
39930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39931 if (SWIG_arg_fail(2)) SWIG_fail
;
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39946 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxSizer
*arg1
= (wxSizer
*) 0 ;
39953 PyObject
* obj0
= 0 ;
39954 PyObject
* obj1
= 0 ;
39955 PyObject
* obj2
= 0 ;
39956 PyObject
* obj3
= 0 ;
39957 PyObject
* obj4
= 0 ;
39958 char *kwnames
[] = {
39959 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39964 if (SWIG_arg_fail(1)) SWIG_fail
;
39966 arg2
= (int)(SWIG_As_int(obj1
));
39967 if (SWIG_arg_fail(2)) SWIG_fail
;
39970 arg3
= (int)(SWIG_As_int(obj2
));
39971 if (SWIG_arg_fail(3)) SWIG_fail
;
39974 arg4
= (int)(SWIG_As_int(obj3
));
39975 if (SWIG_arg_fail(4)) SWIG_fail
;
39978 arg5
= (int)(SWIG_As_int(obj4
));
39979 if (SWIG_arg_fail(5)) SWIG_fail
;
39982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39983 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39985 wxPyEndAllowThreads(__tstate
);
39986 if (PyErr_Occurred()) SWIG_fail
;
39988 Py_INCREF(Py_None
); resultobj
= Py_None
;
39995 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39996 PyObject
*resultobj
;
39997 wxSizer
*arg1
= (wxSizer
*) 0 ;
40000 PyObject
* obj0
= 0 ;
40001 PyObject
* obj1
= 0 ;
40002 char *kwnames
[] = {
40003 (char *) "self",(char *) "size", NULL
40006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40008 if (SWIG_arg_fail(1)) SWIG_fail
;
40011 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40015 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40017 wxPyEndAllowThreads(__tstate
);
40018 if (PyErr_Occurred()) SWIG_fail
;
40020 Py_INCREF(Py_None
); resultobj
= Py_None
;
40027 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40028 PyObject
*resultobj
;
40029 wxSizer
*arg1
= (wxSizer
*) 0 ;
40031 PyObject
* obj0
= 0 ;
40032 char *kwnames
[] = {
40033 (char *) "self", NULL
40036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40038 if (SWIG_arg_fail(1)) SWIG_fail
;
40040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40041 result
= (arg1
)->GetSize();
40043 wxPyEndAllowThreads(__tstate
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40047 wxSize
* resultptr
;
40048 resultptr
= new wxSize((wxSize
&)(result
));
40049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40057 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40058 PyObject
*resultobj
;
40059 wxSizer
*arg1
= (wxSizer
*) 0 ;
40061 PyObject
* obj0
= 0 ;
40062 char *kwnames
[] = {
40063 (char *) "self", NULL
40066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40068 if (SWIG_arg_fail(1)) SWIG_fail
;
40070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40071 result
= (arg1
)->GetPosition();
40073 wxPyEndAllowThreads(__tstate
);
40074 if (PyErr_Occurred()) SWIG_fail
;
40077 wxPoint
* resultptr
;
40078 resultptr
= new wxPoint((wxPoint
&)(result
));
40079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40087 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxSizer
*arg1
= (wxSizer
*) 0 ;
40091 PyObject
* obj0
= 0 ;
40092 char *kwnames
[] = {
40093 (char *) "self", NULL
40096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40098 if (SWIG_arg_fail(1)) SWIG_fail
;
40100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 result
= (arg1
)->GetMinSize();
40103 wxPyEndAllowThreads(__tstate
);
40104 if (PyErr_Occurred()) SWIG_fail
;
40107 wxSize
* resultptr
;
40108 resultptr
= new wxSize((wxSize
&)(result
));
40109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40117 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40118 PyObject
*resultobj
;
40119 wxSizer
*arg1
= (wxSizer
*) 0 ;
40120 PyObject
* obj0
= 0 ;
40121 char *kwnames
[] = {
40122 (char *) "self", NULL
40125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40127 if (SWIG_arg_fail(1)) SWIG_fail
;
40129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40130 (arg1
)->RecalcSizes();
40132 wxPyEndAllowThreads(__tstate
);
40133 if (PyErr_Occurred()) SWIG_fail
;
40135 Py_INCREF(Py_None
); resultobj
= Py_None
;
40142 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40143 PyObject
*resultobj
;
40144 wxSizer
*arg1
= (wxSizer
*) 0 ;
40146 PyObject
* obj0
= 0 ;
40147 char *kwnames
[] = {
40148 (char *) "self", NULL
40151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40153 if (SWIG_arg_fail(1)) SWIG_fail
;
40155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40156 result
= (arg1
)->CalcMin();
40158 wxPyEndAllowThreads(__tstate
);
40159 if (PyErr_Occurred()) SWIG_fail
;
40162 wxSize
* resultptr
;
40163 resultptr
= new wxSize((wxSize
&)(result
));
40164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40172 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40173 PyObject
*resultobj
;
40174 wxSizer
*arg1
= (wxSizer
*) 0 ;
40175 PyObject
* obj0
= 0 ;
40176 char *kwnames
[] = {
40177 (char *) "self", NULL
40180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40182 if (SWIG_arg_fail(1)) SWIG_fail
;
40184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40187 wxPyEndAllowThreads(__tstate
);
40188 if (PyErr_Occurred()) SWIG_fail
;
40190 Py_INCREF(Py_None
); resultobj
= Py_None
;
40197 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40198 PyObject
*resultobj
;
40199 wxSizer
*arg1
= (wxSizer
*) 0 ;
40200 wxWindow
*arg2
= (wxWindow
*) 0 ;
40202 PyObject
* obj0
= 0 ;
40203 PyObject
* obj1
= 0 ;
40204 char *kwnames
[] = {
40205 (char *) "self",(char *) "window", NULL
40208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40210 if (SWIG_arg_fail(1)) SWIG_fail
;
40211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40212 if (SWIG_arg_fail(2)) SWIG_fail
;
40214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40215 result
= (arg1
)->Fit(arg2
);
40217 wxPyEndAllowThreads(__tstate
);
40218 if (PyErr_Occurred()) SWIG_fail
;
40221 wxSize
* resultptr
;
40222 resultptr
= new wxSize((wxSize
&)(result
));
40223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40231 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40232 PyObject
*resultobj
;
40233 wxSizer
*arg1
= (wxSizer
*) 0 ;
40234 wxWindow
*arg2
= (wxWindow
*) 0 ;
40235 PyObject
* obj0
= 0 ;
40236 PyObject
* obj1
= 0 ;
40237 char *kwnames
[] = {
40238 (char *) "self",(char *) "window", NULL
40241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40243 if (SWIG_arg_fail(1)) SWIG_fail
;
40244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40245 if (SWIG_arg_fail(2)) SWIG_fail
;
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 (arg1
)->FitInside(arg2
);
40250 wxPyEndAllowThreads(__tstate
);
40251 if (PyErr_Occurred()) SWIG_fail
;
40253 Py_INCREF(Py_None
); resultobj
= Py_None
;
40260 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40261 PyObject
*resultobj
;
40262 wxSizer
*arg1
= (wxSizer
*) 0 ;
40263 wxWindow
*arg2
= (wxWindow
*) 0 ;
40264 PyObject
* obj0
= 0 ;
40265 PyObject
* obj1
= 0 ;
40266 char *kwnames
[] = {
40267 (char *) "self",(char *) "window", NULL
40270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40272 if (SWIG_arg_fail(1)) SWIG_fail
;
40273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40274 if (SWIG_arg_fail(2)) SWIG_fail
;
40276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40277 (arg1
)->SetSizeHints(arg2
);
40279 wxPyEndAllowThreads(__tstate
);
40280 if (PyErr_Occurred()) SWIG_fail
;
40282 Py_INCREF(Py_None
); resultobj
= Py_None
;
40289 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40290 PyObject
*resultobj
;
40291 wxSizer
*arg1
= (wxSizer
*) 0 ;
40292 wxWindow
*arg2
= (wxWindow
*) 0 ;
40293 PyObject
* obj0
= 0 ;
40294 PyObject
* obj1
= 0 ;
40295 char *kwnames
[] = {
40296 (char *) "self",(char *) "window", NULL
40299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40301 if (SWIG_arg_fail(1)) SWIG_fail
;
40302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40303 if (SWIG_arg_fail(2)) SWIG_fail
;
40305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40306 (arg1
)->SetVirtualSizeHints(arg2
);
40308 wxPyEndAllowThreads(__tstate
);
40309 if (PyErr_Occurred()) SWIG_fail
;
40311 Py_INCREF(Py_None
); resultobj
= Py_None
;
40318 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40319 PyObject
*resultobj
;
40320 wxSizer
*arg1
= (wxSizer
*) 0 ;
40321 bool arg2
= (bool) false ;
40322 PyObject
* obj0
= 0 ;
40323 PyObject
* obj1
= 0 ;
40324 char *kwnames
[] = {
40325 (char *) "self",(char *) "deleteWindows", NULL
40328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40330 if (SWIG_arg_fail(1)) SWIG_fail
;
40333 arg2
= (bool)(SWIG_As_bool(obj1
));
40334 if (SWIG_arg_fail(2)) SWIG_fail
;
40338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40339 (arg1
)->Clear(arg2
);
40341 wxPyEndAllowThreads(__tstate
);
40342 if (PyErr_Occurred()) SWIG_fail
;
40344 Py_INCREF(Py_None
); resultobj
= Py_None
;
40351 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40352 PyObject
*resultobj
;
40353 wxSizer
*arg1
= (wxSizer
*) 0 ;
40354 PyObject
* obj0
= 0 ;
40355 char *kwnames
[] = {
40356 (char *) "self", NULL
40359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40361 if (SWIG_arg_fail(1)) SWIG_fail
;
40363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40364 (arg1
)->DeleteWindows();
40366 wxPyEndAllowThreads(__tstate
);
40367 if (PyErr_Occurred()) SWIG_fail
;
40369 Py_INCREF(Py_None
); resultobj
= Py_None
;
40376 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40377 PyObject
*resultobj
;
40378 wxSizer
*arg1
= (wxSizer
*) 0 ;
40380 PyObject
* obj0
= 0 ;
40381 char *kwnames
[] = {
40382 (char *) "self", NULL
40385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40387 if (SWIG_arg_fail(1)) SWIG_fail
;
40389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40390 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40392 wxPyEndAllowThreads(__tstate
);
40393 if (PyErr_Occurred()) SWIG_fail
;
40395 resultobj
= result
;
40402 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40403 PyObject
*resultobj
;
40404 wxSizer
*arg1
= (wxSizer
*) 0 ;
40405 PyObject
*arg2
= (PyObject
*) 0 ;
40406 bool arg3
= (bool) true ;
40407 bool arg4
= (bool) false ;
40409 PyObject
* obj0
= 0 ;
40410 PyObject
* obj1
= 0 ;
40411 PyObject
* obj2
= 0 ;
40412 PyObject
* obj3
= 0 ;
40413 char *kwnames
[] = {
40414 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40419 if (SWIG_arg_fail(1)) SWIG_fail
;
40423 arg3
= (bool)(SWIG_As_bool(obj2
));
40424 if (SWIG_arg_fail(3)) SWIG_fail
;
40429 arg4
= (bool)(SWIG_As_bool(obj3
));
40430 if (SWIG_arg_fail(4)) SWIG_fail
;
40434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40435 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40437 wxPyEndAllowThreads(__tstate
);
40438 if (PyErr_Occurred()) SWIG_fail
;
40441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40449 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40450 PyObject
*resultobj
;
40451 wxSizer
*arg1
= (wxSizer
*) 0 ;
40452 PyObject
*arg2
= (PyObject
*) 0 ;
40454 PyObject
* obj0
= 0 ;
40455 PyObject
* obj1
= 0 ;
40456 char *kwnames
[] = {
40457 (char *) "self",(char *) "item", NULL
40460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40462 if (SWIG_arg_fail(1)) SWIG_fail
;
40465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40466 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40468 wxPyEndAllowThreads(__tstate
);
40469 if (PyErr_Occurred()) SWIG_fail
;
40472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40480 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40481 PyObject
*resultobj
;
40482 wxSizer
*arg1
= (wxSizer
*) 0 ;
40484 PyObject
* obj0
= 0 ;
40485 PyObject
* obj1
= 0 ;
40486 char *kwnames
[] = {
40487 (char *) "self",(char *) "show", NULL
40490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40492 if (SWIG_arg_fail(1)) SWIG_fail
;
40494 arg2
= (bool)(SWIG_As_bool(obj1
));
40495 if (SWIG_arg_fail(2)) SWIG_fail
;
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 (arg1
)->ShowItems(arg2
);
40501 wxPyEndAllowThreads(__tstate
);
40502 if (PyErr_Occurred()) SWIG_fail
;
40504 Py_INCREF(Py_None
); resultobj
= Py_None
;
40511 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40514 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40516 return Py_BuildValue((char *)"");
40518 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40519 PyObject
*resultobj
;
40521 char *kwnames
[] = {
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40528 result
= (wxPySizer
*)new wxPySizer();
40530 wxPyEndAllowThreads(__tstate
);
40531 if (PyErr_Occurred()) SWIG_fail
;
40533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40540 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40541 PyObject
*resultobj
;
40542 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40543 PyObject
*arg2
= (PyObject
*) 0 ;
40544 PyObject
*arg3
= (PyObject
*) 0 ;
40545 PyObject
* obj0
= 0 ;
40546 PyObject
* obj1
= 0 ;
40547 PyObject
* obj2
= 0 ;
40548 char *kwnames
[] = {
40549 (char *) "self",(char *) "self",(char *) "_class", NULL
40552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40554 if (SWIG_arg_fail(1)) SWIG_fail
;
40558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40561 wxPyEndAllowThreads(__tstate
);
40562 if (PyErr_Occurred()) SWIG_fail
;
40564 Py_INCREF(Py_None
); resultobj
= Py_None
;
40571 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40574 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40576 return Py_BuildValue((char *)"");
40578 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40579 PyObject
*resultobj
;
40580 int arg1
= (int) wxHORIZONTAL
;
40581 wxBoxSizer
*result
;
40582 PyObject
* obj0
= 0 ;
40583 char *kwnames
[] = {
40584 (char *) "orient", NULL
40587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40590 arg1
= (int)(SWIG_As_int(obj0
));
40591 if (SWIG_arg_fail(1)) SWIG_fail
;
40595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40596 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40598 wxPyEndAllowThreads(__tstate
);
40599 if (PyErr_Occurred()) SWIG_fail
;
40601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40608 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40609 PyObject
*resultobj
;
40610 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40612 PyObject
* obj0
= 0 ;
40613 char *kwnames
[] = {
40614 (char *) "self", NULL
40617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40619 if (SWIG_arg_fail(1)) SWIG_fail
;
40621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40622 result
= (int)(arg1
)->GetOrientation();
40624 wxPyEndAllowThreads(__tstate
);
40625 if (PyErr_Occurred()) SWIG_fail
;
40628 resultobj
= SWIG_From_int((int)(result
));
40636 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40637 PyObject
*resultobj
;
40638 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40640 PyObject
* obj0
= 0 ;
40641 PyObject
* obj1
= 0 ;
40642 char *kwnames
[] = {
40643 (char *) "self",(char *) "orient", NULL
40646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40648 if (SWIG_arg_fail(1)) SWIG_fail
;
40650 arg2
= (int)(SWIG_As_int(obj1
));
40651 if (SWIG_arg_fail(2)) SWIG_fail
;
40654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40655 (arg1
)->SetOrientation(arg2
);
40657 wxPyEndAllowThreads(__tstate
);
40658 if (PyErr_Occurred()) SWIG_fail
;
40660 Py_INCREF(Py_None
); resultobj
= Py_None
;
40667 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40670 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40672 return Py_BuildValue((char *)"");
40674 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40675 PyObject
*resultobj
;
40676 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40677 int arg2
= (int) wxHORIZONTAL
;
40678 wxStaticBoxSizer
*result
;
40679 PyObject
* obj0
= 0 ;
40680 PyObject
* obj1
= 0 ;
40681 char *kwnames
[] = {
40682 (char *) "box",(char *) "orient", NULL
40685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40687 if (SWIG_arg_fail(1)) SWIG_fail
;
40690 arg2
= (int)(SWIG_As_int(obj1
));
40691 if (SWIG_arg_fail(2)) SWIG_fail
;
40695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40696 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40698 wxPyEndAllowThreads(__tstate
);
40699 if (PyErr_Occurred()) SWIG_fail
;
40701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40708 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40709 PyObject
*resultobj
;
40710 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40711 wxStaticBox
*result
;
40712 PyObject
* obj0
= 0 ;
40713 char *kwnames
[] = {
40714 (char *) "self", NULL
40717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40719 if (SWIG_arg_fail(1)) SWIG_fail
;
40721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40722 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40724 wxPyEndAllowThreads(__tstate
);
40725 if (PyErr_Occurred()) SWIG_fail
;
40728 resultobj
= wxPyMake_wxObject(result
, 0);
40736 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40739 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40741 return Py_BuildValue((char *)"");
40743 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40744 PyObject
*resultobj
;
40745 int arg1
= (int) 1 ;
40746 int arg2
= (int) 0 ;
40747 int arg3
= (int) 0 ;
40748 int arg4
= (int) 0 ;
40749 wxGridSizer
*result
;
40750 PyObject
* obj0
= 0 ;
40751 PyObject
* obj1
= 0 ;
40752 PyObject
* obj2
= 0 ;
40753 PyObject
* obj3
= 0 ;
40754 char *kwnames
[] = {
40755 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40761 arg1
= (int)(SWIG_As_int(obj0
));
40762 if (SWIG_arg_fail(1)) SWIG_fail
;
40767 arg2
= (int)(SWIG_As_int(obj1
));
40768 if (SWIG_arg_fail(2)) SWIG_fail
;
40773 arg3
= (int)(SWIG_As_int(obj2
));
40774 if (SWIG_arg_fail(3)) SWIG_fail
;
40779 arg4
= (int)(SWIG_As_int(obj3
));
40780 if (SWIG_arg_fail(4)) SWIG_fail
;
40784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40785 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40787 wxPyEndAllowThreads(__tstate
);
40788 if (PyErr_Occurred()) SWIG_fail
;
40790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40797 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40798 PyObject
*resultobj
;
40799 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40801 PyObject
* obj0
= 0 ;
40802 PyObject
* obj1
= 0 ;
40803 char *kwnames
[] = {
40804 (char *) "self",(char *) "cols", NULL
40807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40809 if (SWIG_arg_fail(1)) SWIG_fail
;
40811 arg2
= (int)(SWIG_As_int(obj1
));
40812 if (SWIG_arg_fail(2)) SWIG_fail
;
40815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40816 (arg1
)->SetCols(arg2
);
40818 wxPyEndAllowThreads(__tstate
);
40819 if (PyErr_Occurred()) SWIG_fail
;
40821 Py_INCREF(Py_None
); resultobj
= Py_None
;
40828 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40829 PyObject
*resultobj
;
40830 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40832 PyObject
* obj0
= 0 ;
40833 PyObject
* obj1
= 0 ;
40834 char *kwnames
[] = {
40835 (char *) "self",(char *) "rows", NULL
40838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40840 if (SWIG_arg_fail(1)) SWIG_fail
;
40842 arg2
= (int)(SWIG_As_int(obj1
));
40843 if (SWIG_arg_fail(2)) SWIG_fail
;
40846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40847 (arg1
)->SetRows(arg2
);
40849 wxPyEndAllowThreads(__tstate
);
40850 if (PyErr_Occurred()) SWIG_fail
;
40852 Py_INCREF(Py_None
); resultobj
= Py_None
;
40859 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40860 PyObject
*resultobj
;
40861 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40863 PyObject
* obj0
= 0 ;
40864 PyObject
* obj1
= 0 ;
40865 char *kwnames
[] = {
40866 (char *) "self",(char *) "gap", NULL
40869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40871 if (SWIG_arg_fail(1)) SWIG_fail
;
40873 arg2
= (int)(SWIG_As_int(obj1
));
40874 if (SWIG_arg_fail(2)) SWIG_fail
;
40877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40878 (arg1
)->SetVGap(arg2
);
40880 wxPyEndAllowThreads(__tstate
);
40881 if (PyErr_Occurred()) SWIG_fail
;
40883 Py_INCREF(Py_None
); resultobj
= Py_None
;
40890 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40891 PyObject
*resultobj
;
40892 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40894 PyObject
* obj0
= 0 ;
40895 PyObject
* obj1
= 0 ;
40896 char *kwnames
[] = {
40897 (char *) "self",(char *) "gap", NULL
40900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40902 if (SWIG_arg_fail(1)) SWIG_fail
;
40904 arg2
= (int)(SWIG_As_int(obj1
));
40905 if (SWIG_arg_fail(2)) SWIG_fail
;
40908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40909 (arg1
)->SetHGap(arg2
);
40911 wxPyEndAllowThreads(__tstate
);
40912 if (PyErr_Occurred()) SWIG_fail
;
40914 Py_INCREF(Py_None
); resultobj
= Py_None
;
40921 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40922 PyObject
*resultobj
;
40923 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40925 PyObject
* obj0
= 0 ;
40926 char *kwnames
[] = {
40927 (char *) "self", NULL
40930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40932 if (SWIG_arg_fail(1)) SWIG_fail
;
40934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40935 result
= (int)(arg1
)->GetCols();
40937 wxPyEndAllowThreads(__tstate
);
40938 if (PyErr_Occurred()) SWIG_fail
;
40941 resultobj
= SWIG_From_int((int)(result
));
40949 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40950 PyObject
*resultobj
;
40951 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40953 PyObject
* obj0
= 0 ;
40954 char *kwnames
[] = {
40955 (char *) "self", NULL
40958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40960 if (SWIG_arg_fail(1)) SWIG_fail
;
40962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40963 result
= (int)(arg1
)->GetRows();
40965 wxPyEndAllowThreads(__tstate
);
40966 if (PyErr_Occurred()) SWIG_fail
;
40969 resultobj
= SWIG_From_int((int)(result
));
40977 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40978 PyObject
*resultobj
;
40979 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40981 PyObject
* obj0
= 0 ;
40982 char *kwnames
[] = {
40983 (char *) "self", NULL
40986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40988 if (SWIG_arg_fail(1)) SWIG_fail
;
40990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40991 result
= (int)(arg1
)->GetVGap();
40993 wxPyEndAllowThreads(__tstate
);
40994 if (PyErr_Occurred()) SWIG_fail
;
40997 resultobj
= SWIG_From_int((int)(result
));
41005 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41006 PyObject
*resultobj
;
41007 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41009 PyObject
* obj0
= 0 ;
41010 char *kwnames
[] = {
41011 (char *) "self", NULL
41014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41016 if (SWIG_arg_fail(1)) SWIG_fail
;
41018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41019 result
= (int)(arg1
)->GetHGap();
41021 wxPyEndAllowThreads(__tstate
);
41022 if (PyErr_Occurred()) SWIG_fail
;
41025 resultobj
= SWIG_From_int((int)(result
));
41033 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41036 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41038 return Py_BuildValue((char *)"");
41040 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41041 PyObject
*resultobj
;
41042 int arg1
= (int) 1 ;
41043 int arg2
= (int) 0 ;
41044 int arg3
= (int) 0 ;
41045 int arg4
= (int) 0 ;
41046 wxFlexGridSizer
*result
;
41047 PyObject
* obj0
= 0 ;
41048 PyObject
* obj1
= 0 ;
41049 PyObject
* obj2
= 0 ;
41050 PyObject
* obj3
= 0 ;
41051 char *kwnames
[] = {
41052 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41058 arg1
= (int)(SWIG_As_int(obj0
));
41059 if (SWIG_arg_fail(1)) SWIG_fail
;
41064 arg2
= (int)(SWIG_As_int(obj1
));
41065 if (SWIG_arg_fail(2)) SWIG_fail
;
41070 arg3
= (int)(SWIG_As_int(obj2
));
41071 if (SWIG_arg_fail(3)) SWIG_fail
;
41076 arg4
= (int)(SWIG_As_int(obj3
));
41077 if (SWIG_arg_fail(4)) SWIG_fail
;
41081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41082 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41084 wxPyEndAllowThreads(__tstate
);
41085 if (PyErr_Occurred()) SWIG_fail
;
41087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41094 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41095 PyObject
*resultobj
;
41096 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41098 int arg3
= (int) 0 ;
41099 PyObject
* obj0
= 0 ;
41100 PyObject
* obj1
= 0 ;
41101 PyObject
* obj2
= 0 ;
41102 char *kwnames
[] = {
41103 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41108 if (SWIG_arg_fail(1)) SWIG_fail
;
41110 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41111 if (SWIG_arg_fail(2)) SWIG_fail
;
41115 arg3
= (int)(SWIG_As_int(obj2
));
41116 if (SWIG_arg_fail(3)) SWIG_fail
;
41120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41121 (arg1
)->AddGrowableRow(arg2
,arg3
);
41123 wxPyEndAllowThreads(__tstate
);
41124 if (PyErr_Occurred()) SWIG_fail
;
41126 Py_INCREF(Py_None
); resultobj
= Py_None
;
41133 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41134 PyObject
*resultobj
;
41135 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41137 PyObject
* obj0
= 0 ;
41138 PyObject
* obj1
= 0 ;
41139 char *kwnames
[] = {
41140 (char *) "self",(char *) "idx", NULL
41143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41145 if (SWIG_arg_fail(1)) SWIG_fail
;
41147 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41148 if (SWIG_arg_fail(2)) SWIG_fail
;
41151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41152 (arg1
)->RemoveGrowableRow(arg2
);
41154 wxPyEndAllowThreads(__tstate
);
41155 if (PyErr_Occurred()) SWIG_fail
;
41157 Py_INCREF(Py_None
); resultobj
= Py_None
;
41164 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41165 PyObject
*resultobj
;
41166 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41168 int arg3
= (int) 0 ;
41169 PyObject
* obj0
= 0 ;
41170 PyObject
* obj1
= 0 ;
41171 PyObject
* obj2
= 0 ;
41172 char *kwnames
[] = {
41173 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41178 if (SWIG_arg_fail(1)) SWIG_fail
;
41180 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41181 if (SWIG_arg_fail(2)) SWIG_fail
;
41185 arg3
= (int)(SWIG_As_int(obj2
));
41186 if (SWIG_arg_fail(3)) SWIG_fail
;
41190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41191 (arg1
)->AddGrowableCol(arg2
,arg3
);
41193 wxPyEndAllowThreads(__tstate
);
41194 if (PyErr_Occurred()) SWIG_fail
;
41196 Py_INCREF(Py_None
); resultobj
= Py_None
;
41203 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41204 PyObject
*resultobj
;
41205 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41207 PyObject
* obj0
= 0 ;
41208 PyObject
* obj1
= 0 ;
41209 char *kwnames
[] = {
41210 (char *) "self",(char *) "idx", NULL
41213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41215 if (SWIG_arg_fail(1)) SWIG_fail
;
41217 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41218 if (SWIG_arg_fail(2)) SWIG_fail
;
41221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41222 (arg1
)->RemoveGrowableCol(arg2
);
41224 wxPyEndAllowThreads(__tstate
);
41225 if (PyErr_Occurred()) SWIG_fail
;
41227 Py_INCREF(Py_None
); resultobj
= Py_None
;
41234 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41235 PyObject
*resultobj
;
41236 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41238 PyObject
* obj0
= 0 ;
41239 PyObject
* obj1
= 0 ;
41240 char *kwnames
[] = {
41241 (char *) "self",(char *) "direction", NULL
41244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41246 if (SWIG_arg_fail(1)) SWIG_fail
;
41248 arg2
= (int)(SWIG_As_int(obj1
));
41249 if (SWIG_arg_fail(2)) SWIG_fail
;
41252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41253 (arg1
)->SetFlexibleDirection(arg2
);
41255 wxPyEndAllowThreads(__tstate
);
41256 if (PyErr_Occurred()) SWIG_fail
;
41258 Py_INCREF(Py_None
); resultobj
= Py_None
;
41265 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41266 PyObject
*resultobj
;
41267 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41269 PyObject
* obj0
= 0 ;
41270 char *kwnames
[] = {
41271 (char *) "self", NULL
41274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41276 if (SWIG_arg_fail(1)) SWIG_fail
;
41278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41279 result
= (int)(arg1
)->GetFlexibleDirection();
41281 wxPyEndAllowThreads(__tstate
);
41282 if (PyErr_Occurred()) SWIG_fail
;
41285 resultobj
= SWIG_From_int((int)(result
));
41293 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41294 PyObject
*resultobj
;
41295 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41296 wxFlexSizerGrowMode arg2
;
41297 PyObject
* obj0
= 0 ;
41298 PyObject
* obj1
= 0 ;
41299 char *kwnames
[] = {
41300 (char *) "self",(char *) "mode", NULL
41303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41305 if (SWIG_arg_fail(1)) SWIG_fail
;
41307 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41308 if (SWIG_arg_fail(2)) SWIG_fail
;
41311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41312 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41314 wxPyEndAllowThreads(__tstate
);
41315 if (PyErr_Occurred()) SWIG_fail
;
41317 Py_INCREF(Py_None
); resultobj
= Py_None
;
41324 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41325 PyObject
*resultobj
;
41326 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41327 wxFlexSizerGrowMode result
;
41328 PyObject
* obj0
= 0 ;
41329 char *kwnames
[] = {
41330 (char *) "self", NULL
41333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41335 if (SWIG_arg_fail(1)) SWIG_fail
;
41337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41340 wxPyEndAllowThreads(__tstate
);
41341 if (PyErr_Occurred()) SWIG_fail
;
41343 resultobj
= SWIG_From_int((result
));
41350 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41351 PyObject
*resultobj
;
41352 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41353 wxArrayInt
*result
;
41354 PyObject
* obj0
= 0 ;
41355 char *kwnames
[] = {
41356 (char *) "self", NULL
41359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41361 if (SWIG_arg_fail(1)) SWIG_fail
;
41363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41365 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41366 result
= (wxArrayInt
*) &_result_ref
;
41369 wxPyEndAllowThreads(__tstate
);
41370 if (PyErr_Occurred()) SWIG_fail
;
41373 resultobj
= PyList_New(0);
41375 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41376 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41377 PyList_Append(resultobj
, val
);
41387 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41388 PyObject
*resultobj
;
41389 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41390 wxArrayInt
*result
;
41391 PyObject
* obj0
= 0 ;
41392 char *kwnames
[] = {
41393 (char *) "self", NULL
41396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41398 if (SWIG_arg_fail(1)) SWIG_fail
;
41400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41402 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41403 result
= (wxArrayInt
*) &_result_ref
;
41406 wxPyEndAllowThreads(__tstate
);
41407 if (PyErr_Occurred()) SWIG_fail
;
41410 resultobj
= PyList_New(0);
41412 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41413 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41414 PyList_Append(resultobj
, val
);
41424 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41427 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41429 return Py_BuildValue((char *)"");
41431 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41432 PyObject
*resultobj
;
41433 wxStdDialogButtonSizer
*result
;
41434 char *kwnames
[] = {
41438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41441 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41443 wxPyEndAllowThreads(__tstate
);
41444 if (PyErr_Occurred()) SWIG_fail
;
41446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41453 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41454 PyObject
*resultobj
;
41455 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41456 wxButton
*arg2
= (wxButton
*) 0 ;
41457 PyObject
* obj0
= 0 ;
41458 PyObject
* obj1
= 0 ;
41459 char *kwnames
[] = {
41460 (char *) "self",(char *) "button", NULL
41463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41465 if (SWIG_arg_fail(1)) SWIG_fail
;
41466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41467 if (SWIG_arg_fail(2)) SWIG_fail
;
41469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41470 (arg1
)->AddButton(arg2
);
41472 wxPyEndAllowThreads(__tstate
);
41473 if (PyErr_Occurred()) SWIG_fail
;
41475 Py_INCREF(Py_None
); resultobj
= Py_None
;
41482 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41483 PyObject
*resultobj
;
41484 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41485 PyObject
* obj0
= 0 ;
41486 char *kwnames
[] = {
41487 (char *) "self", NULL
41490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",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();
41497 wxPyEndAllowThreads(__tstate
);
41498 if (PyErr_Occurred()) SWIG_fail
;
41500 Py_INCREF(Py_None
); resultobj
= Py_None
;
41507 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41508 PyObject
*resultobj
;
41509 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41510 wxButton
*arg2
= (wxButton
*) 0 ;
41511 PyObject
* obj0
= 0 ;
41512 PyObject
* obj1
= 0 ;
41513 char *kwnames
[] = {
41514 (char *) "self",(char *) "button", NULL
41517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41519 if (SWIG_arg_fail(1)) SWIG_fail
;
41520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41521 if (SWIG_arg_fail(2)) SWIG_fail
;
41523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41524 (arg1
)->SetAffirmativeButton(arg2
);
41526 wxPyEndAllowThreads(__tstate
);
41527 if (PyErr_Occurred()) SWIG_fail
;
41529 Py_INCREF(Py_None
); resultobj
= Py_None
;
41536 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41537 PyObject
*resultobj
;
41538 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41539 wxButton
*arg2
= (wxButton
*) 0 ;
41540 PyObject
* obj0
= 0 ;
41541 PyObject
* obj1
= 0 ;
41542 char *kwnames
[] = {
41543 (char *) "self",(char *) "button", NULL
41546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41548 if (SWIG_arg_fail(1)) SWIG_fail
;
41549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41550 if (SWIG_arg_fail(2)) SWIG_fail
;
41552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41553 (arg1
)->SetNegativeButton(arg2
);
41555 wxPyEndAllowThreads(__tstate
);
41556 if (PyErr_Occurred()) SWIG_fail
;
41558 Py_INCREF(Py_None
); resultobj
= Py_None
;
41565 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41566 PyObject
*resultobj
;
41567 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41568 wxButton
*arg2
= (wxButton
*) 0 ;
41569 PyObject
* obj0
= 0 ;
41570 PyObject
* obj1
= 0 ;
41571 char *kwnames
[] = {
41572 (char *) "self",(char *) "button", NULL
41575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41577 if (SWIG_arg_fail(1)) SWIG_fail
;
41578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41579 if (SWIG_arg_fail(2)) SWIG_fail
;
41581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41582 (arg1
)->SetCancelButton(arg2
);
41584 wxPyEndAllowThreads(__tstate
);
41585 if (PyErr_Occurred()) SWIG_fail
;
41587 Py_INCREF(Py_None
); resultobj
= Py_None
;
41594 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41595 PyObject
*resultobj
;
41596 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41598 PyObject
* obj0
= 0 ;
41599 char *kwnames
[] = {
41600 (char *) "self", NULL
41603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41605 if (SWIG_arg_fail(1)) SWIG_fail
;
41607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41608 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41610 wxPyEndAllowThreads(__tstate
);
41611 if (PyErr_Occurred()) SWIG_fail
;
41614 resultobj
= wxPyMake_wxObject(result
, 0);
41622 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41623 PyObject
*resultobj
;
41624 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41626 PyObject
* obj0
= 0 ;
41627 char *kwnames
[] = {
41628 (char *) "self", NULL
41631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41633 if (SWIG_arg_fail(1)) SWIG_fail
;
41635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41636 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41638 wxPyEndAllowThreads(__tstate
);
41639 if (PyErr_Occurred()) SWIG_fail
;
41642 resultobj
= wxPyMake_wxObject(result
, 0);
41650 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41651 PyObject
*resultobj
;
41652 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41654 PyObject
* obj0
= 0 ;
41655 char *kwnames
[] = {
41656 (char *) "self", NULL
41659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41661 if (SWIG_arg_fail(1)) SWIG_fail
;
41663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41664 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41666 wxPyEndAllowThreads(__tstate
);
41667 if (PyErr_Occurred()) SWIG_fail
;
41670 resultobj
= wxPyMake_wxObject(result
, 0);
41678 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41679 PyObject
*resultobj
;
41680 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41682 PyObject
* obj0
= 0 ;
41683 char *kwnames
[] = {
41684 (char *) "self", NULL
41687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41689 if (SWIG_arg_fail(1)) SWIG_fail
;
41691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41692 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41694 wxPyEndAllowThreads(__tstate
);
41695 if (PyErr_Occurred()) SWIG_fail
;
41698 resultobj
= wxPyMake_wxObject(result
, 0);
41706 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41707 PyObject
*resultobj
;
41708 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41710 PyObject
* obj0
= 0 ;
41711 char *kwnames
[] = {
41712 (char *) "self", NULL
41715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41717 if (SWIG_arg_fail(1)) SWIG_fail
;
41719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41720 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41722 wxPyEndAllowThreads(__tstate
);
41723 if (PyErr_Occurred()) SWIG_fail
;
41726 resultobj
= wxPyMake_wxObject(result
, 0);
41734 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41737 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41739 return Py_BuildValue((char *)"");
41741 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41742 PyObject
*resultobj
;
41743 int arg1
= (int) 0 ;
41744 int arg2
= (int) 0 ;
41745 wxGBPosition
*result
;
41746 PyObject
* obj0
= 0 ;
41747 PyObject
* obj1
= 0 ;
41748 char *kwnames
[] = {
41749 (char *) "row",(char *) "col", NULL
41752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41755 arg1
= (int)(SWIG_As_int(obj0
));
41756 if (SWIG_arg_fail(1)) SWIG_fail
;
41761 arg2
= (int)(SWIG_As_int(obj1
));
41762 if (SWIG_arg_fail(2)) SWIG_fail
;
41766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41767 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41769 wxPyEndAllowThreads(__tstate
);
41770 if (PyErr_Occurred()) SWIG_fail
;
41772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41779 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41780 PyObject
*resultobj
;
41781 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41783 PyObject
* obj0
= 0 ;
41784 char *kwnames
[] = {
41785 (char *) "self", NULL
41788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41790 if (SWIG_arg_fail(1)) SWIG_fail
;
41792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41793 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41795 wxPyEndAllowThreads(__tstate
);
41796 if (PyErr_Occurred()) SWIG_fail
;
41799 resultobj
= SWIG_From_int((int)(result
));
41807 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41808 PyObject
*resultobj
;
41809 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41811 PyObject
* obj0
= 0 ;
41812 char *kwnames
[] = {
41813 (char *) "self", NULL
41816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41818 if (SWIG_arg_fail(1)) SWIG_fail
;
41820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41821 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41823 wxPyEndAllowThreads(__tstate
);
41824 if (PyErr_Occurred()) SWIG_fail
;
41827 resultobj
= SWIG_From_int((int)(result
));
41835 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41836 PyObject
*resultobj
;
41837 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41839 PyObject
* obj0
= 0 ;
41840 PyObject
* obj1
= 0 ;
41841 char *kwnames
[] = {
41842 (char *) "self",(char *) "row", NULL
41845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41847 if (SWIG_arg_fail(1)) SWIG_fail
;
41849 arg2
= (int)(SWIG_As_int(obj1
));
41850 if (SWIG_arg_fail(2)) SWIG_fail
;
41853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41854 (arg1
)->SetRow(arg2
);
41856 wxPyEndAllowThreads(__tstate
);
41857 if (PyErr_Occurred()) SWIG_fail
;
41859 Py_INCREF(Py_None
); resultobj
= Py_None
;
41866 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41867 PyObject
*resultobj
;
41868 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41870 PyObject
* obj0
= 0 ;
41871 PyObject
* obj1
= 0 ;
41872 char *kwnames
[] = {
41873 (char *) "self",(char *) "col", NULL
41876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41878 if (SWIG_arg_fail(1)) SWIG_fail
;
41880 arg2
= (int)(SWIG_As_int(obj1
));
41881 if (SWIG_arg_fail(2)) SWIG_fail
;
41884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41885 (arg1
)->SetCol(arg2
);
41887 wxPyEndAllowThreads(__tstate
);
41888 if (PyErr_Occurred()) SWIG_fail
;
41890 Py_INCREF(Py_None
); resultobj
= Py_None
;
41897 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41898 PyObject
*resultobj
;
41899 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41900 wxGBPosition
*arg2
= 0 ;
41902 wxGBPosition temp2
;
41903 PyObject
* obj0
= 0 ;
41904 PyObject
* obj1
= 0 ;
41905 char *kwnames
[] = {
41906 (char *) "self",(char *) "other", NULL
41909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41911 if (SWIG_arg_fail(1)) SWIG_fail
;
41914 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41918 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41920 wxPyEndAllowThreads(__tstate
);
41921 if (PyErr_Occurred()) SWIG_fail
;
41924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41932 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41933 PyObject
*resultobj
;
41934 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41935 wxGBPosition
*arg2
= 0 ;
41937 wxGBPosition temp2
;
41938 PyObject
* obj0
= 0 ;
41939 PyObject
* obj1
= 0 ;
41940 char *kwnames
[] = {
41941 (char *) "self",(char *) "other", NULL
41944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41946 if (SWIG_arg_fail(1)) SWIG_fail
;
41949 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41953 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41955 wxPyEndAllowThreads(__tstate
);
41956 if (PyErr_Occurred()) SWIG_fail
;
41959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41967 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41968 PyObject
*resultobj
;
41969 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41970 int arg2
= (int) 0 ;
41971 int arg3
= (int) 0 ;
41972 PyObject
* obj0
= 0 ;
41973 PyObject
* obj1
= 0 ;
41974 PyObject
* obj2
= 0 ;
41975 char *kwnames
[] = {
41976 (char *) "self",(char *) "row",(char *) "col", NULL
41979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41981 if (SWIG_arg_fail(1)) SWIG_fail
;
41984 arg2
= (int)(SWIG_As_int(obj1
));
41985 if (SWIG_arg_fail(2)) SWIG_fail
;
41990 arg3
= (int)(SWIG_As_int(obj2
));
41991 if (SWIG_arg_fail(3)) SWIG_fail
;
41995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41996 wxGBPosition_Set(arg1
,arg2
,arg3
);
41998 wxPyEndAllowThreads(__tstate
);
41999 if (PyErr_Occurred()) SWIG_fail
;
42001 Py_INCREF(Py_None
); resultobj
= Py_None
;
42008 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42009 PyObject
*resultobj
;
42010 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42012 PyObject
* obj0
= 0 ;
42013 char *kwnames
[] = {
42014 (char *) "self", NULL
42017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42019 if (SWIG_arg_fail(1)) SWIG_fail
;
42021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42022 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42024 wxPyEndAllowThreads(__tstate
);
42025 if (PyErr_Occurred()) SWIG_fail
;
42027 resultobj
= result
;
42034 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42037 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42039 return Py_BuildValue((char *)"");
42041 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42042 PyObject
*resultobj
;
42043 int arg1
= (int) 1 ;
42044 int arg2
= (int) 1 ;
42046 PyObject
* obj0
= 0 ;
42047 PyObject
* obj1
= 0 ;
42048 char *kwnames
[] = {
42049 (char *) "rowspan",(char *) "colspan", NULL
42052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42055 arg1
= (int)(SWIG_As_int(obj0
));
42056 if (SWIG_arg_fail(1)) SWIG_fail
;
42061 arg2
= (int)(SWIG_As_int(obj1
));
42062 if (SWIG_arg_fail(2)) SWIG_fail
;
42066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42067 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42069 wxPyEndAllowThreads(__tstate
);
42070 if (PyErr_Occurred()) SWIG_fail
;
42072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42079 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42080 PyObject
*resultobj
;
42081 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42083 PyObject
* obj0
= 0 ;
42084 char *kwnames
[] = {
42085 (char *) "self", NULL
42088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42090 if (SWIG_arg_fail(1)) SWIG_fail
;
42092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42093 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42095 wxPyEndAllowThreads(__tstate
);
42096 if (PyErr_Occurred()) SWIG_fail
;
42099 resultobj
= SWIG_From_int((int)(result
));
42107 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42108 PyObject
*resultobj
;
42109 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42111 PyObject
* obj0
= 0 ;
42112 char *kwnames
[] = {
42113 (char *) "self", NULL
42116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42118 if (SWIG_arg_fail(1)) SWIG_fail
;
42120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42121 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42123 wxPyEndAllowThreads(__tstate
);
42124 if (PyErr_Occurred()) SWIG_fail
;
42127 resultobj
= SWIG_From_int((int)(result
));
42135 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42136 PyObject
*resultobj
;
42137 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42139 PyObject
* obj0
= 0 ;
42140 PyObject
* obj1
= 0 ;
42141 char *kwnames
[] = {
42142 (char *) "self",(char *) "rowspan", NULL
42145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42147 if (SWIG_arg_fail(1)) SWIG_fail
;
42149 arg2
= (int)(SWIG_As_int(obj1
));
42150 if (SWIG_arg_fail(2)) SWIG_fail
;
42153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42154 (arg1
)->SetRowspan(arg2
);
42156 wxPyEndAllowThreads(__tstate
);
42157 if (PyErr_Occurred()) SWIG_fail
;
42159 Py_INCREF(Py_None
); resultobj
= Py_None
;
42166 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42167 PyObject
*resultobj
;
42168 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42170 PyObject
* obj0
= 0 ;
42171 PyObject
* obj1
= 0 ;
42172 char *kwnames
[] = {
42173 (char *) "self",(char *) "colspan", NULL
42176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42178 if (SWIG_arg_fail(1)) SWIG_fail
;
42180 arg2
= (int)(SWIG_As_int(obj1
));
42181 if (SWIG_arg_fail(2)) SWIG_fail
;
42184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42185 (arg1
)->SetColspan(arg2
);
42187 wxPyEndAllowThreads(__tstate
);
42188 if (PyErr_Occurred()) SWIG_fail
;
42190 Py_INCREF(Py_None
); resultobj
= Py_None
;
42197 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42198 PyObject
*resultobj
;
42199 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42200 wxGBSpan
*arg2
= 0 ;
42203 PyObject
* obj0
= 0 ;
42204 PyObject
* obj1
= 0 ;
42205 char *kwnames
[] = {
42206 (char *) "self",(char *) "other", NULL
42209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42211 if (SWIG_arg_fail(1)) SWIG_fail
;
42214 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42218 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42220 wxPyEndAllowThreads(__tstate
);
42221 if (PyErr_Occurred()) SWIG_fail
;
42224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42232 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42233 PyObject
*resultobj
;
42234 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42235 wxGBSpan
*arg2
= 0 ;
42238 PyObject
* obj0
= 0 ;
42239 PyObject
* obj1
= 0 ;
42240 char *kwnames
[] = {
42241 (char *) "self",(char *) "other", NULL
42244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42246 if (SWIG_arg_fail(1)) SWIG_fail
;
42249 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42253 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42255 wxPyEndAllowThreads(__tstate
);
42256 if (PyErr_Occurred()) SWIG_fail
;
42259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42267 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42268 PyObject
*resultobj
;
42269 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42270 int arg2
= (int) 1 ;
42271 int arg3
= (int) 1 ;
42272 PyObject
* obj0
= 0 ;
42273 PyObject
* obj1
= 0 ;
42274 PyObject
* obj2
= 0 ;
42275 char *kwnames
[] = {
42276 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42281 if (SWIG_arg_fail(1)) SWIG_fail
;
42284 arg2
= (int)(SWIG_As_int(obj1
));
42285 if (SWIG_arg_fail(2)) SWIG_fail
;
42290 arg3
= (int)(SWIG_As_int(obj2
));
42291 if (SWIG_arg_fail(3)) SWIG_fail
;
42295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42296 wxGBSpan_Set(arg1
,arg2
,arg3
);
42298 wxPyEndAllowThreads(__tstate
);
42299 if (PyErr_Occurred()) SWIG_fail
;
42301 Py_INCREF(Py_None
); resultobj
= Py_None
;
42308 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42309 PyObject
*resultobj
;
42310 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42312 PyObject
* obj0
= 0 ;
42313 char *kwnames
[] = {
42314 (char *) "self", NULL
42317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42319 if (SWIG_arg_fail(1)) SWIG_fail
;
42321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42322 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42324 wxPyEndAllowThreads(__tstate
);
42325 if (PyErr_Occurred()) SWIG_fail
;
42327 resultobj
= result
;
42334 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42337 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42339 return Py_BuildValue((char *)"");
42341 static int _wrap_DefaultSpan_set(PyObject
*) {
42342 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42347 static PyObject
*_wrap_DefaultSpan_get(void) {
42350 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42355 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42356 PyObject
*resultobj
;
42357 wxGBSizerItem
*result
;
42358 char *kwnames
[] = {
42362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42365 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42367 wxPyEndAllowThreads(__tstate
);
42368 if (PyErr_Occurred()) SWIG_fail
;
42370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42377 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42378 PyObject
*resultobj
;
42379 wxWindow
*arg1
= (wxWindow
*) 0 ;
42380 wxGBPosition
*arg2
= 0 ;
42381 wxGBSpan
*arg3
= 0 ;
42384 PyObject
*arg6
= (PyObject
*) NULL
;
42385 wxGBSizerItem
*result
;
42386 wxGBPosition temp2
;
42388 PyObject
* obj0
= 0 ;
42389 PyObject
* obj1
= 0 ;
42390 PyObject
* obj2
= 0 ;
42391 PyObject
* obj3
= 0 ;
42392 PyObject
* obj4
= 0 ;
42393 PyObject
* obj5
= 0 ;
42394 char *kwnames
[] = {
42395 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42400 if (SWIG_arg_fail(1)) SWIG_fail
;
42403 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42407 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42410 arg4
= (int)(SWIG_As_int(obj3
));
42411 if (SWIG_arg_fail(4)) SWIG_fail
;
42414 arg5
= (int)(SWIG_As_int(obj4
));
42415 if (SWIG_arg_fail(5)) SWIG_fail
;
42421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42422 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42424 wxPyEndAllowThreads(__tstate
);
42425 if (PyErr_Occurred()) SWIG_fail
;
42427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42434 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42435 PyObject
*resultobj
;
42436 wxSizer
*arg1
= (wxSizer
*) 0 ;
42437 wxGBPosition
*arg2
= 0 ;
42438 wxGBSpan
*arg3
= 0 ;
42441 PyObject
*arg6
= (PyObject
*) NULL
;
42442 wxGBSizerItem
*result
;
42443 wxGBPosition temp2
;
42445 PyObject
* obj0
= 0 ;
42446 PyObject
* obj1
= 0 ;
42447 PyObject
* obj2
= 0 ;
42448 PyObject
* obj3
= 0 ;
42449 PyObject
* obj4
= 0 ;
42450 PyObject
* obj5
= 0 ;
42451 char *kwnames
[] = {
42452 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42457 if (SWIG_arg_fail(1)) SWIG_fail
;
42460 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42464 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42467 arg4
= (int)(SWIG_As_int(obj3
));
42468 if (SWIG_arg_fail(4)) SWIG_fail
;
42471 arg5
= (int)(SWIG_As_int(obj4
));
42472 if (SWIG_arg_fail(5)) SWIG_fail
;
42478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42479 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42481 wxPyEndAllowThreads(__tstate
);
42482 if (PyErr_Occurred()) SWIG_fail
;
42484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42491 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42492 PyObject
*resultobj
;
42495 wxGBPosition
*arg3
= 0 ;
42496 wxGBSpan
*arg4
= 0 ;
42499 PyObject
*arg7
= (PyObject
*) NULL
;
42500 wxGBSizerItem
*result
;
42501 wxGBPosition temp3
;
42503 PyObject
* obj0
= 0 ;
42504 PyObject
* obj1
= 0 ;
42505 PyObject
* obj2
= 0 ;
42506 PyObject
* obj3
= 0 ;
42507 PyObject
* obj4
= 0 ;
42508 PyObject
* obj5
= 0 ;
42509 PyObject
* obj6
= 0 ;
42510 char *kwnames
[] = {
42511 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42516 arg1
= (int)(SWIG_As_int(obj0
));
42517 if (SWIG_arg_fail(1)) SWIG_fail
;
42520 arg2
= (int)(SWIG_As_int(obj1
));
42521 if (SWIG_arg_fail(2)) SWIG_fail
;
42525 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42529 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42532 arg5
= (int)(SWIG_As_int(obj4
));
42533 if (SWIG_arg_fail(5)) SWIG_fail
;
42536 arg6
= (int)(SWIG_As_int(obj5
));
42537 if (SWIG_arg_fail(6)) SWIG_fail
;
42543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42544 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42546 wxPyEndAllowThreads(__tstate
);
42547 if (PyErr_Occurred()) SWIG_fail
;
42549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42556 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42557 PyObject
*resultobj
;
42558 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42559 wxGBPosition result
;
42560 PyObject
* obj0
= 0 ;
42561 char *kwnames
[] = {
42562 (char *) "self", NULL
42565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42567 if (SWIG_arg_fail(1)) SWIG_fail
;
42569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42570 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42572 wxPyEndAllowThreads(__tstate
);
42573 if (PyErr_Occurred()) SWIG_fail
;
42576 wxGBPosition
* resultptr
;
42577 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42586 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42587 PyObject
*resultobj
;
42588 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42590 PyObject
* obj0
= 0 ;
42591 char *kwnames
[] = {
42592 (char *) "self", NULL
42595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42597 if (SWIG_arg_fail(1)) SWIG_fail
;
42599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42600 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42602 wxPyEndAllowThreads(__tstate
);
42603 if (PyErr_Occurred()) SWIG_fail
;
42606 wxGBSpan
* resultptr
;
42607 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42616 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42617 PyObject
*resultobj
;
42618 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42619 wxGBPosition
*arg2
= 0 ;
42621 wxGBPosition temp2
;
42622 PyObject
* obj0
= 0 ;
42623 PyObject
* obj1
= 0 ;
42624 char *kwnames
[] = {
42625 (char *) "self",(char *) "pos", NULL
42628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42630 if (SWIG_arg_fail(1)) SWIG_fail
;
42633 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42637 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42639 wxPyEndAllowThreads(__tstate
);
42640 if (PyErr_Occurred()) SWIG_fail
;
42643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42651 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42652 PyObject
*resultobj
;
42653 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42654 wxGBSpan
*arg2
= 0 ;
42657 PyObject
* obj0
= 0 ;
42658 PyObject
* obj1
= 0 ;
42659 char *kwnames
[] = {
42660 (char *) "self",(char *) "span", NULL
42663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",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
;
42668 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42672 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42674 wxPyEndAllowThreads(__tstate
);
42675 if (PyErr_Occurred()) SWIG_fail
;
42678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42686 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42687 PyObject
*resultobj
;
42688 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42689 wxGBSizerItem
*arg2
= 0 ;
42691 PyObject
* obj0
= 0 ;
42692 PyObject
* obj1
= 0 ;
42693 char *kwnames
[] = {
42694 (char *) "self",(char *) "other", NULL
42697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42699 if (SWIG_arg_fail(1)) SWIG_fail
;
42701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42702 if (SWIG_arg_fail(2)) SWIG_fail
;
42703 if (arg2
== NULL
) {
42704 SWIG_null_ref("wxGBSizerItem");
42706 if (SWIG_arg_fail(2)) SWIG_fail
;
42709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42710 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42712 wxPyEndAllowThreads(__tstate
);
42713 if (PyErr_Occurred()) SWIG_fail
;
42716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42724 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42725 PyObject
*resultobj
;
42726 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42727 wxGBPosition
*arg2
= 0 ;
42728 wxGBSpan
*arg3
= 0 ;
42730 wxGBPosition temp2
;
42732 PyObject
* obj0
= 0 ;
42733 PyObject
* obj1
= 0 ;
42734 PyObject
* obj2
= 0 ;
42735 char *kwnames
[] = {
42736 (char *) "self",(char *) "pos",(char *) "span", NULL
42739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42741 if (SWIG_arg_fail(1)) SWIG_fail
;
42744 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42748 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42752 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42754 wxPyEndAllowThreads(__tstate
);
42755 if (PyErr_Occurred()) SWIG_fail
;
42758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42766 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42767 PyObject
*resultobj
;
42768 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42769 wxGBPosition result
;
42770 PyObject
* obj0
= 0 ;
42771 char *kwnames
[] = {
42772 (char *) "self", NULL
42775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42777 if (SWIG_arg_fail(1)) SWIG_fail
;
42779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42780 result
= wxGBSizerItem_GetEndPos(arg1
);
42782 wxPyEndAllowThreads(__tstate
);
42783 if (PyErr_Occurred()) SWIG_fail
;
42786 wxGBPosition
* resultptr
;
42787 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42796 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42797 PyObject
*resultobj
;
42798 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42799 wxGridBagSizer
*result
;
42800 PyObject
* obj0
= 0 ;
42801 char *kwnames
[] = {
42802 (char *) "self", NULL
42805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42807 if (SWIG_arg_fail(1)) SWIG_fail
;
42809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42810 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42812 wxPyEndAllowThreads(__tstate
);
42813 if (PyErr_Occurred()) SWIG_fail
;
42815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42822 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42823 PyObject
*resultobj
;
42824 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42825 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42826 PyObject
* obj0
= 0 ;
42827 PyObject
* obj1
= 0 ;
42828 char *kwnames
[] = {
42829 (char *) "self",(char *) "sizer", NULL
42832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42834 if (SWIG_arg_fail(1)) SWIG_fail
;
42835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42836 if (SWIG_arg_fail(2)) SWIG_fail
;
42838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42839 (arg1
)->SetGBSizer(arg2
);
42841 wxPyEndAllowThreads(__tstate
);
42842 if (PyErr_Occurred()) SWIG_fail
;
42844 Py_INCREF(Py_None
); resultobj
= Py_None
;
42851 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42854 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42856 return Py_BuildValue((char *)"");
42858 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42859 PyObject
*resultobj
;
42860 int arg1
= (int) 0 ;
42861 int arg2
= (int) 0 ;
42862 wxGridBagSizer
*result
;
42863 PyObject
* obj0
= 0 ;
42864 PyObject
* obj1
= 0 ;
42865 char *kwnames
[] = {
42866 (char *) "vgap",(char *) "hgap", NULL
42869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42872 arg1
= (int)(SWIG_As_int(obj0
));
42873 if (SWIG_arg_fail(1)) SWIG_fail
;
42878 arg2
= (int)(SWIG_As_int(obj1
));
42879 if (SWIG_arg_fail(2)) SWIG_fail
;
42883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42884 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42886 wxPyEndAllowThreads(__tstate
);
42887 if (PyErr_Occurred()) SWIG_fail
;
42889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42896 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42897 PyObject
*resultobj
;
42898 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42899 PyObject
*arg2
= (PyObject
*) 0 ;
42900 wxGBPosition
*arg3
= 0 ;
42901 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42902 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42903 int arg5
= (int) 0 ;
42904 int arg6
= (int) 0 ;
42905 PyObject
*arg7
= (PyObject
*) NULL
;
42906 wxGBSizerItem
*result
;
42907 wxGBPosition temp3
;
42909 PyObject
* obj0
= 0 ;
42910 PyObject
* obj1
= 0 ;
42911 PyObject
* obj2
= 0 ;
42912 PyObject
* obj3
= 0 ;
42913 PyObject
* obj4
= 0 ;
42914 PyObject
* obj5
= 0 ;
42915 PyObject
* obj6
= 0 ;
42916 char *kwnames
[] = {
42917 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42922 if (SWIG_arg_fail(1)) SWIG_fail
;
42926 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42931 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42936 arg5
= (int)(SWIG_As_int(obj4
));
42937 if (SWIG_arg_fail(5)) SWIG_fail
;
42942 arg6
= (int)(SWIG_As_int(obj5
));
42943 if (SWIG_arg_fail(6)) SWIG_fail
;
42950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42951 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42953 wxPyEndAllowThreads(__tstate
);
42954 if (PyErr_Occurred()) SWIG_fail
;
42956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42963 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42964 PyObject
*resultobj
;
42965 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42966 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42967 wxGBSizerItem
*result
;
42968 PyObject
* obj0
= 0 ;
42969 PyObject
* obj1
= 0 ;
42970 char *kwnames
[] = {
42971 (char *) "self",(char *) "item", NULL
42974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42976 if (SWIG_arg_fail(1)) SWIG_fail
;
42977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42978 if (SWIG_arg_fail(2)) SWIG_fail
;
42980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42981 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42983 wxPyEndAllowThreads(__tstate
);
42984 if (PyErr_Occurred()) SWIG_fail
;
42986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42993 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42994 PyObject
*resultobj
;
42995 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42999 PyObject
* obj0
= 0 ;
43000 PyObject
* obj1
= 0 ;
43001 PyObject
* obj2
= 0 ;
43002 char *kwnames
[] = {
43003 (char *) "self",(char *) "row",(char *) "col", NULL
43006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43008 if (SWIG_arg_fail(1)) SWIG_fail
;
43010 arg2
= (int)(SWIG_As_int(obj1
));
43011 if (SWIG_arg_fail(2)) SWIG_fail
;
43014 arg3
= (int)(SWIG_As_int(obj2
));
43015 if (SWIG_arg_fail(3)) SWIG_fail
;
43018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43019 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43021 wxPyEndAllowThreads(__tstate
);
43022 if (PyErr_Occurred()) SWIG_fail
;
43025 wxSize
* resultptr
;
43026 resultptr
= new wxSize((wxSize
&)(result
));
43027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43035 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43036 PyObject
*resultobj
;
43037 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43039 PyObject
* obj0
= 0 ;
43040 char *kwnames
[] = {
43041 (char *) "self", NULL
43044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43046 if (SWIG_arg_fail(1)) SWIG_fail
;
43048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43049 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43051 wxPyEndAllowThreads(__tstate
);
43052 if (PyErr_Occurred()) SWIG_fail
;
43055 wxSize
* resultptr
;
43056 resultptr
= new wxSize((wxSize
&)(result
));
43057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43065 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43066 PyObject
*resultobj
;
43067 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43070 PyObject
* obj0
= 0 ;
43071 PyObject
* obj1
= 0 ;
43072 char *kwnames
[] = {
43073 (char *) "self",(char *) "sz", NULL
43076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43078 if (SWIG_arg_fail(1)) SWIG_fail
;
43081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43085 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43087 wxPyEndAllowThreads(__tstate
);
43088 if (PyErr_Occurred()) SWIG_fail
;
43090 Py_INCREF(Py_None
); resultobj
= Py_None
;
43097 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43098 PyObject
*resultobj
;
43099 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43100 wxWindow
*arg2
= (wxWindow
*) 0 ;
43101 wxGBPosition result
;
43102 PyObject
* obj0
= 0 ;
43103 PyObject
* obj1
= 0 ;
43105 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43107 if (SWIG_arg_fail(1)) SWIG_fail
;
43108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43109 if (SWIG_arg_fail(2)) SWIG_fail
;
43111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43112 result
= (arg1
)->GetItemPosition(arg2
);
43114 wxPyEndAllowThreads(__tstate
);
43115 if (PyErr_Occurred()) SWIG_fail
;
43118 wxGBPosition
* resultptr
;
43119 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43128 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43129 PyObject
*resultobj
;
43130 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43131 wxSizer
*arg2
= (wxSizer
*) 0 ;
43132 wxGBPosition result
;
43133 PyObject
* obj0
= 0 ;
43134 PyObject
* obj1
= 0 ;
43136 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43138 if (SWIG_arg_fail(1)) SWIG_fail
;
43139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43140 if (SWIG_arg_fail(2)) SWIG_fail
;
43142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43143 result
= (arg1
)->GetItemPosition(arg2
);
43145 wxPyEndAllowThreads(__tstate
);
43146 if (PyErr_Occurred()) SWIG_fail
;
43149 wxGBPosition
* resultptr
;
43150 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43159 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43160 PyObject
*resultobj
;
43161 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43163 wxGBPosition result
;
43164 PyObject
* obj0
= 0 ;
43165 PyObject
* obj1
= 0 ;
43167 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43169 if (SWIG_arg_fail(1)) SWIG_fail
;
43171 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43172 if (SWIG_arg_fail(2)) SWIG_fail
;
43175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43176 result
= (arg1
)->GetItemPosition(arg2
);
43178 wxPyEndAllowThreads(__tstate
);
43179 if (PyErr_Occurred()) SWIG_fail
;
43182 wxGBPosition
* resultptr
;
43183 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43192 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43197 argc
= PyObject_Length(args
);
43198 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43199 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43205 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43215 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43223 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43231 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43241 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43249 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43257 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43265 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43267 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43272 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43277 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43278 PyObject
*resultobj
;
43279 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43280 wxWindow
*arg2
= (wxWindow
*) 0 ;
43281 wxGBPosition
*arg3
= 0 ;
43283 wxGBPosition temp3
;
43284 PyObject
* obj0
= 0 ;
43285 PyObject
* obj1
= 0 ;
43286 PyObject
* obj2
= 0 ;
43288 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43290 if (SWIG_arg_fail(1)) SWIG_fail
;
43291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43292 if (SWIG_arg_fail(2)) SWIG_fail
;
43295 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43299 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43301 wxPyEndAllowThreads(__tstate
);
43302 if (PyErr_Occurred()) SWIG_fail
;
43305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43313 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43314 PyObject
*resultobj
;
43315 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43316 wxSizer
*arg2
= (wxSizer
*) 0 ;
43317 wxGBPosition
*arg3
= 0 ;
43319 wxGBPosition temp3
;
43320 PyObject
* obj0
= 0 ;
43321 PyObject
* obj1
= 0 ;
43322 PyObject
* obj2
= 0 ;
43324 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43326 if (SWIG_arg_fail(1)) SWIG_fail
;
43327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43328 if (SWIG_arg_fail(2)) SWIG_fail
;
43331 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43335 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43337 wxPyEndAllowThreads(__tstate
);
43338 if (PyErr_Occurred()) SWIG_fail
;
43341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43349 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43350 PyObject
*resultobj
;
43351 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43353 wxGBPosition
*arg3
= 0 ;
43355 wxGBPosition temp3
;
43356 PyObject
* obj0
= 0 ;
43357 PyObject
* obj1
= 0 ;
43358 PyObject
* obj2
= 0 ;
43360 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43362 if (SWIG_arg_fail(1)) SWIG_fail
;
43364 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43365 if (SWIG_arg_fail(2)) SWIG_fail
;
43369 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43373 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43375 wxPyEndAllowThreads(__tstate
);
43376 if (PyErr_Occurred()) SWIG_fail
;
43379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43387 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43392 argc
= PyObject_Length(args
);
43393 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43394 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43400 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43410 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43419 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43422 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43431 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43441 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43450 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43453 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43462 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43470 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43473 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43476 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43482 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43487 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43488 PyObject
*resultobj
;
43489 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43490 wxWindow
*arg2
= (wxWindow
*) 0 ;
43492 PyObject
* obj0
= 0 ;
43493 PyObject
* obj1
= 0 ;
43495 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43497 if (SWIG_arg_fail(1)) SWIG_fail
;
43498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43499 if (SWIG_arg_fail(2)) SWIG_fail
;
43501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43502 result
= (arg1
)->GetItemSpan(arg2
);
43504 wxPyEndAllowThreads(__tstate
);
43505 if (PyErr_Occurred()) SWIG_fail
;
43508 wxGBSpan
* resultptr
;
43509 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43518 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43519 PyObject
*resultobj
;
43520 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43521 wxSizer
*arg2
= (wxSizer
*) 0 ;
43523 PyObject
* obj0
= 0 ;
43524 PyObject
* obj1
= 0 ;
43526 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43528 if (SWIG_arg_fail(1)) SWIG_fail
;
43529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43530 if (SWIG_arg_fail(2)) SWIG_fail
;
43532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43533 result
= (arg1
)->GetItemSpan(arg2
);
43535 wxPyEndAllowThreads(__tstate
);
43536 if (PyErr_Occurred()) SWIG_fail
;
43539 wxGBSpan
* resultptr
;
43540 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43549 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43550 PyObject
*resultobj
;
43551 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43554 PyObject
* obj0
= 0 ;
43555 PyObject
* obj1
= 0 ;
43557 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43559 if (SWIG_arg_fail(1)) SWIG_fail
;
43561 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43562 if (SWIG_arg_fail(2)) SWIG_fail
;
43565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43566 result
= (arg1
)->GetItemSpan(arg2
);
43568 wxPyEndAllowThreads(__tstate
);
43569 if (PyErr_Occurred()) SWIG_fail
;
43572 wxGBSpan
* resultptr
;
43573 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43582 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43587 argc
= PyObject_Length(args
);
43588 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43589 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43595 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43605 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43613 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43631 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43639 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43647 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43655 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43657 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43662 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43667 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43668 PyObject
*resultobj
;
43669 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43670 wxWindow
*arg2
= (wxWindow
*) 0 ;
43671 wxGBSpan
*arg3
= 0 ;
43674 PyObject
* obj0
= 0 ;
43675 PyObject
* obj1
= 0 ;
43676 PyObject
* obj2
= 0 ;
43678 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43680 if (SWIG_arg_fail(1)) SWIG_fail
;
43681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43682 if (SWIG_arg_fail(2)) SWIG_fail
;
43685 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43689 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43691 wxPyEndAllowThreads(__tstate
);
43692 if (PyErr_Occurred()) SWIG_fail
;
43695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43703 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43704 PyObject
*resultobj
;
43705 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43706 wxSizer
*arg2
= (wxSizer
*) 0 ;
43707 wxGBSpan
*arg3
= 0 ;
43710 PyObject
* obj0
= 0 ;
43711 PyObject
* obj1
= 0 ;
43712 PyObject
* obj2
= 0 ;
43714 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43716 if (SWIG_arg_fail(1)) SWIG_fail
;
43717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43718 if (SWIG_arg_fail(2)) SWIG_fail
;
43721 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43725 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43727 wxPyEndAllowThreads(__tstate
);
43728 if (PyErr_Occurred()) SWIG_fail
;
43731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43739 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43740 PyObject
*resultobj
;
43741 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43743 wxGBSpan
*arg3
= 0 ;
43746 PyObject
* obj0
= 0 ;
43747 PyObject
* obj1
= 0 ;
43748 PyObject
* obj2
= 0 ;
43750 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43752 if (SWIG_arg_fail(1)) SWIG_fail
;
43754 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43755 if (SWIG_arg_fail(2)) SWIG_fail
;
43759 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43763 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43765 wxPyEndAllowThreads(__tstate
);
43766 if (PyErr_Occurred()) SWIG_fail
;
43769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43777 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43782 argc
= PyObject_Length(args
);
43783 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43784 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43800 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43809 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43812 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43840 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43843 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43852 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43860 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43863 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43866 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43872 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43877 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43878 PyObject
*resultobj
;
43879 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43880 wxWindow
*arg2
= (wxWindow
*) 0 ;
43881 wxGBSizerItem
*result
;
43882 PyObject
* obj0
= 0 ;
43883 PyObject
* obj1
= 0 ;
43885 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43887 if (SWIG_arg_fail(1)) SWIG_fail
;
43888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43889 if (SWIG_arg_fail(2)) SWIG_fail
;
43891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43892 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43894 wxPyEndAllowThreads(__tstate
);
43895 if (PyErr_Occurred()) SWIG_fail
;
43897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43904 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43905 PyObject
*resultobj
;
43906 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43907 wxSizer
*arg2
= (wxSizer
*) 0 ;
43908 wxGBSizerItem
*result
;
43909 PyObject
* obj0
= 0 ;
43910 PyObject
* obj1
= 0 ;
43912 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43914 if (SWIG_arg_fail(1)) SWIG_fail
;
43915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43916 if (SWIG_arg_fail(2)) SWIG_fail
;
43918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43919 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43921 wxPyEndAllowThreads(__tstate
);
43922 if (PyErr_Occurred()) SWIG_fail
;
43924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43931 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43936 argc
= PyObject_Length(args
);
43937 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43938 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43944 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43954 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43962 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43988 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43993 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43998 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43999 PyObject
*resultobj
;
44000 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44001 wxGBPosition
*arg2
= 0 ;
44002 wxGBSizerItem
*result
;
44003 wxGBPosition temp2
;
44004 PyObject
* obj0
= 0 ;
44005 PyObject
* obj1
= 0 ;
44006 char *kwnames
[] = {
44007 (char *) "self",(char *) "pos", NULL
44010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44012 if (SWIG_arg_fail(1)) SWIG_fail
;
44015 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44019 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44021 wxPyEndAllowThreads(__tstate
);
44022 if (PyErr_Occurred()) SWIG_fail
;
44024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44031 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44032 PyObject
*resultobj
;
44033 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44034 wxPoint
*arg2
= 0 ;
44035 wxGBSizerItem
*result
;
44037 PyObject
* obj0
= 0 ;
44038 PyObject
* obj1
= 0 ;
44039 char *kwnames
[] = {
44040 (char *) "self",(char *) "pt", NULL
44043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44045 if (SWIG_arg_fail(1)) SWIG_fail
;
44048 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44052 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44054 wxPyEndAllowThreads(__tstate
);
44055 if (PyErr_Occurred()) SWIG_fail
;
44057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44064 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44065 PyObject
*resultobj
;
44066 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44067 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44068 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44070 PyObject
* obj0
= 0 ;
44071 PyObject
* obj1
= 0 ;
44072 PyObject
* obj2
= 0 ;
44073 char *kwnames
[] = {
44074 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44079 if (SWIG_arg_fail(1)) SWIG_fail
;
44080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44081 if (SWIG_arg_fail(2)) SWIG_fail
;
44083 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44084 if (SWIG_arg_fail(3)) SWIG_fail
;
44087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44088 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44090 wxPyEndAllowThreads(__tstate
);
44091 if (PyErr_Occurred()) SWIG_fail
;
44094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44102 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44103 PyObject
*resultobj
;
44104 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44105 wxGBPosition
*arg2
= 0 ;
44106 wxGBSpan
*arg3
= 0 ;
44107 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44109 wxGBPosition temp2
;
44111 PyObject
* obj0
= 0 ;
44112 PyObject
* obj1
= 0 ;
44113 PyObject
* obj2
= 0 ;
44114 PyObject
* obj3
= 0 ;
44115 char *kwnames
[] = {
44116 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44121 if (SWIG_arg_fail(1)) SWIG_fail
;
44124 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44128 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44131 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44132 if (SWIG_arg_fail(4)) SWIG_fail
;
44135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44136 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44138 wxPyEndAllowThreads(__tstate
);
44139 if (PyErr_Occurred()) SWIG_fail
;
44142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44150 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44153 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44155 return Py_BuildValue((char *)"");
44157 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44158 PyObject
*resultobj
;
44159 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44160 wxRelationship arg2
;
44161 wxWindow
*arg3
= (wxWindow
*) 0 ;
44163 int arg5
= (int) 0 ;
44164 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44165 PyObject
* obj0
= 0 ;
44166 PyObject
* obj1
= 0 ;
44167 PyObject
* obj2
= 0 ;
44168 PyObject
* obj3
= 0 ;
44169 PyObject
* obj4
= 0 ;
44170 PyObject
* obj5
= 0 ;
44171 char *kwnames
[] = {
44172 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44177 if (SWIG_arg_fail(1)) SWIG_fail
;
44179 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44180 if (SWIG_arg_fail(2)) SWIG_fail
;
44182 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44183 if (SWIG_arg_fail(3)) SWIG_fail
;
44185 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44186 if (SWIG_arg_fail(4)) SWIG_fail
;
44190 arg5
= (int)(SWIG_As_int(obj4
));
44191 if (SWIG_arg_fail(5)) SWIG_fail
;
44196 arg6
= (int)(SWIG_As_int(obj5
));
44197 if (SWIG_arg_fail(6)) SWIG_fail
;
44201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44202 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44204 wxPyEndAllowThreads(__tstate
);
44205 if (PyErr_Occurred()) SWIG_fail
;
44207 Py_INCREF(Py_None
); resultobj
= Py_None
;
44214 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44215 PyObject
*resultobj
;
44216 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44217 wxWindow
*arg2
= (wxWindow
*) 0 ;
44218 int arg3
= (int) 0 ;
44219 PyObject
* obj0
= 0 ;
44220 PyObject
* obj1
= 0 ;
44221 PyObject
* obj2
= 0 ;
44222 char *kwnames
[] = {
44223 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44228 if (SWIG_arg_fail(1)) SWIG_fail
;
44229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44230 if (SWIG_arg_fail(2)) SWIG_fail
;
44233 arg3
= (int)(SWIG_As_int(obj2
));
44234 if (SWIG_arg_fail(3)) SWIG_fail
;
44238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44239 (arg1
)->LeftOf(arg2
,arg3
);
44241 wxPyEndAllowThreads(__tstate
);
44242 if (PyErr_Occurred()) SWIG_fail
;
44244 Py_INCREF(Py_None
); resultobj
= Py_None
;
44251 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44252 PyObject
*resultobj
;
44253 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44254 wxWindow
*arg2
= (wxWindow
*) 0 ;
44255 int arg3
= (int) 0 ;
44256 PyObject
* obj0
= 0 ;
44257 PyObject
* obj1
= 0 ;
44258 PyObject
* obj2
= 0 ;
44259 char *kwnames
[] = {
44260 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44265 if (SWIG_arg_fail(1)) SWIG_fail
;
44266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44267 if (SWIG_arg_fail(2)) SWIG_fail
;
44270 arg3
= (int)(SWIG_As_int(obj2
));
44271 if (SWIG_arg_fail(3)) SWIG_fail
;
44275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44276 (arg1
)->RightOf(arg2
,arg3
);
44278 wxPyEndAllowThreads(__tstate
);
44279 if (PyErr_Occurred()) SWIG_fail
;
44281 Py_INCREF(Py_None
); resultobj
= Py_None
;
44288 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44289 PyObject
*resultobj
;
44290 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44291 wxWindow
*arg2
= (wxWindow
*) 0 ;
44292 int arg3
= (int) 0 ;
44293 PyObject
* obj0
= 0 ;
44294 PyObject
* obj1
= 0 ;
44295 PyObject
* obj2
= 0 ;
44296 char *kwnames
[] = {
44297 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44302 if (SWIG_arg_fail(1)) SWIG_fail
;
44303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44304 if (SWIG_arg_fail(2)) SWIG_fail
;
44307 arg3
= (int)(SWIG_As_int(obj2
));
44308 if (SWIG_arg_fail(3)) SWIG_fail
;
44312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44313 (arg1
)->Above(arg2
,arg3
);
44315 wxPyEndAllowThreads(__tstate
);
44316 if (PyErr_Occurred()) SWIG_fail
;
44318 Py_INCREF(Py_None
); resultobj
= Py_None
;
44325 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44326 PyObject
*resultobj
;
44327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44328 wxWindow
*arg2
= (wxWindow
*) 0 ;
44329 int arg3
= (int) 0 ;
44330 PyObject
* obj0
= 0 ;
44331 PyObject
* obj1
= 0 ;
44332 PyObject
* obj2
= 0 ;
44333 char *kwnames
[] = {
44334 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44339 if (SWIG_arg_fail(1)) SWIG_fail
;
44340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44341 if (SWIG_arg_fail(2)) SWIG_fail
;
44344 arg3
= (int)(SWIG_As_int(obj2
));
44345 if (SWIG_arg_fail(3)) SWIG_fail
;
44349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44350 (arg1
)->Below(arg2
,arg3
);
44352 wxPyEndAllowThreads(__tstate
);
44353 if (PyErr_Occurred()) SWIG_fail
;
44355 Py_INCREF(Py_None
); resultobj
= Py_None
;
44362 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44363 PyObject
*resultobj
;
44364 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44365 wxWindow
*arg2
= (wxWindow
*) 0 ;
44367 int arg4
= (int) 0 ;
44368 PyObject
* obj0
= 0 ;
44369 PyObject
* obj1
= 0 ;
44370 PyObject
* obj2
= 0 ;
44371 PyObject
* obj3
= 0 ;
44372 char *kwnames
[] = {
44373 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44378 if (SWIG_arg_fail(1)) SWIG_fail
;
44379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44380 if (SWIG_arg_fail(2)) SWIG_fail
;
44382 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44383 if (SWIG_arg_fail(3)) SWIG_fail
;
44387 arg4
= (int)(SWIG_As_int(obj3
));
44388 if (SWIG_arg_fail(4)) SWIG_fail
;
44392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44393 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44395 wxPyEndAllowThreads(__tstate
);
44396 if (PyErr_Occurred()) SWIG_fail
;
44398 Py_INCREF(Py_None
); resultobj
= Py_None
;
44405 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44406 PyObject
*resultobj
;
44407 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44408 wxWindow
*arg2
= (wxWindow
*) 0 ;
44411 PyObject
* obj0
= 0 ;
44412 PyObject
* obj1
= 0 ;
44413 PyObject
* obj2
= 0 ;
44414 PyObject
* obj3
= 0 ;
44415 char *kwnames
[] = {
44416 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44421 if (SWIG_arg_fail(1)) SWIG_fail
;
44422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44423 if (SWIG_arg_fail(2)) SWIG_fail
;
44425 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44426 if (SWIG_arg_fail(3)) SWIG_fail
;
44429 arg4
= (int)(SWIG_As_int(obj3
));
44430 if (SWIG_arg_fail(4)) SWIG_fail
;
44433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44434 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44436 wxPyEndAllowThreads(__tstate
);
44437 if (PyErr_Occurred()) SWIG_fail
;
44439 Py_INCREF(Py_None
); resultobj
= Py_None
;
44446 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44447 PyObject
*resultobj
;
44448 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44450 PyObject
* obj0
= 0 ;
44451 PyObject
* obj1
= 0 ;
44452 char *kwnames
[] = {
44453 (char *) "self",(char *) "val", NULL
44456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44458 if (SWIG_arg_fail(1)) SWIG_fail
;
44460 arg2
= (int)(SWIG_As_int(obj1
));
44461 if (SWIG_arg_fail(2)) SWIG_fail
;
44464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44465 (arg1
)->Absolute(arg2
);
44467 wxPyEndAllowThreads(__tstate
);
44468 if (PyErr_Occurred()) SWIG_fail
;
44470 Py_INCREF(Py_None
); resultobj
= Py_None
;
44477 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44478 PyObject
*resultobj
;
44479 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44480 PyObject
* obj0
= 0 ;
44481 char *kwnames
[] = {
44482 (char *) "self", NULL
44485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44487 if (SWIG_arg_fail(1)) SWIG_fail
;
44489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44490 (arg1
)->Unconstrained();
44492 wxPyEndAllowThreads(__tstate
);
44493 if (PyErr_Occurred()) SWIG_fail
;
44495 Py_INCREF(Py_None
); resultobj
= Py_None
;
44502 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44503 PyObject
*resultobj
;
44504 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44505 PyObject
* obj0
= 0 ;
44506 char *kwnames
[] = {
44507 (char *) "self", NULL
44510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44512 if (SWIG_arg_fail(1)) SWIG_fail
;
44514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44517 wxPyEndAllowThreads(__tstate
);
44518 if (PyErr_Occurred()) SWIG_fail
;
44520 Py_INCREF(Py_None
); resultobj
= Py_None
;
44527 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44528 PyObject
*resultobj
;
44529 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44531 PyObject
* obj0
= 0 ;
44532 char *kwnames
[] = {
44533 (char *) "self", NULL
44536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44538 if (SWIG_arg_fail(1)) SWIG_fail
;
44540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44541 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44543 wxPyEndAllowThreads(__tstate
);
44544 if (PyErr_Occurred()) SWIG_fail
;
44547 resultobj
= wxPyMake_wxObject(result
, 0);
44555 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44556 PyObject
*resultobj
;
44557 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44559 PyObject
* obj0
= 0 ;
44560 char *kwnames
[] = {
44561 (char *) "self", NULL
44564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44566 if (SWIG_arg_fail(1)) SWIG_fail
;
44568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44569 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44571 wxPyEndAllowThreads(__tstate
);
44572 if (PyErr_Occurred()) SWIG_fail
;
44574 resultobj
= SWIG_From_int((result
));
44581 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44582 PyObject
*resultobj
;
44583 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44585 PyObject
* obj0
= 0 ;
44586 PyObject
* obj1
= 0 ;
44587 char *kwnames
[] = {
44588 (char *) "self",(char *) "which", NULL
44591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44593 if (SWIG_arg_fail(1)) SWIG_fail
;
44595 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44596 if (SWIG_arg_fail(2)) SWIG_fail
;
44599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44600 (arg1
)->SetEdge((wxEdge
)arg2
);
44602 wxPyEndAllowThreads(__tstate
);
44603 if (PyErr_Occurred()) SWIG_fail
;
44605 Py_INCREF(Py_None
); resultobj
= Py_None
;
44612 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44613 PyObject
*resultobj
;
44614 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44616 PyObject
* obj0
= 0 ;
44617 PyObject
* obj1
= 0 ;
44618 char *kwnames
[] = {
44619 (char *) "self",(char *) "v", NULL
44622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44624 if (SWIG_arg_fail(1)) SWIG_fail
;
44626 arg2
= (int)(SWIG_As_int(obj1
));
44627 if (SWIG_arg_fail(2)) SWIG_fail
;
44630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44631 (arg1
)->SetValue(arg2
);
44633 wxPyEndAllowThreads(__tstate
);
44634 if (PyErr_Occurred()) SWIG_fail
;
44636 Py_INCREF(Py_None
); resultobj
= Py_None
;
44643 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44644 PyObject
*resultobj
;
44645 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44647 PyObject
* obj0
= 0 ;
44648 char *kwnames
[] = {
44649 (char *) "self", NULL
44652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44654 if (SWIG_arg_fail(1)) SWIG_fail
;
44656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44657 result
= (int)(arg1
)->GetMargin();
44659 wxPyEndAllowThreads(__tstate
);
44660 if (PyErr_Occurred()) SWIG_fail
;
44663 resultobj
= SWIG_From_int((int)(result
));
44671 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44672 PyObject
*resultobj
;
44673 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44675 PyObject
* obj0
= 0 ;
44676 PyObject
* obj1
= 0 ;
44677 char *kwnames
[] = {
44678 (char *) "self",(char *) "m", NULL
44681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44683 if (SWIG_arg_fail(1)) SWIG_fail
;
44685 arg2
= (int)(SWIG_As_int(obj1
));
44686 if (SWIG_arg_fail(2)) SWIG_fail
;
44689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44690 (arg1
)->SetMargin(arg2
);
44692 wxPyEndAllowThreads(__tstate
);
44693 if (PyErr_Occurred()) SWIG_fail
;
44695 Py_INCREF(Py_None
); resultobj
= Py_None
;
44702 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44703 PyObject
*resultobj
;
44704 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44706 PyObject
* obj0
= 0 ;
44707 char *kwnames
[] = {
44708 (char *) "self", NULL
44711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44713 if (SWIG_arg_fail(1)) SWIG_fail
;
44715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44716 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44718 wxPyEndAllowThreads(__tstate
);
44719 if (PyErr_Occurred()) SWIG_fail
;
44722 resultobj
= SWIG_From_int((int)(result
));
44730 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44731 PyObject
*resultobj
;
44732 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44734 PyObject
* obj0
= 0 ;
44735 char *kwnames
[] = {
44736 (char *) "self", NULL
44739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44741 if (SWIG_arg_fail(1)) SWIG_fail
;
44743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44744 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44746 wxPyEndAllowThreads(__tstate
);
44747 if (PyErr_Occurred()) SWIG_fail
;
44750 resultobj
= SWIG_From_int((int)(result
));
44758 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44759 PyObject
*resultobj
;
44760 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44762 PyObject
* obj0
= 0 ;
44763 char *kwnames
[] = {
44764 (char *) "self", NULL
44767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44769 if (SWIG_arg_fail(1)) SWIG_fail
;
44771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44772 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44774 wxPyEndAllowThreads(__tstate
);
44775 if (PyErr_Occurred()) SWIG_fail
;
44778 resultobj
= SWIG_From_int((int)(result
));
44786 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44787 PyObject
*resultobj
;
44788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44790 PyObject
* obj0
= 0 ;
44791 char *kwnames
[] = {
44792 (char *) "self", NULL
44795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44797 if (SWIG_arg_fail(1)) SWIG_fail
;
44799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44800 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44802 wxPyEndAllowThreads(__tstate
);
44803 if (PyErr_Occurred()) SWIG_fail
;
44806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44814 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44815 PyObject
*resultobj
;
44816 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44818 PyObject
* obj0
= 0 ;
44819 PyObject
* obj1
= 0 ;
44820 char *kwnames
[] = {
44821 (char *) "self",(char *) "d", NULL
44824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44826 if (SWIG_arg_fail(1)) SWIG_fail
;
44828 arg2
= (bool)(SWIG_As_bool(obj1
));
44829 if (SWIG_arg_fail(2)) SWIG_fail
;
44832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44833 (arg1
)->SetDone(arg2
);
44835 wxPyEndAllowThreads(__tstate
);
44836 if (PyErr_Occurred()) SWIG_fail
;
44838 Py_INCREF(Py_None
); resultobj
= Py_None
;
44845 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44846 PyObject
*resultobj
;
44847 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44848 wxRelationship result
;
44849 PyObject
* obj0
= 0 ;
44850 char *kwnames
[] = {
44851 (char *) "self", NULL
44854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44856 if (SWIG_arg_fail(1)) SWIG_fail
;
44858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44859 result
= (wxRelationship
)(arg1
)->GetRelationship();
44861 wxPyEndAllowThreads(__tstate
);
44862 if (PyErr_Occurred()) SWIG_fail
;
44864 resultobj
= SWIG_From_int((result
));
44871 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44872 PyObject
*resultobj
;
44873 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44874 wxRelationship arg2
;
44875 PyObject
* obj0
= 0 ;
44876 PyObject
* obj1
= 0 ;
44877 char *kwnames
[] = {
44878 (char *) "self",(char *) "r", NULL
44881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44883 if (SWIG_arg_fail(1)) SWIG_fail
;
44885 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44886 if (SWIG_arg_fail(2)) SWIG_fail
;
44889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44890 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44892 wxPyEndAllowThreads(__tstate
);
44893 if (PyErr_Occurred()) SWIG_fail
;
44895 Py_INCREF(Py_None
); resultobj
= Py_None
;
44902 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44903 PyObject
*resultobj
;
44904 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44905 wxWindow
*arg2
= (wxWindow
*) 0 ;
44907 PyObject
* obj0
= 0 ;
44908 PyObject
* obj1
= 0 ;
44909 char *kwnames
[] = {
44910 (char *) "self",(char *) "otherW", NULL
44913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44915 if (SWIG_arg_fail(1)) SWIG_fail
;
44916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44917 if (SWIG_arg_fail(2)) SWIG_fail
;
44919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44920 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44922 wxPyEndAllowThreads(__tstate
);
44923 if (PyErr_Occurred()) SWIG_fail
;
44926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44934 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44935 PyObject
*resultobj
;
44936 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44937 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44938 wxWindow
*arg3
= (wxWindow
*) 0 ;
44940 PyObject
* obj0
= 0 ;
44941 PyObject
* obj1
= 0 ;
44942 PyObject
* obj2
= 0 ;
44943 char *kwnames
[] = {
44944 (char *) "self",(char *) "constraints",(char *) "win", NULL
44947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44949 if (SWIG_arg_fail(1)) SWIG_fail
;
44950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44951 if (SWIG_arg_fail(2)) SWIG_fail
;
44952 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44953 if (SWIG_arg_fail(3)) SWIG_fail
;
44955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44956 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44958 wxPyEndAllowThreads(__tstate
);
44959 if (PyErr_Occurred()) SWIG_fail
;
44962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44970 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44971 PyObject
*resultobj
;
44972 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44974 wxWindow
*arg3
= (wxWindow
*) 0 ;
44975 wxWindow
*arg4
= (wxWindow
*) 0 ;
44977 PyObject
* obj0
= 0 ;
44978 PyObject
* obj1
= 0 ;
44979 PyObject
* obj2
= 0 ;
44980 PyObject
* obj3
= 0 ;
44981 char *kwnames
[] = {
44982 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44987 if (SWIG_arg_fail(1)) SWIG_fail
;
44989 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44990 if (SWIG_arg_fail(2)) SWIG_fail
;
44992 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44993 if (SWIG_arg_fail(3)) SWIG_fail
;
44994 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44995 if (SWIG_arg_fail(4)) SWIG_fail
;
44997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44998 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45000 wxPyEndAllowThreads(__tstate
);
45001 if (PyErr_Occurred()) SWIG_fail
;
45004 resultobj
= SWIG_From_int((int)(result
));
45012 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45015 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45017 return Py_BuildValue((char *)"");
45019 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45020 PyObject
*resultobj
;
45021 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45022 wxIndividualLayoutConstraint
*result
;
45023 PyObject
* obj0
= 0 ;
45024 char *kwnames
[] = {
45025 (char *) "self", NULL
45028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45030 if (SWIG_arg_fail(1)) SWIG_fail
;
45031 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45040 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45041 PyObject
*resultobj
;
45042 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45043 wxIndividualLayoutConstraint
*result
;
45044 PyObject
* obj0
= 0 ;
45045 char *kwnames
[] = {
45046 (char *) "self", NULL
45049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45051 if (SWIG_arg_fail(1)) SWIG_fail
;
45052 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45061 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45062 PyObject
*resultobj
;
45063 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45064 wxIndividualLayoutConstraint
*result
;
45065 PyObject
* obj0
= 0 ;
45066 char *kwnames
[] = {
45067 (char *) "self", NULL
45070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45072 if (SWIG_arg_fail(1)) SWIG_fail
;
45073 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45082 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45083 PyObject
*resultobj
;
45084 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45085 wxIndividualLayoutConstraint
*result
;
45086 PyObject
* obj0
= 0 ;
45087 char *kwnames
[] = {
45088 (char *) "self", NULL
45091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45093 if (SWIG_arg_fail(1)) SWIG_fail
;
45094 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45103 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45104 PyObject
*resultobj
;
45105 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45106 wxIndividualLayoutConstraint
*result
;
45107 PyObject
* obj0
= 0 ;
45108 char *kwnames
[] = {
45109 (char *) "self", NULL
45112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45114 if (SWIG_arg_fail(1)) SWIG_fail
;
45115 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45124 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45125 PyObject
*resultobj
;
45126 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45127 wxIndividualLayoutConstraint
*result
;
45128 PyObject
* obj0
= 0 ;
45129 char *kwnames
[] = {
45130 (char *) "self", NULL
45133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45135 if (SWIG_arg_fail(1)) SWIG_fail
;
45136 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45145 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45146 PyObject
*resultobj
;
45147 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45148 wxIndividualLayoutConstraint
*result
;
45149 PyObject
* obj0
= 0 ;
45150 char *kwnames
[] = {
45151 (char *) "self", NULL
45154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45156 if (SWIG_arg_fail(1)) SWIG_fail
;
45157 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45166 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45167 PyObject
*resultobj
;
45168 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45169 wxIndividualLayoutConstraint
*result
;
45170 PyObject
* obj0
= 0 ;
45171 char *kwnames
[] = {
45172 (char *) "self", NULL
45175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45177 if (SWIG_arg_fail(1)) SWIG_fail
;
45178 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45187 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45188 PyObject
*resultobj
;
45189 wxLayoutConstraints
*result
;
45190 char *kwnames
[] = {
45194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45197 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45199 wxPyEndAllowThreads(__tstate
);
45200 if (PyErr_Occurred()) SWIG_fail
;
45202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45209 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45210 PyObject
*resultobj
;
45211 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45212 wxWindow
*arg2
= (wxWindow
*) 0 ;
45213 int *arg3
= (int *) 0 ;
45217 PyObject
* obj0
= 0 ;
45218 PyObject
* obj1
= 0 ;
45219 char *kwnames
[] = {
45220 (char *) "self",(char *) "win", NULL
45223 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45226 if (SWIG_arg_fail(1)) SWIG_fail
;
45227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45228 if (SWIG_arg_fail(2)) SWIG_fail
;
45230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45231 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45233 wxPyEndAllowThreads(__tstate
);
45234 if (PyErr_Occurred()) SWIG_fail
;
45237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45239 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45240 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45247 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45248 PyObject
*resultobj
;
45249 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45251 PyObject
* obj0
= 0 ;
45252 char *kwnames
[] = {
45253 (char *) "self", NULL
45256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45258 if (SWIG_arg_fail(1)) SWIG_fail
;
45260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45261 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45263 wxPyEndAllowThreads(__tstate
);
45264 if (PyErr_Occurred()) SWIG_fail
;
45267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45275 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45278 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45280 return Py_BuildValue((char *)"");
45282 static PyMethodDef SwigMethods
[] = {
45283 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45284 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45285 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45288 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45309 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45322 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45337 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45391 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45419 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45438 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45440 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45448 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45449 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45461 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45473 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45477 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45493 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45503 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45510 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45590 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45592 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45594 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45596 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45598 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45600 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45602 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45604 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45606 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45608 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45610 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45612 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45614 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45628 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45646 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45649 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45652 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45664 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45669 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45675 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45681 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45744 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45751 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45787 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45797 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45803 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45805 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45807 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45810 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45814 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45817 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45820 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45822 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45827 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45835 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45839 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45842 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45844 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45848 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45865 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45867 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45870 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45872 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45876 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45891 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45894 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45897 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45908 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45913 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45918 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45922 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45967 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45987 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45994 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45998 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46008 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46180 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46220 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46235 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46238 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46293 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46320 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46364 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46372 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46391 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46392 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46429 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46459 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46462 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46466 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46469 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46479 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46491 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46503 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46513 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46523 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46537 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46544 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46545 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46546 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46547 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46548 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46553 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46580 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46592 { NULL
, NULL
, 0, NULL
}
46596 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46598 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46599 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46601 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46602 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46604 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46605 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46607 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46608 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46610 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46611 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46613 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46614 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46616 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46617 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46619 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46620 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46622 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46623 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46625 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46626 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46628 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46629 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46631 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46632 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46634 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46635 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46637 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46638 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46640 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46641 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46643 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46644 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46646 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46647 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46649 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46650 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46652 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46653 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46655 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46656 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46658 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46659 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46661 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46664 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46665 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46667 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46668 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46670 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46671 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46673 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46674 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46676 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46677 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46679 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46680 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46682 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46683 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46685 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46686 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46688 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46689 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46691 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46692 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46694 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46695 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46697 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46698 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46700 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46701 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46703 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46704 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46706 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46707 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46709 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46710 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46712 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46715 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46716 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46718 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46719 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46721 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46724 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46725 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46727 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46728 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46730 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46731 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46733 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46734 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46736 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46737 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46739 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46740 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46742 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46743 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46745 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46746 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46748 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46749 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46751 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46752 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46754 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46755 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46757 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46760 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46761 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46763 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46764 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46766 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46767 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46769 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46770 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46772 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46773 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46775 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46776 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46778 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46779 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46781 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46782 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46784 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46785 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46787 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46788 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46790 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46791 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46793 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46794 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46796 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46797 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46799 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46800 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46802 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46803 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46805 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46806 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46808 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46809 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46811 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46812 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46814 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46815 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46817 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46818 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46820 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46821 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46823 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46824 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46826 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46827 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46829 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46830 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46832 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46833 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46835 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46836 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46838 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46839 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46841 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46842 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46844 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46845 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46847 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46850 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46851 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46853 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46854 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46856 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46857 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46859 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46860 return (void *)((wxObject
*) ((wxSizer
*) x
));
46862 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46863 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46865 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46868 static void *_p_wxEventTo_p_wxObject(void *x
) {
46869 return (void *)((wxObject
*) ((wxEvent
*) x
));
46871 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46872 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46874 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46875 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46877 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46878 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46880 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46881 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46883 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46884 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46886 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46887 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46889 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46890 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46892 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46893 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46895 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46896 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46898 static void *_p_wxControlTo_p_wxObject(void *x
) {
46899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46901 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46902 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46904 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46907 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46910 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46913 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46916 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46919 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46922 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46925 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46928 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46931 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46934 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46937 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46940 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46943 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46946 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46949 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46952 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46955 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46958 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46961 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46964 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46967 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46970 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46973 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46976 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46979 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46982 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46985 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46988 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46991 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46994 static void *_p_wxImageTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) ((wxImage
*) x
));
46997 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47000 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47003 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47006 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47009 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47012 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47015 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47018 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47021 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47024 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47027 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47030 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47033 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47036 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47039 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47042 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47045 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47048 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47051 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47054 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47057 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47060 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47063 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47064 return (void *)((wxWindow
*) ((wxControl
*) x
));
47066 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47067 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47069 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47070 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47072 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47073 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47075 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47076 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47078 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47079 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47081 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47082 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47084 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47085 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47087 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47088 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47090 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47091 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47093 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47094 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47096 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47097 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47099 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47100 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47102 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}};
47103 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}};
47104 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}};
47105 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}};
47106 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}};
47107 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}};
47108 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}};
47109 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}};
47110 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}};
47111 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}};
47112 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}};
47113 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}};
47114 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}};
47115 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}};
47116 static swig_type_info _swigt__p_buffer
[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47117 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}};
47118 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}};
47119 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}};
47120 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}};
47121 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}};
47122 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}};
47123 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}};
47124 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}};
47125 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}};
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 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}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47231 static swig_type_info
*swig_types_initial
[] = {
47232 _swigt__p_wxLayoutConstraints
,
47233 _swigt__p_wxRealPoint
,
47234 _swigt__p_wxSizerItem
,
47235 _swigt__p_wxGBSizerItem
,
47236 _swigt__p_wxScrollEvent
,
47237 _swigt__p_wxEventLoop
,
47238 _swigt__p_wxIndividualLayoutConstraint
,
47240 _swigt__p_wxBoxSizer
,
47241 _swigt__p_wxStaticBoxSizer
,
47242 _swigt__p_wxGridBagSizer
,
47243 _swigt__p_wxAcceleratorEntry
,
47244 _swigt__p_wxUpdateUIEvent
,
47248 _swigt__p_wxGridSizer
,
47249 _swigt__p_wxFlexGridSizer
,
47250 _swigt__p_wxInitDialogEvent
,
47251 _swigt__p_wxItemContainer
,
47252 _swigt__p_wxNcPaintEvent
,
47253 _swigt__p_wxPaintEvent
,
47254 _swigt__p_wxSysColourChangedEvent
,
47255 _swigt__p_wxMouseCaptureChangedEvent
,
47256 _swigt__p_wxDisplayChangedEvent
,
47257 _swigt__p_wxPaletteChangedEvent
,
47258 _swigt__p_wxControl
,
47260 _swigt__p_wxMenuBarBase
,
47261 _swigt__p_wxSetCursorEvent
,
47262 _swigt__p_wxFSFile
,
47265 _swigt__std__ptrdiff_t
,
47266 _swigt__p_wxRegion
,
47267 _swigt__p_wxPoint2D
,
47271 _swigt__p_wxPySizer
,
47272 _swigt__p_wxVisualAttributes
,
47273 _swigt__p_wxNotifyEvent
,
47274 _swigt__p_wxPyEvent
,
47275 _swigt__p_wxPropagationDisabler
,
47276 _swigt__p_form_ops_t
,
47277 _swigt__p_wxAppTraits
,
47278 _swigt__p_wxArrayString
,
47279 _swigt__p_wxShowEvent
,
47280 _swigt__p_wxToolTip
,
47281 _swigt__p_wxMoveEvent
,
47282 _swigt__p_wxSizeEvent
,
47283 _swigt__p_wxActivateEvent
,
47284 _swigt__p_wxIconizeEvent
,
47285 _swigt__p_wxMaximizeEvent
,
47286 _swigt__p_wxQueryNewPaletteEvent
,
47287 _swigt__p_wxWindowCreateEvent
,
47288 _swigt__p_wxIdleEvent
,
47289 _swigt__p_wxDateEvent
,
47290 _swigt__p_wxMenuItem
,
47291 _swigt__p_wxStaticBox
,
47293 _swigt__p_wxDuplexMode
,
47294 _swigt__p_wxTIFFHandler
,
47295 _swigt__p_wxXPMHandler
,
47296 _swigt__p_wxPNMHandler
,
47297 _swigt__p_wxJPEGHandler
,
47298 _swigt__p_wxPCXHandler
,
47299 _swigt__p_wxGIFHandler
,
47300 _swigt__p_wxPNGHandler
,
47301 _swigt__p_wxANIHandler
,
47302 _swigt__p_wxMemoryFSHandler
,
47303 _swigt__p_wxZipFSHandler
,
47304 _swigt__p_wxInternetFSHandler
,
47305 _swigt__p_wxPyFileSystemHandler
,
47306 _swigt__p_wxEvtHandler
,
47307 _swigt__p_wxCURHandler
,
47308 _swigt__p_wxICOHandler
,
47309 _swigt__p_wxBMPHandler
,
47310 _swigt__p_wxImageHandler
,
47311 _swigt__p_wxFileSystemHandler
,
47313 _swigt__p_wxButton
,
47314 _swigt__p_wxGBSpan
,
47315 _swigt__p_wxPropagateOnce
,
47316 _swigt__p_wxAcceleratorTable
,
47317 _swigt__p_wxStdDialogButtonSizer
,
47319 _swigt__p_wxGBPosition
,
47322 _swigt__p_wxScrollWinEvent
,
47323 _swigt__p_wxPaperSize
,
47324 _swigt__p_wxImageHistogram
,
47326 _swigt__p_wxCursor
,
47327 _swigt__p_wxObject
,
47328 _swigt__p_wxInputStream
,
47329 _swigt__p_wxOutputStream
,
47330 _swigt__p_wxPyInputStream
,
47331 _swigt__p_wxDateTime
,
47332 _swigt__p_wxKeyEvent
,
47333 _swigt__p_wxNavigationKeyEvent
,
47334 _swigt__p_wxWindowDestroyEvent
,
47335 _swigt__p_unsigned_long
,
47336 _swigt__p_wxWindow
,
47337 _swigt__p_wxMenuBar
,
47338 _swigt__p_wxFileSystem
,
47339 _swigt__p_wxBitmap
,
47340 _swigt__unsigned_int
,
47341 _swigt__p_unsigned_int
,
47342 _swigt__p_wxMenuEvent
,
47343 _swigt__p_wxContextMenuEvent
,
47344 _swigt__p_unsigned_char
,
47345 _swigt__p_wxEraseEvent
,
47346 _swigt__p_wxMouseEvent
,
47347 _swigt__p_wxCloseEvent
,
47349 _swigt__p_wxCommandEvent
,
47350 _swigt__p_wxPyCommandEvent
,
47351 _swigt__p_wxPyDropTarget
,
47352 _swigt__p_wxQuantize
,
47353 _swigt__p_wxFocusEvent
,
47354 _swigt__p_wxChildFocusEvent
,
47355 _swigt__p_wxDropFilesEvent
,
47356 _swigt__p_wxControlWithItems
,
47357 _swigt__p_wxColour
,
47358 _swigt__p_wxValidator
,
47359 _swigt__p_wxPyValidator
,
47364 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47366 static swig_const_info swig_const_table
[] = {
47367 {0, 0, 0, 0.0, 0, 0}};
47378 /* Python-specific SWIG API */
47379 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47380 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47381 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47383 /* -----------------------------------------------------------------------------
47384 * global variable support code.
47385 * ----------------------------------------------------------------------------- */
47387 typedef struct swig_globalvar
{
47388 char *name
; /* Name of global variable */
47389 PyObject
*(*get_attr
)(); /* Return the current value */
47390 int (*set_attr
)(PyObject
*); /* Set the value */
47391 struct swig_globalvar
*next
;
47394 typedef struct swig_varlinkobject
{
47396 swig_globalvar
*vars
;
47397 } swig_varlinkobject
;
47400 swig_varlink_repr(swig_varlinkobject
*v
) {
47402 return PyString_FromString("<Swig global variables>");
47406 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47407 swig_globalvar
*var
;
47409 fprintf(fp
,"Swig global variables { ");
47410 for (var
= v
->vars
; var
; var
=var
->next
) {
47411 fprintf(fp
,"%s", var
->name
);
47412 if (var
->next
) fprintf(fp
,", ");
47414 fprintf(fp
," }\n");
47419 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47420 swig_globalvar
*var
= v
->vars
;
47422 if (strcmp(var
->name
,n
) == 0) {
47423 return (*var
->get_attr
)();
47427 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47432 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47433 swig_globalvar
*var
= v
->vars
;
47435 if (strcmp(var
->name
,n
) == 0) {
47436 return (*var
->set_attr
)(p
);
47440 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47444 static PyTypeObject varlinktype
= {
47445 PyObject_HEAD_INIT(0)
47446 0, /* Number of items in variable part (ob_size) */
47447 (char *)"swigvarlink", /* Type name (tp_name) */
47448 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47449 0, /* Itemsize (tp_itemsize) */
47450 0, /* Deallocator (tp_dealloc) */
47451 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47452 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47453 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47454 0, /* tp_compare */
47455 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47456 0, /* tp_as_number */
47457 0, /* tp_as_sequence */
47458 0, /* tp_as_mapping */
47462 0, /* tp_getattro */
47463 0, /* tp_setattro */
47464 0, /* tp_as_buffer */
47467 #if PY_VERSION_HEX >= 0x02000000
47468 0, /* tp_traverse */
47471 #if PY_VERSION_HEX >= 0x02010000
47472 0, /* tp_richcompare */
47473 0, /* tp_weaklistoffset */
47475 #if PY_VERSION_HEX >= 0x02020000
47476 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47478 #if PY_VERSION_HEX >= 0x02030000
47481 #ifdef COUNT_ALLOCS
47482 0,0,0,0 /* tp_alloc -> tp_next */
47486 /* Create a variable linking object for use later */
47488 SWIG_Python_newvarlink(void) {
47489 swig_varlinkobject
*result
= 0;
47490 result
= PyMem_NEW(swig_varlinkobject
,1);
47491 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47492 result
->ob_type
= &varlinktype
;
47494 result
->ob_refcnt
= 0;
47495 Py_XINCREF((PyObject
*) result
);
47496 return ((PyObject
*) result
);
47500 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47501 swig_varlinkobject
*v
;
47502 swig_globalvar
*gv
;
47503 v
= (swig_varlinkobject
*) p
;
47504 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47505 gv
->name
= (char *) malloc(strlen(name
)+1);
47506 strcpy(gv
->name
,name
);
47507 gv
->get_attr
= get_attr
;
47508 gv
->set_attr
= set_attr
;
47509 gv
->next
= v
->vars
;
47513 /* -----------------------------------------------------------------------------
47514 * constants/methods manipulation
47515 * ----------------------------------------------------------------------------- */
47517 /* Install Constants */
47519 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47522 for (i
= 0; constants
[i
].type
; i
++) {
47523 switch(constants
[i
].type
) {
47525 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47527 case SWIG_PY_FLOAT
:
47528 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47530 case SWIG_PY_STRING
:
47531 if (constants
[i
].pvalue
) {
47532 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47534 Py_INCREF(Py_None
);
47538 case SWIG_PY_POINTER
:
47539 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47541 case SWIG_PY_BINARY
:
47542 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47549 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47555 /* -----------------------------------------------------------------------------*/
47556 /* Fix SwigMethods to carry the callback ptrs when needed */
47557 /* -----------------------------------------------------------------------------*/
47560 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47561 swig_const_info
*const_table
,
47562 swig_type_info
**types
,
47563 swig_type_info
**types_initial
) {
47565 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47566 char *c
= methods
[i
].ml_doc
;
47567 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47569 swig_const_info
*ci
= 0;
47570 char *name
= c
+ 10;
47571 for (j
= 0; const_table
[j
].type
; j
++) {
47572 if (strncmp(const_table
[j
].name
, name
,
47573 strlen(const_table
[j
].name
)) == 0) {
47574 ci
= &(const_table
[j
]);
47579 size_t shift
= (ci
->ptype
) - types
;
47580 swig_type_info
*ty
= types_initial
[shift
];
47581 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47582 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47583 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47585 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47586 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47588 strncpy(buff
, "swig_ptr: ", 10);
47590 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47591 methods
[i
].ml_doc
= ndoc
;
47597 /* -----------------------------------------------------------------------------*
47598 * Initialize type list
47599 * -----------------------------------------------------------------------------*/
47601 #if PY_MAJOR_VERSION < 2
47602 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47603 is copied out of Python/modsupport.c in python version 2.3.4 */
47605 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47608 if (!PyModule_Check(m
)) {
47609 PyErr_SetString(PyExc_TypeError
,
47610 "PyModule_AddObject() needs module as first arg");
47614 PyErr_SetString(PyExc_TypeError
,
47615 "PyModule_AddObject() needs non-NULL value");
47619 dict
= PyModule_GetDict(m
);
47620 if (dict
== NULL
) {
47621 /* Internal error -- modules must have a dict! */
47622 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47623 PyModule_GetName(m
));
47626 if (PyDict_SetItemString(dict
, name
, o
))
47633 static swig_type_info
**
47634 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47635 static PyMethodDef swig_empty_runtime_method_table
[] = {
47637 NULL
, NULL
, 0, NULL
47641 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47642 swig_empty_runtime_method_table
);
47643 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47644 if (pointer
&& module) {
47645 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47647 return type_list_handle
;
47650 static swig_type_info
**
47651 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47652 swig_type_info
**type_pointer
;
47654 /* first check if module already created */
47655 type_pointer
= SWIG_Python_GetTypeListHandle();
47656 if (type_pointer
) {
47657 return type_pointer
;
47659 /* create a new module and variable */
47660 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47668 /* -----------------------------------------------------------------------------*
47669 * Partial Init method
47670 * -----------------------------------------------------------------------------*/
47672 #ifdef SWIG_LINK_RUNTIME
47676 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47682 SWIGEXPORT(void) SWIG_init(void) {
47683 static PyObject
*SWIG_globals
= 0;
47684 static int typeinit
= 0;
47687 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47689 /* Fix SwigMethods to carry the callback ptrs when needed */
47690 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47692 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47693 d
= PyModule_GetDict(m
);
47696 #ifdef SWIG_LINK_RUNTIME
47697 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47699 # ifndef SWIG_STATIC_RUNTIME
47700 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47703 for (i
= 0; swig_types_initial
[i
]; i
++) {
47704 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47708 SWIG_InstallConstants(d
,swig_const_table
);
47711 #ifndef wxPyUSE_EXPORT
47712 // Make our API structure a CObject so other modules can import it
47713 // from this module.
47714 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47715 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47720 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47723 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47726 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47729 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47732 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47735 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47738 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47741 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47744 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47747 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47750 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47753 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47756 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47759 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47762 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47765 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47768 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47771 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47774 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47777 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47780 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47783 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47786 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47789 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47792 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47795 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47798 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47801 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47804 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47807 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47810 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47813 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47816 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47819 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47822 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47825 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47828 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47831 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47834 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47837 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47840 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47843 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47846 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47849 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47852 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47855 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47858 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47861 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47864 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47867 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47870 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47873 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47876 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47879 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47882 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47885 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47888 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47891 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47894 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47897 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47900 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47903 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47906 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47909 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47912 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47915 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47918 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47921 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47924 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47927 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47930 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47933 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47936 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47939 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47942 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47945 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47948 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47951 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47954 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47957 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47960 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47963 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47966 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47969 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47972 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47975 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47978 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47981 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47984 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47987 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47990 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47993 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47996 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47999 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48002 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48005 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48008 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48011 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48014 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48017 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48020 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48023 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48026 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48029 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48032 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48035 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48038 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48041 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48044 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48047 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48050 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48053 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48056 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48059 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48062 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48065 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48068 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48071 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48074 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48077 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48080 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48083 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48086 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48089 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48092 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48095 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48098 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48101 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48104 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48107 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48110 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48113 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48116 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48119 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48122 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48125 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48128 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48131 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48134 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48137 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48140 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48143 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48146 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48149 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48152 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48155 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48158 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48161 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48164 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48167 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48170 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48173 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48176 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48179 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48182 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48185 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48188 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48191 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48194 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48197 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48200 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48203 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48206 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48209 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48212 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48215 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48218 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48221 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48224 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48227 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48230 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48233 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48236 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48239 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48242 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48245 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48248 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48251 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48254 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48257 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48260 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48263 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48266 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48269 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48272 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48275 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48278 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48281 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48284 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48287 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48290 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48293 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48296 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48299 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48302 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48305 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48308 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48311 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48314 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48317 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48320 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48323 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48326 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48329 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48332 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48335 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48338 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48341 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48344 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48347 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48350 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48353 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48356 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48359 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48362 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48365 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48368 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48371 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48374 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48377 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48380 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48383 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48386 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48389 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48392 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48395 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48398 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48401 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48404 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48407 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48410 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48413 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48416 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48419 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48422 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48425 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48428 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48431 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48434 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48437 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48440 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48443 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48446 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48449 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48452 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48455 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48458 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48461 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48464 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48467 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48470 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48473 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48476 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48479 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48482 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48485 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48488 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48491 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48494 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48497 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48500 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48503 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48506 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48509 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48512 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48515 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48518 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48521 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48524 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48527 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48530 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48533 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48536 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48539 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48542 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48545 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48548 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48551 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48554 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48557 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48560 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48563 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48566 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48569 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48572 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48575 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48578 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48581 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48584 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48587 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48590 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48593 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48596 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48599 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48602 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48605 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48608 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48611 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48614 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48617 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48620 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48623 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48626 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48629 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48632 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48635 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48638 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48641 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48644 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48647 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48650 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48653 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48656 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48659 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48662 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48665 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48668 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48671 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48674 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48677 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48680 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48683 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48686 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48689 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48692 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48695 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48698 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48701 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48704 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48707 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48710 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48713 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48716 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48719 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48722 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48725 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48728 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48731 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48734 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48737 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48740 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48743 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48746 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48749 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48752 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48755 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48758 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48761 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48764 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48767 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48770 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48773 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48776 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48779 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48782 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48785 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48788 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48791 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48794 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48797 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48800 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48803 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48806 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48809 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48812 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48815 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48818 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48821 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48824 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48827 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48830 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48833 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48836 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48839 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48842 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48845 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48848 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48851 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48854 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48857 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48860 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48863 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48866 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48869 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48872 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48875 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48878 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48881 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48884 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48887 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48890 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48893 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48896 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48899 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48902 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48905 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48908 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48911 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48914 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48917 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48920 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48923 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48926 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48929 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48932 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48935 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48938 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48941 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48944 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48947 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48950 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48953 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48956 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48959 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48962 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48965 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48968 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48971 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48974 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48977 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48980 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48983 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48986 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48989 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48992 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48995 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48998 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49001 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49004 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49007 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49010 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49013 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49016 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49019 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49022 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49025 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49028 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49031 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49034 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49037 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49040 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49043 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49046 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49049 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49052 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49055 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49058 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49061 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49064 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49067 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49070 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49073 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49076 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49079 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49082 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49085 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49088 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49091 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49094 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49097 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49100 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49103 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49106 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49109 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49112 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49115 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49118 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49121 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49124 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49127 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49130 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49133 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49136 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49139 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49142 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49145 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49148 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49151 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49154 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49157 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49160 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49163 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49166 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49169 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49172 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49175 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49178 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49181 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49184 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49187 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49190 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49193 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49196 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49199 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49202 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49205 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49208 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49211 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49214 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49217 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49220 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49223 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49226 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49229 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49232 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49235 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49238 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49241 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49244 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49247 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49250 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49253 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49256 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49259 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49262 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49265 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49268 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49271 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49274 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49277 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49280 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49283 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49286 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49289 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49292 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49295 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49298 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49301 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49304 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49307 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49310 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49313 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49316 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49319 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49322 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49325 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49328 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49331 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49334 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49337 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49340 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49343 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49346 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49349 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49352 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49355 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49358 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49361 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49364 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49367 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49370 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49373 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49376 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49378 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49379 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49381 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49384 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49387 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49390 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49393 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49396 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49399 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49402 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49405 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49408 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49411 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49414 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49417 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49420 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49423 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49426 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49429 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49432 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49435 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49438 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49441 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49444 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49447 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49450 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49453 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49456 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49459 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49462 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49465 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49468 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49471 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49474 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49477 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49480 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49483 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49486 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49489 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49492 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49495 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49498 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49501 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49504 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49507 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49510 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49513 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49516 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49519 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49522 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49525 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49528 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49531 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49533 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49534 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49536 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49539 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49542 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49545 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49548 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49551 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49554 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49557 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49559 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49560 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49561 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49562 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49563 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49564 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49565 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49566 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49567 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49568 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49570 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49573 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49575 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49576 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49577 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49578 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49579 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49580 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49582 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49585 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49588 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49591 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49594 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49597 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49600 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49603 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49606 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49609 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49612 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49615 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49618 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49621 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49624 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49627 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49629 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49630 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49631 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49632 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49633 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49634 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49635 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49636 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49637 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49638 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49639 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49640 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49641 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49642 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49643 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49644 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49645 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49646 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49647 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49648 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49649 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49650 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49651 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49652 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49653 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49654 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49655 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49656 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49657 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49658 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49659 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49660 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49661 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49662 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49663 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49664 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49665 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49666 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49667 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49668 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49669 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49670 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49671 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49672 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49673 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49674 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49675 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49676 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49677 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49678 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49679 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49680 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49681 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49682 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49683 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49684 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49685 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49686 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49687 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49688 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49689 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49690 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49691 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49692 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49693 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49694 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49695 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49696 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49697 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49698 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49699 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49700 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49701 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49702 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49703 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49704 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49705 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49706 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49707 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49708 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49709 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49710 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49711 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49712 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49713 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49714 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49715 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49716 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49717 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49718 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49719 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49720 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49721 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49722 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49723 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49724 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49725 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49726 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49727 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49728 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49729 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49730 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49731 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49732 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49733 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49734 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49735 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49736 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49737 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49738 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49739 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49740 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49741 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49742 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49743 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49745 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49748 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49751 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49754 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49757 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49760 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49763 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49766 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49769 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49772 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49775 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49778 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49781 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49783 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49785 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49788 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49791 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49794 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49797 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49800 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49802 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49803 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49805 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49808 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49811 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49814 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49817 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49819 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49820 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49822 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49825 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49828 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49830 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49832 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49835 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49838 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49841 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49844 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49847 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49850 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49853 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49856 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49859 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49862 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49865 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49868 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49871 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49874 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49877 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49880 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49883 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49886 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49889 // Initialize threading, some globals and such
49893 // Although these are defined in __version__ they need to be here too so
49894 // that an assert can be done to ensure that the wxPython and the wxWindows
49896 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49897 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49898 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));