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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info
*swig_types
[129];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject
* wxPyPtrTypeMap
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
1520 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1521 (char*)(const char*)name
.mbc_str())) != NULL
) {
1522 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1523 name
.Append(wxT(" *"));
1524 swigType
= SWIG_TypeQuery(name
.mb_str());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1562 const wxChar
* className
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
1791 static PyObject
*wxSize_Get(wxSize
*self
){
1792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1793 PyObject
* tup
= PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1795 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1796 wxPyEndBlockThreads(blocked
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1843 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1848 wxPyEndBlockThreads(blocked
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1876 static PyObject
*wxPoint_Get(wxPoint
*self
){
1877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1878 PyObject
* tup
= PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1880 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1881 wxPyEndBlockThreads(blocked
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
1890 static PyObject
*wxRect_Get(wxRect
*self
){
1891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1892 PyObject
* tup
= PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1894 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1895 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1896 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1897 wxPyEndBlockThreads(blocked
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
1910 if (dest
!= wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1912 wxRect
* newRect
= new wxRect(dest
);
1913 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1953 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1954 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1955 PyObject
* tup
= PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1957 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1958 wxPyEndBlockThreads(blocked
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 0;
1994 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1996 if (cptr
) *cptr
= vptr
;
1997 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2091 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2092 // We use only strings for the streams, not unicode
2093 PyObject
* str
= PyObject_Str(obj
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2114 DEC_PYCALLBACK_STRING__pure(FindNext
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2332 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2333 wxImageHistogramEntry e
= (*self
)[key
];
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2337 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2340 wxImageHistogramEntry e
= (*self
)[key
];
2344 typedef unsigned char* buffer
;
2346 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2347 if (width
> 0 && height
> 0)
2348 return new wxImage(width
, height
, clear
);
2352 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2353 return new wxImage(bitmap
.ConvertToImage());
2355 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2356 if (DATASIZE
!= width
*height
*3) {
2357 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy
= (buffer
)malloc(DATASIZE
);
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2367 memcpy(copy
, data
, DATASIZE
);
2368 return new wxImage(width
, height
, copy
, false);
2370 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2371 if (DATASIZE
!= width
*height
*3) {
2372 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2375 if (ALPHASIZE
!= width
*height
) {
2376 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2382 if (dcopy
== NULL
) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2386 memcpy(dcopy
, data
, DATASIZE
);
2388 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2389 if (acopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(acopy
, alpha
, ALPHASIZE
);
2395 return new wxImage(width
, height
, dcopy
, acopy
, false);
2397 static wxSize
wxImage_GetSize(wxImage
*self
){
2398 wxSize
size(self
->GetWidth(), self
->GetHeight());
2401 static PyObject
*wxImage_GetData(wxImage
*self
){
2402 buffer data
= self
->GetData();
2403 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2405 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2408 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2409 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2413 buffer copy
= (buffer
)malloc(DATASIZE
);
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2418 memcpy(copy
, data
, DATASIZE
);
2419 self
->SetData(copy
, false);
2420 // wxImage takes ownership of copy...
2422 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2423 buffer data
= self
->GetData();
2424 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2426 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2429 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2430 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2434 self
->SetData(data
, true);
2436 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2437 buffer data
= self
->GetAlpha();
2441 int len
= self
->GetWidth() * self
->GetHeight();
2443 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2447 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2448 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2452 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2453 if (acopy
== NULL
) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2457 memcpy(acopy
, alpha
, ALPHASIZE
);
2458 self
->SetAlpha(acopy
, false);
2459 // wxImage takes ownership of acopy...
2461 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2462 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2468 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2469 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2473 self
->SetAlpha(alpha
, true);
2475 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2476 wxBitmap
bitmap(*self
, depth
);
2479 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2480 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2481 wxBitmap
bitmap( mono
, 1 );
2484 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2485 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2487 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2491 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2492 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2493 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2494 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2495 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2496 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2498 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2500 #include <wx/quantize.h>
2502 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2503 return wxQuantize::Quantize(src
, dest
,
2506 NULL
, // eightBitData
2509 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2510 if (PyCallable_Check(func
)) {
2511 self
->Connect(id
, lastId
, eventType
,
2512 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2513 new wxPyCallback(func
));
2515 else if (func
== Py_None
) {
2516 self
->Disconnect(id
, lastId
, eventType
,
2517 (wxObjectEventFunction
)
2518 &wxPyCallback::EventThunker
);
2522 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2525 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2526 return self
->Disconnect(id
, lastId
, eventType
,
2527 (wxObjectEventFunction
)
2528 &wxPyCallback::EventThunker
);
2530 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2531 if (_self
&& _self
!= Py_None
) {
2532 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2535 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2537 self
->SetClientObject(NULL
); // This will delete it too
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2544 return self
->GetUnicodeKey();
2550 #if UINT_MAX < LONG_MAX
2551 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
2612 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2613 int count
= self
->GetNumberOfFiles();
2614 wxString
* files
= self
->GetFiles();
2615 PyObject
* list
= PyList_New(count
);
2618 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2622 for (int i
=0; i
<count
; i
++) {
2623 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2629 static wxPyApp
*new_wxPyApp(){
2630 wxPythonApp
= new wxPyApp();
2633 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2635 void wxApp_CleanUp() {
2640 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2644 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2646 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2651 SWIG_type_error("char *", obj
);
2657 SWIGINTERN PyObject
*
2658 SWIG_FromCharPtr(const char* cptr
)
2661 size_t size
= strlen(cptr
);
2662 if (size
> INT_MAX
) {
2663 return SWIG_NewPointerObj((char*)(cptr
),
2664 SWIG_TypeQuery("char *"), 0);
2667 return PyString_FromStringAndSize(cptr
, size
);
2669 return PyString_FromString(cptr
);
2680 // A dummy class that raises an exception if used...
2684 wxEventLoop() { wxPyRaiseNotImplemented(); }
2685 int Run() { return 0; }
2686 void Exit(int rc
= 0) {}
2687 bool Pending() const { return false; }
2688 bool Dispatch() { return false; }
2689 bool IsRunning() const { return false; }
2690 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2691 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2696 #include <wx/evtloop.h>
2702 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2703 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2704 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2705 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2706 wxWindowList
& list
= self
->GetChildren();
2707 return wxPy_ConvertList(&list
);
2709 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2711 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2716 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2723 static long wxWindow_GetHandle(wxWindow
*self
){
2724 return wxPyGetWinHandle(self
);
2726 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2727 self
->AssociateHandle((WXWidget
)handle
);
2730 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2731 return wxWindow::FindWindowById(id
, parent
);
2734 wxWindow
* wxFindWindowByName( const wxString
& name
,
2735 const wxWindow
*parent
= NULL
) {
2736 return wxWindow::FindWindowByName(name
, parent
);
2739 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2740 const wxWindow
*parent
= NULL
) {
2741 return wxWindow::FindWindowByLabel(label
, parent
);
2746 #include <wx/msw/private.h> // to get wxGetWindowId
2750 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2752 WXHWND hWnd
= (WXHWND
)_hWnd
;
2753 long id
= wxGetWindowId(hWnd
);
2754 wxWindow
* win
= new wxWindow
;
2755 parent
->AddChild(win
);
2756 win
->SetEventHandler(win
);
2759 win
->SubclassWin(hWnd
);
2760 win
->AdoptAttributesFromHWND();
2761 win
->SetupColours();
2764 wxPyRaiseNotImplemented();
2770 PyObject
* GetTopLevelWindows() {
2771 return wxPy_ConvertList(&wxTopLevelWindows
);
2775 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2776 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2777 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2779 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2781 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2782 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2783 wxMenuItemList
& list
= self
->GetMenuItems();
2784 return wxPy_ConvertList(&list
);
2786 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2787 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2788 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2789 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2790 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2791 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2792 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2793 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2794 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2795 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2796 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2797 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2798 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2799 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2800 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2801 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2802 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2804 wxPyClientData
* data
= new wxPyClientData(clientData
);
2805 return self
->Append(item
, data
);
2807 return self
->Append(item
);
2809 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2811 wxPyClientData
* data
= new wxPyClientData(clientData
);
2812 return self
->Insert(item
, pos
, data
);
2814 return self
->Insert(item
, pos
);
2816 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2817 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2819 Py_INCREF(data
->m_obj
);
2826 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->SetClientObject(n
, data
);
2832 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2833 wxPyUserData
* data
= NULL
;
2835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2836 data
= new wxPyUserData(userData
);
2837 wxPyEndBlockThreads(blocked
);
2839 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2841 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2842 wxPyUserData
* data
= NULL
;
2844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2845 data
= new wxPyUserData(userData
);
2846 wxPyEndBlockThreads(blocked
);
2848 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2850 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2851 wxPyUserData
* data
= NULL
;
2853 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 data
= new wxPyUserData(userData
);
2855 wxPyEndBlockThreads(blocked
);
2857 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2862 SWIG_CheckDoubleInRange(double value
, double min_value
,
2863 double max_value
, const char* errmsg
)
2865 if (value
< min_value
) {
2867 PyErr_Format(PyExc_OverflowError
,
2868 "value %g is less than %s minimum %g",
2869 value
, errmsg
, min_value
);
2872 } else if (value
> max_value
) {
2874 PyErr_Format(PyExc_OverflowError
,
2875 "value %g is greater than %s maximum %g",
2876 value
, errmsg
, max_value
);
2885 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2887 const char* errmsg
= val
? "float" : (char*)0;
2889 if (SWIG_AsVal_double(obj
, &v
)) {
2890 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2891 if (val
) *val
= (float)(v
);
2900 SWIG_type_error(errmsg
, obj
);
2906 SWIGINTERNSHORT
float
2907 SWIG_As_float(PyObject
* obj
)
2910 if (!SWIG_AsVal_float(obj
, &v
)) {
2912 this is needed to make valgrind/purify happier.
2914 memset((void*)&v
, 0, sizeof(float));
2921 SWIG_Check_float(PyObject
* obj
)
2923 return SWIG_AsVal_float(obj
, (float*)0);
2927 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2928 #define SWIG_From_float PyFloat_FromDouble
2931 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2932 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2934 Py_INCREF(data
->m_obj
);
2942 // Figure out the type of the sizer item
2944 struct wxPySizerItemInfo
{
2946 : window(NULL
), sizer(NULL
), gotSize(false),
2947 size(wxDefaultSize
), gotPos(false), pos(-1)
2958 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2960 wxPySizerItemInfo info
;
2962 wxSize
* sizePtr
= &size
;
2964 // Find out what the type of the item is
2966 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2971 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2975 // try wxSize or (w,h)
2976 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2977 info
.size
= *sizePtr
;
2978 info
.gotSize
= true;
2982 if (checkIdx
&& PyInt_Check(item
)) {
2983 info
.pos
= PyInt_AsLong(item
);
2989 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2990 // no expected type, figure out what kind of error message to generate
2991 if ( !checkSize
&& !checkIdx
)
2992 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2993 else if ( checkSize
&& !checkIdx
)
2994 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2995 else if ( !checkSize
&& checkIdx
)
2996 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2998 // can this one happen?
2999 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3005 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3006 if (!self
->GetClientObject())
3007 self
->SetClientObject(new wxPyOORClientData(_self
));
3009 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3011 wxPyUserData
* data
= NULL
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3013 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3014 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3015 data
= new wxPyUserData(userData
);
3016 wxPyEndBlockThreads(blocked
);
3018 // Now call the real Add method if a valid item type was found
3020 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3021 else if ( info
.sizer
)
3022 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3023 else if (info
.gotSize
)
3024 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3025 proportion
, flag
, border
, data
);
3029 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3031 wxPyUserData
* data
= NULL
;
3032 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3033 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3034 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3035 data
= new wxPyUserData(userData
);
3036 wxPyEndBlockThreads(blocked
);
3038 // Now call the real Insert method if a valid item type was found
3040 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3041 else if ( info
.sizer
)
3042 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3043 else if (info
.gotSize
)
3044 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3045 proportion
, flag
, border
, data
);
3049 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3051 wxPyUserData
* data
= NULL
;
3052 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3053 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3054 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3055 data
= new wxPyUserData(userData
);
3056 wxPyEndBlockThreads(blocked
);
3058 // Now call the real Prepend method if a valid item type was found
3060 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3061 else if ( info
.sizer
)
3062 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3063 else if (info
.gotSize
)
3064 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3065 proportion
, flag
, border
, data
);
3069 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 return self
->Remove(info
.window
);
3075 else if ( info
.sizer
)
3076 return self
->Remove(info
.sizer
);
3077 else if ( info
.gotPos
)
3078 return self
->Remove(info
.pos
);
3082 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3085 wxPyEndBlockThreads(blocked
);
3087 return self
->Detach(info
.window
);
3088 else if ( info
.sizer
)
3089 return self
->Detach(info
.sizer
);
3090 else if ( info
.gotPos
)
3091 return self
->Detach(info
.pos
);
3095 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3098 wxPyEndBlockThreads(blocked
);
3100 return self
->GetItem(info
.window
);
3101 else if ( info
.sizer
)
3102 return self
->GetItem(info
.sizer
);
3103 else if ( info
.gotPos
)
3104 return self
->GetItem(info
.pos
);
3108 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3109 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3110 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3111 wxPyEndBlockThreads(blocked
);
3113 self
->SetItemMinSize(info
.window
, size
);
3114 else if ( info
.sizer
)
3115 self
->SetItemMinSize(info
.sizer
, size
);
3116 else if ( info
.gotPos
)
3117 self
->SetItemMinSize(info
.pos
, size
);
3119 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3120 wxSizerItemList
& list
= self
->GetChildren();
3121 return wxPy_ConvertList(&list
);
3123 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3124 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3125 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3126 wxPyEndBlockThreads(blocked
);
3128 return self
->Show(info
.window
, show
, recursive
);
3129 else if ( info
.sizer
)
3130 return self
->Show(info
.sizer
, show
, recursive
);
3131 else if ( info
.gotPos
)
3132 return self
->Show(info
.pos
, show
);
3136 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3139 wxPyEndBlockThreads(blocked
);
3141 return self
->IsShown(info
.window
);
3142 else if ( info
.sizer
)
3143 return self
->IsShown(info
.sizer
);
3144 else if ( info
.gotPos
)
3145 return self
->IsShown(info
.pos
);
3151 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3152 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3153 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3158 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3160 if (source
== Py_None
) {
3161 **obj
= wxGBPosition(-1,-1);
3164 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3167 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3169 if (source
== Py_None
) {
3170 **obj
= wxGBSpan(-1,-1);
3173 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3177 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3181 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3182 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3183 PyObject
* tup
= PyTuple_New(2);
3184 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3185 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3186 wxPyEndBlockThreads(blocked
);
3189 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3190 self
->SetRowspan(rowspan
);
3191 self
->SetColspan(colspan
);
3193 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3194 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3195 PyObject
* tup
= PyTuple_New(2);
3196 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3197 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3198 wxPyEndBlockThreads(blocked
);
3201 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3202 wxPyUserData
* data
= NULL
;
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 data
= new wxPyUserData(userData
);
3206 wxPyEndBlockThreads(blocked
);
3208 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3210 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3211 wxPyUserData
* data
= NULL
;
3213 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3214 data
= new wxPyUserData(userData
);
3215 wxPyEndBlockThreads(blocked
);
3217 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3219 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3220 wxPyUserData
* data
= NULL
;
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 data
= new wxPyUserData(userData
);
3224 wxPyEndBlockThreads(blocked
);
3226 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3228 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3230 self
->GetEndPos(row
, col
);
3231 return wxGBPosition(row
, col
);
3233 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3235 wxPyUserData
* data
= NULL
;
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3238 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3239 data
= new wxPyUserData(userData
);
3240 wxPyEndBlockThreads(blocked
);
3242 // Now call the real Add method if a valid item type was found
3244 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3245 else if ( info
.sizer
)
3246 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3247 else if (info
.gotSize
)
3248 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3249 pos
, span
, flag
, border
, data
);
3257 static int _wrap_EmptyString_set(PyObject
*) {
3258 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3263 static PyObject
*_wrap_EmptyString_get(void) {
3268 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3270 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3277 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxObject
*arg1
= (wxObject
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3283 (char *) "self", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= wxObject_GetClassName(arg1
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3309 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxObject
*arg1
= (wxObject
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3319 if (SWIG_arg_fail(1)) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxObject_Destroy(arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 Py_INCREF(Py_None
); resultobj
= Py_None
;
3334 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3337 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3339 return Py_BuildValue((char *)"");
3341 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxSize
*arg1
= (wxSize
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3348 (char *) "self",(char *) "x", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail
;
3355 arg2
= (int)(SWIG_As_int(obj1
));
3356 if (SWIG_arg_fail(2)) SWIG_fail
;
3358 if (arg1
) (arg1
)->x
= arg2
;
3360 Py_INCREF(Py_None
); resultobj
= Py_None
;
3367 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxSize
*arg1
= (wxSize
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3373 (char *) "self", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3378 if (SWIG_arg_fail(1)) SWIG_fail
;
3379 result
= (int) ((arg1
)->x
);
3382 resultobj
= SWIG_From_int((int)(result
));
3390 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxSize
*arg1
= (wxSize
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "self",(char *) "y", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3402 if (SWIG_arg_fail(1)) SWIG_fail
;
3404 arg2
= (int)(SWIG_As_int(obj1
));
3405 if (SWIG_arg_fail(2)) SWIG_fail
;
3407 if (arg1
) (arg1
)->y
= arg2
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxSize
*arg1
= (wxSize
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3422 (char *) "self", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail
;
3428 result
= (int) ((arg1
)->y
);
3431 resultobj
= SWIG_From_int((int)(result
));
3439 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 int arg1
= (int) 0 ;
3442 int arg2
= (int) 0 ;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3447 (char *) "w",(char *) "h", NULL
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3453 arg1
= (int)(SWIG_As_int(obj0
));
3454 if (SWIG_arg_fail(1)) SWIG_fail
;
3459 arg2
= (int)(SWIG_As_int(obj1
));
3460 if (SWIG_arg_fail(2)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3477 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxSize
*arg1
= (wxSize
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3482 (char *) "self", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxSize
*arg1
= (wxSize
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3509 PyObject
* obj1
= 0 ;
3511 (char *) "self",(char *) "sz", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3516 if (SWIG_arg_fail(1)) SWIG_fail
;
3519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3537 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxSize
*arg1
= (wxSize
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3546 (char *) "self",(char *) "sz", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3551 if (SWIG_arg_fail(1)) SWIG_fail
;
3554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3572 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxSize
*arg1
= (wxSize
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3581 (char *) "self",(char *) "sz", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail
;
3589 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3600 resultptr
= new wxSize((wxSize
&)(result
));
3601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3609 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxSize
*arg1
= (wxSize
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "sz", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3623 if (SWIG_arg_fail(1)) SWIG_fail
;
3626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3637 resultptr
= new wxSize((wxSize
&)(result
));
3638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3646 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxSize
*arg1
= (wxSize
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3654 (char *) "self",(char *) "sz", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail
;
3662 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 (arg1
)->IncTo((wxSize
const &)*arg2
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxSize
*arg1
= (wxSize
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "sz", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail
;
3694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->DecTo((wxSize
const &)*arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxSize
*arg1
= (wxSize
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3717 PyObject
* obj2
= 0 ;
3719 (char *) "self",(char *) "w",(char *) "h", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3724 if (SWIG_arg_fail(1)) SWIG_fail
;
3726 arg2
= (int)(SWIG_As_int(obj1
));
3727 if (SWIG_arg_fail(2)) SWIG_fail
;
3730 arg3
= (int)(SWIG_As_int(obj2
));
3731 if (SWIG_arg_fail(3)) SWIG_fail
;
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 (arg1
)->Set(arg2
,arg3
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 Py_INCREF(Py_None
); resultobj
= Py_None
;
3747 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3749 wxSize
*arg1
= (wxSize
*) 0 ;
3751 PyObject
* obj0
= 0 ;
3752 PyObject
* obj1
= 0 ;
3754 (char *) "self",(char *) "w", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail
;
3761 arg2
= (int)(SWIG_As_int(obj1
));
3762 if (SWIG_arg_fail(2)) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 (arg1
)->SetWidth(arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxSize
*arg1
= (wxSize
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3783 PyObject
* obj1
= 0 ;
3785 (char *) "self",(char *) "h", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3790 if (SWIG_arg_fail(1)) SWIG_fail
;
3792 arg2
= (int)(SWIG_As_int(obj1
));
3793 if (SWIG_arg_fail(2)) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 (arg1
)->SetHeight(arg2
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 Py_INCREF(Py_None
); resultobj
= Py_None
;
3809 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxSize
*arg1
= (wxSize
*) 0 ;
3813 PyObject
* obj0
= 0 ;
3815 (char *) "self", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_From_int((int)(result
));
3837 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxSize
*arg1
= (wxSize
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3848 if (SWIG_arg_fail(1)) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_From_int((int)(result
));
3865 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxSize
*arg1
= (wxSize
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3871 (char *) "self", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3876 if (SWIG_arg_fail(1)) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3893 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxSize
*arg1
= (wxSize
*) 0 ;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3901 (char *) "self",(char *) "size", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3906 if (SWIG_arg_fail(1)) SWIG_fail
;
3909 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 Py_INCREF(Py_None
); resultobj
= Py_None
;
3925 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxSize
*arg1
= (wxSize
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3936 if (SWIG_arg_fail(1)) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (PyObject
*)wxSize_Get(arg1
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3951 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3954 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3956 return Py_BuildValue((char *)"");
3958 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3965 (char *) "self",(char *) "x", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3970 if (SWIG_arg_fail(1)) SWIG_fail
;
3972 arg2
= (double)(SWIG_As_double(obj1
));
3973 if (SWIG_arg_fail(2)) SWIG_fail
;
3975 if (arg1
) (arg1
)->x
= arg2
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3990 (char *) "self", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3995 if (SWIG_arg_fail(1)) SWIG_fail
;
3996 result
= (double) ((arg1
)->x
);
3999 resultobj
= SWIG_From_double((double)(result
));
4007 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "self",(char *) "y", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4019 if (SWIG_arg_fail(1)) SWIG_fail
;
4021 arg2
= (double)(SWIG_As_double(obj1
));
4022 if (SWIG_arg_fail(2)) SWIG_fail
;
4024 if (arg1
) (arg1
)->y
= arg2
;
4026 Py_INCREF(Py_None
); resultobj
= Py_None
;
4033 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4039 (char *) "self", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4044 if (SWIG_arg_fail(1)) SWIG_fail
;
4045 result
= (double) ((arg1
)->y
);
4048 resultobj
= SWIG_From_double((double)(result
));
4056 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 double arg1
= (double) 0.0 ;
4059 double arg2
= (double) 0.0 ;
4060 wxRealPoint
*result
;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4064 (char *) "x",(char *) "y", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4070 arg1
= (double)(SWIG_As_double(obj0
));
4071 if (SWIG_arg_fail(1)) SWIG_fail
;
4076 arg2
= (double)(SWIG_As_double(obj1
));
4077 if (SWIG_arg_fail(2)) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4094 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4104 if (SWIG_arg_fail(1)) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 Py_INCREF(Py_None
); resultobj
= Py_None
;
4119 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4122 wxRealPoint
*arg2
= 0 ;
4125 PyObject
* obj0
= 0 ;
4126 PyObject
* obj1
= 0 ;
4128 (char *) "self",(char *) "pt", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4133 if (SWIG_arg_fail(1)) SWIG_fail
;
4136 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4154 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4157 wxRealPoint
*arg2
= 0 ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4163 (char *) "self",(char *) "pt", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4168 if (SWIG_arg_fail(1)) SWIG_fail
;
4171 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4189 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4192 wxRealPoint
*arg2
= 0 ;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4198 (char *) "self",(char *) "pt", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4203 if (SWIG_arg_fail(1)) SWIG_fail
;
4206 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4216 wxRealPoint
* resultptr
;
4217 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4226 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
;
4228 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4229 wxRealPoint
*arg2
= 0 ;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4235 (char *) "self",(char *) "pt", NULL
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4240 if (SWIG_arg_fail(1)) SWIG_fail
;
4243 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4253 wxRealPoint
* resultptr
;
4254 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4263 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj1
= 0 ;
4270 PyObject
* obj2
= 0 ;
4272 (char *) "self",(char *) "x",(char *) "y", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail
;
4279 arg2
= (double)(SWIG_As_double(obj1
));
4280 if (SWIG_arg_fail(2)) SWIG_fail
;
4283 arg3
= (double)(SWIG_As_double(obj2
));
4284 if (SWIG_arg_fail(3)) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 wxRealPoint_Set(arg1
,arg2
,arg3
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 Py_INCREF(Py_None
); resultobj
= Py_None
;
4300 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4304 PyObject
* obj0
= 0 ;
4306 (char *) "self", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4311 if (SWIG_arg_fail(1)) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4326 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4329 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4331 return Py_BuildValue((char *)"");
4333 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxPoint
*arg1
= (wxPoint
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4340 (char *) "self",(char *) "x", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail
;
4347 arg2
= (int)(SWIG_As_int(obj1
));
4348 if (SWIG_arg_fail(2)) SWIG_fail
;
4350 if (arg1
) (arg1
)->x
= arg2
;
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxPoint
*arg1
= (wxPoint
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4365 (char *) "self", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4370 if (SWIG_arg_fail(1)) SWIG_fail
;
4371 result
= (int) ((arg1
)->x
);
4374 resultobj
= SWIG_From_int((int)(result
));
4382 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxPoint
*arg1
= (wxPoint
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4389 (char *) "self",(char *) "y", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4394 if (SWIG_arg_fail(1)) SWIG_fail
;
4396 arg2
= (int)(SWIG_As_int(obj1
));
4397 if (SWIG_arg_fail(2)) SWIG_fail
;
4399 if (arg1
) (arg1
)->y
= arg2
;
4401 Py_INCREF(Py_None
); resultobj
= Py_None
;
4408 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxPoint
*arg1
= (wxPoint
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4414 (char *) "self", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4419 if (SWIG_arg_fail(1)) SWIG_fail
;
4420 result
= (int) ((arg1
)->y
);
4423 resultobj
= SWIG_From_int((int)(result
));
4431 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 int arg1
= (int) 0 ;
4434 int arg2
= (int) 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4439 (char *) "x",(char *) "y", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4445 arg1
= (int)(SWIG_As_int(obj0
));
4446 if (SWIG_arg_fail(1)) SWIG_fail
;
4451 arg2
= (int)(SWIG_As_int(obj1
));
4452 if (SWIG_arg_fail(2)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4469 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxPoint
*arg1
= (wxPoint
*) 0 ;
4472 PyObject
* obj0
= 0 ;
4474 (char *) "self", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4494 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxPoint
*arg1
= (wxPoint
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4503 (char *) "self",(char *) "pt", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail
;
4511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4529 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxPoint
*arg1
= (wxPoint
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "pt", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4543 if (SWIG_arg_fail(1)) SWIG_fail
;
4546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4564 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxPoint
*arg1
= (wxPoint
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4573 (char *) "self",(char *) "pt", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4578 if (SWIG_arg_fail(1)) SWIG_fail
;
4581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4591 wxPoint
* resultptr
;
4592 resultptr
= new wxPoint((wxPoint
&)(result
));
4593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4601 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxPoint
*arg1
= (wxPoint
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "pt", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4615 if (SWIG_arg_fail(1)) SWIG_fail
;
4618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 wxPoint
* resultptr
;
4629 resultptr
= new wxPoint((wxPoint
&)(result
));
4630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4638 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxPoint
*arg1
= (wxPoint
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "pt", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4652 if (SWIG_arg_fail(1)) SWIG_fail
;
4655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4661 result
= (wxPoint
*) &_result_ref
;
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4674 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxPoint
*arg1
= (wxPoint
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4683 (char *) "self",(char *) "pt", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4688 if (SWIG_arg_fail(1)) SWIG_fail
;
4691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4697 result
= (wxPoint
*) &_result_ref
;
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4710 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxPoint
*arg1
= (wxPoint
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4717 PyObject
* obj2
= 0 ;
4719 (char *) "self",(char *) "x",(char *) "y", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail
;
4726 arg2
= (long)(SWIG_As_long(obj1
));
4727 if (SWIG_arg_fail(2)) SWIG_fail
;
4730 arg3
= (long)(SWIG_As_long(obj2
));
4731 if (SWIG_arg_fail(3)) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 wxPoint_Set(arg1
,arg2
,arg3
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxPoint
*arg1
= (wxPoint
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "self", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (PyObject
*)wxPoint_Get(arg1
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4773 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4776 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4778 return Py_BuildValue((char *)"");
4780 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 int arg1
= (int) 0 ;
4783 int arg2
= (int) 0 ;
4784 int arg3
= (int) 0 ;
4785 int arg4
= (int) 0 ;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4789 PyObject
* obj2
= 0 ;
4790 PyObject
* obj3
= 0 ;
4792 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4798 arg1
= (int)(SWIG_As_int(obj0
));
4799 if (SWIG_arg_fail(1)) SWIG_fail
;
4804 arg2
= (int)(SWIG_As_int(obj1
));
4805 if (SWIG_arg_fail(2)) SWIG_fail
;
4810 arg3
= (int)(SWIG_As_int(obj2
));
4811 if (SWIG_arg_fail(3)) SWIG_fail
;
4816 arg4
= (int)(SWIG_As_int(obj3
));
4817 if (SWIG_arg_fail(4)) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4834 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4841 PyObject
* obj0
= 0 ;
4842 PyObject
* obj1
= 0 ;
4844 (char *) "topLeft",(char *) "bottomRight", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4850 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4870 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4880 (char *) "pos",(char *) "size", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4886 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4890 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4906 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "size", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4919 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4935 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxRect
*arg1
= (wxRect
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4945 if (SWIG_arg_fail(1)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxRect
*arg1
= (wxRect
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4971 if (SWIG_arg_fail(1)) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)((wxRect
const *)arg1
)->GetX();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_From_int((int)(result
));
4988 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxRect
*arg1
= (wxRect
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4995 (char *) "self",(char *) "x", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5000 if (SWIG_arg_fail(1)) SWIG_fail
;
5002 arg2
= (int)(SWIG_As_int(obj1
));
5003 if (SWIG_arg_fail(2)) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 Py_INCREF(Py_None
); resultobj
= Py_None
;
5019 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxRect
*arg1
= (wxRect
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5025 (char *) "self", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5030 if (SWIG_arg_fail(1)) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (int)(arg1
)->GetY();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_From_int((int)(result
));
5047 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxRect
*arg1
= (wxRect
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5054 (char *) "self",(char *) "y", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail
;
5061 arg2
= (int)(SWIG_As_int(obj1
));
5062 if (SWIG_arg_fail(2)) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 Py_INCREF(Py_None
); resultobj
= Py_None
;
5078 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxRect
*arg1
= (wxRect
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_From_int((int)(result
));
5106 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxRect
*arg1
= (wxRect
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5113 (char *) "self",(char *) "w", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail
;
5120 arg2
= (int)(SWIG_As_int(obj1
));
5121 if (SWIG_arg_fail(2)) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 (arg1
)->SetWidth(arg2
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 Py_INCREF(Py_None
); resultobj
= Py_None
;
5137 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
;
5139 wxRect
*arg1
= (wxRect
*) 0 ;
5141 PyObject
* obj0
= 0 ;
5143 (char *) "self", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5148 if (SWIG_arg_fail(1)) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_From_int((int)(result
));
5165 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxRect
*arg1
= (wxRect
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "h", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5177 if (SWIG_arg_fail(1)) SWIG_fail
;
5179 arg2
= (int)(SWIG_As_int(obj1
));
5180 if (SWIG_arg_fail(2)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 (arg1
)->SetHeight(arg2
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 Py_INCREF(Py_None
); resultobj
= Py_None
;
5196 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxRect
*arg1
= (wxRect
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5202 (char *) "self", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5207 if (SWIG_arg_fail(1)) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= ((wxRect
const *)arg1
)->GetPosition();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 wxPoint
* resultptr
;
5217 resultptr
= new wxPoint((wxPoint
&)(result
));
5218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5226 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxRect
*arg1
= (wxRect
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "p", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail
;
5242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 Py_INCREF(Py_None
); resultobj
= Py_None
;
5258 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxRect
*arg1
= (wxRect
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "self", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= ((wxRect
const *)arg1
)->GetSize();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5279 resultptr
= new wxSize((wxSize
&)(result
));
5280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5288 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxRect
*arg1
= (wxRect
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5296 (char *) "self",(char *) "s", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5304 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 (arg1
)->SetSize((wxSize
const &)*arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5320 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxRect
*arg1
= (wxRect
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxRect
*arg1
= (wxRect
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 wxPoint
* resultptr
;
5369 resultptr
= new wxPoint((wxPoint
&)(result
));
5370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5378 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxRect
*arg1
= (wxRect
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5386 (char *) "self",(char *) "p", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5391 if (SWIG_arg_fail(1)) SWIG_fail
;
5394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 Py_INCREF(Py_None
); resultobj
= Py_None
;
5410 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxRect
*arg1
= (wxRect
*) 0 ;
5414 PyObject
* obj0
= 0 ;
5416 (char *) "self", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5421 if (SWIG_arg_fail(1)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 wxPoint
* resultptr
;
5431 resultptr
= new wxPoint((wxPoint
&)(result
));
5432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5440 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxRect
*arg1
= (wxRect
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "p", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5453 if (SWIG_arg_fail(1)) SWIG_fail
;
5456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5472 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxRect
*arg1
= (wxRect
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5478 (char *) "self", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5483 if (SWIG_arg_fail(1)) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= SWIG_From_int((int)(result
));
5500 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxRect
*arg1
= (wxRect
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "self", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (int)((wxRect
const *)arg1
)->GetTop();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= SWIG_From_int((int)(result
));
5528 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxRect
*arg1
= (wxRect
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5539 if (SWIG_arg_fail(1)) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_From_int((int)(result
));
5556 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxRect
*arg1
= (wxRect
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5562 (char *) "self", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5567 if (SWIG_arg_fail(1)) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (int)((wxRect
const *)arg1
)->GetRight();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_From_int((int)(result
));
5584 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxRect
*arg1
= (wxRect
*) 0 ;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5591 (char *) "self",(char *) "left", NULL
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5596 if (SWIG_arg_fail(1)) SWIG_fail
;
5598 arg2
= (int)(SWIG_As_int(obj1
));
5599 if (SWIG_arg_fail(2)) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 (arg1
)->SetLeft(arg2
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxRect
*arg1
= (wxRect
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "right", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail
;
5629 arg2
= (int)(SWIG_As_int(obj1
));
5630 if (SWIG_arg_fail(2)) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 (arg1
)->SetRight(arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 Py_INCREF(Py_None
); resultobj
= Py_None
;
5646 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxRect
*arg1
= (wxRect
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5653 (char *) "self",(char *) "top", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5658 if (SWIG_arg_fail(1)) SWIG_fail
;
5660 arg2
= (int)(SWIG_As_int(obj1
));
5661 if (SWIG_arg_fail(2)) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetTop(arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 Py_INCREF(Py_None
); resultobj
= Py_None
;
5677 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxRect
*arg1
= (wxRect
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "bottom", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail
;
5691 arg2
= (int)(SWIG_As_int(obj1
));
5692 if (SWIG_arg_fail(2)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 (arg1
)->SetBottom(arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxRect
*arg1
= (wxRect
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5716 PyObject
* obj2
= 0 ;
5718 (char *) "self",(char *) "dx",(char *) "dy", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 arg2
= (int)(SWIG_As_int(obj1
));
5726 if (SWIG_arg_fail(2)) SWIG_fail
;
5729 arg3
= (int)(SWIG_As_int(obj2
));
5730 if (SWIG_arg_fail(3)) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5736 result
= (wxRect
*) &_result_ref
;
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5749 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxRect
*arg1
= (wxRect
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5757 PyObject
* obj2
= 0 ;
5759 (char *) "self",(char *) "dx",(char *) "dy", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5764 if (SWIG_arg_fail(1)) SWIG_fail
;
5766 arg2
= (int)(SWIG_As_int(obj1
));
5767 if (SWIG_arg_fail(2)) SWIG_fail
;
5770 arg3
= (int)(SWIG_As_int(obj2
));
5771 if (SWIG_arg_fail(3)) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5777 result
= (wxRect
*) &_result_ref
;
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5790 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxRect
*arg1
= (wxRect
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5797 PyObject
* obj2
= 0 ;
5799 (char *) "self",(char *) "dx",(char *) "dy", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail
;
5806 arg2
= (int)(SWIG_As_int(obj1
));
5807 if (SWIG_arg_fail(2)) SWIG_fail
;
5810 arg3
= (int)(SWIG_As_int(obj2
));
5811 if (SWIG_arg_fail(3)) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 (arg1
)->Offset(arg2
,arg3
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 Py_INCREF(Py_None
); resultobj
= Py_None
;
5827 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxRect
*arg1
= (wxRect
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5835 (char *) "self",(char *) "pt", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5840 if (SWIG_arg_fail(1)) SWIG_fail
;
5843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->Offset((wxPoint
const &)*arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxRect
*arg1
= (wxRect
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5868 (char *) "self",(char *) "rect", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5873 if (SWIG_arg_fail(1)) SWIG_fail
;
5876 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5887 resultptr
= new wxRect((wxRect
&)(result
));
5888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5896 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxRect
*arg1
= (wxRect
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "self",(char *) "rect", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5910 if (SWIG_arg_fail(1)) SWIG_fail
;
5913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5924 resultptr
= new wxRect((wxRect
&)(result
));
5925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5933 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxRect
*arg1
= (wxRect
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "rect", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail
;
5950 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5961 resultptr
= new wxRect((wxRect
&)(result
));
5962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5970 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxRect
*arg1
= (wxRect
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5979 (char *) "self",(char *) "rect", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5984 if (SWIG_arg_fail(1)) SWIG_fail
;
5987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5993 result
= (wxRect
*) &_result_ref
;
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6006 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxRect
*arg1
= (wxRect
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6015 (char *) "self",(char *) "rect", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6020 if (SWIG_arg_fail(1)) SWIG_fail
;
6023 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6041 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxRect
*arg1
= (wxRect
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6048 PyObject
* obj1
= 0 ;
6050 (char *) "self",(char *) "rect", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6055 if (SWIG_arg_fail(1)) SWIG_fail
;
6058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6076 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxRect
*arg1
= (wxRect
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6084 PyObject
* obj2
= 0 ;
6086 (char *) "self",(char *) "x",(char *) "y", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6091 if (SWIG_arg_fail(1)) SWIG_fail
;
6093 arg2
= (int)(SWIG_As_int(obj1
));
6094 if (SWIG_arg_fail(2)) SWIG_fail
;
6097 arg3
= (int)(SWIG_As_int(obj2
));
6098 if (SWIG_arg_fail(3)) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6116 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxRect
*arg1
= (wxRect
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6125 (char *) "self",(char *) "pt", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6130 if (SWIG_arg_fail(1)) SWIG_fail
;
6133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6151 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxRect
*arg1
= (wxRect
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 (char *) "self",(char *) "rect", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6165 if (SWIG_arg_fail(1)) SWIG_fail
;
6168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6186 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxRect
*arg1
= (wxRect
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6193 (char *) "self",(char *) "x", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6198 if (SWIG_arg_fail(1)) SWIG_fail
;
6200 arg2
= (int)(SWIG_As_int(obj1
));
6201 if (SWIG_arg_fail(2)) SWIG_fail
;
6203 if (arg1
) (arg1
)->x
= arg2
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxRect
*arg1
= (wxRect
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6218 (char *) "self", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6223 if (SWIG_arg_fail(1)) SWIG_fail
;
6224 result
= (int) ((arg1
)->x
);
6227 resultobj
= SWIG_From_int((int)(result
));
6235 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxRect
*arg1
= (wxRect
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6242 (char *) "self",(char *) "y", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6249 arg2
= (int)(SWIG_As_int(obj1
));
6250 if (SWIG_arg_fail(2)) SWIG_fail
;
6252 if (arg1
) (arg1
)->y
= arg2
;
6254 Py_INCREF(Py_None
); resultobj
= Py_None
;
6261 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxRect
*arg1
= (wxRect
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "self", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6272 if (SWIG_arg_fail(1)) SWIG_fail
;
6273 result
= (int) ((arg1
)->y
);
6276 resultobj
= SWIG_From_int((int)(result
));
6284 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxRect
*arg1
= (wxRect
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6291 (char *) "self",(char *) "width", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6296 if (SWIG_arg_fail(1)) SWIG_fail
;
6298 arg2
= (int)(SWIG_As_int(obj1
));
6299 if (SWIG_arg_fail(2)) SWIG_fail
;
6301 if (arg1
) (arg1
)->width
= arg2
;
6303 Py_INCREF(Py_None
); resultobj
= Py_None
;
6310 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxRect
*arg1
= (wxRect
*) 0 ;
6314 PyObject
* obj0
= 0 ;
6316 (char *) "self", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6321 if (SWIG_arg_fail(1)) SWIG_fail
;
6322 result
= (int) ((arg1
)->width
);
6325 resultobj
= SWIG_From_int((int)(result
));
6333 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxRect
*arg1
= (wxRect
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6340 (char *) "self",(char *) "height", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6345 if (SWIG_arg_fail(1)) SWIG_fail
;
6347 arg2
= (int)(SWIG_As_int(obj1
));
6348 if (SWIG_arg_fail(2)) SWIG_fail
;
6350 if (arg1
) (arg1
)->height
= arg2
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6359 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxRect
*arg1
= (wxRect
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6370 if (SWIG_arg_fail(1)) SWIG_fail
;
6371 result
= (int) ((arg1
)->height
);
6374 resultobj
= SWIG_From_int((int)(result
));
6382 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxRect
*arg1
= (wxRect
*) 0 ;
6385 int arg2
= (int) 0 ;
6386 int arg3
= (int) 0 ;
6387 int arg4
= (int) 0 ;
6388 int arg5
= (int) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6391 PyObject
* obj2
= 0 ;
6392 PyObject
* obj3
= 0 ;
6393 PyObject
* obj4
= 0 ;
6395 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6400 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 arg2
= (int)(SWIG_As_int(obj1
));
6404 if (SWIG_arg_fail(2)) SWIG_fail
;
6409 arg3
= (int)(SWIG_As_int(obj2
));
6410 if (SWIG_arg_fail(3)) SWIG_fail
;
6415 arg4
= (int)(SWIG_As_int(obj3
));
6416 if (SWIG_arg_fail(4)) SWIG_fail
;
6421 arg5
= (int)(SWIG_As_int(obj4
));
6422 if (SWIG_arg_fail(5)) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 Py_INCREF(Py_None
); resultobj
= Py_None
;
6439 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxRect
*arg1
= (wxRect
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6450 if (SWIG_arg_fail(1)) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (PyObject
*)wxRect_Get(arg1
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6465 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6468 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6470 return Py_BuildValue((char *)"");
6472 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxRect
*arg1
= (wxRect
*) 0 ;
6475 wxRect
*arg2
= (wxRect
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6480 (char *) "r1",(char *) "r2", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6485 if (SWIG_arg_fail(1)) SWIG_fail
;
6486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6487 if (SWIG_arg_fail(2)) SWIG_fail
;
6489 if (!wxPyCheckForApp()) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6503 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 double arg1
= (double) 0.0 ;
6506 double arg2
= (double) 0.0 ;
6508 PyObject
* obj0
= 0 ;
6509 PyObject
* obj1
= 0 ;
6511 (char *) "x",(char *) "y", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6517 arg1
= (double)(SWIG_As_double(obj0
));
6518 if (SWIG_arg_fail(1)) SWIG_fail
;
6523 arg2
= (double)(SWIG_As_double(obj1
));
6524 if (SWIG_arg_fail(2)) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6541 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxPoint2D
*arg1
= 0 ;
6546 PyObject
* obj0
= 0 ;
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6554 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6570 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6575 PyObject
* obj0
= 0 ;
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6583 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6599 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6602 int *arg2
= (int *) 0 ;
6603 int *arg3
= (int *) 0 ;
6608 PyObject
* obj0
= 0 ;
6610 (char *) "self", NULL
6613 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6614 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 Py_INCREF(Py_None
); resultobj
= Py_None
;
6626 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6627 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6628 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6629 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6636 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6639 int *arg2
= (int *) 0 ;
6640 int *arg3
= (int *) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6651 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6654 if (SWIG_arg_fail(1)) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6663 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6664 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6665 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6666 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6673 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6679 (char *) "self", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6684 if (SWIG_arg_fail(1)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_From_double((double)(result
));
6701 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "self", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6712 if (SWIG_arg_fail(1)) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= SWIG_From_double((double)(result
));
6729 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6736 (char *) "self",(char *) "length", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6741 if (SWIG_arg_fail(1)) SWIG_fail
;
6743 arg2
= (double)(SWIG_As_double(obj1
));
6744 if (SWIG_arg_fail(2)) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 (arg1
)->SetVectorLength(arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6767 (char *) "self",(char *) "degrees", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6774 arg2
= (double)(SWIG_As_double(obj1
));
6775 if (SWIG_arg_fail(2)) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 (arg1
)->SetVectorAngle(arg2
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 Py_INCREF(Py_None
); resultobj
= Py_None
;
6791 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6794 wxPoint2D
*arg2
= 0 ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6800 (char *) "self",(char *) "pt", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6805 if (SWIG_arg_fail(1)) SWIG_fail
;
6808 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_From_double((double)(result
));
6826 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6829 wxPoint2D
*arg2
= 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "self",(char *) "pt", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6840 if (SWIG_arg_fail(1)) SWIG_fail
;
6843 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_From_double((double)(result
));
6861 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6864 wxPoint2D
*arg2
= 0 ;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6870 (char *) "self",(char *) "vec", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6875 if (SWIG_arg_fail(1)) SWIG_fail
;
6878 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_From_double((double)(result
));
6896 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6899 wxPoint2D
*arg2
= 0 ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6905 (char *) "self",(char *) "vec", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6910 if (SWIG_arg_fail(1)) SWIG_fail
;
6913 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_From_double((double)(result
));
6931 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6937 (char *) "self", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6942 if (SWIG_arg_fail(1)) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= (arg1
)->operator -();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 wxPoint2D
* resultptr
;
6952 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6961 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6964 wxPoint2D
*arg2
= 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6970 (char *) "self",(char *) "pt", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6975 if (SWIG_arg_fail(1)) SWIG_fail
;
6978 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6984 result
= (wxPoint2D
*) &_result_ref
;
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6997 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7000 wxPoint2D
*arg2
= 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7006 (char *) "self",(char *) "pt", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7011 if (SWIG_arg_fail(1)) SWIG_fail
;
7014 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7020 result
= (wxPoint2D
*) &_result_ref
;
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7033 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7036 wxPoint2D
*arg2
= 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7042 (char *) "self",(char *) "pt", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7047 if (SWIG_arg_fail(1)) SWIG_fail
;
7050 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7056 result
= (wxPoint2D
*) &_result_ref
;
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7069 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7072 wxPoint2D
*arg2
= 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "pt", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7083 if (SWIG_arg_fail(1)) SWIG_fail
;
7086 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7092 result
= (wxPoint2D
*) &_result_ref
;
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7105 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7108 wxPoint2D
*arg2
= 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7114 (char *) "self",(char *) "pt", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7140 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7143 wxPoint2D
*arg2
= 0 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7149 (char *) "self",(char *) "pt", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7154 if (SWIG_arg_fail(1)) SWIG_fail
;
7157 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7175 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7182 (char *) "self",(char *) "m_x", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail
;
7189 arg2
= (double)(SWIG_As_double(obj1
));
7190 if (SWIG_arg_fail(2)) SWIG_fail
;
7192 if (arg1
) (arg1
)->m_x
= arg2
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail
;
7213 result
= (double) ((arg1
)->m_x
);
7216 resultobj
= SWIG_From_double((double)(result
));
7224 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7231 (char *) "self",(char *) "m_y", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7238 arg2
= (double)(SWIG_As_double(obj1
));
7239 if (SWIG_arg_fail(2)) SWIG_fail
;
7241 if (arg1
) (arg1
)->m_y
= arg2
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7254 PyObject
* obj0
= 0 ;
7256 (char *) "self", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7261 if (SWIG_arg_fail(1)) SWIG_fail
;
7262 result
= (double) ((arg1
)->m_y
);
7265 resultobj
= SWIG_From_double((double)(result
));
7273 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7276 double arg2
= (double) 0 ;
7277 double arg3
= (double) 0 ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7280 PyObject
* obj2
= 0 ;
7282 (char *) "self",(char *) "x",(char *) "y", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7287 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 arg2
= (double)(SWIG_As_double(obj1
));
7291 if (SWIG_arg_fail(2)) SWIG_fail
;
7296 arg3
= (double)(SWIG_As_double(obj2
));
7297 if (SWIG_arg_fail(3)) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 wxPoint2D_Set(arg1
,arg2
,arg3
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7314 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7320 (char *) "self", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7325 if (SWIG_arg_fail(1)) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7340 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7343 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7345 return Py_BuildValue((char *)"");
7347 static int _wrap_DefaultPosition_set(PyObject
*) {
7348 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7353 static PyObject
*_wrap_DefaultPosition_get(void) {
7356 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7361 static int _wrap_DefaultSize_set(PyObject
*) {
7362 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7367 static PyObject
*_wrap_DefaultSize_get(void) {
7370 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7375 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 PyObject
*arg1
= (PyObject
*) 0 ;
7378 wxPyInputStream
*result
;
7379 PyObject
* obj0
= 0 ;
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7400 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7430 (char *) "self", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 Py_INCREF(Py_None
); resultobj
= Py_None
;
7450 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7455 (char *) "self", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7460 if (SWIG_arg_fail(1)) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7481 (char *) "self", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7486 if (SWIG_arg_fail(1)) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (bool)(arg1
)->eof();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7506 int arg2
= (int) -1 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7511 (char *) "self",(char *) "size", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7516 if (SWIG_arg_fail(1)) SWIG_fail
;
7519 arg2
= (int)(SWIG_As_int(obj1
));
7520 if (SWIG_arg_fail(2)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (PyObject
*)(arg1
)->read(arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7537 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7540 int arg2
= (int) -1 ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7545 (char *) "self",(char *) "size", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7553 arg2
= (int)(SWIG_As_int(obj1
));
7554 if (SWIG_arg_fail(2)) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (PyObject
*)(arg1
)->readline(arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7571 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7574 int arg2
= (int) -1 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7579 (char *) "self",(char *) "sizehint", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7584 if (SWIG_arg_fail(1)) SWIG_fail
;
7587 arg2
= (int)(SWIG_As_int(obj1
));
7588 if (SWIG_arg_fail(2)) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7605 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7609 int arg3
= (int) 0 ;
7610 PyObject
* obj0
= 0 ;
7611 PyObject
* obj1
= 0 ;
7612 PyObject
* obj2
= 0 ;
7614 (char *) "self",(char *) "offset",(char *) "whence", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail
;
7621 arg2
= (int)(SWIG_As_int(obj1
));
7622 if (SWIG_arg_fail(2)) SWIG_fail
;
7626 arg3
= (int)(SWIG_As_int(obj2
));
7627 if (SWIG_arg_fail(3)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 (arg1
)->seek(arg2
,arg3
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7655 if (SWIG_arg_fail(1)) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (int)(arg1
)->tell();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_From_int((int)(result
));
7672 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7678 (char *) "self", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7683 if (SWIG_arg_fail(1)) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (char)(arg1
)->Peek();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_From_char((char)(result
));
7700 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7706 (char *) "self", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7711 if (SWIG_arg_fail(1)) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (char)(arg1
)->GetC();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_From_char((char)(result
));
7728 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7734 (char *) "self", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7739 if (SWIG_arg_fail(1)) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (size_t)(arg1
)->LastRead();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7756 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7760 PyObject
* obj0
= 0 ;
7762 (char *) "self", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7767 if (SWIG_arg_fail(1)) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (bool)(arg1
)->CanRead();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7784 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (bool)(arg1
)->Eof();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7812 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7818 PyObject
* obj1
= 0 ;
7820 (char *) "self",(char *) "c", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7825 if (SWIG_arg_fail(1)) SWIG_fail
;
7827 arg2
= (char)(SWIG_As_char(obj1
));
7828 if (SWIG_arg_fail(2)) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (bool)(arg1
)->Ungetch(arg2
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7846 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7850 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 PyObject
* obj2
= 0 ;
7856 (char *) "self",(char *) "pos",(char *) "mode", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail
;
7863 arg2
= (long)(SWIG_As_long(obj1
));
7864 if (SWIG_arg_fail(2)) SWIG_fail
;
7868 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7869 if (SWIG_arg_fail(3)) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_From_long((long)(result
));
7888 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7892 PyObject
* obj0
= 0 ;
7894 (char *) "self", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (long)(arg1
)->TellI();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_From_long((long)(result
));
7916 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7919 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7921 return Py_BuildValue((char *)"");
7923 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7926 PyObject
*arg2
= (PyObject
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "self",(char *) "obj", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 wxOutputStream_write(arg1
,arg2
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7951 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7954 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7956 return Py_BuildValue((char *)"");
7958 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7961 wxString
*arg2
= 0 ;
7962 wxString
*arg3
= 0 ;
7963 wxString
*arg4
= 0 ;
7966 wxPyInputStream
*temp1
;
7967 bool temp2
= false ;
7968 bool temp3
= false ;
7969 bool temp4
= false ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7972 PyObject
* obj2
= 0 ;
7973 PyObject
* obj3
= 0 ;
7974 PyObject
* obj4
= 0 ;
7976 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7981 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7982 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7984 PyErr_Clear(); // clear the failure of the wxPyConvert above
7985 arg1
= wxPyCBInputStream_create(obj0
, true);
7987 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7993 arg2
= wxString_in_helper(obj1
);
7994 if (arg2
== NULL
) SWIG_fail
;
7998 arg3
= wxString_in_helper(obj2
);
7999 if (arg3
== NULL
) SWIG_fail
;
8003 arg4
= wxString_in_helper(obj3
);
8004 if (arg4
== NULL
) SWIG_fail
;
8009 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8010 if (SWIG_arg_fail(5)) SWIG_fail
;
8012 SWIG_null_ref("wxDateTime");
8014 if (SWIG_arg_fail(5)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= wxPyMake_wxObject(result
, 1);
8057 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "self", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8067 if (SWIG_arg_fail(1)) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 Py_INCREF(Py_None
); resultobj
= Py_None
;
8082 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8085 wxInputStream
*result
;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (wxInputStream
*)(arg1
)->GetStream();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8102 wxPyInputStream
* _ptr
= NULL
;
8105 _ptr
= new wxPyInputStream(result
);
8107 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8115 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
;
8117 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8119 PyObject
* obj0
= 0 ;
8121 (char *) "self", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8131 result
= (wxString
*) &_result_ref
;
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8141 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8150 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8156 (char *) "self", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8161 if (SWIG_arg_fail(1)) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 wxString
const &_result_ref
= (arg1
)->GetLocation();
8166 result
= (wxString
*) &_result_ref
;
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8176 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8185 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8196 if (SWIG_arg_fail(1)) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8201 result
= (wxString
*) &_result_ref
;
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8211 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8220 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8226 (char *) "self", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8231 if (SWIG_arg_fail(1)) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (arg1
)->GetModificationTime();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 wxDateTime
* resultptr
;
8241 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8250 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8253 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8255 return Py_BuildValue((char *)"");
8257 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8260 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8262 return Py_BuildValue((char *)"");
8264 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxPyFileSystemHandler
*result
;
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8286 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8289 PyObject
*arg2
= (PyObject
*) 0 ;
8290 PyObject
*arg3
= (PyObject
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj2
= 0 ;
8295 (char *) "self",(char *) "self",(char *) "_class", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8300 if (SWIG_arg_fail(1)) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 Py_INCREF(Py_None
); resultobj
= Py_None
;
8317 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8320 wxString
*arg2
= 0 ;
8322 bool temp2
= false ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "location", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 arg2
= wxString_in_helper(obj1
);
8334 if (arg2
== NULL
) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8361 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8364 wxFileSystem
*arg2
= 0 ;
8365 wxString
*arg3
= 0 ;
8367 bool temp3
= false ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8372 (char *) "self",(char *) "fs",(char *) "location", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8377 if (SWIG_arg_fail(1)) SWIG_fail
;
8379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8380 if (SWIG_arg_fail(2)) SWIG_fail
;
8382 SWIG_null_ref("wxFileSystem");
8384 if (SWIG_arg_fail(2)) SWIG_fail
;
8387 arg3
= wxString_in_helper(obj2
);
8388 if (arg3
== NULL
) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= wxPyMake_wxObject(result
, 1);
8415 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8418 wxString
*arg2
= 0 ;
8419 int arg3
= (int) 0 ;
8421 bool temp2
= false ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8424 PyObject
* obj2
= 0 ;
8426 (char *) "self",(char *) "spec",(char *) "flags", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8431 if (SWIG_arg_fail(1)) SWIG_fail
;
8433 arg2
= wxString_in_helper(obj1
);
8434 if (arg2
== NULL
) SWIG_fail
;
8439 arg3
= (int)(SWIG_As_int(obj2
));
8440 if (SWIG_arg_fail(3)) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8471 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8475 PyObject
* obj0
= 0 ;
8477 (char *) "self", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8482 if (SWIG_arg_fail(1)) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (arg1
)->FindNext();
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8503 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8506 wxString
*arg2
= 0 ;
8508 bool temp2
= false ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "self",(char *) "location", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail
;
8519 arg2
= wxString_in_helper(obj1
);
8520 if (arg2
== NULL
) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8551 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8554 wxString
*arg2
= 0 ;
8556 bool temp2
= false ;
8557 PyObject
* obj0
= 0 ;
8558 PyObject
* obj1
= 0 ;
8560 (char *) "self",(char *) "location", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8565 if (SWIG_arg_fail(1)) SWIG_fail
;
8567 arg2
= wxString_in_helper(obj1
);
8568 if (arg2
== NULL
) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8599 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8602 wxString
*arg2
= 0 ;
8604 bool temp2
= false ;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8608 (char *) "self",(char *) "location", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8613 if (SWIG_arg_fail(1)) SWIG_fail
;
8615 arg2
= wxString_in_helper(obj1
);
8616 if (arg2
== NULL
) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8647 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8650 wxString
*arg2
= 0 ;
8652 bool temp2
= false ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8656 (char *) "self",(char *) "location", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8661 if (SWIG_arg_fail(1)) SWIG_fail
;
8663 arg2
= wxString_in_helper(obj1
);
8664 if (arg2
== NULL
) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8695 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8698 wxString
*arg2
= 0 ;
8700 bool temp2
= false ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "self",(char *) "location", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail
;
8711 arg2
= wxString_in_helper(obj1
);
8712 if (arg2
== NULL
) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8743 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8746 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8748 return Py_BuildValue((char *)"");
8750 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxFileSystem
*result
;
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (wxFileSystem
*)new wxFileSystem();
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= wxPyMake_wxObject(result
, 1);
8774 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8777 PyObject
* obj0
= 0 ;
8779 (char *) "self", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8784 if (SWIG_arg_fail(1)) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 Py_INCREF(Py_None
); resultobj
= Py_None
;
8799 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8802 wxString
*arg2
= 0 ;
8803 bool arg3
= (bool) false ;
8804 bool temp2
= false ;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8807 PyObject
* obj2
= 0 ;
8809 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8814 if (SWIG_arg_fail(1)) SWIG_fail
;
8816 arg2
= wxString_in_helper(obj1
);
8817 if (arg2
== NULL
) SWIG_fail
;
8822 arg3
= (bool)(SWIG_As_bool(obj2
));
8823 if (SWIG_arg_fail(3)) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8848 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8854 (char *) "self", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (arg1
)->GetPath();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8880 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8883 wxString
*arg2
= 0 ;
8885 bool temp2
= false ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8889 (char *) "self",(char *) "location", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8894 if (SWIG_arg_fail(1)) SWIG_fail
;
8896 arg2
= wxString_in_helper(obj1
);
8897 if (arg2
== NULL
) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= wxPyMake_wxObject(result
, 1);
8924 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8927 wxString
*arg2
= 0 ;
8928 int arg3
= (int) 0 ;
8930 bool temp2
= false ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8935 (char *) "self",(char *) "spec",(char *) "flags", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8940 if (SWIG_arg_fail(1)) SWIG_fail
;
8942 arg2
= wxString_in_helper(obj1
);
8943 if (arg2
== NULL
) SWIG_fail
;
8948 arg3
= (int)(SWIG_As_int(obj2
));
8949 if (SWIG_arg_fail(3)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8980 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "self", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (arg1
)->FindNext();
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9012 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "handler", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 wxFileSystem::AddHandler(arg1
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 wxFileSystem::CleanUpHandlers();
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 Py_INCREF(Py_None
); resultobj
= Py_None
;
9058 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxString
*arg1
= 0 ;
9062 bool temp1
= false ;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "filename", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9070 arg1
= wxString_in_helper(obj0
);
9071 if (arg1
== NULL
) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9102 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxString
*arg1
= 0 ;
9106 bool temp1
= false ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "url", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9114 arg1
= wxString_in_helper(obj0
);
9115 if (arg1
== NULL
) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9146 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9149 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9151 return Py_BuildValue((char *)"");
9153 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxInternetFSHandler
*result
;
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9175 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9178 wxString
*arg2
= 0 ;
9180 bool temp2
= false ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9184 (char *) "self",(char *) "location", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 arg2
= wxString_in_helper(obj1
);
9192 if (arg2
== NULL
) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9219 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9222 wxFileSystem
*arg2
= 0 ;
9223 wxString
*arg3
= 0 ;
9225 bool temp3
= false ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9230 (char *) "self",(char *) "fs",(char *) "location", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9235 if (SWIG_arg_fail(1)) SWIG_fail
;
9237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9238 if (SWIG_arg_fail(2)) SWIG_fail
;
9240 SWIG_null_ref("wxFileSystem");
9242 if (SWIG_arg_fail(2)) SWIG_fail
;
9245 arg3
= wxString_in_helper(obj2
);
9246 if (arg3
== NULL
) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= wxPyMake_wxObject(result
, 1);
9273 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9276 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9278 return Py_BuildValue((char *)"");
9280 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxZipFSHandler
*result
;
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9302 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9305 wxString
*arg2
= 0 ;
9307 bool temp2
= false ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9311 (char *) "self",(char *) "location", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 arg2
= wxString_in_helper(obj1
);
9319 if (arg2
== NULL
) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9346 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9349 wxFileSystem
*arg2
= 0 ;
9350 wxString
*arg3
= 0 ;
9352 bool temp3
= false ;
9353 PyObject
* obj0
= 0 ;
9354 PyObject
* obj1
= 0 ;
9355 PyObject
* obj2
= 0 ;
9357 (char *) "self",(char *) "fs",(char *) "location", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail
;
9364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9365 if (SWIG_arg_fail(2)) SWIG_fail
;
9367 SWIG_null_ref("wxFileSystem");
9369 if (SWIG_arg_fail(2)) SWIG_fail
;
9372 arg3
= wxString_in_helper(obj2
);
9373 if (arg3
== NULL
) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= wxPyMake_wxObject(result
, 1);
9400 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9403 wxString
*arg2
= 0 ;
9404 int arg3
= (int) 0 ;
9406 bool temp2
= false ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 PyObject
* obj2
= 0 ;
9411 (char *) "self",(char *) "spec",(char *) "flags", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9418 arg2
= wxString_in_helper(obj1
);
9419 if (arg2
== NULL
) SWIG_fail
;
9424 arg3
= (int)(SWIG_As_int(obj2
));
9425 if (SWIG_arg_fail(3)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9456 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9467 if (SWIG_arg_fail(1)) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (arg1
)->FindNext();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9488 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9491 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9493 return Py_BuildValue((char *)"");
9495 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxString
*arg1
= 0 ;
9500 bool temp1
= false ;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9503 PyObject
* obj2
= 0 ;
9505 (char *) "filename",(char *) "image",(char *) "type", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9510 arg1
= wxString_in_helper(obj0
);
9511 if (arg1
== NULL
) SWIG_fail
;
9515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9516 if (SWIG_arg_fail(2)) SWIG_fail
;
9518 SWIG_null_ref("wxImage");
9520 if (SWIG_arg_fail(2)) SWIG_fail
;
9523 arg3
= (long)(SWIG_As_long(obj2
));
9524 if (SWIG_arg_fail(3)) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 Py_INCREF(Py_None
); resultobj
= Py_None
;
9548 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxString
*arg1
= 0 ;
9551 wxBitmap
*arg2
= 0 ;
9553 bool temp1
= false ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9556 PyObject
* obj2
= 0 ;
9558 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9563 arg1
= wxString_in_helper(obj0
);
9564 if (arg1
== NULL
) SWIG_fail
;
9568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9569 if (SWIG_arg_fail(2)) SWIG_fail
;
9571 SWIG_null_ref("wxBitmap");
9573 if (SWIG_arg_fail(2)) SWIG_fail
;
9576 arg3
= (long)(SWIG_As_long(obj2
));
9577 if (SWIG_arg_fail(3)) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9601 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxString
*arg1
= 0 ;
9604 PyObject
*arg2
= (PyObject
*) 0 ;
9605 bool temp1
= false ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9609 (char *) "filename",(char *) "data", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9614 arg1
= wxString_in_helper(obj0
);
9615 if (arg1
== NULL
) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxMemoryFSHandler
*result
;
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9663 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxString
*arg1
= 0 ;
9666 bool temp1
= false ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "filename", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9674 arg1
= wxString_in_helper(obj0
);
9675 if (arg1
== NULL
) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 Py_INCREF(Py_None
); resultobj
= Py_None
;
9700 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9703 wxString
*arg2
= 0 ;
9705 bool temp2
= false ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9709 (char *) "self",(char *) "location", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9714 if (SWIG_arg_fail(1)) SWIG_fail
;
9716 arg2
= wxString_in_helper(obj1
);
9717 if (arg2
== NULL
) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9747 wxFileSystem
*arg2
= 0 ;
9748 wxString
*arg3
= 0 ;
9750 bool temp3
= false ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9753 PyObject
* obj2
= 0 ;
9755 (char *) "self",(char *) "fs",(char *) "location", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9760 if (SWIG_arg_fail(1)) SWIG_fail
;
9762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9763 if (SWIG_arg_fail(2)) SWIG_fail
;
9765 SWIG_null_ref("wxFileSystem");
9767 if (SWIG_arg_fail(2)) SWIG_fail
;
9770 arg3
= wxString_in_helper(obj2
);
9771 if (arg3
== NULL
) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= wxPyMake_wxObject(result
, 1);
9798 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9801 wxString
*arg2
= 0 ;
9802 int arg3
= (int) 0 ;
9804 bool temp2
= false ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9807 PyObject
* obj2
= 0 ;
9809 (char *) "self",(char *) "spec",(char *) "flags", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9814 if (SWIG_arg_fail(1)) SWIG_fail
;
9816 arg2
= wxString_in_helper(obj1
);
9817 if (arg2
== NULL
) SWIG_fail
;
9822 arg3
= (int)(SWIG_As_int(obj2
));
9823 if (SWIG_arg_fail(3)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9854 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (arg1
)->FindNext();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9886 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9889 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9891 return Py_BuildValue((char *)"");
9893 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9904 if (SWIG_arg_fail(1)) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (arg1
)->GetName();
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9925 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "self", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9936 if (SWIG_arg_fail(1)) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (arg1
)->GetExtension();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9957 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9968 if (SWIG_arg_fail(1)) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (long)(arg1
)->GetType();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_From_long((long)(result
));
9985 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9996 if (SWIG_arg_fail(1)) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (arg1
)->GetMimeType();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10017 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10020 wxString
*arg2
= 0 ;
10022 bool temp2
= false ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "name", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 arg2
= wxString_in_helper(obj1
);
10034 if (arg2
== NULL
) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10061 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10064 wxString
*arg2
= 0 ;
10065 bool temp2
= false ;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self",(char *) "name", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10076 arg2
= wxString_in_helper(obj1
);
10077 if (arg2
== NULL
) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 (arg1
)->SetName((wxString
const &)*arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 Py_INCREF(Py_None
); resultobj
= Py_None
;
10102 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10105 wxString
*arg2
= 0 ;
10106 bool temp2
= false ;
10107 PyObject
* obj0
= 0 ;
10108 PyObject
* obj1
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self",(char *) "extension", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10115 if (SWIG_arg_fail(1)) SWIG_fail
;
10117 arg2
= wxString_in_helper(obj1
);
10118 if (arg2
== NULL
) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 (arg1
)->SetExtension((wxString
const &)*arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 Py_INCREF(Py_None
); resultobj
= Py_None
;
10143 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self",(char *) "type", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10155 if (SWIG_arg_fail(1)) SWIG_fail
;
10157 arg2
= (long)(SWIG_As_long(obj1
));
10158 if (SWIG_arg_fail(2)) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 (arg1
)->SetType(arg2
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10177 wxString
*arg2
= 0 ;
10178 bool temp2
= false ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "mimetype", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10187 if (SWIG_arg_fail(1)) SWIG_fail
;
10189 arg2
= wxString_in_helper(obj1
);
10190 if (arg2
== NULL
) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10215 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10218 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10220 return Py_BuildValue((char *)"");
10222 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxImageHistogram
*result
;
10225 char *kwnames
[] = {
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxImageHistogram
*)new wxImageHistogram();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10244 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10249 unsigned long result
;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 PyObject
* obj2
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "r",(char *) "g",(char *) "b", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10259 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10260 if (SWIG_arg_fail(1)) SWIG_fail
;
10263 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10264 if (SWIG_arg_fail(2)) SWIG_fail
;
10267 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10268 if (SWIG_arg_fail(3)) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10286 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10289 byte
*arg2
= (byte
*) 0 ;
10290 byte
*arg3
= (byte
*) 0 ;
10291 byte
*arg4
= (byte
*) 0 ;
10292 byte arg5
= (byte
) 1 ;
10293 byte arg6
= (byte
) 0 ;
10294 byte arg7
= (byte
) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 PyObject
* obj2
= 0 ;
10305 PyObject
* obj3
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10310 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10311 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10312 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10315 if (SWIG_arg_fail(1)) SWIG_fail
;
10318 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10319 if (SWIG_arg_fail(5)) SWIG_fail
;
10324 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10325 if (SWIG_arg_fail(6)) SWIG_fail
;
10330 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10331 if (SWIG_arg_fail(7)) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10344 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10345 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10346 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10347 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10348 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10349 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10356 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10359 unsigned long arg2
;
10360 unsigned long result
;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "key", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10371 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10372 if (SWIG_arg_fail(2)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10390 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10396 unsigned long result
;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 PyObject
* obj2
= 0 ;
10400 PyObject
* obj3
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail
;
10409 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10410 if (SWIG_arg_fail(2)) SWIG_fail
;
10413 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10414 if (SWIG_arg_fail(3)) SWIG_fail
;
10417 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10418 if (SWIG_arg_fail(4)) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10436 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10439 wxColour
*arg2
= 0 ;
10440 unsigned long result
;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "colour", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10471 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10474 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10476 return Py_BuildValue((char *)"");
10478 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxString
*arg1
= 0 ;
10481 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10482 int arg3
= (int) -1 ;
10484 bool temp1
= false ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "name",(char *) "type",(char *) "index", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10494 arg1
= wxString_in_helper(obj0
);
10495 if (arg1
== NULL
) SWIG_fail
;
10500 arg2
= (long)(SWIG_As_long(obj1
));
10501 if (SWIG_arg_fail(2)) SWIG_fail
;
10506 arg3
= (int)(SWIG_As_int(obj2
));
10507 if (SWIG_arg_fail(3)) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10532 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxImage
*arg1
= (wxImage
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 Py_INCREF(Py_None
); resultobj
= Py_None
;
10557 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxString
*arg1
= 0 ;
10560 wxString
*arg2
= 0 ;
10561 int arg3
= (int) -1 ;
10563 bool temp1
= false ;
10564 bool temp2
= false ;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 PyObject
* obj2
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10574 arg1
= wxString_in_helper(obj0
);
10575 if (arg1
== NULL
) SWIG_fail
;
10579 arg2
= wxString_in_helper(obj1
);
10580 if (arg2
== NULL
) SWIG_fail
;
10585 arg3
= (int)(SWIG_As_int(obj2
));
10586 if (SWIG_arg_fail(3)) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10619 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxInputStream
*arg1
= 0 ;
10622 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10623 int arg3
= (int) -1 ;
10625 wxPyInputStream
*temp1
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "stream",(char *) "type",(char *) "index", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10636 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10637 arg1
= temp1
->m_wxis
;
10640 PyErr_Clear(); // clear the failure of the wxPyConvert above
10641 arg1
= wxPyCBInputStream_create(obj0
, false);
10642 if (arg1
== NULL
) {
10643 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10651 arg2
= (long)(SWIG_As_long(obj1
));
10652 if (SWIG_arg_fail(2)) SWIG_fail
;
10657 arg3
= (int)(SWIG_As_int(obj2
));
10658 if (SWIG_arg_fail(3)) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10670 if (created1
) delete arg1
;
10675 if (created1
) delete arg1
;
10681 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxInputStream
*arg1
= 0 ;
10684 wxString
*arg2
= 0 ;
10685 int arg3
= (int) -1 ;
10687 wxPyInputStream
*temp1
;
10689 bool temp2
= false ;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10699 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10700 arg1
= temp1
->m_wxis
;
10703 PyErr_Clear(); // clear the failure of the wxPyConvert above
10704 arg1
= wxPyCBInputStream_create(obj0
, false);
10705 if (arg1
== NULL
) {
10706 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10713 arg2
= wxString_in_helper(obj1
);
10714 if (arg2
== NULL
) SWIG_fail
;
10719 arg3
= (int)(SWIG_As_int(obj2
));
10720 if (SWIG_arg_fail(3)) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10732 if (created1
) delete arg1
;
10741 if (created1
) delete arg1
;
10751 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 int arg1
= (int) 0 ;
10754 int arg2
= (int) 0 ;
10755 bool arg3
= (bool) true ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 PyObject
* obj2
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "width",(char *) "height",(char *) "clear", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10767 arg1
= (int)(SWIG_As_int(obj0
));
10768 if (SWIG_arg_fail(1)) SWIG_fail
;
10773 arg2
= (int)(SWIG_As_int(obj1
));
10774 if (SWIG_arg_fail(2)) SWIG_fail
;
10779 arg3
= (bool)(SWIG_As_bool(obj2
));
10780 if (SWIG_arg_fail(3)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10797 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxBitmap
*arg1
= 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "bitmap", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 if (arg1
== NULL
) {
10811 SWIG_null_ref("wxBitmap");
10813 if (SWIG_arg_fail(1)) SWIG_fail
;
10816 if (!wxPyCheckForApp()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10830 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 PyObject
* obj2
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "width",(char *) "height",(char *) "data", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10846 arg1
= (int)(SWIG_As_int(obj0
));
10847 if (SWIG_arg_fail(1)) SWIG_fail
;
10850 arg2
= (int)(SWIG_As_int(obj1
));
10851 if (SWIG_arg_fail(2)) SWIG_fail
;
10854 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10870 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 PyObject
* obj2
= 0 ;
10882 PyObject
* obj3
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10889 arg1
= (int)(SWIG_As_int(obj0
));
10890 if (SWIG_arg_fail(1)) SWIG_fail
;
10893 arg2
= (int)(SWIG_As_int(obj1
));
10894 if (SWIG_arg_fail(2)) SWIG_fail
;
10897 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10900 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10916 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxImage
*arg1
= (wxImage
*) 0 ;
10921 bool arg4
= (bool) true ;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 PyObject
* obj2
= 0 ;
10925 PyObject
* obj3
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10932 if (SWIG_arg_fail(1)) SWIG_fail
;
10934 arg2
= (int)(SWIG_As_int(obj1
));
10935 if (SWIG_arg_fail(2)) SWIG_fail
;
10938 arg3
= (int)(SWIG_As_int(obj2
));
10939 if (SWIG_arg_fail(3)) SWIG_fail
;
10943 arg4
= (bool)(SWIG_As_bool(obj3
));
10944 if (SWIG_arg_fail(4)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->Create(arg2
,arg3
,arg4
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxImage
*arg1
= (wxImage
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10971 if (SWIG_arg_fail(1)) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 Py_INCREF(Py_None
); resultobj
= Py_None
;
10986 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxImage
*arg1
= (wxImage
*) 0 ;
10991 SwigValueWrapper
<wxImage
> result
;
10992 PyObject
* obj0
= 0 ;
10993 PyObject
* obj1
= 0 ;
10994 PyObject
* obj2
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self",(char *) "width",(char *) "height", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail
;
11003 arg2
= (int)(SWIG_As_int(obj1
));
11004 if (SWIG_arg_fail(2)) SWIG_fail
;
11007 arg3
= (int)(SWIG_As_int(obj2
));
11008 if (SWIG_arg_fail(3)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (arg1
)->Scale(arg2
,arg3
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 wxImage
* resultptr
;
11019 resultptr
= new wxImage((wxImage
&)(result
));
11020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11028 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxImage
*arg1
= (wxImage
*) 0 ;
11033 SwigValueWrapper
<wxImage
> result
;
11034 PyObject
* obj0
= 0 ;
11035 PyObject
* obj1
= 0 ;
11036 PyObject
* obj2
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail
;
11045 arg2
= (int)(SWIG_As_int(obj1
));
11046 if (SWIG_arg_fail(2)) SWIG_fail
;
11049 arg3
= (int)(SWIG_As_int(obj2
));
11050 if (SWIG_arg_fail(3)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 wxImage
* resultptr
;
11061 resultptr
= new wxImage((wxImage
&)(result
));
11062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11070 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxImage
*arg1
= (wxImage
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 PyObject
* obj2
= 0 ;
11079 char *kwnames
[] = {
11080 (char *) "self",(char *) "width",(char *) "height", NULL
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11085 if (SWIG_arg_fail(1)) SWIG_fail
;
11087 arg2
= (int)(SWIG_As_int(obj1
));
11088 if (SWIG_arg_fail(2)) SWIG_fail
;
11091 arg3
= (int)(SWIG_As_int(obj2
));
11092 if (SWIG_arg_fail(3)) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11098 result
= (wxImage
*) &_result_ref
;
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11111 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxImage
*arg1
= (wxImage
*) 0 ;
11115 wxPoint
*arg3
= 0 ;
11116 int arg4
= (int) -1 ;
11117 int arg5
= (int) -1 ;
11118 int arg6
= (int) -1 ;
11122 PyObject
* obj0
= 0 ;
11123 PyObject
* obj1
= 0 ;
11124 PyObject
* obj2
= 0 ;
11125 PyObject
* obj3
= 0 ;
11126 PyObject
* obj4
= 0 ;
11127 PyObject
* obj5
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11145 arg4
= (int)(SWIG_As_int(obj3
));
11146 if (SWIG_arg_fail(4)) SWIG_fail
;
11151 arg5
= (int)(SWIG_As_int(obj4
));
11152 if (SWIG_arg_fail(5)) SWIG_fail
;
11157 arg6
= (int)(SWIG_As_int(obj5
));
11158 if (SWIG_arg_fail(6)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11165 result
= (wxImage
*) &_result_ref
;
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11178 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxImage
*arg1
= (wxImage
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 PyObject
* obj1
= 0 ;
11188 PyObject
* obj2
= 0 ;
11189 PyObject
* obj3
= 0 ;
11190 PyObject
* obj4
= 0 ;
11191 PyObject
* obj5
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 arg2
= (int)(SWIG_As_int(obj1
));
11201 if (SWIG_arg_fail(2)) SWIG_fail
;
11204 arg3
= (int)(SWIG_As_int(obj2
));
11205 if (SWIG_arg_fail(3)) SWIG_fail
;
11208 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11209 if (SWIG_arg_fail(4)) SWIG_fail
;
11212 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11213 if (SWIG_arg_fail(5)) SWIG_fail
;
11216 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11217 if (SWIG_arg_fail(6)) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxImage
*arg1
= (wxImage
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 PyObject
* obj2
= 0 ;
11244 PyObject
* obj3
= 0 ;
11245 PyObject
* obj4
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11252 if (SWIG_arg_fail(1)) SWIG_fail
;
11255 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11258 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11259 if (SWIG_arg_fail(3)) SWIG_fail
;
11262 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11263 if (SWIG_arg_fail(4)) SWIG_fail
;
11266 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11267 if (SWIG_arg_fail(5)) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxImage
*arg1
= (wxImage
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 PyObject
* obj2
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self",(char *) "x",(char *) "y", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11298 if (SWIG_arg_fail(1)) SWIG_fail
;
11300 arg2
= (int)(SWIG_As_int(obj1
));
11301 if (SWIG_arg_fail(2)) SWIG_fail
;
11304 arg3
= (int)(SWIG_As_int(obj2
));
11305 if (SWIG_arg_fail(3)) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11323 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxImage
*arg1
= (wxImage
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 PyObject
* obj2
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "x",(char *) "y", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11338 if (SWIG_arg_fail(1)) SWIG_fail
;
11340 arg2
= (int)(SWIG_As_int(obj1
));
11341 if (SWIG_arg_fail(2)) SWIG_fail
;
11344 arg3
= (int)(SWIG_As_int(obj2
));
11345 if (SWIG_arg_fail(3)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11363 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxImage
*arg1
= (wxImage
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 PyObject
* obj2
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "x",(char *) "y", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 arg2
= (int)(SWIG_As_int(obj1
));
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11384 arg3
= (int)(SWIG_As_int(obj2
));
11385 if (SWIG_arg_fail(3)) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11403 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxImage
*arg1
= (wxImage
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 PyObject
* obj2
= 0 ;
11412 PyObject
* obj3
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11419 if (SWIG_arg_fail(1)) SWIG_fail
;
11421 arg2
= (int)(SWIG_As_int(obj1
));
11422 if (SWIG_arg_fail(2)) SWIG_fail
;
11425 arg3
= (int)(SWIG_As_int(obj2
));
11426 if (SWIG_arg_fail(3)) SWIG_fail
;
11429 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11430 if (SWIG_arg_fail(4)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxImage
*arg1
= (wxImage
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "x",(char *) "y", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail
;
11463 arg2
= (int)(SWIG_As_int(obj1
));
11464 if (SWIG_arg_fail(2)) SWIG_fail
;
11467 arg3
= (int)(SWIG_As_int(obj2
));
11468 if (SWIG_arg_fail(3)) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11486 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxImage
*arg1
= (wxImage
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11497 if (SWIG_arg_fail(1)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)(arg1
)->HasAlpha();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxImage
*arg1
= (wxImage
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 (arg1
)->InitAlpha();
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 Py_INCREF(Py_None
); resultobj
= Py_None
;
11539 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxImage
*arg1
= (wxImage
*) 0 ;
11544 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 PyObject
* obj2
= 0 ;
11549 PyObject
* obj3
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11556 if (SWIG_arg_fail(1)) SWIG_fail
;
11558 arg2
= (int)(SWIG_As_int(obj1
));
11559 if (SWIG_arg_fail(2)) SWIG_fail
;
11562 arg3
= (int)(SWIG_As_int(obj2
));
11563 if (SWIG_arg_fail(3)) SWIG_fail
;
11567 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11568 if (SWIG_arg_fail(4)) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11587 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxImage
*arg1
= (wxImage
*) 0 ;
11590 byte
*arg2
= (byte
*) 0 ;
11591 byte
*arg3
= (byte
*) 0 ;
11592 byte
*arg4
= (byte
*) 0 ;
11593 byte arg5
= (byte
) 0 ;
11594 byte arg6
= (byte
) 0 ;
11595 byte arg7
= (byte
) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 PyObject
* obj2
= 0 ;
11606 PyObject
* obj3
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11611 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11612 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11613 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11616 if (SWIG_arg_fail(1)) SWIG_fail
;
11619 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11620 if (SWIG_arg_fail(5)) SWIG_fail
;
11625 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11626 if (SWIG_arg_fail(6)) SWIG_fail
;
11631 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11632 if (SWIG_arg_fail(7)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11645 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11646 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11647 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11648 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11649 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11650 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11657 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxImage
*arg1
= (wxImage
*) 0 ;
11660 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "threshold", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail
;
11673 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11674 if (SWIG_arg_fail(2)) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11693 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxImage
*arg1
= (wxImage
*) 0 ;
11700 PyObject
* obj0
= 0 ;
11701 PyObject
* obj1
= 0 ;
11702 PyObject
* obj2
= 0 ;
11703 PyObject
* obj3
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11710 if (SWIG_arg_fail(1)) SWIG_fail
;
11712 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11713 if (SWIG_arg_fail(2)) SWIG_fail
;
11716 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11717 if (SWIG_arg_fail(3)) SWIG_fail
;
11720 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11721 if (SWIG_arg_fail(4)) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11739 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxImage
*arg1
= (wxImage
*) 0 ;
11742 wxImage
*arg2
= 0 ;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 PyObject
* obj2
= 0 ;
11750 PyObject
* obj3
= 0 ;
11751 PyObject
* obj4
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail
;
11760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11761 if (SWIG_arg_fail(2)) SWIG_fail
;
11762 if (arg2
== NULL
) {
11763 SWIG_null_ref("wxImage");
11765 if (SWIG_arg_fail(2)) SWIG_fail
;
11768 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11769 if (SWIG_arg_fail(3)) SWIG_fail
;
11772 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11773 if (SWIG_arg_fail(4)) SWIG_fail
;
11776 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11777 if (SWIG_arg_fail(5)) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11795 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxString
*arg1
= 0 ;
11799 bool temp1
= false ;
11800 PyObject
* obj0
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "filename", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11807 arg1
= wxString_in_helper(obj0
);
11808 if (arg1
== NULL
) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11835 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxString
*arg1
= 0 ;
11838 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11840 bool temp1
= false ;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "filename",(char *) "type", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11849 arg1
= wxString_in_helper(obj0
);
11850 if (arg1
== NULL
) SWIG_fail
;
11855 arg2
= (long)(SWIG_As_long(obj1
));
11856 if (SWIG_arg_fail(2)) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_From_int((int)(result
));
11883 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxImage
*arg1
= (wxImage
*) 0 ;
11886 wxString
*arg2
= 0 ;
11887 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11888 int arg4
= (int) -1 ;
11890 bool temp2
= false ;
11891 PyObject
* obj0
= 0 ;
11892 PyObject
* obj1
= 0 ;
11893 PyObject
* obj2
= 0 ;
11894 PyObject
* obj3
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail
;
11903 arg2
= wxString_in_helper(obj1
);
11904 if (arg2
== NULL
) SWIG_fail
;
11909 arg3
= (long)(SWIG_As_long(obj2
));
11910 if (SWIG_arg_fail(3)) SWIG_fail
;
11915 arg4
= (int)(SWIG_As_int(obj3
));
11916 if (SWIG_arg_fail(4)) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11943 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxImage
*arg1
= (wxImage
*) 0 ;
11946 wxString
*arg2
= 0 ;
11947 wxString
*arg3
= 0 ;
11948 int arg4
= (int) -1 ;
11950 bool temp2
= false ;
11951 bool temp3
= false ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 PyObject
* obj3
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 arg2
= wxString_in_helper(obj1
);
11965 if (arg2
== NULL
) SWIG_fail
;
11969 arg3
= wxString_in_helper(obj2
);
11970 if (arg3
== NULL
) SWIG_fail
;
11975 arg4
= (int)(SWIG_As_int(obj3
));
11976 if (SWIG_arg_fail(4)) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxImage
*arg1
= (wxImage
*) 0 ;
12014 wxString
*arg2
= 0 ;
12017 bool temp2
= false ;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 PyObject
* obj2
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "self",(char *) "name",(char *) "type", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12027 if (SWIG_arg_fail(1)) SWIG_fail
;
12029 arg2
= wxString_in_helper(obj1
);
12030 if (arg2
== NULL
) SWIG_fail
;
12034 arg3
= (int)(SWIG_As_int(obj2
));
12035 if (SWIG_arg_fail(3)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12061 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxImage
*arg1
= (wxImage
*) 0 ;
12064 wxString
*arg2
= 0 ;
12065 wxString
*arg3
= 0 ;
12067 bool temp2
= false ;
12068 bool temp3
= false ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 PyObject
* obj2
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail
;
12080 arg2
= wxString_in_helper(obj1
);
12081 if (arg2
== NULL
) SWIG_fail
;
12085 arg3
= wxString_in_helper(obj2
);
12086 if (arg3
== NULL
) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12121 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxInputStream
*arg1
= 0 ;
12125 wxPyInputStream
*temp1
;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "stream", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12134 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12135 arg1
= temp1
->m_wxis
;
12138 PyErr_Clear(); // clear the failure of the wxPyConvert above
12139 arg1
= wxPyCBInputStream_create(obj0
, false);
12140 if (arg1
== NULL
) {
12141 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)wxImage::CanRead(*arg1
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12158 if (created1
) delete arg1
;
12163 if (created1
) delete arg1
;
12169 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxImage
*arg1
= (wxImage
*) 0 ;
12172 wxInputStream
*arg2
= 0 ;
12173 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12174 int arg4
= (int) -1 ;
12176 wxPyInputStream
*temp2
;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 PyObject
* obj2
= 0 ;
12181 PyObject
* obj3
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail
;
12190 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12191 arg2
= temp2
->m_wxis
;
12194 PyErr_Clear(); // clear the failure of the wxPyConvert above
12195 arg2
= wxPyCBInputStream_create(obj1
, false);
12196 if (arg2
== NULL
) {
12197 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12205 arg3
= (long)(SWIG_As_long(obj2
));
12206 if (SWIG_arg_fail(3)) SWIG_fail
;
12211 arg4
= (int)(SWIG_As_int(obj3
));
12212 if (SWIG_arg_fail(4)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12226 if (created2
) delete arg2
;
12231 if (created2
) delete arg2
;
12237 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxImage
*arg1
= (wxImage
*) 0 ;
12240 wxInputStream
*arg2
= 0 ;
12241 wxString
*arg3
= 0 ;
12242 int arg4
= (int) -1 ;
12244 wxPyInputStream
*temp2
;
12246 bool temp3
= false ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 PyObject
* obj2
= 0 ;
12250 PyObject
* obj3
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12257 if (SWIG_arg_fail(1)) SWIG_fail
;
12259 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12260 arg2
= temp2
->m_wxis
;
12263 PyErr_Clear(); // clear the failure of the wxPyConvert above
12264 arg2
= wxPyCBInputStream_create(obj1
, false);
12265 if (arg2
== NULL
) {
12266 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12273 arg3
= wxString_in_helper(obj2
);
12274 if (arg3
== NULL
) SWIG_fail
;
12279 arg4
= (int)(SWIG_As_int(obj3
));
12280 if (SWIG_arg_fail(4)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12294 if (created2
) delete arg2
;
12303 if (created2
) delete arg2
;
12313 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxImage
*arg1
= (wxImage
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12324 if (SWIG_arg_fail(1)) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (bool)(arg1
)->Ok();
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12341 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxImage
*arg1
= (wxImage
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12352 if (SWIG_arg_fail(1)) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)(arg1
)->GetWidth();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_From_int((int)(result
));
12369 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxImage
*arg1
= (wxImage
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12380 if (SWIG_arg_fail(1)) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (int)(arg1
)->GetHeight();
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_From_int((int)(result
));
12397 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxImage
*arg1
= (wxImage
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12408 if (SWIG_arg_fail(1)) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= wxImage_GetSize(arg1
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12417 wxSize
* resultptr
;
12418 resultptr
= new wxSize((wxSize
&)(result
));
12419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12427 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
;
12429 wxImage
*arg1
= (wxImage
*) 0 ;
12431 SwigValueWrapper
<wxImage
> result
;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self",(char *) "rect", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12441 if (SWIG_arg_fail(1)) SWIG_fail
;
12444 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12454 wxImage
* resultptr
;
12455 resultptr
= new wxImage((wxImage
&)(result
));
12456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12464 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxImage
*arg1
= (wxImage
*) 0 ;
12468 wxPoint
*arg3
= 0 ;
12469 int arg4
= (int) -1 ;
12470 int arg5
= (int) -1 ;
12471 int arg6
= (int) -1 ;
12472 SwigValueWrapper
<wxImage
> result
;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 PyObject
* obj2
= 0 ;
12478 PyObject
* obj3
= 0 ;
12479 PyObject
* obj4
= 0 ;
12480 PyObject
* obj5
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail
;
12490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12498 arg4
= (int)(SWIG_As_int(obj3
));
12499 if (SWIG_arg_fail(4)) SWIG_fail
;
12504 arg5
= (int)(SWIG_As_int(obj4
));
12505 if (SWIG_arg_fail(5)) SWIG_fail
;
12510 arg6
= (int)(SWIG_As_int(obj5
));
12511 if (SWIG_arg_fail(6)) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12522 wxImage
* resultptr
;
12523 resultptr
= new wxImage((wxImage
&)(result
));
12524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12532 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxImage
*arg1
= (wxImage
*) 0 ;
12535 SwigValueWrapper
<wxImage
> result
;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12543 if (SWIG_arg_fail(1)) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (arg1
)->Copy();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 wxImage
* resultptr
;
12553 resultptr
= new wxImage((wxImage
&)(result
));
12554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12562 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxImage
*arg1
= (wxImage
*) 0 ;
12565 wxImage
*arg2
= 0 ;
12568 PyObject
* obj0
= 0 ;
12569 PyObject
* obj1
= 0 ;
12570 PyObject
* obj2
= 0 ;
12571 PyObject
* obj3
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12578 if (SWIG_arg_fail(1)) SWIG_fail
;
12580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12581 if (SWIG_arg_fail(2)) SWIG_fail
;
12582 if (arg2
== NULL
) {
12583 SWIG_null_ref("wxImage");
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 arg3
= (int)(SWIG_As_int(obj2
));
12589 if (SWIG_arg_fail(3)) SWIG_fail
;
12592 arg4
= (int)(SWIG_As_int(obj3
));
12593 if (SWIG_arg_fail(4)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 Py_INCREF(Py_None
); resultobj
= Py_None
;
12609 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxImage
*arg1
= (wxImage
*) 0 ;
12613 PyObject
* obj0
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12620 if (SWIG_arg_fail(1)) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (PyObject
*)wxImage_GetData(arg1
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= result
;
12635 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxImage
*arg1
= (wxImage
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "data", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail
;
12650 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 wxImage_SetData(arg1
,arg2
,arg3
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 Py_INCREF(Py_None
); resultobj
= Py_None
;
12666 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxImage
*arg1
= (wxImage
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= result
;
12692 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxImage
*arg1
= (wxImage
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 PyObject
* obj1
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self",(char *) "data", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12705 if (SWIG_arg_fail(1)) SWIG_fail
;
12707 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 Py_INCREF(Py_None
); resultobj
= Py_None
;
12723 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxImage
*arg1
= (wxImage
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12734 if (SWIG_arg_fail(1)) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= result
;
12749 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxImage
*arg1
= (wxImage
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self",(char *) "alpha", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12762 if (SWIG_arg_fail(1)) SWIG_fail
;
12764 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 Py_INCREF(Py_None
); resultobj
= Py_None
;
12780 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxImage
*arg1
= (wxImage
*) 0 ;
12784 PyObject
* obj0
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12791 if (SWIG_arg_fail(1)) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= result
;
12806 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxImage
*arg1
= (wxImage
*) 0 ;
12811 PyObject
* obj0
= 0 ;
12812 PyObject
* obj1
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "alpha", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12819 if (SWIG_arg_fail(1)) SWIG_fail
;
12821 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxImage
*arg1
= (wxImage
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 PyObject
* obj2
= 0 ;
12846 PyObject
* obj3
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(1)) SWIG_fail
;
12855 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12856 if (SWIG_arg_fail(2)) SWIG_fail
;
12859 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12860 if (SWIG_arg_fail(3)) SWIG_fail
;
12863 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12864 if (SWIG_arg_fail(4)) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 Py_INCREF(Py_None
); resultobj
= Py_None
;
12880 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxImage
*arg1
= (wxImage
*) 0 ;
12883 byte
*arg2
= (byte
*) 0 ;
12884 byte
*arg3
= (byte
*) 0 ;
12885 byte
*arg4
= (byte
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12898 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12899 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12902 if (SWIG_arg_fail(1)) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12912 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12913 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12914 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12915 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12916 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12923 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxImage
*arg1
= (wxImage
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12934 if (SWIG_arg_fail(1)) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (byte
)(arg1
)->GetMaskRed();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12951 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxImage
*arg1
= (wxImage
*) 0 ;
12955 PyObject
* obj0
= 0 ;
12956 char *kwnames
[] = {
12957 (char *) "self", NULL
12960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12962 if (SWIG_arg_fail(1)) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (byte
)(arg1
)->GetMaskGreen();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12979 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxImage
*arg1
= (wxImage
*) 0 ;
12983 PyObject
* obj0
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12990 if (SWIG_arg_fail(1)) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 result
= (byte
)(arg1
)->GetMaskBlue();
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13007 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxImage
*arg1
= (wxImage
*) 0 ;
13010 bool arg2
= (bool) true ;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self",(char *) "mask", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13019 if (SWIG_arg_fail(1)) SWIG_fail
;
13022 arg2
= (bool)(SWIG_As_bool(obj1
));
13023 if (SWIG_arg_fail(2)) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 (arg1
)->SetMask(arg2
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 Py_INCREF(Py_None
); resultobj
= Py_None
;
13040 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxImage
*arg1
= (wxImage
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13051 if (SWIG_arg_fail(1)) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (bool)(arg1
)->HasMask();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13068 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxImage
*arg1
= (wxImage
*) 0 ;
13072 wxPoint
*arg3
= 0 ;
13073 bool arg4
= (bool) true ;
13074 wxPoint
*arg5
= (wxPoint
*) NULL
;
13075 SwigValueWrapper
<wxImage
> result
;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 PyObject
* obj3
= 0 ;
13081 PyObject
* obj4
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail
;
13090 arg2
= (double)(SWIG_As_double(obj1
));
13091 if (SWIG_arg_fail(2)) SWIG_fail
;
13095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13099 arg4
= (bool)(SWIG_As_bool(obj3
));
13100 if (SWIG_arg_fail(4)) SWIG_fail
;
13104 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13105 if (SWIG_arg_fail(5)) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 wxImage
* resultptr
;
13116 resultptr
= new wxImage((wxImage
&)(result
));
13117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13125 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxImage
*arg1
= (wxImage
*) 0 ;
13128 bool arg2
= (bool) true ;
13129 SwigValueWrapper
<wxImage
> result
;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self",(char *) "clockwise", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13138 if (SWIG_arg_fail(1)) SWIG_fail
;
13141 arg2
= (bool)(SWIG_As_bool(obj1
));
13142 if (SWIG_arg_fail(2)) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (arg1
)->Rotate90(arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 wxImage
* resultptr
;
13154 resultptr
= new wxImage((wxImage
&)(result
));
13155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13163 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxImage
*arg1
= (wxImage
*) 0 ;
13166 bool arg2
= (bool) true ;
13167 SwigValueWrapper
<wxImage
> result
;
13168 PyObject
* obj0
= 0 ;
13169 PyObject
* obj1
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self",(char *) "horizontally", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13176 if (SWIG_arg_fail(1)) SWIG_fail
;
13179 arg2
= (bool)(SWIG_As_bool(obj1
));
13180 if (SWIG_arg_fail(2)) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (arg1
)->Mirror(arg2
);
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 wxImage
* resultptr
;
13192 resultptr
= new wxImage((wxImage
&)(result
));
13193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13201 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxImage
*arg1
= (wxImage
*) 0 ;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 PyObject
* obj2
= 0 ;
13213 PyObject
* obj3
= 0 ;
13214 PyObject
* obj4
= 0 ;
13215 PyObject
* obj5
= 0 ;
13216 PyObject
* obj6
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13223 if (SWIG_arg_fail(1)) SWIG_fail
;
13225 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13226 if (SWIG_arg_fail(2)) SWIG_fail
;
13229 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13230 if (SWIG_arg_fail(3)) SWIG_fail
;
13233 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13234 if (SWIG_arg_fail(4)) SWIG_fail
;
13237 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13238 if (SWIG_arg_fail(5)) SWIG_fail
;
13241 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13242 if (SWIG_arg_fail(6)) SWIG_fail
;
13245 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13246 if (SWIG_arg_fail(7)) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxImage
*arg1
= (wxImage
*) 0 ;
13268 SwigValueWrapper
<wxImage
> result
;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 PyObject
* obj3
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13279 if (SWIG_arg_fail(1)) SWIG_fail
;
13281 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13282 if (SWIG_arg_fail(2)) SWIG_fail
;
13285 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13286 if (SWIG_arg_fail(3)) SWIG_fail
;
13289 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13290 if (SWIG_arg_fail(4)) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 wxImage
* resultptr
;
13301 resultptr
= new wxImage((wxImage
&)(result
));
13302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13310 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxImage
*arg1
= (wxImage
*) 0 ;
13313 wxString
*arg2
= 0 ;
13314 wxString
*arg3
= 0 ;
13315 bool temp2
= false ;
13316 bool temp3
= false ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 PyObject
* obj2
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "name",(char *) "value", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13326 if (SWIG_arg_fail(1)) SWIG_fail
;
13328 arg2
= wxString_in_helper(obj1
);
13329 if (arg2
== NULL
) SWIG_fail
;
13333 arg3
= wxString_in_helper(obj2
);
13334 if (arg3
== NULL
) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13367 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxImage
*arg1
= (wxImage
*) 0 ;
13370 wxString
*arg2
= 0 ;
13372 bool temp2
= false ;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 PyObject
* obj2
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self",(char *) "name",(char *) "value", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13382 if (SWIG_arg_fail(1)) SWIG_fail
;
13384 arg2
= wxString_in_helper(obj1
);
13385 if (arg2
== NULL
) SWIG_fail
;
13389 arg3
= (int)(SWIG_As_int(obj2
));
13390 if (SWIG_arg_fail(3)) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 Py_INCREF(Py_None
); resultobj
= Py_None
;
13414 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxImage
*arg1
= (wxImage
*) 0 ;
13417 wxString
*arg2
= 0 ;
13419 bool temp2
= false ;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj1
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self",(char *) "name", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13428 if (SWIG_arg_fail(1)) SWIG_fail
;
13430 arg2
= wxString_in_helper(obj1
);
13431 if (arg2
== NULL
) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13462 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxImage
*arg1
= (wxImage
*) 0 ;
13465 wxString
*arg2
= 0 ;
13467 bool temp2
= false ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self",(char *) "name", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13476 if (SWIG_arg_fail(1)) SWIG_fail
;
13478 arg2
= wxString_in_helper(obj1
);
13479 if (arg2
== NULL
) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_From_int((int)(result
));
13506 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxImage
*arg1
= (wxImage
*) 0 ;
13509 wxString
*arg2
= 0 ;
13511 bool temp2
= false ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self",(char *) "name", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13520 if (SWIG_arg_fail(1)) SWIG_fail
;
13522 arg2
= wxString_in_helper(obj1
);
13523 if (arg2
== NULL
) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13550 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxImage
*arg1
= (wxImage
*) 0 ;
13553 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13554 unsigned long result
;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "stopafter", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13563 if (SWIG_arg_fail(1)) SWIG_fail
;
13566 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13567 if (SWIG_arg_fail(2)) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13586 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
;
13588 wxImage
*arg1
= (wxImage
*) 0 ;
13589 wxImageHistogram
*arg2
= 0 ;
13590 unsigned long result
;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "h", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13599 if (SWIG_arg_fail(1)) SWIG_fail
;
13601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13602 if (SWIG_arg_fail(2)) SWIG_fail
;
13603 if (arg2
== NULL
) {
13604 SWIG_null_ref("wxImageHistogram");
13606 if (SWIG_arg_fail(2)) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13624 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "handler", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 wxImage::AddHandler(arg1
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 Py_INCREF(Py_None
); resultobj
= Py_None
;
13649 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "handler", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13659 if (SWIG_arg_fail(1)) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 wxImage::InsertHandler(arg1
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 Py_INCREF(Py_None
); resultobj
= Py_None
;
13674 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 wxString
*arg1
= 0 ;
13678 bool temp1
= false ;
13679 PyObject
* obj0
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "name", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13686 arg1
= wxString_in_helper(obj0
);
13687 if (arg1
== NULL
) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13714 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13717 char *kwnames
[] = {
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= wxImage::GetImageExtWildcard();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13742 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxImage
*arg1
= (wxImage
*) 0 ;
13745 int arg2
= (int) -1 ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self",(char *) "depth", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13755 if (SWIG_arg_fail(1)) SWIG_fail
;
13758 arg2
= (int)(SWIG_As_int(obj1
));
13759 if (SWIG_arg_fail(2)) SWIG_fail
;
13763 if (!wxPyCheckForApp()) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13771 wxBitmap
* resultptr
;
13772 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13781 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxImage
*arg1
= (wxImage
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 PyObject
* obj2
= 0 ;
13791 PyObject
* obj3
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13798 if (SWIG_arg_fail(1)) SWIG_fail
;
13800 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13801 if (SWIG_arg_fail(2)) SWIG_fail
;
13804 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13805 if (SWIG_arg_fail(3)) SWIG_fail
;
13808 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13809 if (SWIG_arg_fail(4)) SWIG_fail
;
13812 if (!wxPyCheckForApp()) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13820 wxBitmap
* resultptr
;
13821 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13830 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13833 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13835 return Py_BuildValue((char *)"");
13837 static int _wrap_NullImage_set(PyObject
*) {
13838 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13843 static PyObject
*_wrap_NullImage_get(void) {
13846 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13851 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13852 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13857 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13862 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13864 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13871 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13872 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13877 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13882 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13884 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13891 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13892 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13897 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13902 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13904 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13911 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13912 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13917 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13922 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13924 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13931 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13932 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13937 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13942 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13944 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13951 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13952 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13957 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13962 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13964 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13971 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13972 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13977 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13982 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13984 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13991 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13992 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13997 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14002 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14004 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14011 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14012 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14017 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14022 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14024 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14031 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14032 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14037 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14042 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14044 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14051 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14052 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14057 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14062 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14064 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14071 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14072 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14077 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14082 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14084 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14091 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14092 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14097 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14102 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14104 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14111 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14112 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14117 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14122 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14124 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14131 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14132 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14137 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14142 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14144 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14151 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxBMPHandler
*result
;
14154 char *kwnames
[] = {
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (wxBMPHandler
*)new wxBMPHandler();
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14173 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14176 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14178 return Py_BuildValue((char *)"");
14180 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxICOHandler
*result
;
14183 char *kwnames
[] = {
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (wxICOHandler
*)new wxICOHandler();
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14202 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14205 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14207 return Py_BuildValue((char *)"");
14209 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxCURHandler
*result
;
14212 char *kwnames
[] = {
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (wxCURHandler
*)new wxCURHandler();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14231 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14234 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14236 return Py_BuildValue((char *)"");
14238 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxANIHandler
*result
;
14241 char *kwnames
[] = {
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (wxANIHandler
*)new wxANIHandler();
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14260 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14263 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14265 return Py_BuildValue((char *)"");
14267 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxPNGHandler
*result
;
14270 char *kwnames
[] = {
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (wxPNGHandler
*)new wxPNGHandler();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14289 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14292 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14294 return Py_BuildValue((char *)"");
14296 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxGIFHandler
*result
;
14299 char *kwnames
[] = {
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (wxGIFHandler
*)new wxGIFHandler();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14318 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14321 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14323 return Py_BuildValue((char *)"");
14325 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxPCXHandler
*result
;
14328 char *kwnames
[] = {
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxPCXHandler
*)new wxPCXHandler();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14347 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14350 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14352 return Py_BuildValue((char *)"");
14354 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxJPEGHandler
*result
;
14357 char *kwnames
[] = {
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14376 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14379 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14381 return Py_BuildValue((char *)"");
14383 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxPNMHandler
*result
;
14386 char *kwnames
[] = {
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (wxPNMHandler
*)new wxPNMHandler();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14405 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14408 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14410 return Py_BuildValue((char *)"");
14412 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxXPMHandler
*result
;
14415 char *kwnames
[] = {
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (wxXPMHandler
*)new wxXPMHandler();
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14434 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14437 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14439 return Py_BuildValue((char *)"");
14441 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxTIFFHandler
*result
;
14444 char *kwnames
[] = {
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14463 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14466 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14468 return Py_BuildValue((char *)"");
14470 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxImage
*arg1
= 0 ;
14473 wxImage
*arg2
= 0 ;
14474 int arg3
= (int) 236 ;
14475 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 PyObject
* obj2
= 0 ;
14480 PyObject
* obj3
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14488 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 if (arg1
== NULL
) {
14490 SWIG_null_ref("wxImage");
14492 if (SWIG_arg_fail(1)) SWIG_fail
;
14495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14496 if (SWIG_arg_fail(2)) SWIG_fail
;
14497 if (arg2
== NULL
) {
14498 SWIG_null_ref("wxImage");
14500 if (SWIG_arg_fail(2)) SWIG_fail
;
14504 arg3
= (int)(SWIG_As_int(obj2
));
14505 if (SWIG_arg_fail(3)) SWIG_fail
;
14510 arg4
= (int)(SWIG_As_int(obj3
));
14511 if (SWIG_arg_fail(4)) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14533 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14535 return Py_BuildValue((char *)"");
14537 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxEvtHandler
*result
;
14540 char *kwnames
[] = {
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (wxEvtHandler
*)new wxEvtHandler();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14559 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14562 wxEvtHandler
*result
;
14563 PyObject
* obj0
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14570 if (SWIG_arg_fail(1)) SWIG_fail
;
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= wxPyMake_wxObject(result
, 0);
14587 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14590 wxEvtHandler
*result
;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14598 if (SWIG_arg_fail(1)) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= wxPyMake_wxObject(result
, 0);
14615 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14618 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self",(char *) "handler", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14627 if (SWIG_arg_fail(1)) SWIG_fail
;
14628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14629 if (SWIG_arg_fail(2)) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 (arg1
)->SetNextHandler(arg2
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 Py_INCREF(Py_None
); resultobj
= Py_None
;
14644 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14647 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self",(char *) "handler", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14656 if (SWIG_arg_fail(1)) SWIG_fail
;
14657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14658 if (SWIG_arg_fail(2)) SWIG_fail
;
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 (arg1
)->SetPreviousHandler(arg2
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 Py_INCREF(Py_None
); resultobj
= Py_None
;
14673 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14684 if (SWIG_arg_fail(1)) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14701 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "enabled", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14713 if (SWIG_arg_fail(1)) SWIG_fail
;
14715 arg2
= (bool)(SWIG_As_bool(obj1
));
14716 if (SWIG_arg_fail(2)) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->SetEvtHandlerEnabled(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 Py_INCREF(Py_None
); resultobj
= Py_None
;
14732 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14735 wxEvent
*arg2
= 0 ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self",(char *) "event", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14745 if (SWIG_arg_fail(1)) SWIG_fail
;
14747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14748 if (SWIG_arg_fail(2)) SWIG_fail
;
14749 if (arg2
== NULL
) {
14750 SWIG_null_ref("wxEvent");
14752 if (SWIG_arg_fail(2)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14770 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14773 wxEvent
*arg2
= 0 ;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "event", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14782 if (SWIG_arg_fail(1)) SWIG_fail
;
14784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14785 if (SWIG_arg_fail(2)) SWIG_fail
;
14786 if (arg2
== NULL
) {
14787 SWIG_null_ref("wxEvent");
14789 if (SWIG_arg_fail(2)) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->AddPendingEvent(*arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14815 if (SWIG_arg_fail(1)) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 (arg1
)->ProcessPendingEvents();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 Py_INCREF(Py_None
); resultobj
= Py_None
;
14830 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14836 PyObject
*arg5
= (PyObject
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 PyObject
* obj2
= 0 ;
14840 PyObject
* obj3
= 0 ;
14841 PyObject
* obj4
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14848 if (SWIG_arg_fail(1)) SWIG_fail
;
14850 arg2
= (int)(SWIG_As_int(obj1
));
14851 if (SWIG_arg_fail(2)) SWIG_fail
;
14854 arg3
= (int)(SWIG_As_int(obj2
));
14855 if (SWIG_arg_fail(3)) SWIG_fail
;
14858 arg4
= (int)(SWIG_As_int(obj3
));
14859 if (SWIG_arg_fail(4)) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 Py_INCREF(Py_None
); resultobj
= Py_None
;
14876 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14880 int arg3
= (int) -1 ;
14881 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 PyObject
* obj2
= 0 ;
14886 PyObject
* obj3
= 0 ;
14887 char *kwnames
[] = {
14888 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14893 if (SWIG_arg_fail(1)) SWIG_fail
;
14895 arg2
= (int)(SWIG_As_int(obj1
));
14896 if (SWIG_arg_fail(2)) SWIG_fail
;
14900 arg3
= (int)(SWIG_As_int(obj2
));
14901 if (SWIG_arg_fail(3)) SWIG_fail
;
14906 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14907 if (SWIG_arg_fail(4)) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14926 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14929 PyObject
*arg2
= (PyObject
*) 0 ;
14930 bool arg3
= (bool) true ;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 PyObject
* obj2
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "_self",(char *) "incref", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14940 if (SWIG_arg_fail(1)) SWIG_fail
;
14944 arg3
= (bool)(SWIG_As_bool(obj2
));
14945 if (SWIG_arg_fail(3)) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14965 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14967 return Py_BuildValue((char *)"");
14969 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxEventType result
;
14972 char *kwnames
[] = {
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (wxEventType
)wxNewEventType();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_From_int((int)(result
));
14993 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxEvent
*arg1
= (wxEvent
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15003 if (SWIG_arg_fail(1)) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 Py_INCREF(Py_None
); resultobj
= Py_None
;
15018 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxEvent
*arg1
= (wxEvent
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "typ", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15030 if (SWIG_arg_fail(1)) SWIG_fail
;
15032 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15033 if (SWIG_arg_fail(2)) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 (arg1
)->SetEventType(arg2
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15049 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxEvent
*arg1
= (wxEvent
*) 0 ;
15052 wxEventType result
;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15060 if (SWIG_arg_fail(1)) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_From_int((int)(result
));
15077 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxEvent
*arg1
= (wxEvent
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15088 if (SWIG_arg_fail(1)) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= wxPyMake_wxObject(result
, 0);
15105 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxEvent
*arg1
= (wxEvent
*) 0 ;
15108 wxObject
*arg2
= (wxObject
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self",(char *) "obj", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15117 if (SWIG_arg_fail(1)) SWIG_fail
;
15118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15119 if (SWIG_arg_fail(2)) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 (arg1
)->SetEventObject(arg2
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 Py_INCREF(Py_None
); resultobj
= Py_None
;
15134 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxEvent
*arg1
= (wxEvent
*) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15145 if (SWIG_arg_fail(1)) SWIG_fail
;
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= SWIG_From_long((long)(result
));
15162 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxEvent
*arg1
= (wxEvent
*) 0 ;
15165 long arg2
= (long) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "ts", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15174 if (SWIG_arg_fail(1)) SWIG_fail
;
15177 arg2
= (long)(SWIG_As_long(obj1
));
15178 if (SWIG_arg_fail(2)) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 (arg1
)->SetTimestamp(arg2
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 Py_INCREF(Py_None
); resultobj
= Py_None
;
15195 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxEvent
*arg1
= (wxEvent
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (int)((wxEvent
const *)arg1
)->GetId();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_From_int((int)(result
));
15223 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxEvent
*arg1
= (wxEvent
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "Id", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15235 if (SWIG_arg_fail(1)) SWIG_fail
;
15237 arg2
= (int)(SWIG_As_int(obj1
));
15238 if (SWIG_arg_fail(2)) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 (arg1
)->SetId(arg2
);
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 Py_INCREF(Py_None
); resultobj
= Py_None
;
15254 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 wxEvent
*arg1
= (wxEvent
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15265 if (SWIG_arg_fail(1)) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxEvent
*arg1
= (wxEvent
*) 0 ;
15285 bool arg2
= (bool) true ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "skip", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15297 arg2
= (bool)(SWIG_As_bool(obj1
));
15298 if (SWIG_arg_fail(2)) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 (arg1
)->Skip(arg2
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 Py_INCREF(Py_None
); resultobj
= Py_None
;
15315 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxEvent
*arg1
= (wxEvent
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15343 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxEvent
*arg1
= (wxEvent
*) 0 ;
15347 PyObject
* obj0
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15354 if (SWIG_arg_fail(1)) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15371 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxEvent
*arg1
= (wxEvent
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (int)(arg1
)->StopPropagation();
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= SWIG_From_int((int)(result
));
15399 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxEvent
*arg1
= (wxEvent
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 PyObject
* obj1
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "propagationLevel", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 arg2
= (int)(SWIG_As_int(obj1
));
15414 if (SWIG_arg_fail(2)) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->ResumePropagation(arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxEvent
*arg1
= (wxEvent
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (wxEvent
*)(arg1
)->Clone();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15456 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15459 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15461 return Py_BuildValue((char *)"");
15463 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxEvent
*arg1
= 0 ;
15466 wxPropagationDisabler
*result
;
15467 PyObject
* obj0
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "event", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15475 if (SWIG_arg_fail(1)) SWIG_fail
;
15476 if (arg1
== NULL
) {
15477 SWIG_null_ref("wxEvent");
15479 if (SWIG_arg_fail(1)) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15495 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 Py_INCREF(Py_None
); resultobj
= Py_None
;
15520 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15523 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15525 return Py_BuildValue((char *)"");
15527 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxEvent
*arg1
= 0 ;
15530 wxPropagateOnce
*result
;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "event", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15539 if (SWIG_arg_fail(1)) SWIG_fail
;
15540 if (arg1
== NULL
) {
15541 SWIG_null_ref("wxEvent");
15543 if (SWIG_arg_fail(1)) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15559 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15569 if (SWIG_arg_fail(1)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 Py_INCREF(Py_None
); resultobj
= Py_None
;
15584 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15587 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15589 return Py_BuildValue((char *)"");
15591 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15594 int arg2
= (int) 0 ;
15595 wxCommandEvent
*result
;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "commandType",(char *) "winid", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15605 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15606 if (SWIG_arg_fail(1)) SWIG_fail
;
15611 arg2
= (int)(SWIG_As_int(obj1
));
15612 if (SWIG_arg_fail(2)) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15629 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
;
15631 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15640 if (SWIG_arg_fail(1)) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= SWIG_From_int((int)(result
));
15657 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15660 wxString
*arg2
= 0 ;
15661 bool temp2
= false ;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self",(char *) "s", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15670 if (SWIG_arg_fail(1)) SWIG_fail
;
15672 arg2
= wxString_in_helper(obj1
);
15673 if (arg2
== NULL
) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 (arg1
)->SetString((wxString
const &)*arg2
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 Py_INCREF(Py_None
); resultobj
= Py_None
;
15698 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15709 if (SWIG_arg_fail(1)) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15730 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15741 if (SWIG_arg_fail(1)) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15758 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15769 if (SWIG_arg_fail(1)) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15786 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "self",(char *) "extraLong", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15798 if (SWIG_arg_fail(1)) SWIG_fail
;
15800 arg2
= (long)(SWIG_As_long(obj1
));
15801 if (SWIG_arg_fail(2)) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->SetExtraLong(arg2
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15828 if (SWIG_arg_fail(1)) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= SWIG_From_long((long)(result
));
15845 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self",(char *) "i", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 arg2
= (int)(SWIG_As_int(obj1
));
15860 if (SWIG_arg_fail(2)) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 (arg1
)->SetInt(arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 Py_INCREF(Py_None
); resultobj
= Py_None
;
15876 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15887 if (SWIG_arg_fail(1)) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_From_long((long)(result
));
15904 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15915 if (SWIG_arg_fail(1)) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15930 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15933 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15935 return Py_BuildValue((char *)"");
15937 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15940 int arg2
= (int) 0 ;
15941 wxNotifyEvent
*result
;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "commandType",(char *) "winid", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15951 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15952 if (SWIG_arg_fail(1)) SWIG_fail
;
15957 arg2
= (int)(SWIG_As_int(obj1
));
15958 if (SWIG_arg_fail(2)) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15975 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15985 if (SWIG_arg_fail(1)) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 Py_INCREF(Py_None
); resultobj
= Py_None
;
16000 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 Py_INCREF(Py_None
); resultobj
= Py_None
;
16025 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16036 if (SWIG_arg_fail(1)) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (bool)(arg1
)->IsAllowed();
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16056 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16058 return Py_BuildValue((char *)"");
16060 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16063 int arg2
= (int) 0 ;
16064 int arg3
= (int) 0 ;
16065 int arg4
= (int) 0 ;
16066 wxScrollEvent
*result
;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 PyObject
* obj2
= 0 ;
16070 PyObject
* obj3
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16078 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16079 if (SWIG_arg_fail(1)) SWIG_fail
;
16084 arg2
= (int)(SWIG_As_int(obj1
));
16085 if (SWIG_arg_fail(2)) SWIG_fail
;
16090 arg3
= (int)(SWIG_As_int(obj2
));
16091 if (SWIG_arg_fail(3)) SWIG_fail
;
16096 arg4
= (int)(SWIG_As_int(obj3
));
16097 if (SWIG_arg_fail(4)) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16114 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16125 if (SWIG_arg_fail(1)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_From_int((int)(result
));
16142 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= SWIG_From_int((int)(result
));
16170 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "orient", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16182 if (SWIG_arg_fail(1)) SWIG_fail
;
16184 arg2
= (int)(SWIG_As_int(obj1
));
16185 if (SWIG_arg_fail(2)) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 (arg1
)->SetOrientation(arg2
);
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 Py_INCREF(Py_None
); resultobj
= Py_None
;
16201 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "pos", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16213 if (SWIG_arg_fail(1)) SWIG_fail
;
16215 arg2
= (int)(SWIG_As_int(obj1
));
16216 if (SWIG_arg_fail(2)) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 (arg1
)->SetPosition(arg2
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 Py_INCREF(Py_None
); resultobj
= Py_None
;
16232 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16235 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16237 return Py_BuildValue((char *)"");
16239 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16242 int arg2
= (int) 0 ;
16243 int arg3
= (int) 0 ;
16244 wxScrollWinEvent
*result
;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 PyObject
* obj2
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16255 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16256 if (SWIG_arg_fail(1)) SWIG_fail
;
16261 arg2
= (int)(SWIG_As_int(obj1
));
16262 if (SWIG_arg_fail(2)) SWIG_fail
;
16267 arg3
= (int)(SWIG_As_int(obj2
));
16268 if (SWIG_arg_fail(3)) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16285 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= SWIG_From_int((int)(result
));
16313 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= SWIG_From_int((int)(result
));
16341 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self",(char *) "orient", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16353 if (SWIG_arg_fail(1)) SWIG_fail
;
16355 arg2
= (int)(SWIG_As_int(obj1
));
16356 if (SWIG_arg_fail(2)) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 (arg1
)->SetOrientation(arg2
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 Py_INCREF(Py_None
); resultobj
= Py_None
;
16372 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj1
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "pos", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16384 if (SWIG_arg_fail(1)) SWIG_fail
;
16386 arg2
= (int)(SWIG_As_int(obj1
));
16387 if (SWIG_arg_fail(2)) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 (arg1
)->SetPosition(arg2
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 Py_INCREF(Py_None
); resultobj
= Py_None
;
16403 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16406 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16408 return Py_BuildValue((char *)"");
16410 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
;
16412 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16413 wxMouseEvent
*result
;
16414 PyObject
* obj0
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "mouseType", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16422 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16423 if (SWIG_arg_fail(1)) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= wxPyMake_wxObject(result
, 1);
16442 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16470 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16473 int arg2
= (int) wxMOUSE_BTN_ANY
;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "but", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail
;
16486 arg2
= (int)(SWIG_As_int(obj1
));
16487 if (SWIG_arg_fail(2)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16506 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16509 int arg2
= (int) wxMOUSE_BTN_ANY
;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self",(char *) "but", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail
;
16522 arg2
= (int)(SWIG_As_int(obj1
));
16523 if (SWIG_arg_fail(2)) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16545 int arg2
= (int) wxMOUSE_BTN_ANY
;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "but", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16558 arg2
= (int)(SWIG_As_int(obj1
));
16559 if (SWIG_arg_fail(2)) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16578 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self",(char *) "button", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16591 if (SWIG_arg_fail(1)) SWIG_fail
;
16593 arg2
= (int)(SWIG_As_int(obj1
));
16594 if (SWIG_arg_fail(2)) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16612 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16617 PyObject
* obj0
= 0 ;
16618 PyObject
* obj1
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self",(char *) "but", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16625 if (SWIG_arg_fail(1)) SWIG_fail
;
16627 arg2
= (int)(SWIG_As_int(obj1
));
16628 if (SWIG_arg_fail(2)) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16646 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_From_int((int)(result
));
16674 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16685 if (SWIG_arg_fail(1)) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16702 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16706 PyObject
* obj0
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "self", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16713 if (SWIG_arg_fail(1)) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16730 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16741 if (SWIG_arg_fail(1)) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16758 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16769 if (SWIG_arg_fail(1)) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16786 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16797 if (SWIG_arg_fail(1)) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16814 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16825 if (SWIG_arg_fail(1)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16842 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16853 if (SWIG_arg_fail(1)) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16870 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16881 if (SWIG_arg_fail(1)) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16898 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16909 if (SWIG_arg_fail(1)) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16926 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16937 if (SWIG_arg_fail(1)) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16954 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16982 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16993 if (SWIG_arg_fail(1)) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17010 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17014 PyObject
* obj0
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17021 if (SWIG_arg_fail(1)) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17038 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17066 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17077 if (SWIG_arg_fail(1)) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (bool)(arg1
)->LeftIsDown();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17094 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17105 if (SWIG_arg_fail(1)) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (bool)(arg1
)->MiddleIsDown();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17122 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "self", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17133 if (SWIG_arg_fail(1)) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (bool)(arg1
)->RightIsDown();
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17150 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17161 if (SWIG_arg_fail(1)) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17178 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17182 PyObject
* obj0
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17189 if (SWIG_arg_fail(1)) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17206 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17217 if (SWIG_arg_fail(1)) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17234 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17238 PyObject
* obj0
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17245 if (SWIG_arg_fail(1)) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17262 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17266 PyObject
* obj0
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17273 if (SWIG_arg_fail(1)) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (arg1
)->GetPosition();
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17282 wxPoint
* resultptr
;
17283 resultptr
= new wxPoint((wxPoint
&)(result
));
17284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17292 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17295 long *arg2
= (long *) 0 ;
17296 long *arg3
= (long *) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17306 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17307 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17310 if (SWIG_arg_fail(1)) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 (arg1
)->GetPosition(arg2
,arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17319 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17320 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17321 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17322 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17329 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self",(char *) "dc", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17342 if (SWIG_arg_fail(1)) SWIG_fail
;
17344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17345 if (SWIG_arg_fail(2)) SWIG_fail
;
17346 if (arg2
== NULL
) {
17347 SWIG_null_ref("wxDC");
17349 if (SWIG_arg_fail(2)) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 wxPoint
* resultptr
;
17360 resultptr
= new wxPoint((wxPoint
&)(result
));
17361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17369 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17373 PyObject
* obj0
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17380 if (SWIG_arg_fail(1)) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= SWIG_From_int((int)(result
));
17397 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17408 if (SWIG_arg_fail(1)) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_From_int((int)(result
));
17425 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17429 PyObject
* obj0
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17436 if (SWIG_arg_fail(1)) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_From_int((int)(result
));
17453 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_From_int((int)(result
));
17481 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17492 if (SWIG_arg_fail(1)) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= SWIG_From_int((int)(result
));
17509 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17513 PyObject
* obj0
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17520 if (SWIG_arg_fail(1)) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17537 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17541 PyObject
* obj0
= 0 ;
17542 PyObject
* obj1
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self",(char *) "m_x", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17549 if (SWIG_arg_fail(1)) SWIG_fail
;
17551 arg2
= (int)(SWIG_As_int(obj1
));
17552 if (SWIG_arg_fail(2)) SWIG_fail
;
17554 if (arg1
) (arg1
)->m_x
= arg2
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17563 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17574 if (SWIG_arg_fail(1)) SWIG_fail
;
17575 result
= (int) ((arg1
)->m_x
);
17578 resultobj
= SWIG_From_int((int)(result
));
17586 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self",(char *) "m_y", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17598 if (SWIG_arg_fail(1)) SWIG_fail
;
17600 arg2
= (int)(SWIG_As_int(obj1
));
17601 if (SWIG_arg_fail(2)) SWIG_fail
;
17603 if (arg1
) (arg1
)->m_y
= arg2
;
17605 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17623 if (SWIG_arg_fail(1)) SWIG_fail
;
17624 result
= (int) ((arg1
)->m_y
);
17627 resultobj
= SWIG_From_int((int)(result
));
17635 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self",(char *) "m_leftDown", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17647 if (SWIG_arg_fail(1)) SWIG_fail
;
17649 arg2
= (bool)(SWIG_As_bool(obj1
));
17650 if (SWIG_arg_fail(2)) SWIG_fail
;
17652 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17672 if (SWIG_arg_fail(1)) SWIG_fail
;
17673 result
= (bool) ((arg1
)->m_leftDown
);
17676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17684 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self",(char *) "m_middleDown", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17696 if (SWIG_arg_fail(1)) SWIG_fail
;
17698 arg2
= (bool)(SWIG_As_bool(obj1
));
17699 if (SWIG_arg_fail(2)) SWIG_fail
;
17701 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17703 Py_INCREF(Py_None
); resultobj
= Py_None
;
17710 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17721 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 result
= (bool) ((arg1
)->m_middleDown
);
17725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17733 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "m_rightDown", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17745 if (SWIG_arg_fail(1)) SWIG_fail
;
17747 arg2
= (bool)(SWIG_As_bool(obj1
));
17748 if (SWIG_arg_fail(2)) SWIG_fail
;
17750 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17752 Py_INCREF(Py_None
); resultobj
= Py_None
;
17759 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail
;
17771 result
= (bool) ((arg1
)->m_rightDown
);
17774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17782 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self",(char *) "m_controlDown", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17794 if (SWIG_arg_fail(1)) SWIG_fail
;
17796 arg2
= (bool)(SWIG_As_bool(obj1
));
17797 if (SWIG_arg_fail(2)) SWIG_fail
;
17799 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17801 Py_INCREF(Py_None
); resultobj
= Py_None
;
17808 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17819 if (SWIG_arg_fail(1)) SWIG_fail
;
17820 result
= (bool) ((arg1
)->m_controlDown
);
17823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17831 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self",(char *) "m_shiftDown", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17843 if (SWIG_arg_fail(1)) SWIG_fail
;
17845 arg2
= (bool)(SWIG_As_bool(obj1
));
17846 if (SWIG_arg_fail(2)) SWIG_fail
;
17848 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17850 Py_INCREF(Py_None
); resultobj
= Py_None
;
17857 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17868 if (SWIG_arg_fail(1)) SWIG_fail
;
17869 result
= (bool) ((arg1
)->m_shiftDown
);
17872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17880 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "m_altDown", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 arg2
= (bool)(SWIG_As_bool(obj1
));
17895 if (SWIG_arg_fail(2)) SWIG_fail
;
17897 if (arg1
) (arg1
)->m_altDown
= arg2
;
17899 Py_INCREF(Py_None
); resultobj
= Py_None
;
17906 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17917 if (SWIG_arg_fail(1)) SWIG_fail
;
17918 result
= (bool) ((arg1
)->m_altDown
);
17921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17929 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self",(char *) "m_metaDown", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17941 if (SWIG_arg_fail(1)) SWIG_fail
;
17943 arg2
= (bool)(SWIG_As_bool(obj1
));
17944 if (SWIG_arg_fail(2)) SWIG_fail
;
17946 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17948 Py_INCREF(Py_None
); resultobj
= Py_None
;
17955 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17966 if (SWIG_arg_fail(1)) SWIG_fail
;
17967 result
= (bool) ((arg1
)->m_metaDown
);
17970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17978 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "m_wheelRotation", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 arg2
= (int)(SWIG_As_int(obj1
));
17993 if (SWIG_arg_fail(2)) SWIG_fail
;
17995 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
18004 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18015 if (SWIG_arg_fail(1)) SWIG_fail
;
18016 result
= (int) ((arg1
)->m_wheelRotation
);
18019 resultobj
= SWIG_From_int((int)(result
));
18027 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj1
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "m_wheelDelta", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail
;
18041 arg2
= (int)(SWIG_As_int(obj1
));
18042 if (SWIG_arg_fail(2)) SWIG_fail
;
18044 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18064 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 result
= (int) ((arg1
)->m_wheelDelta
);
18068 resultobj
= SWIG_From_int((int)(result
));
18076 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self",(char *) "m_linesPerAction", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 arg2
= (int)(SWIG_As_int(obj1
));
18091 if (SWIG_arg_fail(2)) SWIG_fail
;
18093 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18095 Py_INCREF(Py_None
); resultobj
= Py_None
;
18102 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18113 if (SWIG_arg_fail(1)) SWIG_fail
;
18114 result
= (int) ((arg1
)->m_linesPerAction
);
18117 resultobj
= SWIG_From_int((int)(result
));
18125 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18128 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18130 return Py_BuildValue((char *)"");
18132 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 int arg1
= (int) 0 ;
18135 int arg2
= (int) 0 ;
18136 wxSetCursorEvent
*result
;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "x",(char *) "y", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18146 arg1
= (int)(SWIG_As_int(obj0
));
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 arg2
= (int)(SWIG_As_int(obj1
));
18153 if (SWIG_arg_fail(2)) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18170 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
;
18172 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18174 PyObject
* obj0
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18181 if (SWIG_arg_fail(1)) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_From_int((int)(result
));
18198 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18209 if (SWIG_arg_fail(1)) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= SWIG_From_int((int)(result
));
18226 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18229 wxCursor
*arg2
= 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "cursor", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18238 if (SWIG_arg_fail(1)) SWIG_fail
;
18240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18241 if (SWIG_arg_fail(2)) SWIG_fail
;
18242 if (arg2
== NULL
) {
18243 SWIG_null_ref("wxCursor");
18245 if (SWIG_arg_fail(2)) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 Py_INCREF(Py_None
); resultobj
= Py_None
;
18261 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18272 if (SWIG_arg_fail(1)) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18277 result
= (wxCursor
*) &_result_ref
;
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18284 wxCursor
* resultptr
= new wxCursor(*result
);
18285 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18293 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18304 if (SWIG_arg_fail(1)) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18321 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18324 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18326 return Py_BuildValue((char *)"");
18328 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18331 wxKeyEvent
*result
;
18332 PyObject
* obj0
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "keyType", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18340 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18341 if (SWIG_arg_fail(1)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18358 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18386 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18390 PyObject
* obj0
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18397 if (SWIG_arg_fail(1)) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18414 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18425 if (SWIG_arg_fail(1)) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18442 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18453 if (SWIG_arg_fail(1)) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18470 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18474 PyObject
* obj0
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "self", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18481 if (SWIG_arg_fail(1)) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18498 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18509 if (SWIG_arg_fail(1)) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18526 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18537 if (SWIG_arg_fail(1)) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_From_int((int)(result
));
18554 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18565 if (SWIG_arg_fail(1)) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_From_int((int)(result
));
18582 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18585 unsigned int result
;
18586 PyObject
* obj0
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18593 if (SWIG_arg_fail(1)) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18610 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18613 unsigned int result
;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18621 if (SWIG_arg_fail(1)) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18638 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18649 if (SWIG_arg_fail(1)) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (arg1
)->GetPosition();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 wxPoint
* resultptr
;
18659 resultptr
= new wxPoint((wxPoint
&)(result
));
18660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18668 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18671 long *arg2
= (long *) 0 ;
18672 long *arg3
= (long *) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18683 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18686 if (SWIG_arg_fail(1)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 (arg1
)->GetPosition(arg2
,arg3
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 Py_INCREF(Py_None
); resultobj
= Py_None
;
18695 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18696 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18697 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18698 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18705 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18716 if (SWIG_arg_fail(1)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_From_int((int)(result
));
18733 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18744 if (SWIG_arg_fail(1)) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_From_int((int)(result
));
18761 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self",(char *) "m_x", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18773 if (SWIG_arg_fail(1)) SWIG_fail
;
18775 arg2
= (int)(SWIG_As_int(obj1
));
18776 if (SWIG_arg_fail(2)) SWIG_fail
;
18778 if (arg1
) (arg1
)->m_x
= arg2
;
18780 Py_INCREF(Py_None
); resultobj
= Py_None
;
18787 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail
;
18799 result
= (int) ((arg1
)->m_x
);
18802 resultobj
= SWIG_From_int((int)(result
));
18810 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18814 PyObject
* obj0
= 0 ;
18815 PyObject
* obj1
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self",(char *) "m_y", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18822 if (SWIG_arg_fail(1)) SWIG_fail
;
18824 arg2
= (int)(SWIG_As_int(obj1
));
18825 if (SWIG_arg_fail(2)) SWIG_fail
;
18827 if (arg1
) (arg1
)->m_y
= arg2
;
18829 Py_INCREF(Py_None
); resultobj
= Py_None
;
18836 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 result
= (int) ((arg1
)->m_y
);
18851 resultobj
= SWIG_From_int((int)(result
));
18859 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 PyObject
* obj1
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self",(char *) "m_keyCode", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 arg2
= (long)(SWIG_As_long(obj1
));
18874 if (SWIG_arg_fail(2)) SWIG_fail
;
18876 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18878 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18896 if (SWIG_arg_fail(1)) SWIG_fail
;
18897 result
= (long) ((arg1
)->m_keyCode
);
18900 resultobj
= SWIG_From_long((long)(result
));
18908 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self",(char *) "m_controlDown", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail
;
18922 arg2
= (bool)(SWIG_As_bool(obj1
));
18923 if (SWIG_arg_fail(2)) SWIG_fail
;
18925 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18927 Py_INCREF(Py_None
); resultobj
= Py_None
;
18934 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
;
18936 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18938 PyObject
* obj0
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18946 result
= (bool) ((arg1
)->m_controlDown
);
18949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18957 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "m_shiftDown", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18969 if (SWIG_arg_fail(1)) SWIG_fail
;
18971 arg2
= (bool)(SWIG_As_bool(obj1
));
18972 if (SWIG_arg_fail(2)) SWIG_fail
;
18974 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18976 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18994 if (SWIG_arg_fail(1)) SWIG_fail
;
18995 result
= (bool) ((arg1
)->m_shiftDown
);
18998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19006 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "m_altDown", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19018 if (SWIG_arg_fail(1)) SWIG_fail
;
19020 arg2
= (bool)(SWIG_As_bool(obj1
));
19021 if (SWIG_arg_fail(2)) SWIG_fail
;
19023 if (arg1
) (arg1
)->m_altDown
= arg2
;
19025 Py_INCREF(Py_None
); resultobj
= Py_None
;
19032 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19043 if (SWIG_arg_fail(1)) SWIG_fail
;
19044 result
= (bool) ((arg1
)->m_altDown
);
19047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19055 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self",(char *) "m_metaDown", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail
;
19069 arg2
= (bool)(SWIG_As_bool(obj1
));
19070 if (SWIG_arg_fail(2)) SWIG_fail
;
19072 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19074 Py_INCREF(Py_None
); resultobj
= Py_None
;
19081 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19093 result
= (bool) ((arg1
)->m_metaDown
);
19096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19104 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self",(char *) "m_scanCode", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19116 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 arg2
= (bool)(SWIG_As_bool(obj1
));
19119 if (SWIG_arg_fail(2)) SWIG_fail
;
19121 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail
;
19142 result
= (bool) ((arg1
)->m_scanCode
);
19145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19153 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19156 unsigned int arg2
;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self",(char *) "m_rawCode", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19165 if (SWIG_arg_fail(1)) SWIG_fail
;
19167 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19168 if (SWIG_arg_fail(2)) SWIG_fail
;
19170 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19172 Py_INCREF(Py_None
); resultobj
= Py_None
;
19179 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19182 unsigned int result
;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19190 if (SWIG_arg_fail(1)) SWIG_fail
;
19191 result
= (unsigned int) ((arg1
)->m_rawCode
);
19194 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19202 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19205 unsigned int arg2
;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self",(char *) "m_rawFlags", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19216 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19217 if (SWIG_arg_fail(2)) SWIG_fail
;
19219 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19221 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19231 unsigned int result
;
19232 PyObject
* obj0
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19239 if (SWIG_arg_fail(1)) SWIG_fail
;
19240 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19243 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19251 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19254 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19256 return Py_BuildValue((char *)"");
19258 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19261 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19262 int arg2
= (int) 0 ;
19263 wxSizeEvent
*result
;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "sz",(char *) "winid", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19275 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19280 arg2
= (int)(SWIG_As_int(obj1
));
19281 if (SWIG_arg_fail(2)) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19298 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19309 if (SWIG_arg_fail(1)) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19318 wxSize
* resultptr
;
19319 resultptr
= new wxSize((wxSize
&)(result
));
19320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19328 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19339 if (SWIG_arg_fail(1)) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19348 wxRect
* resultptr
;
19349 resultptr
= new wxRect((wxRect
&)(result
));
19350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19358 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self",(char *) "rect", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19370 if (SWIG_arg_fail(1)) SWIG_fail
;
19373 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19374 if (SWIG_arg_fail(2)) SWIG_fail
;
19375 if (argp
== NULL
) {
19376 SWIG_null_ref("wxRect");
19378 if (SWIG_arg_fail(2)) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->SetRect(arg2
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "size", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail
;
19410 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19411 if (SWIG_arg_fail(2)) SWIG_fail
;
19412 if (argp
== NULL
) {
19413 SWIG_null_ref("wxSize");
19415 if (SWIG_arg_fail(2)) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 wxSizeEvent_SetSize(arg1
,arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 Py_INCREF(Py_None
); resultobj
= Py_None
;
19432 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19435 wxSize
*arg2
= (wxSize
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "self",(char *) "m_size", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19444 if (SWIG_arg_fail(1)) SWIG_fail
;
19445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19446 if (SWIG_arg_fail(2)) SWIG_fail
;
19447 if (arg1
) (arg1
)->m_size
= *arg2
;
19449 Py_INCREF(Py_None
); resultobj
= Py_None
;
19456 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19467 if (SWIG_arg_fail(1)) SWIG_fail
;
19468 result
= (wxSize
*)& ((arg1
)->m_size
);
19470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19477 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19479 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19480 wxRect
*arg2
= (wxRect
*) 0 ;
19481 PyObject
* obj0
= 0 ;
19482 PyObject
* obj1
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self",(char *) "m_rect", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19489 if (SWIG_arg_fail(1)) SWIG_fail
;
19490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19491 if (SWIG_arg_fail(2)) SWIG_fail
;
19492 if (arg1
) (arg1
)->m_rect
= *arg2
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19512 if (SWIG_arg_fail(1)) SWIG_fail
;
19513 result
= (wxRect
*)& ((arg1
)->m_rect
);
19515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19522 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19525 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19527 return Py_BuildValue((char *)"");
19529 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19532 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19533 int arg2
= (int) 0 ;
19534 wxMoveEvent
*result
;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "pos",(char *) "winid", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19546 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19551 arg2
= (int)(SWIG_As_int(obj1
));
19552 if (SWIG_arg_fail(2)) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19569 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 wxPoint
* resultptr
;
19590 resultptr
= new wxPoint((wxPoint
&)(result
));
19591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19599 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(1)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19619 wxRect
* resultptr
;
19620 resultptr
= new wxRect((wxRect
&)(result
));
19621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19629 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self",(char *) "rect", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19642 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 (arg1
)->SetRect((wxRect
const &)*arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 Py_INCREF(Py_None
); resultobj
= Py_None
;
19661 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19664 wxPoint
*arg2
= 0 ;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self",(char *) "pos", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19674 if (SWIG_arg_fail(1)) SWIG_fail
;
19677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 Py_INCREF(Py_None
); resultobj
= Py_None
;
19693 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19696 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19698 return Py_BuildValue((char *)"");
19700 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 int arg1
= (int) 0 ;
19703 wxPaintEvent
*result
;
19704 PyObject
* obj0
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "Id", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19712 arg1
= (int)(SWIG_As_int(obj0
));
19713 if (SWIG_arg_fail(1)) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19730 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19733 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19735 return Py_BuildValue((char *)"");
19737 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 int arg1
= (int) 0 ;
19740 wxNcPaintEvent
*result
;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "winid", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19749 arg1
= (int)(SWIG_As_int(obj0
));
19750 if (SWIG_arg_fail(1)) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19767 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19770 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19772 return Py_BuildValue((char *)"");
19774 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 int arg1
= (int) 0 ;
19777 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19778 wxEraseEvent
*result
;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "Id",(char *) "dc", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 arg1
= (int)(SWIG_As_int(obj0
));
19789 if (SWIG_arg_fail(1)) SWIG_fail
;
19793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19794 if (SWIG_arg_fail(2)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19810 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= wxPyMake_wxObject(result
, 0);
19838 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19841 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19843 return Py_BuildValue((char *)"");
19845 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19848 int arg2
= (int) 0 ;
19849 wxFocusEvent
*result
;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "type",(char *) "winid", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19859 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19860 if (SWIG_arg_fail(1)) SWIG_fail
;
19865 arg2
= (int)(SWIG_As_int(obj1
));
19866 if (SWIG_arg_fail(2)) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19883 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= wxPyMake_wxObject(result
, 0);
19911 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19914 wxWindow
*arg2
= (wxWindow
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self",(char *) "win", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19923 if (SWIG_arg_fail(1)) SWIG_fail
;
19924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19925 if (SWIG_arg_fail(2)) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 (arg1
)->SetWindow(arg2
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 Py_INCREF(Py_None
); resultobj
= Py_None
;
19940 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19943 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19945 return Py_BuildValue((char *)"");
19947 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxWindow
*arg1
= (wxWindow
*) NULL
;
19950 wxChildFocusEvent
*result
;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "win", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19959 if (SWIG_arg_fail(1)) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19975 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19986 if (SWIG_arg_fail(1)) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= wxPyMake_wxObject(result
, 0);
20003 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20006 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20008 return Py_BuildValue((char *)"");
20010 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20013 bool arg2
= (bool) true ;
20014 int arg3
= (int) 0 ;
20015 wxActivateEvent
*result
;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 PyObject
* obj2
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "type",(char *) "active",(char *) "Id", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20026 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20027 if (SWIG_arg_fail(1)) SWIG_fail
;
20032 arg2
= (bool)(SWIG_As_bool(obj1
));
20033 if (SWIG_arg_fail(2)) SWIG_fail
;
20038 arg3
= (int)(SWIG_As_int(obj2
));
20039 if (SWIG_arg_fail(3)) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20056 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20067 if (SWIG_arg_fail(1)) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20084 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20087 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20089 return Py_BuildValue((char *)"");
20091 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 int arg1
= (int) 0 ;
20094 wxInitDialogEvent
*result
;
20095 PyObject
* obj0
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "Id", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20103 arg1
= (int)(SWIG_As_int(obj0
));
20104 if (SWIG_arg_fail(1)) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20121 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20124 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20126 return Py_BuildValue((char *)"");
20128 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20131 int arg2
= (int) 0 ;
20132 wxMenu
*arg3
= (wxMenu
*) NULL
;
20133 wxMenuEvent
*result
;
20134 PyObject
* obj0
= 0 ;
20135 PyObject
* obj1
= 0 ;
20136 PyObject
* obj2
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "type",(char *) "winid",(char *) "menu", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20144 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20145 if (SWIG_arg_fail(1)) SWIG_fail
;
20150 arg2
= (int)(SWIG_As_int(obj1
));
20151 if (SWIG_arg_fail(2)) SWIG_fail
;
20155 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20156 if (SWIG_arg_fail(3)) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20172 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20183 if (SWIG_arg_fail(1)) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20192 resultobj
= SWIG_From_int((int)(result
));
20200 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20228 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20232 PyObject
* obj0
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20239 if (SWIG_arg_fail(1)) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= wxPyMake_wxObject(result
, 0);
20256 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20259 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20261 return Py_BuildValue((char *)"");
20263 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20266 int arg2
= (int) 0 ;
20267 wxCloseEvent
*result
;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "type",(char *) "winid", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20277 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20278 if (SWIG_arg_fail(1)) SWIG_fail
;
20283 arg2
= (int)(SWIG_As_int(obj1
));
20284 if (SWIG_arg_fail(2)) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20301 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 char *kwnames
[] = {
20308 (char *) "self",(char *) "logOff", NULL
20311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20313 if (SWIG_arg_fail(1)) SWIG_fail
;
20315 arg2
= (bool)(SWIG_As_bool(obj1
));
20316 if (SWIG_arg_fail(2)) SWIG_fail
;
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 (arg1
)->SetLoggingOff(arg2
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 Py_INCREF(Py_None
); resultobj
= Py_None
;
20332 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20343 if (SWIG_arg_fail(1)) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20360 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
;
20362 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20363 bool arg2
= (bool) true ;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self",(char *) "veto", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20372 if (SWIG_arg_fail(1)) SWIG_fail
;
20375 arg2
= (bool)(SWIG_As_bool(obj1
));
20376 if (SWIG_arg_fail(2)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 (arg1
)->Veto(arg2
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 Py_INCREF(Py_None
); resultobj
= Py_None
;
20393 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self",(char *) "canVeto", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20405 if (SWIG_arg_fail(1)) SWIG_fail
;
20407 arg2
= (bool)(SWIG_As_bool(obj1
));
20408 if (SWIG_arg_fail(2)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 (arg1
)->SetCanVeto(arg2
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 Py_INCREF(Py_None
); resultobj
= Py_None
;
20424 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20435 if (SWIG_arg_fail(1)) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20452 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20463 if (SWIG_arg_fail(1)) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20480 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20483 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20485 return Py_BuildValue((char *)"");
20487 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 int arg1
= (int) 0 ;
20490 bool arg2
= (bool) false ;
20491 wxShowEvent
*result
;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "winid",(char *) "show", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 arg1
= (int)(SWIG_As_int(obj0
));
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20507 arg2
= (bool)(SWIG_As_bool(obj1
));
20508 if (SWIG_arg_fail(2)) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20525 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 PyObject
* obj1
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self",(char *) "show", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20539 arg2
= (bool)(SWIG_As_bool(obj1
));
20540 if (SWIG_arg_fail(2)) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 (arg1
)->SetShow(arg2
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 Py_INCREF(Py_None
); resultobj
= Py_None
;
20556 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20567 if (SWIG_arg_fail(1)) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20584 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20587 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20589 return Py_BuildValue((char *)"");
20591 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 int arg1
= (int) 0 ;
20594 bool arg2
= (bool) true ;
20595 wxIconizeEvent
*result
;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "id",(char *) "iconized", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 arg1
= (int)(SWIG_As_int(obj0
));
20606 if (SWIG_arg_fail(1)) SWIG_fail
;
20611 arg2
= (bool)(SWIG_As_bool(obj1
));
20612 if (SWIG_arg_fail(2)) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20629 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20640 if (SWIG_arg_fail(1)) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (bool)(arg1
)->Iconized();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20657 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20660 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20662 return Py_BuildValue((char *)"");
20664 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 int arg1
= (int) 0 ;
20667 wxMaximizeEvent
*result
;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "id", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20676 arg1
= (int)(SWIG_As_int(obj0
));
20677 if (SWIG_arg_fail(1)) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20694 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20697 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20699 return Py_BuildValue((char *)"");
20701 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (arg1
)->GetPosition();
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 wxPoint
* resultptr
;
20722 resultptr
= new wxPoint((wxPoint
&)(result
));
20723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20731 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20742 if (SWIG_arg_fail(1)) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (int)(arg1
)->GetNumberOfFiles();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_From_int((int)(result
));
20759 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20770 if (SWIG_arg_fail(1)) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= result
;
20785 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20788 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20790 return Py_BuildValue((char *)"");
20792 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 int arg1
= (int) 0 ;
20795 wxUpdateUIEvent
*result
;
20796 PyObject
* obj0
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "commandId", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20804 arg1
= (int)(SWIG_As_int(obj0
));
20805 if (SWIG_arg_fail(1)) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20822 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
;
20824 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20833 if (SWIG_arg_fail(1)) SWIG_fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20850 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20861 if (SWIG_arg_fail(1)) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20878 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20910 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20921 if (SWIG_arg_fail(1)) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20938 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20942 PyObject
* obj0
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20966 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20977 if (SWIG_arg_fail(1)) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20994 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21000 char *kwnames
[] = {
21001 (char *) "self",(char *) "check", NULL
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21006 if (SWIG_arg_fail(1)) SWIG_fail
;
21008 arg2
= (bool)(SWIG_As_bool(obj1
));
21009 if (SWIG_arg_fail(2)) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 (arg1
)->Check(arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self",(char *) "enable", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21037 if (SWIG_arg_fail(1)) SWIG_fail
;
21039 arg2
= (bool)(SWIG_As_bool(obj1
));
21040 if (SWIG_arg_fail(2)) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 (arg1
)->Enable(arg2
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 Py_INCREF(Py_None
); resultobj
= Py_None
;
21056 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21059 wxString
*arg2
= 0 ;
21060 bool temp2
= false ;
21061 PyObject
* obj0
= 0 ;
21062 PyObject
* obj1
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "self",(char *) "text", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21069 if (SWIG_arg_fail(1)) SWIG_fail
;
21071 arg2
= wxString_in_helper(obj1
);
21072 if (arg2
== NULL
) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 (arg1
)->SetText((wxString
const &)*arg2
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 Py_INCREF(Py_None
); resultobj
= Py_None
;
21097 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "updateInterval", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21107 arg1
= (long)(SWIG_As_long(obj0
));
21108 if (SWIG_arg_fail(1)) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 Py_INCREF(Py_None
); resultobj
= Py_None
;
21124 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21127 char *kwnames
[] = {
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_From_long((long)(result
));
21148 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxWindow
*arg1
= (wxWindow
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "win", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21159 if (SWIG_arg_fail(1)) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 char *kwnames
[] = {
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 wxUpdateUIEvent::ResetUpdateTime();
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 Py_INCREF(Py_None
); resultobj
= Py_None
;
21197 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxUpdateUIMode arg1
;
21200 PyObject
* obj0
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "mode", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21207 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21208 if (SWIG_arg_fail(1)) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxUpdateUIMode result
;
21227 char *kwnames
[] = {
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_From_int((result
));
21246 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21249 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21251 return Py_BuildValue((char *)"");
21253 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxSysColourChangedEvent
*result
;
21256 char *kwnames
[] = {
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21275 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21278 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21280 return Py_BuildValue((char *)"");
21282 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 int arg1
= (int) 0 ;
21285 wxWindow
*arg2
= (wxWindow
*) NULL
;
21286 wxMouseCaptureChangedEvent
*result
;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 char *kwnames
[] = {
21290 (char *) "winid",(char *) "gainedCapture", NULL
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21296 arg1
= (int)(SWIG_As_int(obj0
));
21297 if (SWIG_arg_fail(1)) SWIG_fail
;
21301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21302 if (SWIG_arg_fail(2)) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21318 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21322 PyObject
* obj0
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21329 if (SWIG_arg_fail(1)) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= wxPyMake_wxObject(result
, 0);
21346 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21349 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21351 return Py_BuildValue((char *)"");
21353 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxDisplayChangedEvent
*result
;
21356 char *kwnames
[] = {
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21375 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21378 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21380 return Py_BuildValue((char *)"");
21382 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 int arg1
= (int) 0 ;
21385 wxPaletteChangedEvent
*result
;
21386 PyObject
* obj0
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "id", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21394 arg1
= (int)(SWIG_As_int(obj0
));
21395 if (SWIG_arg_fail(1)) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21412 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
;
21414 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21415 wxWindow
*arg2
= (wxWindow
*) 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "win", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21426 if (SWIG_arg_fail(2)) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->SetChangedWindow(arg2
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 Py_INCREF(Py_None
); resultobj
= Py_None
;
21441 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= wxPyMake_wxObject(result
, 0);
21469 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21472 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21474 return Py_BuildValue((char *)"");
21476 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 int arg1
= (int) 0 ;
21479 wxQueryNewPaletteEvent
*result
;
21480 PyObject
* obj0
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "winid", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21488 arg1
= (int)(SWIG_As_int(obj0
));
21489 if (SWIG_arg_fail(1)) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21506 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "realized", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21518 if (SWIG_arg_fail(1)) SWIG_fail
;
21520 arg2
= (bool)(SWIG_As_bool(obj1
));
21521 if (SWIG_arg_fail(2)) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 (arg1
)->SetPaletteRealized(arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21565 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21568 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21570 return Py_BuildValue((char *)"");
21572 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxNavigationKeyEvent
*result
;
21575 char *kwnames
[] = {
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21594 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21598 PyObject
* obj0
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21605 if (SWIG_arg_fail(1)) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21622 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "forward", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21634 if (SWIG_arg_fail(1)) SWIG_fail
;
21636 arg2
= (bool)(SWIG_As_bool(obj1
));
21637 if (SWIG_arg_fail(2)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->SetDirection(arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21664 if (SWIG_arg_fail(1)) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21681 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self",(char *) "ischange", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21693 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 arg2
= (bool)(SWIG_As_bool(obj1
));
21696 if (SWIG_arg_fail(2)) SWIG_fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 (arg1
)->SetWindowChange(arg2
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 Py_INCREF(Py_None
); resultobj
= Py_None
;
21712 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21716 PyObject
* obj0
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21723 if (SWIG_arg_fail(1)) SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21740 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self",(char *) "bIs", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21752 if (SWIG_arg_fail(1)) SWIG_fail
;
21754 arg2
= (bool)(SWIG_As_bool(obj1
));
21755 if (SWIG_arg_fail(2)) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 (arg1
)->SetFromTab(arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "flags", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21783 if (SWIG_arg_fail(1)) SWIG_fail
;
21785 arg2
= (long)(SWIG_As_long(obj1
));
21786 if (SWIG_arg_fail(2)) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->SetFlags(arg2
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21802 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21813 if (SWIG_arg_fail(1)) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= wxPyMake_wxObject(result
, 0);
21830 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21833 wxWindow
*arg2
= (wxWindow
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self",(char *) "win", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21842 if (SWIG_arg_fail(1)) SWIG_fail
;
21843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21844 if (SWIG_arg_fail(2)) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 (arg1
)->SetCurrentFocus(arg2
);
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 Py_INCREF(Py_None
); resultobj
= Py_None
;
21859 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21862 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21864 return Py_BuildValue((char *)"");
21866 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxWindow
*arg1
= (wxWindow
*) NULL
;
21869 wxWindowCreateEvent
*result
;
21870 PyObject
* obj0
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "win", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21878 if (SWIG_arg_fail(1)) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21894 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= wxPyMake_wxObject(result
, 0);
21922 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21925 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21927 return Py_BuildValue((char *)"");
21929 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxWindow
*arg1
= (wxWindow
*) NULL
;
21932 wxWindowDestroyEvent
*result
;
21933 PyObject
* obj0
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "win", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21941 if (SWIG_arg_fail(1)) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21957 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21961 PyObject
* obj0
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "self", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21968 if (SWIG_arg_fail(1)) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= wxPyMake_wxObject(result
, 0);
21985 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21988 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21990 return Py_BuildValue((char *)"");
21992 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21995 int arg2
= (int) 0 ;
21996 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21997 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21998 wxContextMenuEvent
*result
;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 PyObject
* obj2
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "type",(char *) "winid",(char *) "pt", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22010 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22011 if (SWIG_arg_fail(1)) SWIG_fail
;
22016 arg2
= (int)(SWIG_As_int(obj1
));
22017 if (SWIG_arg_fail(2)) SWIG_fail
;
22023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22040 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22044 PyObject
* obj0
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22051 if (SWIG_arg_fail(1)) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22056 result
= (wxPoint
*) &_result_ref
;
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22069 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22072 wxPoint
*arg2
= 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "pos", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22082 if (SWIG_arg_fail(1)) SWIG_fail
;
22085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22101 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22104 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22106 return Py_BuildValue((char *)"");
22108 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxIdleEvent
*result
;
22111 char *kwnames
[] = {
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (wxIdleEvent
*)new wxIdleEvent();
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22130 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22133 bool arg2
= (bool) true ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 char *kwnames
[] = {
22137 (char *) "self",(char *) "needMore", NULL
22140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22142 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 arg2
= (bool)(SWIG_As_bool(obj1
));
22146 if (SWIG_arg_fail(2)) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 (arg1
)->RequestMore(arg2
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 Py_INCREF(Py_None
); resultobj
= Py_None
;
22163 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22174 if (SWIG_arg_fail(1)) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22191 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "mode", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22201 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22202 if (SWIG_arg_fail(1)) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 Py_INCREF(Py_None
); resultobj
= Py_None
;
22218 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22221 char *kwnames
[] = {
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_From_int((result
));
22240 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxWindow
*arg1
= (wxWindow
*) 0 ;
22244 PyObject
* obj0
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "win", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22251 if (SWIG_arg_fail(1)) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (bool)wxIdleEvent::CanSend(arg1
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22268 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22271 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22273 return Py_BuildValue((char *)"");
22275 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 int arg1
= (int) 0 ;
22278 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "winid",(char *) "commandType", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22289 arg1
= (int)(SWIG_As_int(obj0
));
22290 if (SWIG_arg_fail(1)) SWIG_fail
;
22295 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22296 if (SWIG_arg_fail(2)) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22313 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22316 PyObject
* obj0
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 Py_INCREF(Py_None
); resultobj
= Py_None
;
22338 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22341 PyObject
*arg2
= (PyObject
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self",(char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 (arg1
)->SetSelf(arg2
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 Py_INCREF(Py_None
); resultobj
= Py_None
;
22366 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22377 if (SWIG_arg_fail(1)) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (PyObject
*)(arg1
)->GetSelf();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= result
;
22392 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22395 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22397 return Py_BuildValue((char *)"");
22399 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22402 int arg2
= (int) 0 ;
22403 wxPyCommandEvent
*result
;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "commandType",(char *) "id", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22413 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22414 if (SWIG_arg_fail(1)) SWIG_fail
;
22419 arg2
= (int)(SWIG_As_int(obj1
));
22420 if (SWIG_arg_fail(2)) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22437 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 Py_INCREF(Py_None
); resultobj
= Py_None
;
22462 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22465 PyObject
*arg2
= (PyObject
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "self", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 (arg1
)->SetSelf(arg2
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 Py_INCREF(Py_None
); resultobj
= Py_None
;
22490 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (PyObject
*)(arg1
)->GetSelf();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= result
;
22516 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22519 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22521 return Py_BuildValue((char *)"");
22523 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxWindow
*arg1
= (wxWindow
*) 0 ;
22526 wxDateTime
*arg2
= 0 ;
22528 wxDateEvent
*result
;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 PyObject
* obj2
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "win",(char *) "dt",(char *) "type", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22538 if (SWIG_arg_fail(1)) SWIG_fail
;
22540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22541 if (SWIG_arg_fail(2)) SWIG_fail
;
22542 if (arg2
== NULL
) {
22543 SWIG_null_ref("wxDateTime");
22545 if (SWIG_arg_fail(2)) SWIG_fail
;
22548 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22549 if (SWIG_arg_fail(3)) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22565 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22568 wxDateTime
*result
;
22569 PyObject
* obj0
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22576 if (SWIG_arg_fail(1)) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22581 result
= (wxDateTime
*) &_result_ref
;
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22594 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22597 wxDateTime
*arg2
= 0 ;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self",(char *) "date", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22606 if (SWIG_arg_fail(1)) SWIG_fail
;
22608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22609 if (SWIG_arg_fail(2)) SWIG_fail
;
22610 if (arg2
== NULL
) {
22611 SWIG_null_ref("wxDateTime");
22613 if (SWIG_arg_fail(2)) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 Py_INCREF(Py_None
); resultobj
= Py_None
;
22629 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22632 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22634 return Py_BuildValue((char *)"");
22636 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22639 char *kwnames
[] = {
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 result
= (wxPyApp
*)new_wxPyApp();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22658 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22668 if (SWIG_arg_fail(1)) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 Py_INCREF(Py_None
); resultobj
= Py_None
;
22683 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22686 PyObject
*arg2
= (PyObject
*) 0 ;
22687 PyObject
*arg3
= (PyObject
*) 0 ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 PyObject
* obj2
= 0 ;
22692 PyObject
* obj3
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22699 if (SWIG_arg_fail(1)) SWIG_fail
;
22703 arg4
= (bool)(SWIG_As_bool(obj3
));
22704 if (SWIG_arg_fail(4)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22752 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22755 wxString
*arg2
= 0 ;
22756 bool temp2
= false ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self",(char *) "name", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail
;
22767 arg2
= wxString_in_helper(obj1
);
22768 if (arg2
== NULL
) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 (arg1
)->SetAppName((wxString
const &)*arg2
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 Py_INCREF(Py_None
); resultobj
= Py_None
;
22793 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22825 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22828 wxString
*arg2
= 0 ;
22829 bool temp2
= false ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self",(char *) "name", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22838 if (SWIG_arg_fail(1)) SWIG_fail
;
22840 arg2
= wxString_in_helper(obj1
);
22841 if (arg2
== NULL
) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 (arg1
)->SetClassName((wxString
const &)*arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 Py_INCREF(Py_None
); resultobj
= Py_None
;
22866 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22877 if (SWIG_arg_fail(1)) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22882 result
= (wxString
*) &_result_ref
;
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22901 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22903 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22904 wxString
*arg2
= 0 ;
22905 bool temp2
= false ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "name", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail
;
22916 arg2
= wxString_in_helper(obj1
);
22917 if (arg2
== NULL
) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 Py_INCREF(Py_None
); resultobj
= Py_None
;
22942 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22945 wxAppTraits
*result
;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22968 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->ProcessPendingEvents();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22996 bool arg2
= (bool) false ;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self",(char *) "onlyIfNeeded", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23006 if (SWIG_arg_fail(1)) SWIG_fail
;
23009 arg2
= (bool)(SWIG_As_bool(obj1
));
23010 if (SWIG_arg_fail(2)) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (bool)(arg1
)->Yield(arg2
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23029 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->WakeUpIdle();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23057 char *kwnames
[] = {
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= (bool)wxPyApp::IsMainLoopRunning();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23078 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23089 if (SWIG_arg_fail(1)) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (int)(arg1
)->MainLoop();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= SWIG_From_int((int)(result
));
23106 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23109 PyObject
* obj0
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23116 if (SWIG_arg_fail(1)) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 Py_INCREF(Py_None
); resultobj
= Py_None
;
23131 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23133 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23141 if (SWIG_arg_fail(1)) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 (arg1
)->ExitMainLoop();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 Py_INCREF(Py_None
); resultobj
= Py_None
;
23156 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= (bool)(arg1
)->Pending();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23184 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23195 if (SWIG_arg_fail(1)) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= (bool)(arg1
)->Dispatch();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23212 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23223 if (SWIG_arg_fail(1)) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (bool)(arg1
)->ProcessIdle();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23240 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23243 wxWindow
*arg2
= (wxWindow
*) 0 ;
23244 wxIdleEvent
*arg3
= 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 PyObject
* obj2
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self",(char *) "win",(char *) "event", NULL
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23255 if (SWIG_arg_fail(1)) SWIG_fail
;
23256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23257 if (SWIG_arg_fail(2)) SWIG_fail
;
23259 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23260 if (SWIG_arg_fail(3)) SWIG_fail
;
23261 if (arg3
== NULL
) {
23262 SWIG_null_ref("wxIdleEvent");
23264 if (SWIG_arg_fail(3)) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23282 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23286 PyObject
* obj0
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23310 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23313 wxWindow
*arg2
= (wxWindow
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "self",(char *) "win", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23322 if (SWIG_arg_fail(1)) SWIG_fail
;
23323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23324 if (SWIG_arg_fail(2)) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 (arg1
)->SetTopWindow(arg2
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 Py_INCREF(Py_None
); resultobj
= Py_None
;
23339 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23350 if (SWIG_arg_fail(1)) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= wxPyMake_wxObject(result
, 0);
23367 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23369 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self",(char *) "flag", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23379 if (SWIG_arg_fail(1)) SWIG_fail
;
23381 arg2
= (bool)(SWIG_As_bool(obj1
));
23382 if (SWIG_arg_fail(2)) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 (arg1
)->SetExitOnFrameDelete(arg2
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 Py_INCREF(Py_None
); resultobj
= Py_None
;
23398 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
;
23400 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23402 PyObject
* obj0
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23409 if (SWIG_arg_fail(1)) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23426 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23430 PyObject
* obj0
= 0 ;
23431 PyObject
* obj1
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self",(char *) "flag", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23438 if (SWIG_arg_fail(1)) SWIG_fail
;
23440 arg2
= (bool)(SWIG_As_bool(obj1
));
23441 if (SWIG_arg_fail(2)) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 (arg1
)->SetUseBestVisual(arg2
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 Py_INCREF(Py_None
); resultobj
= Py_None
;
23457 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23485 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self",(char *) "mode", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 arg2
= (int)(SWIG_As_int(obj1
));
23500 if (SWIG_arg_fail(2)) SWIG_fail
;
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 (arg1
)->SetPrintMode(arg2
);
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 Py_INCREF(Py_None
); resultobj
= Py_None
;
23516 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_From_int((int)(result
));
23544 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self",(char *) "mode", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23556 if (SWIG_arg_fail(1)) SWIG_fail
;
23558 arg2
= (int)(SWIG_As_int(obj1
));
23559 if (SWIG_arg_fail(2)) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 (arg1
)->SetAssertMode(arg2
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 Py_INCREF(Py_None
); resultobj
= Py_None
;
23575 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (int)(arg1
)->GetAssertMode();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_From_int((int)(result
));
23603 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23606 char *kwnames
[] = {
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23627 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23630 char *kwnames
[] = {
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_From_long((long)(result
));
23651 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23654 char *kwnames
[] = {
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= SWIG_From_long((long)(result
));
23675 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23678 char *kwnames
[] = {
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (long)wxPyApp::GetMacExitMenuItemId();
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_From_long((long)(result
));
23699 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23702 char *kwnames
[] = {
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= wxPyApp::GetMacHelpMenuTitleName();
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23727 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23730 PyObject
* obj0
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "val", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23737 arg1
= (bool)(SWIG_As_bool(obj0
));
23738 if (SWIG_arg_fail(1)) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 Py_INCREF(Py_None
); resultobj
= Py_None
;
23754 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "val", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23764 arg1
= (long)(SWIG_As_long(obj0
));
23765 if (SWIG_arg_fail(1)) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 wxPyApp::SetMacAboutMenuItemId(arg1
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 Py_INCREF(Py_None
); resultobj
= Py_None
;
23781 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23784 PyObject
* obj0
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "val", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23791 arg1
= (long)(SWIG_As_long(obj0
));
23792 if (SWIG_arg_fail(1)) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23811 PyObject
* obj0
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "val", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23818 arg1
= (long)(SWIG_As_long(obj0
));
23819 if (SWIG_arg_fail(1)) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 wxPyApp::SetMacExitMenuItemId(arg1
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 Py_INCREF(Py_None
); resultobj
= Py_None
;
23835 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxString
*arg1
= 0 ;
23838 bool temp1
= false ;
23839 PyObject
* obj0
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "val", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23846 arg1
= wxString_in_helper(obj0
);
23847 if (arg1
== NULL
) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23882 if (SWIG_arg_fail(1)) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->_BootstrapApp();
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 Py_INCREF(Py_None
); resultobj
= Py_None
;
23897 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23900 char *kwnames
[] = {
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (int)PyApp_GetComCtl32Version();
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_From_int((int)(result
));
23921 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23924 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23926 return Py_BuildValue((char *)"");
23928 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 char *kwnames
[] = {
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23952 char *kwnames
[] = {
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)wxYield();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23973 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23976 char *kwnames
[] = {
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (bool)wxYieldIfNeeded();
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23997 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxWindow
*arg1
= (wxWindow
*) NULL
;
24000 bool arg2
= (bool) false ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "win",(char *) "onlyIfNeeded", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24011 if (SWIG_arg_fail(1)) SWIG_fail
;
24015 arg2
= (bool)(SWIG_As_bool(obj1
));
24016 if (SWIG_arg_fail(2)) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 result
= (bool)wxSafeYield(arg1
,arg2
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24035 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 char *kwnames
[] = {
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 Py_INCREF(Py_None
); resultobj
= Py_None
;
24056 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24058 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24059 wxEvent
*arg2
= 0 ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "dest",(char *) "event", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24068 if (SWIG_arg_fail(1)) SWIG_fail
;
24070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24071 if (SWIG_arg_fail(2)) SWIG_fail
;
24072 if (arg2
== NULL
) {
24073 SWIG_null_ref("wxEvent");
24075 if (SWIG_arg_fail(2)) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 wxPostEvent(arg1
,*arg2
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 Py_INCREF(Py_None
); resultobj
= Py_None
;
24091 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 char *kwnames
[] = {
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 Py_INCREF(Py_None
); resultobj
= Py_None
;
24112 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24115 char *kwnames
[] = {
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (wxPyApp
*)wxPyGetApp();
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= wxPyMake_wxObject(result
, 0);
24136 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 char *arg1
= (char *) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "encoding", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24145 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24146 SWIG_arg_fail(1);SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 wxSetDefaultPyEncoding((char const *)arg1
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 Py_INCREF(Py_None
); resultobj
= Py_None
;
24162 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24165 char *kwnames
[] = {
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (char *)wxGetDefaultPyEncoding();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_FromCharPtr(result
);
24184 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxEventLoop
*result
;
24187 char *kwnames
[] = {
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (wxEventLoop
*)new wxEventLoop();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24206 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24209 PyObject
* obj0
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24216 if (SWIG_arg_fail(1)) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 Py_INCREF(Py_None
); resultobj
= Py_None
;
24231 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24235 PyObject
* obj0
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24242 if (SWIG_arg_fail(1)) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (int)(arg1
)->Run();
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_From_int((int)(result
));
24259 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24262 int arg2
= (int) 0 ;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self",(char *) "rc", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24271 if (SWIG_arg_fail(1)) SWIG_fail
;
24274 arg2
= (int)(SWIG_As_int(obj1
));
24275 if (SWIG_arg_fail(2)) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->Exit(arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 Py_INCREF(Py_None
); resultobj
= Py_None
;
24292 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24303 if (SWIG_arg_fail(1)) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24320 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24331 if (SWIG_arg_fail(1)) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (bool)(arg1
)->Dispatch();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24348 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24359 if (SWIG_arg_fail(1)) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24376 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxEventLoop
*result
;
24379 char *kwnames
[] = {
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24398 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "loop", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24408 if (SWIG_arg_fail(1)) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 wxEventLoop::SetActive(arg1
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 Py_INCREF(Py_None
); resultobj
= Py_None
;
24423 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24426 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24428 return Py_BuildValue((char *)"");
24430 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 int arg1
= (int) 0 ;
24433 int arg2
= (int) 0 ;
24434 int arg3
= (int) 0 ;
24435 wxAcceleratorEntry
*result
;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 PyObject
* obj2
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24446 arg1
= (int)(SWIG_As_int(obj0
));
24447 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 arg2
= (int)(SWIG_As_int(obj1
));
24453 if (SWIG_arg_fail(2)) SWIG_fail
;
24458 arg3
= (int)(SWIG_As_int(obj2
));
24459 if (SWIG_arg_fail(3)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24476 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24486 if (SWIG_arg_fail(1)) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 Py_INCREF(Py_None
); resultobj
= Py_None
;
24501 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 PyObject
* obj2
= 0 ;
24510 PyObject
* obj3
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24517 if (SWIG_arg_fail(1)) SWIG_fail
;
24519 arg2
= (int)(SWIG_As_int(obj1
));
24520 if (SWIG_arg_fail(2)) SWIG_fail
;
24523 arg3
= (int)(SWIG_As_int(obj2
));
24524 if (SWIG_arg_fail(3)) SWIG_fail
;
24527 arg4
= (int)(SWIG_As_int(obj3
));
24528 if (SWIG_arg_fail(4)) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 (arg1
)->Set(arg2
,arg3
,arg4
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 Py_INCREF(Py_None
); resultobj
= Py_None
;
24544 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24555 if (SWIG_arg_fail(1)) SWIG_fail
;
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 result
= (int)(arg1
)->GetFlags();
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= SWIG_From_int((int)(result
));
24572 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
;
24574 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24583 if (SWIG_arg_fail(1)) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (int)(arg1
)->GetKeyCode();
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_From_int((int)(result
));
24600 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
;
24602 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 result
= (int)(arg1
)->GetCommand();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= SWIG_From_int((int)(result
));
24628 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24631 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24633 return Py_BuildValue((char *)"");
24635 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24638 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24639 wxAcceleratorTable
*result
;
24640 PyObject
* obj0
= 0 ;
24641 char *kwnames
[] = {
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24647 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24648 if (arg2
) arg1
= PyList_Size(obj0
);
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24671 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24681 if (SWIG_arg_fail(1)) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 Py_INCREF(Py_None
); resultobj
= Py_None
;
24696 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 char *kwnames
[] = {
24702 (char *) "self", NULL
24705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24707 if (SWIG_arg_fail(1)) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24724 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24727 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24729 return Py_BuildValue((char *)"");
24731 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24732 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24737 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24740 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24745 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxString
*arg1
= 0 ;
24748 wxAcceleratorEntry
*result
;
24749 bool temp1
= false ;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "label", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24757 arg1
= wxString_in_helper(obj0
);
24758 if (arg1
== NULL
) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24783 static int _wrap_PanelNameStr_set(PyObject
*) {
24784 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24789 static PyObject
*_wrap_PanelNameStr_get(void) {
24794 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24796 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24803 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxVisualAttributes
*result
;
24806 char *kwnames
[] = {
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24825 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
;
24827 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 delete_wxVisualAttributes(arg1
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24853 wxFont
*arg2
= (wxFont
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self",(char *) "font", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24862 if (SWIG_arg_fail(1)) SWIG_fail
;
24863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24864 if (SWIG_arg_fail(2)) SWIG_fail
;
24865 if (arg1
) (arg1
)->font
= *arg2
;
24867 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 char *kwnames
[] = {
24880 (char *) "self", NULL
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24885 if (SWIG_arg_fail(1)) SWIG_fail
;
24886 result
= (wxFont
*)& ((arg1
)->font
);
24888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24895 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24898 wxColour
*arg2
= (wxColour
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self",(char *) "colFg", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24907 if (SWIG_arg_fail(1)) SWIG_fail
;
24908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24909 if (SWIG_arg_fail(2)) SWIG_fail
;
24910 if (arg1
) (arg1
)->colFg
= *arg2
;
24912 Py_INCREF(Py_None
); resultobj
= Py_None
;
24919 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24923 PyObject
* obj0
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24930 if (SWIG_arg_fail(1)) SWIG_fail
;
24931 result
= (wxColour
*)& ((arg1
)->colFg
);
24933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24940 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
;
24942 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24943 wxColour
*arg2
= (wxColour
*) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "colBg", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24952 if (SWIG_arg_fail(1)) SWIG_fail
;
24953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24954 if (SWIG_arg_fail(2)) SWIG_fail
;
24955 if (arg1
) (arg1
)->colBg
= *arg2
;
24957 Py_INCREF(Py_None
); resultobj
= Py_None
;
24964 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24968 PyObject
* obj0
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail
;
24976 result
= (wxColour
*)& ((arg1
)->colBg
);
24978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24985 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24988 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24990 return Py_BuildValue((char *)"");
24992 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxWindow
*arg1
= (wxWindow
*) 0 ;
24995 int arg2
= (int) (int)-1 ;
24996 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24997 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24998 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24999 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25000 long arg5
= (long) 0 ;
25001 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25002 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25006 bool temp6
= false ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 PyObject
* obj2
= 0 ;
25010 PyObject
* obj3
= 0 ;
25011 PyObject
* obj4
= 0 ;
25012 PyObject
* obj5
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail
;
25022 arg2
= (int const)(SWIG_As_int(obj1
));
25023 if (SWIG_arg_fail(2)) SWIG_fail
;
25029 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25035 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25040 arg5
= (long)(SWIG_As_long(obj4
));
25041 if (SWIG_arg_fail(5)) SWIG_fail
;
25046 arg6
= wxString_in_helper(obj5
);
25047 if (arg6
== NULL
) SWIG_fail
;
25052 if (!wxPyCheckForApp()) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25074 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25077 char *kwnames
[] = {
25081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25083 if (!wxPyCheckForApp()) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (wxWindow
*)new wxWindow();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25097 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxWindow
*arg1
= (wxWindow
*) 0 ;
25100 wxWindow
*arg2
= (wxWindow
*) 0 ;
25101 int arg3
= (int) (int)-1 ;
25102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25106 long arg6
= (long) 0 ;
25107 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25112 bool temp7
= false ;
25113 PyObject
* obj0
= 0 ;
25114 PyObject
* obj1
= 0 ;
25115 PyObject
* obj2
= 0 ;
25116 PyObject
* obj3
= 0 ;
25117 PyObject
* obj4
= 0 ;
25118 PyObject
* obj5
= 0 ;
25119 PyObject
* obj6
= 0 ;
25120 char *kwnames
[] = {
25121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25126 if (SWIG_arg_fail(1)) SWIG_fail
;
25127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25128 if (SWIG_arg_fail(2)) SWIG_fail
;
25131 arg3
= (int const)(SWIG_As_int(obj2
));
25132 if (SWIG_arg_fail(3)) SWIG_fail
;
25138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25149 arg6
= (long)(SWIG_As_long(obj5
));
25150 if (SWIG_arg_fail(6)) SWIG_fail
;
25155 arg7
= wxString_in_helper(obj6
);
25156 if (arg7
== NULL
) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25184 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxWindow
*arg1
= (wxWindow
*) 0 ;
25187 bool arg2
= (bool) false ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self",(char *) "force", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25197 if (SWIG_arg_fail(1)) SWIG_fail
;
25200 arg2
= (bool)(SWIG_As_bool(obj1
));
25201 if (SWIG_arg_fail(2)) SWIG_fail
;
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 result
= (bool)(arg1
)->Close(arg2
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25220 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxWindow
*arg1
= (wxWindow
*) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 char *kwnames
[] = {
25226 (char *) "self", NULL
25229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25231 if (SWIG_arg_fail(1)) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 result
= (bool)(arg1
)->Destroy();
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25248 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxWindow
*arg1
= (wxWindow
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail
;
25261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25262 result
= (bool)(arg1
)->DestroyChildren();
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25276 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxWindow
*arg1
= (wxWindow
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 char *kwnames
[] = {
25282 (char *) "self", NULL
25285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25287 if (SWIG_arg_fail(1)) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25304 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
;
25306 wxWindow
*arg1
= (wxWindow
*) 0 ;
25307 wxString
*arg2
= 0 ;
25308 bool temp2
= false ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self",(char *) "title", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 arg2
= wxString_in_helper(obj1
);
25320 if (arg2
== NULL
) SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 (arg1
)->SetTitle((wxString
const &)*arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 Py_INCREF(Py_None
); resultobj
= Py_None
;
25345 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxWindow
*arg1
= (wxWindow
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25356 if (SWIG_arg_fail(1)) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= ((wxWindow
const *)arg1
)->GetTitle();
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25377 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
;
25379 wxWindow
*arg1
= (wxWindow
*) 0 ;
25380 wxString
*arg2
= 0 ;
25381 bool temp2
= false ;
25382 PyObject
* obj0
= 0 ;
25383 PyObject
* obj1
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self",(char *) "label", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail
;
25392 arg2
= wxString_in_helper(obj1
);
25393 if (arg2
== NULL
) SWIG_fail
;
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 (arg1
)->SetLabel((wxString
const &)*arg2
);
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxWindow
*arg1
= (wxWindow
*) 0 ;
25422 PyObject
* obj0
= 0 ;
25423 char *kwnames
[] = {
25424 (char *) "self", NULL
25427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25429 if (SWIG_arg_fail(1)) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= ((wxWindow
const *)arg1
)->GetLabel();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25450 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
;
25452 wxWindow
*arg1
= (wxWindow
*) 0 ;
25453 wxString
*arg2
= 0 ;
25454 bool temp2
= false ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self",(char *) "name", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25463 if (SWIG_arg_fail(1)) SWIG_fail
;
25465 arg2
= wxString_in_helper(obj1
);
25466 if (arg2
== NULL
) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 (arg1
)->SetName((wxString
const &)*arg2
);
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 Py_INCREF(Py_None
); resultobj
= Py_None
;
25491 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxWindow
*arg1
= (wxWindow
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= ((wxWindow
const *)arg1
)->GetName();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25523 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxWindow
*arg1
= (wxWindow
*) 0 ;
25526 wxWindowVariant arg2
;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "variant", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25535 if (SWIG_arg_fail(1)) SWIG_fail
;
25537 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25538 if (SWIG_arg_fail(2)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 Py_INCREF(Py_None
); resultobj
= Py_None
;
25554 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxWindow
*arg1
= (wxWindow
*) 0 ;
25557 wxWindowVariant result
;
25558 PyObject
* obj0
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25565 if (SWIG_arg_fail(1)) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_From_int((result
));
25580 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxWindow
*arg1
= (wxWindow
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 PyObject
* obj1
= 0 ;
25586 char *kwnames
[] = {
25587 (char *) "self",(char *) "winid", NULL
25590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25592 if (SWIG_arg_fail(1)) SWIG_fail
;
25594 arg2
= (int)(SWIG_As_int(obj1
));
25595 if (SWIG_arg_fail(2)) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 (arg1
)->SetId(arg2
);
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 Py_INCREF(Py_None
); resultobj
= Py_None
;
25611 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25613 wxWindow
*arg1
= (wxWindow
*) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25622 if (SWIG_arg_fail(1)) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 result
= (int)((wxWindow
const *)arg1
)->GetId();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_From_int((int)(result
));
25639 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25642 char *kwnames
[] = {
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (int)wxWindow::NewControlId();
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_From_int((int)(result
));
25663 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25667 PyObject
* obj0
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "winid", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25674 arg1
= (int)(SWIG_As_int(obj0
));
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (int)wxWindow::NextControlId(arg1
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_From_int((int)(result
));
25693 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25697 PyObject
* obj0
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "winid", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25704 arg1
= (int)(SWIG_As_int(obj0
));
25705 if (SWIG_arg_fail(1)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (int)wxWindow::PrevControlId(arg1
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_From_int((int)(result
));
25723 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxWindow
*arg1
= (wxWindow
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self",(char *) "size", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail
;
25739 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 (arg1
)->SetSize((wxSize
const &)*arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 Py_INCREF(Py_None
); resultobj
= Py_None
;
25755 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxWindow
*arg1
= (wxWindow
*) 0 ;
25762 int arg6
= (int) wxSIZE_AUTO
;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 PyObject
* obj2
= 0 ;
25766 PyObject
* obj3
= 0 ;
25767 PyObject
* obj4
= 0 ;
25768 PyObject
* obj5
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25775 if (SWIG_arg_fail(1)) SWIG_fail
;
25777 arg2
= (int)(SWIG_As_int(obj1
));
25778 if (SWIG_arg_fail(2)) SWIG_fail
;
25781 arg3
= (int)(SWIG_As_int(obj2
));
25782 if (SWIG_arg_fail(3)) SWIG_fail
;
25785 arg4
= (int)(SWIG_As_int(obj3
));
25786 if (SWIG_arg_fail(4)) SWIG_fail
;
25789 arg5
= (int)(SWIG_As_int(obj4
));
25790 if (SWIG_arg_fail(5)) SWIG_fail
;
25794 arg6
= (int)(SWIG_As_int(obj5
));
25795 if (SWIG_arg_fail(6)) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 Py_INCREF(Py_None
); resultobj
= Py_None
;
25812 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxWindow
*arg1
= (wxWindow
*) 0 ;
25816 int arg3
= (int) wxSIZE_AUTO
;
25818 PyObject
* obj0
= 0 ;
25819 PyObject
* obj1
= 0 ;
25820 PyObject
* obj2
= 0 ;
25821 char *kwnames
[] = {
25822 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25827 if (SWIG_arg_fail(1)) SWIG_fail
;
25830 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25834 arg3
= (int)(SWIG_As_int(obj2
));
25835 if (SWIG_arg_fail(3)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 Py_INCREF(Py_None
); resultobj
= Py_None
;
25852 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxWindow
*arg1
= (wxWindow
*) 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 PyObject
* obj2
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self",(char *) "width",(char *) "height", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25866 if (SWIG_arg_fail(1)) SWIG_fail
;
25868 arg2
= (int)(SWIG_As_int(obj1
));
25869 if (SWIG_arg_fail(2)) SWIG_fail
;
25872 arg3
= (int)(SWIG_As_int(obj2
));
25873 if (SWIG_arg_fail(3)) SWIG_fail
;
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 (arg1
)->SetSize(arg2
,arg3
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 Py_INCREF(Py_None
); resultobj
= Py_None
;
25889 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25890 PyObject
*resultobj
;
25891 wxWindow
*arg1
= (wxWindow
*) 0 ;
25892 wxPoint
*arg2
= 0 ;
25893 int arg3
= (int) wxSIZE_USE_EXISTING
;
25895 PyObject
* obj0
= 0 ;
25896 PyObject
* obj1
= 0 ;
25897 PyObject
* obj2
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "pt",(char *) "flags", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail
;
25907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25911 arg3
= (int)(SWIG_As_int(obj2
));
25912 if (SWIG_arg_fail(3)) SWIG_fail
;
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25919 wxPyEndAllowThreads(__tstate
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25922 Py_INCREF(Py_None
); resultobj
= Py_None
;
25929 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
;
25931 wxWindow
*arg1
= (wxWindow
*) 0 ;
25934 int arg4
= (int) wxSIZE_USE_EXISTING
;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 PyObject
* obj2
= 0 ;
25938 PyObject
* obj3
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25945 if (SWIG_arg_fail(1)) SWIG_fail
;
25947 arg2
= (int)(SWIG_As_int(obj1
));
25948 if (SWIG_arg_fail(2)) SWIG_fail
;
25951 arg3
= (int)(SWIG_As_int(obj2
));
25952 if (SWIG_arg_fail(3)) SWIG_fail
;
25956 arg4
= (int)(SWIG_As_int(obj3
));
25957 if (SWIG_arg_fail(4)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 (arg1
)->Move(arg2
,arg3
,arg4
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 Py_INCREF(Py_None
); resultobj
= Py_None
;
25974 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxWindow
*arg1
= (wxWindow
*) 0 ;
25977 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25978 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self",(char *) "size", NULL
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25988 if (SWIG_arg_fail(1)) SWIG_fail
;
25992 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 Py_INCREF(Py_None
); resultobj
= Py_None
;
26009 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxWindow
*arg1
= (wxWindow
*) 0 ;
26012 PyObject
* obj0
= 0 ;
26013 char *kwnames
[] = {
26014 (char *) "self", NULL
26017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26019 if (SWIG_arg_fail(1)) SWIG_fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 Py_INCREF(Py_None
); resultobj
= Py_None
;
26034 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
;
26036 wxWindow
*arg1
= (wxWindow
*) 0 ;
26037 PyObject
* obj0
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26044 if (SWIG_arg_fail(1)) SWIG_fail
;
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 Py_INCREF(Py_None
); resultobj
= Py_None
;
26059 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxWindow
*arg1
= (wxWindow
*) 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "size", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26072 if (SWIG_arg_fail(1)) SWIG_fail
;
26075 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 Py_INCREF(Py_None
); resultobj
= Py_None
;
26091 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxWindow
*arg1
= (wxWindow
*) 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 PyObject
* obj2
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "width",(char *) "height", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26105 if (SWIG_arg_fail(1)) SWIG_fail
;
26107 arg2
= (int)(SWIG_As_int(obj1
));
26108 if (SWIG_arg_fail(2)) SWIG_fail
;
26111 arg3
= (int)(SWIG_As_int(obj2
));
26112 if (SWIG_arg_fail(3)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 (arg1
)->SetClientSize(arg2
,arg3
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 Py_INCREF(Py_None
); resultobj
= Py_None
;
26128 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxWindow
*arg1
= (wxWindow
*) 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self",(char *) "rect", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26141 if (SWIG_arg_fail(1)) SWIG_fail
;
26144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 Py_INCREF(Py_None
); resultobj
= Py_None
;
26160 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
;
26162 wxWindow
*arg1
= (wxWindow
*) 0 ;
26164 PyObject
* obj0
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "self", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26171 if (SWIG_arg_fail(1)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (arg1
)->GetPosition();
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 wxPoint
* resultptr
;
26181 resultptr
= new wxPoint((wxPoint
&)(result
));
26182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26190 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxWindow
*arg1
= (wxWindow
*) 0 ;
26193 int *arg2
= (int *) 0 ;
26194 int *arg3
= (int *) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self", NULL
26204 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26205 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26208 if (SWIG_arg_fail(1)) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->GetPosition(arg2
,arg3
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 Py_INCREF(Py_None
); resultobj
= Py_None
;
26217 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26218 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26219 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26220 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26227 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxWindow
*arg1
= (wxWindow
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26238 if (SWIG_arg_fail(1)) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= ((wxWindow
const *)arg1
)->GetSize();
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26247 wxSize
* resultptr
;
26248 resultptr
= new wxSize((wxSize
&)(result
));
26249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26257 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
;
26259 wxWindow
*arg1
= (wxWindow
*) 0 ;
26260 int *arg2
= (int *) 0 ;
26261 int *arg3
= (int *) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self", NULL
26271 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26272 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26275 if (SWIG_arg_fail(1)) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 Py_INCREF(Py_None
); resultobj
= Py_None
;
26284 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26285 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26286 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26287 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26294 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxWindow
*arg1
= (wxWindow
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26305 if (SWIG_arg_fail(1)) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 result
= ((wxWindow
const *)arg1
)->GetRect();
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26314 wxRect
* resultptr
;
26315 resultptr
= new wxRect((wxRect
&)(result
));
26316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26324 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
;
26326 wxWindow
*arg1
= (wxWindow
*) 0 ;
26328 PyObject
* obj0
= 0 ;
26329 char *kwnames
[] = {
26330 (char *) "self", NULL
26333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26335 if (SWIG_arg_fail(1)) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 wxSize
* resultptr
;
26345 resultptr
= new wxSize((wxSize
&)(result
));
26346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26354 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
;
26356 wxWindow
*arg1
= (wxWindow
*) 0 ;
26357 int *arg2
= (int *) 0 ;
26358 int *arg3
= (int *) 0 ;
26363 PyObject
* obj0
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self", NULL
26368 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26369 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26372 if (SWIG_arg_fail(1)) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 Py_INCREF(Py_None
); resultobj
= Py_None
;
26381 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26382 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26383 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26384 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26391 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxWindow
*arg1
= (wxWindow
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26402 if (SWIG_arg_fail(1)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26411 wxPoint
* resultptr
;
26412 resultptr
= new wxPoint((wxPoint
&)(result
));
26413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26421 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxWindow
*arg1
= (wxWindow
*) 0 ;
26425 PyObject
* obj0
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 wxRect
* resultptr
;
26442 resultptr
= new wxRect((wxRect
&)(result
));
26443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26451 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxWindow
*arg1
= (wxWindow
*) 0 ;
26455 PyObject
* obj0
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26462 if (SWIG_arg_fail(1)) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26471 wxSize
* resultptr
;
26472 resultptr
= new wxSize((wxSize
&)(result
));
26473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26481 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxWindow
*arg1
= (wxWindow
*) 0 ;
26484 int *arg2
= (int *) 0 ;
26485 int *arg3
= (int *) 0 ;
26490 PyObject
* obj0
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self", NULL
26495 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26496 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26499 if (SWIG_arg_fail(1)) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 Py_INCREF(Py_None
); resultobj
= Py_None
;
26508 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26509 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26510 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26511 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26518 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxWindow
*arg1
= (wxWindow
*) 0 ;
26521 PyObject
* obj0
= 0 ;
26522 char *kwnames
[] = {
26523 (char *) "self", NULL
26526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26528 if (SWIG_arg_fail(1)) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->InvalidateBestSize();
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26543 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxWindow
*arg1
= (wxWindow
*) 0 ;
26547 PyObject
* obj0
= 0 ;
26548 char *kwnames
[] = {
26549 (char *) "self", NULL
26552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26554 if (SWIG_arg_fail(1)) SWIG_fail
;
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26563 wxSize
* resultptr
;
26564 resultptr
= new wxSize((wxSize
&)(result
));
26565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26573 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxWindow
*arg1
= (wxWindow
*) 0 ;
26577 PyObject
* obj0
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26584 if (SWIG_arg_fail(1)) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26593 wxSize
* resultptr
;
26594 resultptr
= new wxSize((wxSize
&)(result
));
26595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26603 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxWindow
*arg1
= (wxWindow
*) 0 ;
26606 int arg2
= (int) wxBOTH
;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self",(char *) "direction", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26615 if (SWIG_arg_fail(1)) SWIG_fail
;
26618 arg2
= (int)(SWIG_As_int(obj1
));
26619 if (SWIG_arg_fail(2)) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 (arg1
)->Center(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 Py_INCREF(Py_None
); resultobj
= Py_None
;
26636 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxWindow
*arg1
= (wxWindow
*) 0 ;
26639 int arg2
= (int) wxBOTH
;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "dir", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26648 if (SWIG_arg_fail(1)) SWIG_fail
;
26651 arg2
= (int)(SWIG_As_int(obj1
));
26652 if (SWIG_arg_fail(2)) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 (arg1
)->CenterOnScreen(arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 Py_INCREF(Py_None
); resultobj
= Py_None
;
26669 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxWindow
*arg1
= (wxWindow
*) 0 ;
26672 int arg2
= (int) wxBOTH
;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 char *kwnames
[] = {
26676 (char *) "self",(char *) "dir", NULL
26679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26681 if (SWIG_arg_fail(1)) SWIG_fail
;
26684 arg2
= (int)(SWIG_As_int(obj1
));
26685 if (SWIG_arg_fail(2)) SWIG_fail
;
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 (arg1
)->CenterOnParent(arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 Py_INCREF(Py_None
); resultobj
= Py_None
;
26702 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26703 PyObject
*resultobj
;
26704 wxWindow
*arg1
= (wxWindow
*) 0 ;
26705 PyObject
* obj0
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26712 if (SWIG_arg_fail(1)) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 Py_INCREF(Py_None
); resultobj
= Py_None
;
26727 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxWindow
*arg1
= (wxWindow
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26737 if (SWIG_arg_fail(1)) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->FitInside();
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 Py_INCREF(Py_None
); resultobj
= Py_None
;
26752 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26754 wxWindow
*arg1
= (wxWindow
*) 0 ;
26757 int arg4
= (int) -1 ;
26758 int arg5
= (int) -1 ;
26759 int arg6
= (int) -1 ;
26760 int arg7
= (int) -1 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 PyObject
* obj3
= 0 ;
26765 PyObject
* obj4
= 0 ;
26766 PyObject
* obj5
= 0 ;
26767 PyObject
* obj6
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26774 if (SWIG_arg_fail(1)) SWIG_fail
;
26776 arg2
= (int)(SWIG_As_int(obj1
));
26777 if (SWIG_arg_fail(2)) SWIG_fail
;
26780 arg3
= (int)(SWIG_As_int(obj2
));
26781 if (SWIG_arg_fail(3)) SWIG_fail
;
26785 arg4
= (int)(SWIG_As_int(obj3
));
26786 if (SWIG_arg_fail(4)) SWIG_fail
;
26791 arg5
= (int)(SWIG_As_int(obj4
));
26792 if (SWIG_arg_fail(5)) SWIG_fail
;
26797 arg6
= (int)(SWIG_As_int(obj5
));
26798 if (SWIG_arg_fail(6)) SWIG_fail
;
26803 arg7
= (int)(SWIG_As_int(obj6
));
26804 if (SWIG_arg_fail(7)) SWIG_fail
;
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 Py_INCREF(Py_None
); resultobj
= Py_None
;
26821 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxWindow
*arg1
= (wxWindow
*) 0 ;
26825 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26826 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 PyObject
* obj2
= 0 ;
26835 PyObject
* obj3
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26842 if (SWIG_arg_fail(1)) SWIG_fail
;
26845 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26850 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26856 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 Py_INCREF(Py_None
); resultobj
= Py_None
;
26873 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
;
26875 wxWindow
*arg1
= (wxWindow
*) 0 ;
26878 int arg4
= (int) -1 ;
26879 int arg5
= (int) -1 ;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 PyObject
* obj2
= 0 ;
26883 PyObject
* obj3
= 0 ;
26884 PyObject
* obj4
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26891 if (SWIG_arg_fail(1)) SWIG_fail
;
26893 arg2
= (int)(SWIG_As_int(obj1
));
26894 if (SWIG_arg_fail(2)) SWIG_fail
;
26897 arg3
= (int)(SWIG_As_int(obj2
));
26898 if (SWIG_arg_fail(3)) SWIG_fail
;
26902 arg4
= (int)(SWIG_As_int(obj3
));
26903 if (SWIG_arg_fail(4)) SWIG_fail
;
26908 arg5
= (int)(SWIG_As_int(obj4
));
26909 if (SWIG_arg_fail(5)) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 Py_INCREF(Py_None
); resultobj
= Py_None
;
26926 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxWindow
*arg1
= (wxWindow
*) 0 ;
26930 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26931 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 PyObject
* obj2
= 0 ;
26937 char *kwnames
[] = {
26938 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26943 if (SWIG_arg_fail(1)) SWIG_fail
;
26946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26951 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 Py_INCREF(Py_None
); resultobj
= Py_None
;
26968 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxWindow
*arg1
= (wxWindow
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 wxSize
* resultptr
;
26989 resultptr
= new wxSize((wxSize
&)(result
));
26990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26998 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
;
27000 wxWindow
*arg1
= (wxWindow
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27009 if (SWIG_arg_fail(1)) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 wxSize
* resultptr
;
27019 resultptr
= new wxSize((wxSize
&)(result
));
27020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27028 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxWindow
*arg1
= (wxWindow
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "minSize", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail
;
27044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 Py_INCREF(Py_None
); resultobj
= Py_None
;
27060 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxWindow
*arg1
= (wxWindow
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "maxSize", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27073 if (SWIG_arg_fail(1)) SWIG_fail
;
27076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 Py_INCREF(Py_None
); resultobj
= Py_None
;
27092 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 wxWindow
*arg1
= (wxWindow
*) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 char *kwnames
[] = {
27098 (char *) "self", NULL
27101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27103 if (SWIG_arg_fail(1)) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_From_int((int)(result
));
27120 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxWindow
*arg1
= (wxWindow
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 char *kwnames
[] = {
27126 (char *) "self", NULL
27129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27131 if (SWIG_arg_fail(1)) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= SWIG_From_int((int)(result
));
27148 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
;
27150 wxWindow
*arg1
= (wxWindow
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27159 if (SWIG_arg_fail(1)) SWIG_fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= SWIG_From_int((int)(result
));
27176 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxWindow
*arg1
= (wxWindow
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= SWIG_From_int((int)(result
));
27204 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxWindow
*arg1
= (wxWindow
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "size", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 Py_INCREF(Py_None
); resultobj
= Py_None
;
27236 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 PyObject
* obj1
= 0 ;
27243 PyObject
* obj2
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "self",(char *) "w",(char *) "h", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27250 if (SWIG_arg_fail(1)) SWIG_fail
;
27252 arg2
= (int)(SWIG_As_int(obj1
));
27253 if (SWIG_arg_fail(2)) SWIG_fail
;
27256 arg3
= (int)(SWIG_As_int(obj2
));
27257 if (SWIG_arg_fail(3)) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 (arg1
)->SetVirtualSize(arg2
,arg3
);
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 Py_INCREF(Py_None
); resultobj
= Py_None
;
27273 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
;
27275 wxWindow
*arg1
= (wxWindow
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27284 if (SWIG_arg_fail(1)) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 wxSize
* resultptr
;
27294 resultptr
= new wxSize((wxSize
&)(result
));
27295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27303 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxWindow
*arg1
= (wxWindow
*) 0 ;
27306 int *arg2
= (int *) 0 ;
27307 int *arg3
= (int *) 0 ;
27312 PyObject
* obj0
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self", NULL
27317 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27318 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27321 if (SWIG_arg_fail(1)) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 Py_INCREF(Py_None
); resultobj
= Py_None
;
27330 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27331 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27332 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27333 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27340 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxWindow
*arg1
= (wxWindow
*) 0 ;
27344 PyObject
* obj0
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27351 if (SWIG_arg_fail(1)) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 wxSize
* resultptr
;
27361 resultptr
= new wxSize((wxSize
&)(result
));
27362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27370 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxWindow
*arg1
= (wxWindow
*) 0 ;
27373 bool arg2
= (bool) true ;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self",(char *) "show", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27383 if (SWIG_arg_fail(1)) SWIG_fail
;
27386 arg2
= (bool)(SWIG_As_bool(obj1
));
27387 if (SWIG_arg_fail(2)) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (bool)(arg1
)->Show(arg2
);
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27406 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxWindow
*arg1
= (wxWindow
*) 0 ;
27410 PyObject
* obj0
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27417 if (SWIG_arg_fail(1)) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)(arg1
)->Hide();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27434 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxWindow
*arg1
= (wxWindow
*) 0 ;
27437 bool arg2
= (bool) true ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 char *kwnames
[] = {
27442 (char *) "self",(char *) "enable", NULL
27445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27447 if (SWIG_arg_fail(1)) SWIG_fail
;
27450 arg2
= (bool)(SWIG_As_bool(obj1
));
27451 if (SWIG_arg_fail(2)) SWIG_fail
;
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= (bool)(arg1
)->Enable(arg2
);
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27470 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
;
27472 wxWindow
*arg1
= (wxWindow
*) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 result
= (bool)(arg1
)->Disable();
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27498 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27499 PyObject
*resultobj
;
27500 wxWindow
*arg1
= (wxWindow
*) 0 ;
27502 PyObject
* obj0
= 0 ;
27503 char *kwnames
[] = {
27504 (char *) "self", NULL
27507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27509 if (SWIG_arg_fail(1)) SWIG_fail
;
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27514 wxPyEndAllowThreads(__tstate
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27526 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27527 PyObject
*resultobj
;
27528 wxWindow
*arg1
= (wxWindow
*) 0 ;
27530 PyObject
* obj0
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail
;
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27554 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxWindow
*arg1
= (wxWindow
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self",(char *) "style", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27566 if (SWIG_arg_fail(1)) SWIG_fail
;
27568 arg2
= (long)(SWIG_As_long(obj1
));
27569 if (SWIG_arg_fail(2)) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 (arg1
)->SetWindowStyleFlag(arg2
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 Py_INCREF(Py_None
); resultobj
= Py_None
;
27585 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxWindow
*arg1
= (wxWindow
*) 0 ;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_From_long((long)(result
));
27613 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxWindow
*arg1
= (wxWindow
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "flag", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27626 if (SWIG_arg_fail(1)) SWIG_fail
;
27628 arg2
= (int)(SWIG_As_int(obj1
));
27629 if (SWIG_arg_fail(2)) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27647 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxWindow
*arg1
= (wxWindow
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27658 if (SWIG_arg_fail(1)) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27675 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxWindow
*arg1
= (wxWindow
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 PyObject
* obj1
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self",(char *) "exStyle", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27687 if (SWIG_arg_fail(1)) SWIG_fail
;
27689 arg2
= (long)(SWIG_As_long(obj1
));
27690 if (SWIG_arg_fail(2)) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 (arg1
)->SetExtraStyle(arg2
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 Py_INCREF(Py_None
); resultobj
= Py_None
;
27706 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxWindow
*arg1
= (wxWindow
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27717 if (SWIG_arg_fail(1)) SWIG_fail
;
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27726 resultobj
= SWIG_From_long((long)(result
));
27734 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 bool arg2
= (bool) true ;
27738 PyObject
* obj0
= 0 ;
27739 PyObject
* obj1
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "self",(char *) "modal", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27746 if (SWIG_arg_fail(1)) SWIG_fail
;
27749 arg2
= (bool)(SWIG_As_bool(obj1
));
27750 if (SWIG_arg_fail(2)) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 (arg1
)->MakeModal(arg2
);
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 Py_INCREF(Py_None
); resultobj
= Py_None
;
27767 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
;
27769 wxWindow
*arg1
= (wxWindow
*) 0 ;
27771 PyObject
* obj0
= 0 ;
27772 PyObject
* obj1
= 0 ;
27773 char *kwnames
[] = {
27774 (char *) "self",(char *) "enableTheme", NULL
27777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27779 if (SWIG_arg_fail(1)) SWIG_fail
;
27781 arg2
= (bool)(SWIG_As_bool(obj1
));
27782 if (SWIG_arg_fail(2)) SWIG_fail
;
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 (arg1
)->SetThemeEnabled(arg2
);
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 Py_INCREF(Py_None
); resultobj
= Py_None
;
27798 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27799 PyObject
*resultobj
;
27800 wxWindow
*arg1
= (wxWindow
*) 0 ;
27802 PyObject
* obj0
= 0 ;
27803 char *kwnames
[] = {
27804 (char *) "self", NULL
27807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27809 if (SWIG_arg_fail(1)) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27826 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxWindow
*arg1
= (wxWindow
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27836 if (SWIG_arg_fail(1)) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->SetFocus();
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27851 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxWindow
*arg1
= (wxWindow
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27861 if (SWIG_arg_fail(1)) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->SetFocusFromKbd();
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27879 char *kwnames
[] = {
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27885 if (!wxPyCheckForApp()) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (wxWindow
*)wxWindow::FindFocus();
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= wxPyMake_wxObject(result
, 0);
27901 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27912 if (SWIG_arg_fail(1)) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27929 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxWindow
*arg1
= (wxWindow
*) 0 ;
27933 PyObject
* obj0
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "self", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27957 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
;
27959 wxWindow
*arg1
= (wxWindow
*) 0 ;
27961 PyObject
* obj0
= 0 ;
27962 char *kwnames
[] = {
27963 (char *) "self", NULL
27966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27968 if (SWIG_arg_fail(1)) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= wxPyMake_wxObject(result
, 0);
27985 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 wxWindow
*arg1
= (wxWindow
*) 0 ;
27988 wxWindow
*arg2
= (wxWindow
*) 0 ;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self",(char *) "child", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27998 if (SWIG_arg_fail(1)) SWIG_fail
;
27999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28000 if (SWIG_arg_fail(2)) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= wxPyMake_wxObject(result
, 0);
28017 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxWindow
*arg1
= (wxWindow
*) 0 ;
28020 wxWindow
*arg2
= (wxWindow
*) 0 ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 char *kwnames
[] = {
28024 (char *) "self",(char *) "win", NULL
28027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28029 if (SWIG_arg_fail(1)) SWIG_fail
;
28030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28031 if (SWIG_arg_fail(2)) SWIG_fail
;
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 (arg1
)->SetTmpDefaultItem(arg2
);
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28039 Py_INCREF(Py_None
); resultobj
= Py_None
;
28046 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxWindow
*arg1
= (wxWindow
*) 0 ;
28049 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "flags", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28059 if (SWIG_arg_fail(1)) SWIG_fail
;
28062 arg2
= (int)(SWIG_As_int(obj1
));
28063 if (SWIG_arg_fail(2)) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 result
= (bool)(arg1
)->Navigate(arg2
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28082 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxWindow
*arg1
= (wxWindow
*) 0 ;
28085 wxWindow
*arg2
= (wxWindow
*) 0 ;
28086 PyObject
* obj0
= 0 ;
28087 PyObject
* obj1
= 0 ;
28088 char *kwnames
[] = {
28089 (char *) "self",(char *) "win", NULL
28092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28094 if (SWIG_arg_fail(1)) SWIG_fail
;
28095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28096 if (SWIG_arg_fail(2)) SWIG_fail
;
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 (arg1
)->MoveAfterInTabOrder(arg2
);
28101 wxPyEndAllowThreads(__tstate
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28104 Py_INCREF(Py_None
); resultobj
= Py_None
;
28111 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
;
28113 wxWindow
*arg1
= (wxWindow
*) 0 ;
28114 wxWindow
*arg2
= (wxWindow
*) 0 ;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self",(char *) "win", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28123 if (SWIG_arg_fail(1)) SWIG_fail
;
28124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28125 if (SWIG_arg_fail(2)) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 (arg1
)->MoveBeforeInTabOrder(arg2
);
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 Py_INCREF(Py_None
); resultobj
= Py_None
;
28140 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxWindow
*arg1
= (wxWindow
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 char *kwnames
[] = {
28146 (char *) "self", NULL
28149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28151 if (SWIG_arg_fail(1)) SWIG_fail
;
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= result
;
28166 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxWindow
*arg1
= (wxWindow
*) 0 ;
28170 PyObject
* obj0
= 0 ;
28171 char *kwnames
[] = {
28172 (char *) "self", NULL
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28177 if (SWIG_arg_fail(1)) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= wxPyMake_wxObject(result
, 0);
28194 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxWindow
*arg1
= (wxWindow
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28205 if (SWIG_arg_fail(1)) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= wxPyMake_wxObject(result
, 0);
28222 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxWindow
*arg1
= (wxWindow
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28250 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxWindow
*arg1
= (wxWindow
*) 0 ;
28253 wxWindow
*arg2
= (wxWindow
*) 0 ;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self",(char *) "newParent", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28263 if (SWIG_arg_fail(1)) SWIG_fail
;
28264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28265 if (SWIG_arg_fail(2)) SWIG_fail
;
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 result
= (bool)(arg1
)->Reparent(arg2
);
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28282 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
;
28284 wxWindow
*arg1
= (wxWindow
*) 0 ;
28285 wxWindow
*arg2
= (wxWindow
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 char *kwnames
[] = {
28289 (char *) "self",(char *) "child", NULL
28292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28294 if (SWIG_arg_fail(1)) SWIG_fail
;
28295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28296 if (SWIG_arg_fail(2)) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 (arg1
)->AddChild(arg2
);
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 Py_INCREF(Py_None
); resultobj
= Py_None
;
28311 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxWindow
*arg1
= (wxWindow
*) 0 ;
28314 wxWindow
*arg2
= (wxWindow
*) 0 ;
28315 PyObject
* obj0
= 0 ;
28316 PyObject
* obj1
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "self",(char *) "child", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28323 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28325 if (SWIG_arg_fail(2)) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 (arg1
)->RemoveChild(arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 Py_INCREF(Py_None
); resultobj
= Py_None
;
28340 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxWindow
*arg1
= (wxWindow
*) 0 ;
28345 PyObject
* obj0
= 0 ;
28346 PyObject
* obj1
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self",(char *) "winid", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28353 if (SWIG_arg_fail(1)) SWIG_fail
;
28355 arg2
= (long)(SWIG_As_long(obj1
));
28356 if (SWIG_arg_fail(2)) SWIG_fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= wxPyMake_wxObject(result
, 0);
28374 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxWindow
*arg1
= (wxWindow
*) 0 ;
28377 wxString
*arg2
= 0 ;
28379 bool temp2
= false ;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self",(char *) "name", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail
;
28390 arg2
= wxString_in_helper(obj1
);
28391 if (arg2
== NULL
) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= wxPyMake_wxObject(result
, 0);
28418 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxWindow
*arg1
= (wxWindow
*) 0 ;
28421 wxEvtHandler
*result
;
28422 PyObject
* obj0
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28429 if (SWIG_arg_fail(1)) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= wxPyMake_wxObject(result
, 0);
28446 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
;
28448 wxWindow
*arg1
= (wxWindow
*) 0 ;
28449 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 char *kwnames
[] = {
28453 (char *) "self",(char *) "handler", NULL
28456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28458 if (SWIG_arg_fail(1)) SWIG_fail
;
28459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28460 if (SWIG_arg_fail(2)) SWIG_fail
;
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 (arg1
)->SetEventHandler(arg2
);
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 Py_INCREF(Py_None
); resultobj
= Py_None
;
28475 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxWindow
*arg1
= (wxWindow
*) 0 ;
28478 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28479 PyObject
* obj0
= 0 ;
28480 PyObject
* obj1
= 0 ;
28481 char *kwnames
[] = {
28482 (char *) "self",(char *) "handler", NULL
28485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(1)) SWIG_fail
;
28488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28489 if (SWIG_arg_fail(2)) SWIG_fail
;
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 (arg1
)->PushEventHandler(arg2
);
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 Py_INCREF(Py_None
); resultobj
= Py_None
;
28504 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
;
28506 wxWindow
*arg1
= (wxWindow
*) 0 ;
28507 bool arg2
= (bool) false ;
28508 wxEvtHandler
*result
;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self",(char *) "deleteHandler", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28517 if (SWIG_arg_fail(1)) SWIG_fail
;
28520 arg2
= (bool)(SWIG_As_bool(obj1
));
28521 if (SWIG_arg_fail(2)) SWIG_fail
;
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28528 wxPyEndAllowThreads(__tstate
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= wxPyMake_wxObject(result
, 0);
28540 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxWindow
*arg1
= (wxWindow
*) 0 ;
28543 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self",(char *) "handler", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail
;
28554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(2)) SWIG_fail
;
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28572 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxWindow
*arg1
= (wxWindow
*) 0 ;
28575 wxValidator
*arg2
= 0 ;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "validator", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail
;
28586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28587 if (SWIG_arg_fail(2)) SWIG_fail
;
28588 if (arg2
== NULL
) {
28589 SWIG_null_ref("wxValidator");
28591 if (SWIG_arg_fail(2)) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 Py_INCREF(Py_None
); resultobj
= Py_None
;
28607 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
;
28609 wxWindow
*arg1
= (wxWindow
*) 0 ;
28610 wxValidator
*result
;
28611 PyObject
* obj0
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28618 if (SWIG_arg_fail(1)) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= (wxValidator
*)(arg1
)->GetValidator();
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= wxPyMake_wxObject(result
, 0);
28635 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28636 PyObject
*resultobj
;
28637 wxWindow
*arg1
= (wxWindow
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28646 if (SWIG_arg_fail(1)) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= (bool)(arg1
)->Validate();
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28663 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
;
28665 wxWindow
*arg1
= (wxWindow
*) 0 ;
28667 PyObject
* obj0
= 0 ;
28668 char *kwnames
[] = {
28669 (char *) "self", NULL
28672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28674 if (SWIG_arg_fail(1)) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (bool)(arg1
)->TransferDataToWindow();
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28691 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxWindow
*arg1
= (wxWindow
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "self", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (bool)(arg1
)->TransferDataFromWindow();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28719 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
;
28721 wxWindow
*arg1
= (wxWindow
*) 0 ;
28722 PyObject
* obj0
= 0 ;
28723 char *kwnames
[] = {
28724 (char *) "self", NULL
28727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28729 if (SWIG_arg_fail(1)) SWIG_fail
;
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 (arg1
)->InitDialog();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 Py_INCREF(Py_None
); resultobj
= Py_None
;
28744 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
;
28746 wxWindow
*arg1
= (wxWindow
*) 0 ;
28747 wxAcceleratorTable
*arg2
= 0 ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self",(char *) "accel", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28756 if (SWIG_arg_fail(1)) SWIG_fail
;
28758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28759 if (SWIG_arg_fail(2)) SWIG_fail
;
28760 if (arg2
== NULL
) {
28761 SWIG_null_ref("wxAcceleratorTable");
28763 if (SWIG_arg_fail(2)) SWIG_fail
;
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 Py_INCREF(Py_None
); resultobj
= Py_None
;
28779 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxWindow
*arg1
= (wxWindow
*) 0 ;
28782 wxAcceleratorTable
*result
;
28783 PyObject
* obj0
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28790 if (SWIG_arg_fail(1)) SWIG_fail
;
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28805 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28806 PyObject
*resultobj
;
28807 wxWindow
*arg1
= (wxWindow
*) 0 ;
28812 PyObject
* obj0
= 0 ;
28813 PyObject
* obj1
= 0 ;
28814 PyObject
* obj2
= 0 ;
28815 PyObject
* obj3
= 0 ;
28816 char *kwnames
[] = {
28817 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28822 if (SWIG_arg_fail(1)) SWIG_fail
;
28824 arg2
= (int)(SWIG_As_int(obj1
));
28825 if (SWIG_arg_fail(2)) SWIG_fail
;
28828 arg3
= (int)(SWIG_As_int(obj2
));
28829 if (SWIG_arg_fail(3)) SWIG_fail
;
28832 arg4
= (int)(SWIG_As_int(obj3
));
28833 if (SWIG_arg_fail(4)) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28851 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxWindow
*arg1
= (wxWindow
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "hotkeyId", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28864 if (SWIG_arg_fail(1)) SWIG_fail
;
28866 arg2
= (int)(SWIG_As_int(obj1
));
28867 if (SWIG_arg_fail(2)) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28885 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxWindow
*arg1
= (wxWindow
*) 0 ;
28888 wxPoint
*arg2
= 0 ;
28891 PyObject
* obj0
= 0 ;
28892 PyObject
* obj1
= 0 ;
28893 char *kwnames
[] = {
28894 (char *) "self",(char *) "pt", NULL
28897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28899 if (SWIG_arg_fail(1)) SWIG_fail
;
28902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28912 wxPoint
* resultptr
;
28913 resultptr
= new wxPoint((wxPoint
&)(result
));
28914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28922 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28923 PyObject
*resultobj
;
28924 wxWindow
*arg1
= (wxWindow
*) 0 ;
28928 PyObject
* obj0
= 0 ;
28929 PyObject
* obj1
= 0 ;
28930 char *kwnames
[] = {
28931 (char *) "self",(char *) "sz", NULL
28934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28936 if (SWIG_arg_fail(1)) SWIG_fail
;
28939 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28949 wxSize
* resultptr
;
28950 resultptr
= new wxSize((wxSize
&)(result
));
28951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28959 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
;
28961 wxWindow
*arg1
= (wxWindow
*) 0 ;
28962 wxPoint
*arg2
= 0 ;
28965 PyObject
* obj0
= 0 ;
28966 PyObject
* obj1
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self",(char *) "pt", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28973 if (SWIG_arg_fail(1)) SWIG_fail
;
28976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28980 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28986 wxPoint
* resultptr
;
28987 resultptr
= new wxPoint((wxPoint
&)(result
));
28988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28996 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
;
28998 wxWindow
*arg1
= (wxWindow
*) 0 ;
29002 PyObject
* obj0
= 0 ;
29003 PyObject
* obj1
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "self",(char *) "sz", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29010 if (SWIG_arg_fail(1)) SWIG_fail
;
29013 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29023 wxSize
* resultptr
;
29024 resultptr
= new wxSize((wxSize
&)(result
));
29025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29033 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
;
29035 wxWindow
*arg1
= (wxWindow
*) 0 ;
29036 wxPoint
*arg2
= 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char *kwnames
[] = {
29042 (char *) "self",(char *) "pt", NULL
29045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29047 if (SWIG_arg_fail(1)) SWIG_fail
;
29050 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29060 wxPoint
* resultptr
;
29061 resultptr
= new wxPoint((wxPoint
&)(result
));
29062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29070 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29071 PyObject
*resultobj
;
29072 wxWindow
*arg1
= (wxWindow
*) 0 ;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "self",(char *) "sz", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29084 if (SWIG_arg_fail(1)) SWIG_fail
;
29087 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29097 wxSize
* resultptr
;
29098 resultptr
= new wxSize((wxSize
&)(result
));
29099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29107 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
;
29109 wxWindow
*arg1
= (wxWindow
*) 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "x",(char *) "y", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail
;
29123 arg2
= (int)(SWIG_As_int(obj1
));
29124 if (SWIG_arg_fail(2)) SWIG_fail
;
29127 arg3
= (int)(SWIG_As_int(obj2
));
29128 if (SWIG_arg_fail(3)) SWIG_fail
;
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 (arg1
)->WarpPointer(arg2
,arg3
);
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 Py_INCREF(Py_None
); resultobj
= Py_None
;
29144 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
;
29146 wxWindow
*arg1
= (wxWindow
*) 0 ;
29147 PyObject
* obj0
= 0 ;
29148 char *kwnames
[] = {
29149 (char *) "self", NULL
29152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29154 if (SWIG_arg_fail(1)) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 (arg1
)->CaptureMouse();
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 Py_INCREF(Py_None
); resultobj
= Py_None
;
29169 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
;
29171 wxWindow
*arg1
= (wxWindow
*) 0 ;
29172 PyObject
* obj0
= 0 ;
29173 char *kwnames
[] = {
29174 (char *) "self", NULL
29177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29179 if (SWIG_arg_fail(1)) SWIG_fail
;
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 (arg1
)->ReleaseMouse();
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 Py_INCREF(Py_None
); resultobj
= Py_None
;
29194 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29197 char *kwnames
[] = {
29201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29203 if (!wxPyCheckForApp()) SWIG_fail
;
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 result
= (wxWindow
*)wxWindow::GetCapture();
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= wxPyMake_wxObject(result
, 0);
29219 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
;
29221 wxWindow
*arg1
= (wxWindow
*) 0 ;
29223 PyObject
* obj0
= 0 ;
29224 char *kwnames
[] = {
29225 (char *) "self", NULL
29228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29230 if (SWIG_arg_fail(1)) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29247 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxWindow
*arg1
= (wxWindow
*) 0 ;
29250 bool arg2
= (bool) true ;
29251 wxRect
*arg3
= (wxRect
*) NULL
;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 PyObject
* obj2
= 0 ;
29255 char *kwnames
[] = {
29256 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29261 if (SWIG_arg_fail(1)) SWIG_fail
;
29264 arg2
= (bool)(SWIG_As_bool(obj1
));
29265 if (SWIG_arg_fail(2)) SWIG_fail
;
29269 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(3)) SWIG_fail
;
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29279 Py_INCREF(Py_None
); resultobj
= Py_None
;
29286 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
;
29288 wxWindow
*arg1
= (wxWindow
*) 0 ;
29290 bool arg3
= (bool) true ;
29292 PyObject
* obj0
= 0 ;
29293 PyObject
* obj1
= 0 ;
29294 PyObject
* obj2
= 0 ;
29295 char *kwnames
[] = {
29296 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29301 if (SWIG_arg_fail(1)) SWIG_fail
;
29304 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29308 arg3
= (bool)(SWIG_As_bool(obj2
));
29309 if (SWIG_arg_fail(3)) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 Py_INCREF(Py_None
); resultobj
= Py_None
;
29326 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29327 PyObject
*resultobj
;
29328 wxWindow
*arg1
= (wxWindow
*) 0 ;
29329 PyObject
* obj0
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29336 if (SWIG_arg_fail(1)) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 Py_INCREF(Py_None
); resultobj
= Py_None
;
29351 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxWindow
*arg1
= (wxWindow
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 (arg1
)->ClearBackground();
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29376 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxWindow
*arg1
= (wxWindow
*) 0 ;
29379 PyObject
* obj0
= 0 ;
29380 char *kwnames
[] = {
29381 (char *) "self", NULL
29384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29386 if (SWIG_arg_fail(1)) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29394 Py_INCREF(Py_None
); resultobj
= Py_None
;
29401 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
;
29403 wxWindow
*arg1
= (wxWindow
*) 0 ;
29404 PyObject
* obj0
= 0 ;
29405 char *kwnames
[] = {
29406 (char *) "self", NULL
29409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29411 if (SWIG_arg_fail(1)) SWIG_fail
;
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 Py_INCREF(Py_None
); resultobj
= Py_None
;
29426 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
;
29428 wxWindow
*arg1
= (wxWindow
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 PyObject
* obj1
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "self",(char *) "dc", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29438 if (SWIG_arg_fail(1)) SWIG_fail
;
29440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29441 if (SWIG_arg_fail(2)) SWIG_fail
;
29442 if (arg2
== NULL
) {
29443 SWIG_null_ref("wxDC");
29445 if (SWIG_arg_fail(2)) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 (arg1
)->PrepareDC(*arg2
);
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 Py_INCREF(Py_None
); resultobj
= Py_None
;
29461 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxWindow
*arg1
= (wxWindow
*) 0 ;
29465 PyObject
* obj0
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29472 if (SWIG_arg_fail(1)) SWIG_fail
;
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29477 result
= (wxRegion
*) &_result_ref
;
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29490 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29491 PyObject
*resultobj
;
29492 wxWindow
*arg1
= (wxWindow
*) 0 ;
29494 PyObject
* obj0
= 0 ;
29495 char *kwnames
[] = {
29496 (char *) "self", NULL
29499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29501 if (SWIG_arg_fail(1)) SWIG_fail
;
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29510 wxRect
* resultptr
;
29511 resultptr
= new wxRect((wxRect
&)(result
));
29512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29520 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
;
29522 wxWindow
*arg1
= (wxWindow
*) 0 ;
29525 int arg4
= (int) 1 ;
29526 int arg5
= (int) 1 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 PyObject
* obj2
= 0 ;
29531 PyObject
* obj3
= 0 ;
29532 PyObject
* obj4
= 0 ;
29533 char *kwnames
[] = {
29534 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29539 if (SWIG_arg_fail(1)) SWIG_fail
;
29541 arg2
= (int)(SWIG_As_int(obj1
));
29542 if (SWIG_arg_fail(2)) SWIG_fail
;
29545 arg3
= (int)(SWIG_As_int(obj2
));
29546 if (SWIG_arg_fail(3)) SWIG_fail
;
29550 arg4
= (int)(SWIG_As_int(obj3
));
29551 if (SWIG_arg_fail(4)) SWIG_fail
;
29556 arg5
= (int)(SWIG_As_int(obj4
));
29557 if (SWIG_arg_fail(5)) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29576 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxWindow
*arg1
= (wxWindow
*) 0 ;
29579 wxPoint
*arg2
= 0 ;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self",(char *) "pt", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29590 if (SWIG_arg_fail(1)) SWIG_fail
;
29593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29611 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxWindow
*arg1
= (wxWindow
*) 0 ;
29617 PyObject
* obj0
= 0 ;
29618 PyObject
* obj1
= 0 ;
29619 char *kwnames
[] = {
29620 (char *) "self",(char *) "rect", NULL
29623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29625 if (SWIG_arg_fail(1)) SWIG_fail
;
29628 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29646 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29647 PyObject
*resultobj
;
29648 wxWindow
*arg1
= (wxWindow
*) 0 ;
29649 wxVisualAttributes result
;
29650 PyObject
* obj0
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29657 if (SWIG_arg_fail(1)) SWIG_fail
;
29659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29660 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29666 wxVisualAttributes
* resultptr
;
29667 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29676 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
;
29678 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29679 wxVisualAttributes result
;
29680 PyObject
* obj0
= 0 ;
29681 char *kwnames
[] = {
29682 (char *) "variant", NULL
29685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29688 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29689 if (SWIG_arg_fail(1)) SWIG_fail
;
29693 if (!wxPyCheckForApp()) SWIG_fail
;
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29697 wxPyEndAllowThreads(__tstate
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29701 wxVisualAttributes
* resultptr
;
29702 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29711 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxWindow
*arg1
= (wxWindow
*) 0 ;
29714 wxColour
*arg2
= 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self",(char *) "colour", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29725 if (SWIG_arg_fail(1)) SWIG_fail
;
29728 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29746 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29747 PyObject
*resultobj
;
29748 wxWindow
*arg1
= (wxWindow
*) 0 ;
29749 wxColour
*arg2
= 0 ;
29751 PyObject
* obj0
= 0 ;
29752 PyObject
* obj1
= 0 ;
29753 char *kwnames
[] = {
29754 (char *) "self",(char *) "colour", NULL
29757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29759 if (SWIG_arg_fail(1)) SWIG_fail
;
29762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 Py_INCREF(Py_None
); resultobj
= Py_None
;
29778 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
;
29780 wxWindow
*arg1
= (wxWindow
*) 0 ;
29781 wxColour
*arg2
= 0 ;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 char *kwnames
[] = {
29787 (char *) "self",(char *) "colour", NULL
29790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29792 if (SWIG_arg_fail(1)) SWIG_fail
;
29795 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29813 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxWindow
*arg1
= (wxWindow
*) 0 ;
29816 wxColour
*arg2
= 0 ;
29818 PyObject
* obj0
= 0 ;
29819 PyObject
* obj1
= 0 ;
29820 char *kwnames
[] = {
29821 (char *) "self",(char *) "colour", NULL
29824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29826 if (SWIG_arg_fail(1)) SWIG_fail
;
29829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29838 Py_INCREF(Py_None
); resultobj
= Py_None
;
29845 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29846 PyObject
*resultobj
;
29847 wxWindow
*arg1
= (wxWindow
*) 0 ;
29849 PyObject
* obj0
= 0 ;
29850 char *kwnames
[] = {
29851 (char *) "self", NULL
29854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29856 if (SWIG_arg_fail(1)) SWIG_fail
;
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29865 wxColour
* resultptr
;
29866 resultptr
= new wxColour((wxColour
&)(result
));
29867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29875 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
;
29877 wxWindow
*arg1
= (wxWindow
*) 0 ;
29879 PyObject
* obj0
= 0 ;
29880 char *kwnames
[] = {
29881 (char *) "self", NULL
29884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29886 if (SWIG_arg_fail(1)) SWIG_fail
;
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29891 wxPyEndAllowThreads(__tstate
);
29892 if (PyErr_Occurred()) SWIG_fail
;
29895 wxColour
* resultptr
;
29896 resultptr
= new wxColour((wxColour
&)(result
));
29897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29905 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29906 PyObject
*resultobj
;
29907 wxWindow
*arg1
= (wxWindow
*) 0 ;
29909 PyObject
* obj0
= 0 ;
29910 char *kwnames
[] = {
29911 (char *) "self", NULL
29914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29916 if (SWIG_arg_fail(1)) SWIG_fail
;
29918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29919 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29933 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
;
29935 wxWindow
*arg1
= (wxWindow
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29944 if (SWIG_arg_fail(1)) SWIG_fail
;
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29947 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29961 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
;
29963 wxWindow
*arg1
= (wxWindow
*) 0 ;
29964 wxBackgroundStyle arg2
;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self",(char *) "style", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29974 if (SWIG_arg_fail(1)) SWIG_fail
;
29976 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29977 if (SWIG_arg_fail(2)) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29995 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxWindow
*arg1
= (wxWindow
*) 0 ;
29998 wxBackgroundStyle result
;
29999 PyObject
* obj0
= 0 ;
30000 char *kwnames
[] = {
30001 (char *) "self", NULL
30004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30006 if (SWIG_arg_fail(1)) SWIG_fail
;
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30011 wxPyEndAllowThreads(__tstate
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30014 resultobj
= SWIG_From_int((result
));
30021 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
;
30023 wxWindow
*arg1
= (wxWindow
*) 0 ;
30025 PyObject
* obj0
= 0 ;
30026 char *kwnames
[] = {
30027 (char *) "self", NULL
30030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30032 if (SWIG_arg_fail(1)) SWIG_fail
;
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (bool)(arg1
)->HasTransparentBackground();
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30049 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxWindow
*arg1
= (wxWindow
*) 0 ;
30052 wxCursor
*arg2
= 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "cursor", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30062 if (SWIG_arg_fail(1)) SWIG_fail
;
30064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30065 if (SWIG_arg_fail(2)) SWIG_fail
;
30066 if (arg2
== NULL
) {
30067 SWIG_null_ref("wxCursor");
30069 if (SWIG_arg_fail(2)) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30087 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxWindow
*arg1
= (wxWindow
*) 0 ;
30091 PyObject
* obj0
= 0 ;
30092 char *kwnames
[] = {
30093 (char *) "self", NULL
30096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30098 if (SWIG_arg_fail(1)) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (arg1
)->GetCursor();
30103 wxPyEndAllowThreads(__tstate
);
30104 if (PyErr_Occurred()) SWIG_fail
;
30107 wxCursor
* resultptr
;
30108 resultptr
= new wxCursor((wxCursor
&)(result
));
30109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30117 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
;
30119 wxWindow
*arg1
= (wxWindow
*) 0 ;
30122 PyObject
* obj0
= 0 ;
30123 PyObject
* obj1
= 0 ;
30124 char *kwnames
[] = {
30125 (char *) "self",(char *) "font", NULL
30128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail
;
30132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30133 if (SWIG_arg_fail(2)) SWIG_fail
;
30134 if (arg2
== NULL
) {
30135 SWIG_null_ref("wxFont");
30137 if (SWIG_arg_fail(2)) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30155 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
;
30157 wxWindow
*arg1
= (wxWindow
*) 0 ;
30159 PyObject
* obj0
= 0 ;
30160 PyObject
* obj1
= 0 ;
30161 char *kwnames
[] = {
30162 (char *) "self",(char *) "font", NULL
30165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30167 if (SWIG_arg_fail(1)) SWIG_fail
;
30169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30170 if (SWIG_arg_fail(2)) SWIG_fail
;
30171 if (arg2
== NULL
) {
30172 SWIG_null_ref("wxFont");
30174 if (SWIG_arg_fail(2)) SWIG_fail
;
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30183 Py_INCREF(Py_None
); resultobj
= Py_None
;
30190 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
;
30192 wxWindow
*arg1
= (wxWindow
*) 0 ;
30194 PyObject
* obj0
= 0 ;
30195 char *kwnames
[] = {
30196 (char *) "self", NULL
30199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30201 if (SWIG_arg_fail(1)) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (arg1
)->GetFont();
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30210 wxFont
* resultptr
;
30211 resultptr
= new wxFont((wxFont
&)(result
));
30212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30220 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxWindow
*arg1
= (wxWindow
*) 0 ;
30223 wxCaret
*arg2
= (wxCaret
*) 0 ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char *kwnames
[] = {
30227 (char *) "self",(char *) "caret", NULL
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30232 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 (arg1
)->SetCaret(arg2
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 Py_INCREF(Py_None
); resultobj
= Py_None
;
30249 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30250 PyObject
*resultobj
;
30251 wxWindow
*arg1
= (wxWindow
*) 0 ;
30253 PyObject
* obj0
= 0 ;
30254 char *kwnames
[] = {
30255 (char *) "self", NULL
30258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30260 if (SWIG_arg_fail(1)) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30275 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
;
30277 wxWindow
*arg1
= (wxWindow
*) 0 ;
30279 PyObject
* obj0
= 0 ;
30280 char *kwnames
[] = {
30281 (char *) "self", NULL
30284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30286 if (SWIG_arg_fail(1)) SWIG_fail
;
30288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30289 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= SWIG_From_int((int)(result
));
30303 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
;
30305 wxWindow
*arg1
= (wxWindow
*) 0 ;
30307 PyObject
* obj0
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail
;
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30317 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= SWIG_From_int((int)(result
));
30331 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
;
30333 wxWindow
*arg1
= (wxWindow
*) 0 ;
30334 wxString
*arg2
= 0 ;
30335 int *arg3
= (int *) 0 ;
30336 int *arg4
= (int *) 0 ;
30337 bool temp2
= false ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self",(char *) "string", NULL
30348 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30349 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 arg2
= wxString_in_helper(obj1
);
30355 if (arg2
== NULL
) SWIG_fail
;
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 Py_INCREF(Py_None
); resultobj
= Py_None
;
30366 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30367 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30368 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30369 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30384 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
;
30386 wxWindow
*arg1
= (wxWindow
*) 0 ;
30387 wxString
*arg2
= 0 ;
30388 int *arg3
= (int *) 0 ;
30389 int *arg4
= (int *) 0 ;
30390 int *arg5
= (int *) 0 ;
30391 int *arg6
= (int *) 0 ;
30392 wxFont
*arg7
= (wxFont
*) NULL
;
30393 bool temp2
= false ;
30402 PyObject
* obj0
= 0 ;
30403 PyObject
* obj1
= 0 ;
30404 PyObject
* obj2
= 0 ;
30405 char *kwnames
[] = {
30406 (char *) "self",(char *) "string",(char *) "font", NULL
30409 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30410 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30411 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30412 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(1)) SWIG_fail
;
30417 arg2
= wxString_in_helper(obj1
);
30418 if (arg2
== NULL
) SWIG_fail
;
30422 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30423 if (SWIG_arg_fail(7)) SWIG_fail
;
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 Py_INCREF(Py_None
); resultobj
= Py_None
;
30433 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30434 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30435 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30436 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30437 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30438 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30439 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30440 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30455 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
;
30457 wxWindow
*arg1
= (wxWindow
*) 0 ;
30458 int *arg2
= (int *) 0 ;
30459 int *arg3
= (int *) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 PyObject
* obj2
= 0 ;
30467 char *kwnames
[] = {
30468 (char *) "self",(char *) "x",(char *) "y", NULL
30471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30473 if (SWIG_arg_fail(1)) SWIG_fail
;
30475 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30476 temp2
= SWIG_As_int(obj1
);
30477 if (SWIG_arg_fail(2)) SWIG_fail
;
30479 res2
= SWIG_NEWOBJ
;
30483 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30484 temp3
= SWIG_As_int(obj2
);
30485 if (SWIG_arg_fail(3)) SWIG_fail
;
30487 res3
= SWIG_NEWOBJ
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 Py_INCREF(Py_None
); resultobj
= Py_None
;
30498 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30499 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30500 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30501 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30508 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxWindow
*arg1
= (wxWindow
*) 0 ;
30511 int *arg2
= (int *) 0 ;
30512 int *arg3
= (int *) 0 ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 PyObject
* obj2
= 0 ;
30520 char *kwnames
[] = {
30521 (char *) "self",(char *) "x",(char *) "y", NULL
30524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30526 if (SWIG_arg_fail(1)) SWIG_fail
;
30528 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30529 temp2
= SWIG_As_int(obj1
);
30530 if (SWIG_arg_fail(2)) SWIG_fail
;
30532 res2
= SWIG_NEWOBJ
;
30536 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30537 temp3
= SWIG_As_int(obj2
);
30538 if (SWIG_arg_fail(3)) SWIG_fail
;
30540 res3
= SWIG_NEWOBJ
;
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30550 Py_INCREF(Py_None
); resultobj
= Py_None
;
30551 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30552 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30553 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30554 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30561 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxWindow
*arg1
= (wxWindow
*) 0 ;
30564 wxPoint
*arg2
= 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "pt", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30575 if (SWIG_arg_fail(1)) SWIG_fail
;
30578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30588 wxPoint
* resultptr
;
30589 resultptr
= new wxPoint((wxPoint
&)(result
));
30590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30598 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxWindow
*arg1
= (wxWindow
*) 0 ;
30601 wxPoint
*arg2
= 0 ;
30604 PyObject
* obj0
= 0 ;
30605 PyObject
* obj1
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self",(char *) "pt", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30612 if (SWIG_arg_fail(1)) SWIG_fail
;
30615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30625 wxPoint
* resultptr
;
30626 resultptr
= new wxPoint((wxPoint
&)(result
));
30627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30635 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxWindow
*arg1
= (wxWindow
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 PyObject
* obj2
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self",(char *) "x",(char *) "y", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30650 if (SWIG_arg_fail(1)) SWIG_fail
;
30652 arg2
= (int)(SWIG_As_int(obj1
));
30653 if (SWIG_arg_fail(2)) SWIG_fail
;
30656 arg3
= (int)(SWIG_As_int(obj2
));
30657 if (SWIG_arg_fail(3)) SWIG_fail
;
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= SWIG_From_int((result
));
30673 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
;
30675 wxWindow
*arg1
= (wxWindow
*) 0 ;
30676 wxPoint
*arg2
= 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self",(char *) "pt", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(1)) SWIG_fail
;
30690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 resultobj
= SWIG_From_int((result
));
30706 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30707 PyObject
*resultobj
;
30708 wxWindow
*arg1
= (wxWindow
*) 0 ;
30711 PyObject
* obj0
= 0 ;
30712 PyObject
* obj1
= 0 ;
30714 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30716 if (SWIG_arg_fail(1)) SWIG_fail
;
30718 arg2
= (long)(SWIG_As_long(obj1
));
30719 if (SWIG_arg_fail(2)) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 resultobj
= SWIG_From_int((result
));
30735 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30736 PyObject
*resultobj
;
30737 wxWindow
*arg1
= (wxWindow
*) 0 ;
30739 PyObject
* obj0
= 0 ;
30741 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(1)) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= SWIG_From_int((result
));
30758 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30763 argc
= PyObject_Length(args
);
30764 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30765 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30771 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30779 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30786 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30794 _v
= SWIG_Check_long(argv
[1]);
30796 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30801 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30806 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
;
30808 wxWindow
*arg1
= (wxWindow
*) 0 ;
30809 long arg2
= (long) wxUPDATE_UI_NONE
;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self",(char *) "flags", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30818 if (SWIG_arg_fail(1)) SWIG_fail
;
30821 arg2
= (long)(SWIG_As_long(obj1
));
30822 if (SWIG_arg_fail(2)) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 (arg1
)->UpdateWindowUI(arg2
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 Py_INCREF(Py_None
); resultobj
= Py_None
;
30839 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
;
30841 wxWindow
*arg1
= (wxWindow
*) 0 ;
30842 wxMenu
*arg2
= (wxMenu
*) 0 ;
30843 int arg3
= (int) -1 ;
30844 int arg4
= (int) -1 ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 PyObject
* obj2
= 0 ;
30849 PyObject
* obj3
= 0 ;
30850 char *kwnames
[] = {
30851 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30856 if (SWIG_arg_fail(1)) SWIG_fail
;
30857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30858 if (SWIG_arg_fail(2)) SWIG_fail
;
30861 arg3
= (int)(SWIG_As_int(obj2
));
30862 if (SWIG_arg_fail(3)) SWIG_fail
;
30867 arg4
= (int)(SWIG_As_int(obj3
));
30868 if (SWIG_arg_fail(4)) SWIG_fail
;
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30887 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxWindow
*arg1
= (wxWindow
*) 0 ;
30890 wxMenu
*arg2
= (wxMenu
*) 0 ;
30891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30895 PyObject
* obj0
= 0 ;
30896 PyObject
* obj1
= 0 ;
30897 PyObject
* obj2
= 0 ;
30898 char *kwnames
[] = {
30899 (char *) "self",(char *) "menu",(char *) "pos", NULL
30902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30904 if (SWIG_arg_fail(1)) SWIG_fail
;
30905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30906 if (SWIG_arg_fail(2)) SWIG_fail
;
30910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30929 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
;
30931 wxWindow
*arg1
= (wxWindow
*) 0 ;
30933 PyObject
* obj0
= 0 ;
30934 char *kwnames
[] = {
30935 (char *) "self", NULL
30938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30940 if (SWIG_arg_fail(1)) SWIG_fail
;
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (long)wxWindow_GetHandle(arg1
);
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= SWIG_From_long((long)(result
));
30957 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30958 PyObject
*resultobj
;
30959 wxWindow
*arg1
= (wxWindow
*) 0 ;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 char *kwnames
[] = {
30964 (char *) "self",(char *) "handle", NULL
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30969 if (SWIG_arg_fail(1)) SWIG_fail
;
30971 arg2
= (long)(SWIG_As_long(obj1
));
30972 if (SWIG_arg_fail(2)) SWIG_fail
;
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 wxWindow_AssociateHandle(arg1
,arg2
);
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30981 Py_INCREF(Py_None
); resultobj
= Py_None
;
30988 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxWindow
*arg1
= (wxWindow
*) 0 ;
30991 PyObject
* obj0
= 0 ;
30992 char *kwnames
[] = {
30993 (char *) "self", NULL
30996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30998 if (SWIG_arg_fail(1)) SWIG_fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 (arg1
)->DissociateHandle();
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31006 Py_INCREF(Py_None
); resultobj
= Py_None
;
31013 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
;
31015 wxWindow
*arg1
= (wxWindow
*) 0 ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "orient", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31026 if (SWIG_arg_fail(1)) SWIG_fail
;
31028 arg2
= (int)(SWIG_As_int(obj1
));
31029 if (SWIG_arg_fail(2)) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31047 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
;
31049 wxWindow
*arg1
= (wxWindow
*) 0 ;
31054 bool arg6
= (bool) true ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 PyObject
* obj2
= 0 ;
31058 PyObject
* obj3
= 0 ;
31059 PyObject
* obj4
= 0 ;
31060 PyObject
* obj5
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31067 if (SWIG_arg_fail(1)) SWIG_fail
;
31069 arg2
= (int)(SWIG_As_int(obj1
));
31070 if (SWIG_arg_fail(2)) SWIG_fail
;
31073 arg3
= (int)(SWIG_As_int(obj2
));
31074 if (SWIG_arg_fail(3)) SWIG_fail
;
31077 arg4
= (int)(SWIG_As_int(obj3
));
31078 if (SWIG_arg_fail(4)) SWIG_fail
;
31081 arg5
= (int)(SWIG_As_int(obj4
));
31082 if (SWIG_arg_fail(5)) SWIG_fail
;
31086 arg6
= (bool)(SWIG_As_bool(obj5
));
31087 if (SWIG_arg_fail(6)) SWIG_fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 Py_INCREF(Py_None
); resultobj
= Py_None
;
31104 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
;
31106 wxWindow
*arg1
= (wxWindow
*) 0 ;
31109 bool arg4
= (bool) true ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 PyObject
* obj2
= 0 ;
31113 PyObject
* obj3
= 0 ;
31114 char *kwnames
[] = {
31115 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31120 if (SWIG_arg_fail(1)) SWIG_fail
;
31122 arg2
= (int)(SWIG_As_int(obj1
));
31123 if (SWIG_arg_fail(2)) SWIG_fail
;
31126 arg3
= (int)(SWIG_As_int(obj2
));
31127 if (SWIG_arg_fail(3)) SWIG_fail
;
31131 arg4
= (bool)(SWIG_As_bool(obj3
));
31132 if (SWIG_arg_fail(4)) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31142 Py_INCREF(Py_None
); resultobj
= Py_None
;
31149 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31150 PyObject
*resultobj
;
31151 wxWindow
*arg1
= (wxWindow
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "orientation", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31162 if (SWIG_arg_fail(1)) SWIG_fail
;
31164 arg2
= (int)(SWIG_As_int(obj1
));
31165 if (SWIG_arg_fail(2)) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_From_int((int)(result
));
31183 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
;
31185 wxWindow
*arg1
= (wxWindow
*) 0 ;
31188 PyObject
* obj0
= 0 ;
31189 PyObject
* obj1
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self",(char *) "orientation", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31196 if (SWIG_arg_fail(1)) SWIG_fail
;
31198 arg2
= (int)(SWIG_As_int(obj1
));
31199 if (SWIG_arg_fail(2)) SWIG_fail
;
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= SWIG_From_int((int)(result
));
31217 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxWindow
*arg1
= (wxWindow
*) 0 ;
31222 PyObject
* obj0
= 0 ;
31223 PyObject
* obj1
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self",(char *) "orientation", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31230 if (SWIG_arg_fail(1)) SWIG_fail
;
31232 arg2
= (int)(SWIG_As_int(obj1
));
31233 if (SWIG_arg_fail(2)) SWIG_fail
;
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= SWIG_From_int((int)(result
));
31251 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
;
31253 wxWindow
*arg1
= (wxWindow
*) 0 ;
31256 wxRect
*arg4
= (wxRect
*) NULL
;
31257 PyObject
* obj0
= 0 ;
31258 PyObject
* obj1
= 0 ;
31259 PyObject
* obj2
= 0 ;
31260 PyObject
* obj3
= 0 ;
31261 char *kwnames
[] = {
31262 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31267 if (SWIG_arg_fail(1)) SWIG_fail
;
31269 arg2
= (int)(SWIG_As_int(obj1
));
31270 if (SWIG_arg_fail(2)) SWIG_fail
;
31273 arg3
= (int)(SWIG_As_int(obj2
));
31274 if (SWIG_arg_fail(3)) SWIG_fail
;
31277 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31278 if (SWIG_arg_fail(4)) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 Py_INCREF(Py_None
); resultobj
= Py_None
;
31294 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
;
31296 wxWindow
*arg1
= (wxWindow
*) 0 ;
31299 PyObject
* obj0
= 0 ;
31300 PyObject
* obj1
= 0 ;
31301 char *kwnames
[] = {
31302 (char *) "self",(char *) "lines", NULL
31305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31307 if (SWIG_arg_fail(1)) SWIG_fail
;
31309 arg2
= (int)(SWIG_As_int(obj1
));
31310 if (SWIG_arg_fail(2)) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 result
= (bool)(arg1
)->ScrollLines(arg2
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31328 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
;
31330 wxWindow
*arg1
= (wxWindow
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 PyObject
* obj1
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self",(char *) "pages", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31341 if (SWIG_arg_fail(1)) SWIG_fail
;
31343 arg2
= (int)(SWIG_As_int(obj1
));
31344 if (SWIG_arg_fail(2)) SWIG_fail
;
31347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31348 result
= (bool)(arg1
)->ScrollPages(arg2
);
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31362 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
;
31364 wxWindow
*arg1
= (wxWindow
*) 0 ;
31366 PyObject
* obj0
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "self", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31373 if (SWIG_arg_fail(1)) SWIG_fail
;
31375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31376 result
= (bool)(arg1
)->LineUp();
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31390 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
;
31392 wxWindow
*arg1
= (wxWindow
*) 0 ;
31394 PyObject
* obj0
= 0 ;
31395 char *kwnames
[] = {
31396 (char *) "self", NULL
31399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31401 if (SWIG_arg_fail(1)) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (bool)(arg1
)->LineDown();
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31418 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxWindow
*arg1
= (wxWindow
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 char *kwnames
[] = {
31424 (char *) "self", NULL
31427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31429 if (SWIG_arg_fail(1)) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= (bool)(arg1
)->PageUp();
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31446 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
;
31448 wxWindow
*arg1
= (wxWindow
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (bool)(arg1
)->PageDown();
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31474 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31475 PyObject
*resultobj
;
31476 wxWindow
*arg1
= (wxWindow
*) 0 ;
31477 wxString
*arg2
= 0 ;
31478 bool temp2
= false ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self",(char *) "text", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31487 if (SWIG_arg_fail(1)) SWIG_fail
;
31489 arg2
= wxString_in_helper(obj1
);
31490 if (arg2
== NULL
) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 Py_INCREF(Py_None
); resultobj
= Py_None
;
31515 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31516 PyObject
*resultobj
;
31517 wxWindow
*arg1
= (wxWindow
*) 0 ;
31518 wxString
*arg2
= 0 ;
31519 bool temp2
= false ;
31520 PyObject
* obj0
= 0 ;
31521 PyObject
* obj1
= 0 ;
31522 char *kwnames
[] = {
31523 (char *) "self",(char *) "text", NULL
31526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31528 if (SWIG_arg_fail(1)) SWIG_fail
;
31530 arg2
= wxString_in_helper(obj1
);
31531 if (arg2
== NULL
) SWIG_fail
;
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31538 wxPyEndAllowThreads(__tstate
);
31539 if (PyErr_Occurred()) SWIG_fail
;
31541 Py_INCREF(Py_None
); resultobj
= Py_None
;
31556 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
;
31558 wxWindow
*arg1
= (wxWindow
*) 0 ;
31560 PyObject
* obj0
= 0 ;
31561 char *kwnames
[] = {
31562 (char *) "self", NULL
31565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31567 if (SWIG_arg_fail(1)) SWIG_fail
;
31569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31570 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31572 wxPyEndAllowThreads(__tstate
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31588 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
;
31590 wxWindow
*arg1
= (wxWindow
*) 0 ;
31591 wxString
*arg2
= 0 ;
31592 bool temp2
= false ;
31593 PyObject
* obj0
= 0 ;
31594 PyObject
* obj1
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "self",(char *) "tip", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31601 if (SWIG_arg_fail(1)) SWIG_fail
;
31603 arg2
= wxString_in_helper(obj1
);
31604 if (arg2
== NULL
) SWIG_fail
;
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 Py_INCREF(Py_None
); resultobj
= Py_None
;
31629 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
;
31631 wxWindow
*arg1
= (wxWindow
*) 0 ;
31632 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31633 PyObject
* obj0
= 0 ;
31634 PyObject
* obj1
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self",(char *) "tip", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31641 if (SWIG_arg_fail(1)) SWIG_fail
;
31642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31643 if (SWIG_arg_fail(2)) SWIG_fail
;
31645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31646 (arg1
)->SetToolTip(arg2
);
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 Py_INCREF(Py_None
); resultobj
= Py_None
;
31658 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
;
31660 wxWindow
*arg1
= (wxWindow
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 char *kwnames
[] = {
31664 (char *) "self", NULL
31667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31669 if (SWIG_arg_fail(1)) SWIG_fail
;
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= wxPyMake_wxObject(result
, 0);
31686 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31687 PyObject
*resultobj
;
31688 wxWindow
*arg1
= (wxWindow
*) 0 ;
31689 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31690 PyObject
* obj0
= 0 ;
31691 PyObject
* obj1
= 0 ;
31692 char *kwnames
[] = {
31693 (char *) "self",(char *) "dropTarget", NULL
31696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31698 if (SWIG_arg_fail(1)) SWIG_fail
;
31699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31700 if (SWIG_arg_fail(2)) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 (arg1
)->SetDropTarget(arg2
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 Py_INCREF(Py_None
); resultobj
= Py_None
;
31715 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
;
31717 wxWindow
*arg1
= (wxWindow
*) 0 ;
31718 wxPyDropTarget
*result
;
31719 PyObject
* obj0
= 0 ;
31720 char *kwnames
[] = {
31721 (char *) "self", NULL
31724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31726 if (SWIG_arg_fail(1)) SWIG_fail
;
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31741 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31742 PyObject
*resultobj
;
31743 wxWindow
*arg1
= (wxWindow
*) 0 ;
31744 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 char *kwnames
[] = {
31748 (char *) "self",(char *) "constraints", NULL
31751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31753 if (SWIG_arg_fail(1)) SWIG_fail
;
31754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31755 if (SWIG_arg_fail(2)) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 (arg1
)->SetConstraints(arg2
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31763 Py_INCREF(Py_None
); resultobj
= Py_None
;
31770 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31771 PyObject
*resultobj
;
31772 wxWindow
*arg1
= (wxWindow
*) 0 ;
31773 wxLayoutConstraints
*result
;
31774 PyObject
* obj0
= 0 ;
31775 char *kwnames
[] = {
31776 (char *) "self", NULL
31779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31781 if (SWIG_arg_fail(1)) SWIG_fail
;
31783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31784 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31786 wxPyEndAllowThreads(__tstate
);
31787 if (PyErr_Occurred()) SWIG_fail
;
31789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31796 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31797 PyObject
*resultobj
;
31798 wxWindow
*arg1
= (wxWindow
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 char *kwnames
[] = {
31803 (char *) "self",(char *) "autoLayout", NULL
31806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31808 if (SWIG_arg_fail(1)) SWIG_fail
;
31810 arg2
= (bool)(SWIG_As_bool(obj1
));
31811 if (SWIG_arg_fail(2)) SWIG_fail
;
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 (arg1
)->SetAutoLayout(arg2
);
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31820 Py_INCREF(Py_None
); resultobj
= Py_None
;
31827 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
;
31829 wxWindow
*arg1
= (wxWindow
*) 0 ;
31831 PyObject
* obj0
= 0 ;
31832 char *kwnames
[] = {
31833 (char *) "self", NULL
31836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31838 if (SWIG_arg_fail(1)) SWIG_fail
;
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31843 wxPyEndAllowThreads(__tstate
);
31844 if (PyErr_Occurred()) SWIG_fail
;
31847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31855 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31856 PyObject
*resultobj
;
31857 wxWindow
*arg1
= (wxWindow
*) 0 ;
31859 PyObject
* obj0
= 0 ;
31860 char *kwnames
[] = {
31861 (char *) "self", NULL
31864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31866 if (SWIG_arg_fail(1)) SWIG_fail
;
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 result
= (bool)(arg1
)->Layout();
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31883 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxWindow
*arg1
= (wxWindow
*) 0 ;
31886 wxSizer
*arg2
= (wxSizer
*) 0 ;
31887 bool arg3
= (bool) true ;
31888 PyObject
* obj0
= 0 ;
31889 PyObject
* obj1
= 0 ;
31890 PyObject
* obj2
= 0 ;
31891 char *kwnames
[] = {
31892 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31897 if (SWIG_arg_fail(1)) SWIG_fail
;
31898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31899 if (SWIG_arg_fail(2)) SWIG_fail
;
31902 arg3
= (bool)(SWIG_As_bool(obj2
));
31903 if (SWIG_arg_fail(3)) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 (arg1
)->SetSizer(arg2
,arg3
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 Py_INCREF(Py_None
); resultobj
= Py_None
;
31920 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
;
31922 wxWindow
*arg1
= (wxWindow
*) 0 ;
31923 wxSizer
*arg2
= (wxSizer
*) 0 ;
31924 bool arg3
= (bool) true ;
31925 PyObject
* obj0
= 0 ;
31926 PyObject
* obj1
= 0 ;
31927 PyObject
* obj2
= 0 ;
31928 char *kwnames
[] = {
31929 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31934 if (SWIG_arg_fail(1)) SWIG_fail
;
31935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31936 if (SWIG_arg_fail(2)) SWIG_fail
;
31939 arg3
= (bool)(SWIG_As_bool(obj2
));
31940 if (SWIG_arg_fail(3)) SWIG_fail
;
31944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31945 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 Py_INCREF(Py_None
); resultobj
= Py_None
;
31957 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxWindow
*arg1
= (wxWindow
*) 0 ;
31961 PyObject
* obj0
= 0 ;
31962 char *kwnames
[] = {
31963 (char *) "self", NULL
31966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31968 if (SWIG_arg_fail(1)) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= wxPyMake_wxObject(result
, 0);
31985 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
;
31987 wxWindow
*arg1
= (wxWindow
*) 0 ;
31988 wxSizer
*arg2
= (wxSizer
*) 0 ;
31989 PyObject
* obj0
= 0 ;
31990 PyObject
* obj1
= 0 ;
31991 char *kwnames
[] = {
31992 (char *) "self",(char *) "sizer", NULL
31995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31997 if (SWIG_arg_fail(1)) SWIG_fail
;
31998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31999 if (SWIG_arg_fail(2)) SWIG_fail
;
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 (arg1
)->SetContainingSizer(arg2
);
32004 wxPyEndAllowThreads(__tstate
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 Py_INCREF(Py_None
); resultobj
= Py_None
;
32014 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32015 PyObject
*resultobj
;
32016 wxWindow
*arg1
= (wxWindow
*) 0 ;
32018 PyObject
* obj0
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "self", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32025 if (SWIG_arg_fail(1)) SWIG_fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32030 wxPyEndAllowThreads(__tstate
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= wxPyMake_wxObject(result
, 0);
32042 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
;
32044 wxWindow
*arg1
= (wxWindow
*) 0 ;
32045 PyObject
* obj0
= 0 ;
32046 char *kwnames
[] = {
32047 (char *) "self", NULL
32050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32052 if (SWIG_arg_fail(1)) SWIG_fail
;
32054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32055 (arg1
)->InheritAttributes();
32057 wxPyEndAllowThreads(__tstate
);
32058 if (PyErr_Occurred()) SWIG_fail
;
32060 Py_INCREF(Py_None
); resultobj
= Py_None
;
32067 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32068 PyObject
*resultobj
;
32069 wxWindow
*arg1
= (wxWindow
*) 0 ;
32071 PyObject
* obj0
= 0 ;
32072 char *kwnames
[] = {
32073 (char *) "self", NULL
32076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32078 if (SWIG_arg_fail(1)) SWIG_fail
;
32080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32081 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32095 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32098 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32100 return Py_BuildValue((char *)"");
32102 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32103 PyObject
*resultobj
;
32105 wxWindow
*arg2
= (wxWindow
*) NULL
;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 char *kwnames
[] = {
32110 (char *) "id",(char *) "parent", NULL
32113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32115 arg1
= (long)(SWIG_As_long(obj0
));
32116 if (SWIG_arg_fail(1)) SWIG_fail
;
32119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32120 if (SWIG_arg_fail(2)) SWIG_fail
;
32123 if (!wxPyCheckForApp()) SWIG_fail
;
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32127 wxPyEndAllowThreads(__tstate
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32131 resultobj
= wxPyMake_wxObject(result
, 0);
32139 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32140 PyObject
*resultobj
;
32141 wxString
*arg1
= 0 ;
32142 wxWindow
*arg2
= (wxWindow
*) NULL
;
32144 bool temp1
= false ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 char *kwnames
[] = {
32148 (char *) "name",(char *) "parent", NULL
32151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32153 arg1
= wxString_in_helper(obj0
);
32154 if (arg1
== NULL
) SWIG_fail
;
32158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32159 if (SWIG_arg_fail(2)) SWIG_fail
;
32162 if (!wxPyCheckForApp()) SWIG_fail
;
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= wxPyMake_wxObject(result
, 0);
32186 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32187 PyObject
*resultobj
;
32188 wxString
*arg1
= 0 ;
32189 wxWindow
*arg2
= (wxWindow
*) NULL
;
32191 bool temp1
= false ;
32192 PyObject
* obj0
= 0 ;
32193 PyObject
* obj1
= 0 ;
32194 char *kwnames
[] = {
32195 (char *) "label",(char *) "parent", NULL
32198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32200 arg1
= wxString_in_helper(obj0
);
32201 if (arg1
== NULL
) SWIG_fail
;
32205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32206 if (SWIG_arg_fail(2)) SWIG_fail
;
32209 if (!wxPyCheckForApp()) SWIG_fail
;
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= wxPyMake_wxObject(result
, 0);
32233 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxWindow
*arg1
= (wxWindow
*) 0 ;
32236 unsigned long arg2
;
32238 PyObject
* obj0
= 0 ;
32239 PyObject
* obj1
= 0 ;
32240 char *kwnames
[] = {
32241 (char *) "parent",(char *) "_hWnd", NULL
32244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32246 if (SWIG_arg_fail(1)) SWIG_fail
;
32248 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32249 if (SWIG_arg_fail(2)) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= wxPyMake_wxObject(result
, 0);
32267 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
;
32270 char *kwnames
[] = {
32274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32277 result
= (PyObject
*)GetTopLevelWindows();
32279 wxPyEndAllowThreads(__tstate
);
32280 if (PyErr_Occurred()) SWIG_fail
;
32282 resultobj
= result
;
32289 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
;
32291 wxValidator
*result
;
32292 char *kwnames
[] = {
32296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 result
= (wxValidator
*)new wxValidator();
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32311 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
;
32313 wxValidator
*arg1
= (wxValidator
*) 0 ;
32314 wxValidator
*result
;
32315 PyObject
* obj0
= 0 ;
32316 char *kwnames
[] = {
32317 (char *) "self", NULL
32320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32322 if (SWIG_arg_fail(1)) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 result
= (wxValidator
*)(arg1
)->Clone();
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32331 resultobj
= wxPyMake_wxObject(result
, 0);
32339 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32340 PyObject
*resultobj
;
32341 wxValidator
*arg1
= (wxValidator
*) 0 ;
32342 wxWindow
*arg2
= (wxWindow
*) 0 ;
32344 PyObject
* obj0
= 0 ;
32345 PyObject
* obj1
= 0 ;
32346 char *kwnames
[] = {
32347 (char *) "self",(char *) "parent", NULL
32350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32352 if (SWIG_arg_fail(1)) SWIG_fail
;
32353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32354 if (SWIG_arg_fail(2)) SWIG_fail
;
32356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32357 result
= (bool)(arg1
)->Validate(arg2
);
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32371 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32372 PyObject
*resultobj
;
32373 wxValidator
*arg1
= (wxValidator
*) 0 ;
32375 PyObject
* obj0
= 0 ;
32376 char *kwnames
[] = {
32377 (char *) "self", NULL
32380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32382 if (SWIG_arg_fail(1)) SWIG_fail
;
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 result
= (bool)(arg1
)->TransferToWindow();
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32399 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32400 PyObject
*resultobj
;
32401 wxValidator
*arg1
= (wxValidator
*) 0 ;
32403 PyObject
* obj0
= 0 ;
32404 char *kwnames
[] = {
32405 (char *) "self", NULL
32408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32410 if (SWIG_arg_fail(1)) SWIG_fail
;
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 result
= (bool)(arg1
)->TransferFromWindow();
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32427 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32428 PyObject
*resultobj
;
32429 wxValidator
*arg1
= (wxValidator
*) 0 ;
32431 PyObject
* obj0
= 0 ;
32432 char *kwnames
[] = {
32433 (char *) "self", NULL
32436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32438 if (SWIG_arg_fail(1)) SWIG_fail
;
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 result
= (wxWindow
*)(arg1
)->GetWindow();
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= wxPyMake_wxObject(result
, 0);
32455 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32456 PyObject
*resultobj
;
32457 wxValidator
*arg1
= (wxValidator
*) 0 ;
32458 wxWindow
*arg2
= (wxWindow
*) 0 ;
32459 PyObject
* obj0
= 0 ;
32460 PyObject
* obj1
= 0 ;
32461 char *kwnames
[] = {
32462 (char *) "self",(char *) "window", NULL
32465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32467 if (SWIG_arg_fail(1)) SWIG_fail
;
32468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32469 if (SWIG_arg_fail(2)) SWIG_fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 (arg1
)->SetWindow(arg2
);
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 Py_INCREF(Py_None
); resultobj
= Py_None
;
32484 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32485 PyObject
*resultobj
;
32487 char *kwnames
[] = {
32491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 result
= (bool)wxValidator::IsSilent();
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32508 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32509 PyObject
*resultobj
;
32510 int arg1
= (int) true ;
32511 PyObject
* obj0
= 0 ;
32512 char *kwnames
[] = {
32513 (char *) "doIt", NULL
32516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32519 arg1
= (int)(SWIG_As_int(obj0
));
32520 if (SWIG_arg_fail(1)) SWIG_fail
;
32524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32525 wxValidator::SetBellOnError(arg1
);
32527 wxPyEndAllowThreads(__tstate
);
32528 if (PyErr_Occurred()) SWIG_fail
;
32530 Py_INCREF(Py_None
); resultobj
= Py_None
;
32537 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32540 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32542 return Py_BuildValue((char *)"");
32544 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxPyValidator
*result
;
32547 char *kwnames
[] = {
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 result
= (wxPyValidator
*)new wxPyValidator();
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32566 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
;
32568 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32569 PyObject
*arg2
= (PyObject
*) 0 ;
32570 PyObject
*arg3
= (PyObject
*) 0 ;
32571 int arg4
= (int) true ;
32572 PyObject
* obj0
= 0 ;
32573 PyObject
* obj1
= 0 ;
32574 PyObject
* obj2
= 0 ;
32575 PyObject
* obj3
= 0 ;
32576 char *kwnames
[] = {
32577 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32582 if (SWIG_arg_fail(1)) SWIG_fail
;
32587 arg4
= (int)(SWIG_As_int(obj3
));
32588 if (SWIG_arg_fail(4)) SWIG_fail
;
32592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32593 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32595 wxPyEndAllowThreads(__tstate
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32598 Py_INCREF(Py_None
); resultobj
= Py_None
;
32605 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32608 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32610 return Py_BuildValue((char *)"");
32612 static int _wrap_DefaultValidator_set(PyObject
*) {
32613 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32618 static PyObject
*_wrap_DefaultValidator_get(void) {
32621 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32626 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32627 PyObject
*resultobj
;
32628 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32629 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32630 long arg2
= (long) 0 ;
32632 bool temp1
= false ;
32633 PyObject
* obj0
= 0 ;
32634 PyObject
* obj1
= 0 ;
32635 char *kwnames
[] = {
32636 (char *) "title",(char *) "style", NULL
32639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32642 arg1
= wxString_in_helper(obj0
);
32643 if (arg1
== NULL
) SWIG_fail
;
32649 arg2
= (long)(SWIG_As_long(obj1
));
32650 if (SWIG_arg_fail(2)) SWIG_fail
;
32654 if (!wxPyCheckForApp()) SWIG_fail
;
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32658 wxPyEndAllowThreads(__tstate
);
32659 if (PyErr_Occurred()) SWIG_fail
;
32661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32676 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
;
32678 wxMenu
*arg1
= (wxMenu
*) 0 ;
32680 wxString
*arg3
= 0 ;
32681 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32682 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32683 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32684 wxMenuItem
*result
;
32685 bool temp3
= false ;
32686 bool temp4
= false ;
32687 PyObject
* obj0
= 0 ;
32688 PyObject
* obj1
= 0 ;
32689 PyObject
* obj2
= 0 ;
32690 PyObject
* obj3
= 0 ;
32691 PyObject
* obj4
= 0 ;
32692 char *kwnames
[] = {
32693 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32698 if (SWIG_arg_fail(1)) SWIG_fail
;
32700 arg2
= (int)(SWIG_As_int(obj1
));
32701 if (SWIG_arg_fail(2)) SWIG_fail
;
32704 arg3
= wxString_in_helper(obj2
);
32705 if (arg3
== NULL
) SWIG_fail
;
32710 arg4
= wxString_in_helper(obj3
);
32711 if (arg4
== NULL
) SWIG_fail
;
32717 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32718 if (SWIG_arg_fail(5)) SWIG_fail
;
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32729 resultobj
= wxPyMake_wxObject(result
, 0);
32753 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
;
32755 wxMenu
*arg1
= (wxMenu
*) 0 ;
32756 wxMenuItem
*result
;
32757 PyObject
* obj0
= 0 ;
32758 char *kwnames
[] = {
32759 (char *) "self", NULL
32762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32764 if (SWIG_arg_fail(1)) SWIG_fail
;
32766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32767 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= wxPyMake_wxObject(result
, 0);
32781 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
;
32783 wxMenu
*arg1
= (wxMenu
*) 0 ;
32785 wxString
*arg3
= 0 ;
32786 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32787 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32788 wxMenuItem
*result
;
32789 bool temp3
= false ;
32790 bool temp4
= false ;
32791 PyObject
* obj0
= 0 ;
32792 PyObject
* obj1
= 0 ;
32793 PyObject
* obj2
= 0 ;
32794 PyObject
* obj3
= 0 ;
32795 char *kwnames
[] = {
32796 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32801 if (SWIG_arg_fail(1)) SWIG_fail
;
32803 arg2
= (int)(SWIG_As_int(obj1
));
32804 if (SWIG_arg_fail(2)) SWIG_fail
;
32807 arg3
= wxString_in_helper(obj2
);
32808 if (arg3
== NULL
) SWIG_fail
;
32813 arg4
= wxString_in_helper(obj3
);
32814 if (arg4
== NULL
) SWIG_fail
;
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32822 wxPyEndAllowThreads(__tstate
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32826 resultobj
= wxPyMake_wxObject(result
, 0);
32850 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32851 PyObject
*resultobj
;
32852 wxMenu
*arg1
= (wxMenu
*) 0 ;
32854 wxString
*arg3
= 0 ;
32855 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32856 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32857 wxMenuItem
*result
;
32858 bool temp3
= false ;
32859 bool temp4
= false ;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 PyObject
* obj2
= 0 ;
32863 PyObject
* obj3
= 0 ;
32864 char *kwnames
[] = {
32865 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32870 if (SWIG_arg_fail(1)) SWIG_fail
;
32872 arg2
= (int)(SWIG_As_int(obj1
));
32873 if (SWIG_arg_fail(2)) SWIG_fail
;
32876 arg3
= wxString_in_helper(obj2
);
32877 if (arg3
== NULL
) SWIG_fail
;
32882 arg4
= wxString_in_helper(obj3
);
32883 if (arg4
== NULL
) SWIG_fail
;
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32895 resultobj
= wxPyMake_wxObject(result
, 0);
32919 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32920 PyObject
*resultobj
;
32921 wxMenu
*arg1
= (wxMenu
*) 0 ;
32923 wxString
*arg3
= 0 ;
32924 wxMenu
*arg4
= (wxMenu
*) 0 ;
32925 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32926 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32927 wxMenuItem
*result
;
32928 bool temp3
= false ;
32929 bool temp5
= false ;
32930 PyObject
* obj0
= 0 ;
32931 PyObject
* obj1
= 0 ;
32932 PyObject
* obj2
= 0 ;
32933 PyObject
* obj3
= 0 ;
32934 PyObject
* obj4
= 0 ;
32935 char *kwnames
[] = {
32936 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail
;
32943 arg2
= (int)(SWIG_As_int(obj1
));
32944 if (SWIG_arg_fail(2)) SWIG_fail
;
32947 arg3
= wxString_in_helper(obj2
);
32948 if (arg3
== NULL
) SWIG_fail
;
32951 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32952 if (SWIG_arg_fail(4)) SWIG_fail
;
32955 arg5
= wxString_in_helper(obj4
);
32956 if (arg5
== NULL
) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= wxPyMake_wxObject(result
, 0);
32992 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
;
32994 wxMenu
*arg1
= (wxMenu
*) 0 ;
32995 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32996 wxMenuItem
*result
;
32997 PyObject
* obj0
= 0 ;
32998 PyObject
* obj1
= 0 ;
32999 char *kwnames
[] = {
33000 (char *) "self",(char *) "item", NULL
33003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33005 if (SWIG_arg_fail(1)) SWIG_fail
;
33006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33007 if (SWIG_arg_fail(2)) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= wxPyMake_wxObject(result
, 0);
33024 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
;
33026 wxMenu
*arg1
= (wxMenu
*) 0 ;
33027 PyObject
* obj0
= 0 ;
33028 char *kwnames
[] = {
33029 (char *) "self", NULL
33032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33034 if (SWIG_arg_fail(1)) SWIG_fail
;
33036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 Py_INCREF(Py_None
); resultobj
= Py_None
;
33049 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
;
33051 wxMenu
*arg1
= (wxMenu
*) 0 ;
33053 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33054 wxMenuItem
*result
;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 PyObject
* obj2
= 0 ;
33058 char *kwnames
[] = {
33059 (char *) "self",(char *) "pos",(char *) "item", NULL
33062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33064 if (SWIG_arg_fail(1)) SWIG_fail
;
33066 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33067 if (SWIG_arg_fail(2)) SWIG_fail
;
33069 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33070 if (SWIG_arg_fail(3)) SWIG_fail
;
33072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33073 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= wxPyMake_wxObject(result
, 0);
33087 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
;
33089 wxMenu
*arg1
= (wxMenu
*) 0 ;
33092 wxString
*arg4
= 0 ;
33093 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33094 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33095 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33096 wxMenuItem
*result
;
33097 bool temp4
= false ;
33098 bool temp5
= false ;
33099 PyObject
* obj0
= 0 ;
33100 PyObject
* obj1
= 0 ;
33101 PyObject
* obj2
= 0 ;
33102 PyObject
* obj3
= 0 ;
33103 PyObject
* obj4
= 0 ;
33104 PyObject
* obj5
= 0 ;
33105 char *kwnames
[] = {
33106 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33111 if (SWIG_arg_fail(1)) SWIG_fail
;
33113 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33114 if (SWIG_arg_fail(2)) SWIG_fail
;
33117 arg3
= (int)(SWIG_As_int(obj2
));
33118 if (SWIG_arg_fail(3)) SWIG_fail
;
33121 arg4
= wxString_in_helper(obj3
);
33122 if (arg4
== NULL
) SWIG_fail
;
33127 arg5
= wxString_in_helper(obj4
);
33128 if (arg5
== NULL
) SWIG_fail
;
33134 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33135 if (SWIG_arg_fail(6)) SWIG_fail
;
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33140 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33146 resultobj
= wxPyMake_wxObject(result
, 0);
33170 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
;
33172 wxMenu
*arg1
= (wxMenu
*) 0 ;
33174 wxMenuItem
*result
;
33175 PyObject
* obj0
= 0 ;
33176 PyObject
* obj1
= 0 ;
33177 char *kwnames
[] = {
33178 (char *) "self",(char *) "pos", NULL
33181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33183 if (SWIG_arg_fail(1)) SWIG_fail
;
33185 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33186 if (SWIG_arg_fail(2)) SWIG_fail
;
33189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33196 resultobj
= wxPyMake_wxObject(result
, 0);
33204 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33205 PyObject
*resultobj
;
33206 wxMenu
*arg1
= (wxMenu
*) 0 ;
33209 wxString
*arg4
= 0 ;
33210 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33211 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33212 wxMenuItem
*result
;
33213 bool temp4
= false ;
33214 bool temp5
= false ;
33215 PyObject
* obj0
= 0 ;
33216 PyObject
* obj1
= 0 ;
33217 PyObject
* obj2
= 0 ;
33218 PyObject
* obj3
= 0 ;
33219 PyObject
* obj4
= 0 ;
33220 char *kwnames
[] = {
33221 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33226 if (SWIG_arg_fail(1)) SWIG_fail
;
33228 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33229 if (SWIG_arg_fail(2)) SWIG_fail
;
33232 arg3
= (int)(SWIG_As_int(obj2
));
33233 if (SWIG_arg_fail(3)) SWIG_fail
;
33236 arg4
= wxString_in_helper(obj3
);
33237 if (arg4
== NULL
) SWIG_fail
;
33242 arg5
= wxString_in_helper(obj4
);
33243 if (arg5
== NULL
) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33249 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33255 resultobj
= wxPyMake_wxObject(result
, 0);
33279 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
;
33281 wxMenu
*arg1
= (wxMenu
*) 0 ;
33284 wxString
*arg4
= 0 ;
33285 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33286 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33287 wxMenuItem
*result
;
33288 bool temp4
= false ;
33289 bool temp5
= false ;
33290 PyObject
* obj0
= 0 ;
33291 PyObject
* obj1
= 0 ;
33292 PyObject
* obj2
= 0 ;
33293 PyObject
* obj3
= 0 ;
33294 PyObject
* obj4
= 0 ;
33295 char *kwnames
[] = {
33296 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33301 if (SWIG_arg_fail(1)) SWIG_fail
;
33303 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33304 if (SWIG_arg_fail(2)) SWIG_fail
;
33307 arg3
= (int)(SWIG_As_int(obj2
));
33308 if (SWIG_arg_fail(3)) SWIG_fail
;
33311 arg4
= wxString_in_helper(obj3
);
33312 if (arg4
== NULL
) SWIG_fail
;
33317 arg5
= wxString_in_helper(obj4
);
33318 if (arg5
== NULL
) SWIG_fail
;
33323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33324 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33326 wxPyEndAllowThreads(__tstate
);
33327 if (PyErr_Occurred()) SWIG_fail
;
33330 resultobj
= wxPyMake_wxObject(result
, 0);
33354 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33355 PyObject
*resultobj
;
33356 wxMenu
*arg1
= (wxMenu
*) 0 ;
33359 wxString
*arg4
= 0 ;
33360 wxMenu
*arg5
= (wxMenu
*) 0 ;
33361 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33362 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33363 wxMenuItem
*result
;
33364 bool temp4
= false ;
33365 bool temp6
= false ;
33366 PyObject
* obj0
= 0 ;
33367 PyObject
* obj1
= 0 ;
33368 PyObject
* obj2
= 0 ;
33369 PyObject
* obj3
= 0 ;
33370 PyObject
* obj4
= 0 ;
33371 PyObject
* obj5
= 0 ;
33372 char *kwnames
[] = {
33373 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33378 if (SWIG_arg_fail(1)) SWIG_fail
;
33380 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33381 if (SWIG_arg_fail(2)) SWIG_fail
;
33384 arg3
= (int)(SWIG_As_int(obj2
));
33385 if (SWIG_arg_fail(3)) SWIG_fail
;
33388 arg4
= wxString_in_helper(obj3
);
33389 if (arg4
== NULL
) SWIG_fail
;
33392 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33393 if (SWIG_arg_fail(5)) SWIG_fail
;
33396 arg6
= wxString_in_helper(obj5
);
33397 if (arg6
== NULL
) SWIG_fail
;
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33405 wxPyEndAllowThreads(__tstate
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33409 resultobj
= wxPyMake_wxObject(result
, 0);
33433 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33434 PyObject
*resultobj
;
33435 wxMenu
*arg1
= (wxMenu
*) 0 ;
33436 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33437 wxMenuItem
*result
;
33438 PyObject
* obj0
= 0 ;
33439 PyObject
* obj1
= 0 ;
33440 char *kwnames
[] = {
33441 (char *) "self",(char *) "item", NULL
33444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33446 if (SWIG_arg_fail(1)) SWIG_fail
;
33447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33448 if (SWIG_arg_fail(2)) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= wxPyMake_wxObject(result
, 0);
33465 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33466 PyObject
*resultobj
;
33467 wxMenu
*arg1
= (wxMenu
*) 0 ;
33469 wxString
*arg3
= 0 ;
33470 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33471 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33472 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33473 wxMenuItem
*result
;
33474 bool temp3
= false ;
33475 bool temp4
= false ;
33476 PyObject
* obj0
= 0 ;
33477 PyObject
* obj1
= 0 ;
33478 PyObject
* obj2
= 0 ;
33479 PyObject
* obj3
= 0 ;
33480 PyObject
* obj4
= 0 ;
33481 char *kwnames
[] = {
33482 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33487 if (SWIG_arg_fail(1)) SWIG_fail
;
33489 arg2
= (int)(SWIG_As_int(obj1
));
33490 if (SWIG_arg_fail(2)) SWIG_fail
;
33493 arg3
= wxString_in_helper(obj2
);
33494 if (arg3
== NULL
) SWIG_fail
;
33499 arg4
= wxString_in_helper(obj3
);
33500 if (arg4
== NULL
) SWIG_fail
;
33506 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33507 if (SWIG_arg_fail(5)) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= wxPyMake_wxObject(result
, 0);
33542 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33543 PyObject
*resultobj
;
33544 wxMenu
*arg1
= (wxMenu
*) 0 ;
33545 wxMenuItem
*result
;
33546 PyObject
* obj0
= 0 ;
33547 char *kwnames
[] = {
33548 (char *) "self", NULL
33551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33553 if (SWIG_arg_fail(1)) SWIG_fail
;
33555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33556 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33558 wxPyEndAllowThreads(__tstate
);
33559 if (PyErr_Occurred()) SWIG_fail
;
33562 resultobj
= wxPyMake_wxObject(result
, 0);
33570 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
;
33572 wxMenu
*arg1
= (wxMenu
*) 0 ;
33574 wxString
*arg3
= 0 ;
33575 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33576 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33577 wxMenuItem
*result
;
33578 bool temp3
= false ;
33579 bool temp4
= false ;
33580 PyObject
* obj0
= 0 ;
33581 PyObject
* obj1
= 0 ;
33582 PyObject
* obj2
= 0 ;
33583 PyObject
* obj3
= 0 ;
33584 char *kwnames
[] = {
33585 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33590 if (SWIG_arg_fail(1)) SWIG_fail
;
33592 arg2
= (int)(SWIG_As_int(obj1
));
33593 if (SWIG_arg_fail(2)) SWIG_fail
;
33596 arg3
= wxString_in_helper(obj2
);
33597 if (arg3
== NULL
) SWIG_fail
;
33602 arg4
= wxString_in_helper(obj3
);
33603 if (arg4
== NULL
) SWIG_fail
;
33608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33609 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33615 resultobj
= wxPyMake_wxObject(result
, 0);
33639 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
;
33641 wxMenu
*arg1
= (wxMenu
*) 0 ;
33643 wxString
*arg3
= 0 ;
33644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33646 wxMenuItem
*result
;
33647 bool temp3
= false ;
33648 bool temp4
= false ;
33649 PyObject
* obj0
= 0 ;
33650 PyObject
* obj1
= 0 ;
33651 PyObject
* obj2
= 0 ;
33652 PyObject
* obj3
= 0 ;
33653 char *kwnames
[] = {
33654 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33659 if (SWIG_arg_fail(1)) SWIG_fail
;
33661 arg2
= (int)(SWIG_As_int(obj1
));
33662 if (SWIG_arg_fail(2)) SWIG_fail
;
33665 arg3
= wxString_in_helper(obj2
);
33666 if (arg3
== NULL
) SWIG_fail
;
33671 arg4
= wxString_in_helper(obj3
);
33672 if (arg4
== NULL
) SWIG_fail
;
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= wxPyMake_wxObject(result
, 0);
33708 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33709 PyObject
*resultobj
;
33710 wxMenu
*arg1
= (wxMenu
*) 0 ;
33712 wxString
*arg3
= 0 ;
33713 wxMenu
*arg4
= (wxMenu
*) 0 ;
33714 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33715 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33716 wxMenuItem
*result
;
33717 bool temp3
= false ;
33718 bool temp5
= false ;
33719 PyObject
* obj0
= 0 ;
33720 PyObject
* obj1
= 0 ;
33721 PyObject
* obj2
= 0 ;
33722 PyObject
* obj3
= 0 ;
33723 PyObject
* obj4
= 0 ;
33724 char *kwnames
[] = {
33725 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33730 if (SWIG_arg_fail(1)) SWIG_fail
;
33732 arg2
= (int)(SWIG_As_int(obj1
));
33733 if (SWIG_arg_fail(2)) SWIG_fail
;
33736 arg3
= wxString_in_helper(obj2
);
33737 if (arg3
== NULL
) SWIG_fail
;
33740 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33741 if (SWIG_arg_fail(4)) SWIG_fail
;
33744 arg5
= wxString_in_helper(obj4
);
33745 if (arg5
== NULL
) SWIG_fail
;
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33751 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33757 resultobj
= wxPyMake_wxObject(result
, 0);
33781 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33782 PyObject
*resultobj
;
33783 wxMenu
*arg1
= (wxMenu
*) 0 ;
33785 wxMenuItem
*result
;
33786 PyObject
* obj0
= 0 ;
33787 PyObject
* obj1
= 0 ;
33788 char *kwnames
[] = {
33789 (char *) "self",(char *) "id", NULL
33792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33794 if (SWIG_arg_fail(1)) SWIG_fail
;
33796 arg2
= (int)(SWIG_As_int(obj1
));
33797 if (SWIG_arg_fail(2)) SWIG_fail
;
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= wxPyMake_wxObject(result
, 0);
33815 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33817 wxMenu
*arg1
= (wxMenu
*) 0 ;
33818 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33819 wxMenuItem
*result
;
33820 PyObject
* obj0
= 0 ;
33821 PyObject
* obj1
= 0 ;
33822 char *kwnames
[] = {
33823 (char *) "self",(char *) "item", NULL
33826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33828 if (SWIG_arg_fail(1)) SWIG_fail
;
33829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33830 if (SWIG_arg_fail(2)) SWIG_fail
;
33832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33833 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33839 resultobj
= wxPyMake_wxObject(result
, 0);
33847 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
;
33849 wxMenu
*arg1
= (wxMenu
*) 0 ;
33852 PyObject
* obj0
= 0 ;
33853 PyObject
* obj1
= 0 ;
33854 char *kwnames
[] = {
33855 (char *) "self",(char *) "id", NULL
33858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33860 if (SWIG_arg_fail(1)) SWIG_fail
;
33862 arg2
= (int)(SWIG_As_int(obj1
));
33863 if (SWIG_arg_fail(2)) SWIG_fail
;
33866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33867 result
= (bool)(arg1
)->Delete(arg2
);
33869 wxPyEndAllowThreads(__tstate
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33881 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
;
33883 wxMenu
*arg1
= (wxMenu
*) 0 ;
33884 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33886 PyObject
* obj0
= 0 ;
33887 PyObject
* obj1
= 0 ;
33888 char *kwnames
[] = {
33889 (char *) "self",(char *) "item", NULL
33892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33894 if (SWIG_arg_fail(1)) SWIG_fail
;
33895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33896 if (SWIG_arg_fail(2)) SWIG_fail
;
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 result
= (bool)(arg1
)->Delete(arg2
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33913 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
;
33915 wxMenu
*arg1
= (wxMenu
*) 0 ;
33916 PyObject
* obj0
= 0 ;
33917 char *kwnames
[] = {
33918 (char *) "self", NULL
33921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33923 if (SWIG_arg_fail(1)) SWIG_fail
;
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 wxMenu_Destroy(arg1
);
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 Py_INCREF(Py_None
); resultobj
= Py_None
;
33938 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33939 PyObject
*resultobj
;
33940 wxMenu
*arg1
= (wxMenu
*) 0 ;
33943 PyObject
* obj0
= 0 ;
33944 PyObject
* obj1
= 0 ;
33945 char *kwnames
[] = {
33946 (char *) "self",(char *) "id", NULL
33949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33951 if (SWIG_arg_fail(1)) SWIG_fail
;
33953 arg2
= (int)(SWIG_As_int(obj1
));
33954 if (SWIG_arg_fail(2)) SWIG_fail
;
33957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 result
= (bool)(arg1
)->Destroy(arg2
);
33960 wxPyEndAllowThreads(__tstate
);
33961 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33972 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
;
33974 wxMenu
*arg1
= (wxMenu
*) 0 ;
33975 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33977 PyObject
* obj0
= 0 ;
33978 PyObject
* obj1
= 0 ;
33979 char *kwnames
[] = {
33980 (char *) "self",(char *) "item", NULL
33983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33985 if (SWIG_arg_fail(1)) SWIG_fail
;
33986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33987 if (SWIG_arg_fail(2)) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 result
= (bool)(arg1
)->Destroy(arg2
);
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34004 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
;
34006 wxMenu
*arg1
= (wxMenu
*) 0 ;
34008 PyObject
* obj0
= 0 ;
34009 char *kwnames
[] = {
34010 (char *) "self", NULL
34013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34015 if (SWIG_arg_fail(1)) SWIG_fail
;
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34020 wxPyEndAllowThreads(__tstate
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34024 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34032 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
;
34034 wxMenu
*arg1
= (wxMenu
*) 0 ;
34036 PyObject
* obj0
= 0 ;
34037 char *kwnames
[] = {
34038 (char *) "self", NULL
34041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34043 if (SWIG_arg_fail(1)) SWIG_fail
;
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= result
;
34058 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34059 PyObject
*resultobj
;
34060 wxMenu
*arg1
= (wxMenu
*) 0 ;
34061 wxString
*arg2
= 0 ;
34063 bool temp2
= false ;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self",(char *) "item", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 arg2
= wxString_in_helper(obj1
);
34075 if (arg2
== NULL
) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34086 resultobj
= SWIG_From_int((int)(result
));
34102 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
;
34104 wxMenu
*arg1
= (wxMenu
*) 0 ;
34106 wxMenuItem
*result
;
34107 PyObject
* obj0
= 0 ;
34108 PyObject
* obj1
= 0 ;
34109 char *kwnames
[] = {
34110 (char *) "self",(char *) "id", NULL
34113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34115 if (SWIG_arg_fail(1)) SWIG_fail
;
34117 arg2
= (int)(SWIG_As_int(obj1
));
34118 if (SWIG_arg_fail(2)) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= wxPyMake_wxObject(result
, 0);
34136 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34137 PyObject
*resultobj
;
34138 wxMenu
*arg1
= (wxMenu
*) 0 ;
34140 wxMenuItem
*result
;
34141 PyObject
* obj0
= 0 ;
34142 PyObject
* obj1
= 0 ;
34143 char *kwnames
[] = {
34144 (char *) "self",(char *) "position", NULL
34147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34149 if (SWIG_arg_fail(1)) SWIG_fail
;
34151 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34152 if (SWIG_arg_fail(2)) SWIG_fail
;
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34158 wxPyEndAllowThreads(__tstate
);
34159 if (PyErr_Occurred()) SWIG_fail
;
34162 resultobj
= wxPyMake_wxObject(result
, 0);
34170 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
;
34172 wxMenu
*arg1
= (wxMenu
*) 0 ;
34175 PyObject
* obj0
= 0 ;
34176 PyObject
* obj1
= 0 ;
34177 PyObject
* obj2
= 0 ;
34178 char *kwnames
[] = {
34179 (char *) "self",(char *) "id",(char *) "enable", NULL
34182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34184 if (SWIG_arg_fail(1)) SWIG_fail
;
34186 arg2
= (int)(SWIG_As_int(obj1
));
34187 if (SWIG_arg_fail(2)) SWIG_fail
;
34190 arg3
= (bool)(SWIG_As_bool(obj2
));
34191 if (SWIG_arg_fail(3)) SWIG_fail
;
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 (arg1
)->Enable(arg2
,arg3
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34200 Py_INCREF(Py_None
); resultobj
= Py_None
;
34207 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34208 PyObject
*resultobj
;
34209 wxMenu
*arg1
= (wxMenu
*) 0 ;
34212 PyObject
* obj0
= 0 ;
34213 PyObject
* obj1
= 0 ;
34214 char *kwnames
[] = {
34215 (char *) "self",(char *) "id", NULL
34218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34220 if (SWIG_arg_fail(1)) SWIG_fail
;
34222 arg2
= (int)(SWIG_As_int(obj1
));
34223 if (SWIG_arg_fail(2)) SWIG_fail
;
34226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34227 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34229 wxPyEndAllowThreads(__tstate
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34241 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34242 PyObject
*resultobj
;
34243 wxMenu
*arg1
= (wxMenu
*) 0 ;
34246 PyObject
* obj0
= 0 ;
34247 PyObject
* obj1
= 0 ;
34248 PyObject
* obj2
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self",(char *) "id",(char *) "check", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34255 if (SWIG_arg_fail(1)) SWIG_fail
;
34257 arg2
= (int)(SWIG_As_int(obj1
));
34258 if (SWIG_arg_fail(2)) SWIG_fail
;
34261 arg3
= (bool)(SWIG_As_bool(obj2
));
34262 if (SWIG_arg_fail(3)) SWIG_fail
;
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 (arg1
)->Check(arg2
,arg3
);
34268 wxPyEndAllowThreads(__tstate
);
34269 if (PyErr_Occurred()) SWIG_fail
;
34271 Py_INCREF(Py_None
); resultobj
= Py_None
;
34278 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
;
34280 wxMenu
*arg1
= (wxMenu
*) 0 ;
34283 PyObject
* obj0
= 0 ;
34284 PyObject
* obj1
= 0 ;
34285 char *kwnames
[] = {
34286 (char *) "self",(char *) "id", NULL
34289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34291 if (SWIG_arg_fail(1)) SWIG_fail
;
34293 arg2
= (int)(SWIG_As_int(obj1
));
34294 if (SWIG_arg_fail(2)) SWIG_fail
;
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34300 wxPyEndAllowThreads(__tstate
);
34301 if (PyErr_Occurred()) SWIG_fail
;
34304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34312 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
;
34314 wxMenu
*arg1
= (wxMenu
*) 0 ;
34316 wxString
*arg3
= 0 ;
34317 bool temp3
= false ;
34318 PyObject
* obj0
= 0 ;
34319 PyObject
* obj1
= 0 ;
34320 PyObject
* obj2
= 0 ;
34321 char *kwnames
[] = {
34322 (char *) "self",(char *) "id",(char *) "label", NULL
34325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34327 if (SWIG_arg_fail(1)) SWIG_fail
;
34329 arg2
= (int)(SWIG_As_int(obj1
));
34330 if (SWIG_arg_fail(2)) SWIG_fail
;
34333 arg3
= wxString_in_helper(obj2
);
34334 if (arg3
== NULL
) SWIG_fail
;
34338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34339 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34341 wxPyEndAllowThreads(__tstate
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34344 Py_INCREF(Py_None
); resultobj
= Py_None
;
34359 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
;
34361 wxMenu
*arg1
= (wxMenu
*) 0 ;
34364 PyObject
* obj0
= 0 ;
34365 PyObject
* obj1
= 0 ;
34366 char *kwnames
[] = {
34367 (char *) "self",(char *) "id", NULL
34370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34372 if (SWIG_arg_fail(1)) SWIG_fail
;
34374 arg2
= (int)(SWIG_As_int(obj1
));
34375 if (SWIG_arg_fail(2)) SWIG_fail
;
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34397 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
;
34399 wxMenu
*arg1
= (wxMenu
*) 0 ;
34401 wxString
*arg3
= 0 ;
34402 bool temp3
= false ;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 PyObject
* obj2
= 0 ;
34406 char *kwnames
[] = {
34407 (char *) "self",(char *) "id",(char *) "helpString", NULL
34410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34412 if (SWIG_arg_fail(1)) SWIG_fail
;
34414 arg2
= (int)(SWIG_As_int(obj1
));
34415 if (SWIG_arg_fail(2)) SWIG_fail
;
34418 arg3
= wxString_in_helper(obj2
);
34419 if (arg3
== NULL
) SWIG_fail
;
34423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34424 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 Py_INCREF(Py_None
); resultobj
= Py_None
;
34444 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
;
34446 wxMenu
*arg1
= (wxMenu
*) 0 ;
34449 PyObject
* obj0
= 0 ;
34450 PyObject
* obj1
= 0 ;
34451 char *kwnames
[] = {
34452 (char *) "self",(char *) "id", NULL
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34457 if (SWIG_arg_fail(1)) SWIG_fail
;
34459 arg2
= (int)(SWIG_As_int(obj1
));
34460 if (SWIG_arg_fail(2)) SWIG_fail
;
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34466 wxPyEndAllowThreads(__tstate
);
34467 if (PyErr_Occurred()) SWIG_fail
;
34471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34482 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34483 PyObject
*resultobj
;
34484 wxMenu
*arg1
= (wxMenu
*) 0 ;
34485 wxString
*arg2
= 0 ;
34486 bool temp2
= false ;
34487 PyObject
* obj0
= 0 ;
34488 PyObject
* obj1
= 0 ;
34489 char *kwnames
[] = {
34490 (char *) "self",(char *) "title", NULL
34493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34495 if (SWIG_arg_fail(1)) SWIG_fail
;
34497 arg2
= wxString_in_helper(obj1
);
34498 if (arg2
== NULL
) SWIG_fail
;
34502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34503 (arg1
)->SetTitle((wxString
const &)*arg2
);
34505 wxPyEndAllowThreads(__tstate
);
34506 if (PyErr_Occurred()) SWIG_fail
;
34508 Py_INCREF(Py_None
); resultobj
= Py_None
;
34523 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34524 PyObject
*resultobj
;
34525 wxMenu
*arg1
= (wxMenu
*) 0 ;
34527 PyObject
* obj0
= 0 ;
34528 char *kwnames
[] = {
34529 (char *) "self", NULL
34532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34534 if (SWIG_arg_fail(1)) SWIG_fail
;
34536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34537 result
= ((wxMenu
const *)arg1
)->GetTitle();
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34555 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxMenu
*arg1
= (wxMenu
*) 0 ;
34558 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34559 PyObject
* obj0
= 0 ;
34560 PyObject
* obj1
= 0 ;
34561 char *kwnames
[] = {
34562 (char *) "self",(char *) "handler", NULL
34565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34567 if (SWIG_arg_fail(1)) SWIG_fail
;
34568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34569 if (SWIG_arg_fail(2)) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 (arg1
)->SetEventHandler(arg2
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34577 Py_INCREF(Py_None
); resultobj
= Py_None
;
34584 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34585 PyObject
*resultobj
;
34586 wxMenu
*arg1
= (wxMenu
*) 0 ;
34587 wxEvtHandler
*result
;
34588 PyObject
* obj0
= 0 ;
34589 char *kwnames
[] = {
34590 (char *) "self", NULL
34593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34595 if (SWIG_arg_fail(1)) SWIG_fail
;
34597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34598 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= wxPyMake_wxObject(result
, 0);
34612 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34613 PyObject
*resultobj
;
34614 wxMenu
*arg1
= (wxMenu
*) 0 ;
34615 wxWindow
*arg2
= (wxWindow
*) 0 ;
34616 PyObject
* obj0
= 0 ;
34617 PyObject
* obj1
= 0 ;
34618 char *kwnames
[] = {
34619 (char *) "self",(char *) "win", NULL
34622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34624 if (SWIG_arg_fail(1)) SWIG_fail
;
34625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(2)) SWIG_fail
;
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 (arg1
)->SetInvokingWindow(arg2
);
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34634 Py_INCREF(Py_None
); resultobj
= Py_None
;
34641 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
;
34643 wxMenu
*arg1
= (wxMenu
*) 0 ;
34645 PyObject
* obj0
= 0 ;
34646 char *kwnames
[] = {
34647 (char *) "self", NULL
34650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34652 if (SWIG_arg_fail(1)) SWIG_fail
;
34654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34655 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34657 wxPyEndAllowThreads(__tstate
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= wxPyMake_wxObject(result
, 0);
34669 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
;
34671 wxMenu
*arg1
= (wxMenu
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 char *kwnames
[] = {
34675 (char *) "self", NULL
34678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34680 if (SWIG_arg_fail(1)) SWIG_fail
;
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34683 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34685 wxPyEndAllowThreads(__tstate
);
34686 if (PyErr_Occurred()) SWIG_fail
;
34689 resultobj
= SWIG_From_long((long)(result
));
34697 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
;
34699 wxMenu
*arg1
= (wxMenu
*) 0 ;
34700 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char *kwnames
[] = {
34704 (char *) "self",(char *) "source", NULL
34707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34709 if (SWIG_arg_fail(1)) SWIG_fail
;
34711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34712 if (SWIG_arg_fail(2)) SWIG_fail
;
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 (arg1
)->UpdateUI(arg2
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34721 Py_INCREF(Py_None
); resultobj
= Py_None
;
34728 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34729 PyObject
*resultobj
;
34730 wxMenu
*arg1
= (wxMenu
*) 0 ;
34732 PyObject
* obj0
= 0 ;
34733 char *kwnames
[] = {
34734 (char *) "self", NULL
34737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34739 if (SWIG_arg_fail(1)) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34748 resultobj
= wxPyMake_wxObject(result
, 0);
34756 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34757 PyObject
*resultobj
;
34758 wxMenu
*arg1
= (wxMenu
*) 0 ;
34759 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34760 PyObject
* obj0
= 0 ;
34761 PyObject
* obj1
= 0 ;
34762 char *kwnames
[] = {
34763 (char *) "self",(char *) "menubar", NULL
34766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34768 if (SWIG_arg_fail(1)) SWIG_fail
;
34769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34770 if (SWIG_arg_fail(2)) SWIG_fail
;
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34773 (arg1
)->Attach(arg2
);
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34778 Py_INCREF(Py_None
); resultobj
= Py_None
;
34785 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
;
34787 wxMenu
*arg1
= (wxMenu
*) 0 ;
34788 PyObject
* obj0
= 0 ;
34789 char *kwnames
[] = {
34790 (char *) "self", NULL
34793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34795 if (SWIG_arg_fail(1)) SWIG_fail
;
34797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34803 Py_INCREF(Py_None
); resultobj
= Py_None
;
34810 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34811 PyObject
*resultobj
;
34812 wxMenu
*arg1
= (wxMenu
*) 0 ;
34814 PyObject
* obj0
= 0 ;
34815 char *kwnames
[] = {
34816 (char *) "self", NULL
34819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34821 if (SWIG_arg_fail(1)) SWIG_fail
;
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34824 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34826 wxPyEndAllowThreads(__tstate
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34838 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
;
34840 wxMenu
*arg1
= (wxMenu
*) 0 ;
34841 wxMenu
*arg2
= (wxMenu
*) 0 ;
34842 PyObject
* obj0
= 0 ;
34843 PyObject
* obj1
= 0 ;
34844 char *kwnames
[] = {
34845 (char *) "self",(char *) "parent", NULL
34848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34850 if (SWIG_arg_fail(1)) SWIG_fail
;
34851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34852 if (SWIG_arg_fail(2)) SWIG_fail
;
34854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34855 (arg1
)->SetParent(arg2
);
34857 wxPyEndAllowThreads(__tstate
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34860 Py_INCREF(Py_None
); resultobj
= Py_None
;
34867 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34868 PyObject
*resultobj
;
34869 wxMenu
*arg1
= (wxMenu
*) 0 ;
34871 PyObject
* obj0
= 0 ;
34872 char *kwnames
[] = {
34873 (char *) "self", NULL
34876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34878 if (SWIG_arg_fail(1)) SWIG_fail
;
34880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34881 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34883 wxPyEndAllowThreads(__tstate
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= wxPyMake_wxObject(result
, 0);
34895 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34898 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34900 return Py_BuildValue((char *)"");
34902 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
;
34904 long arg1
= (long) 0 ;
34906 PyObject
* obj0
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "style", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34914 arg1
= (long)(SWIG_As_long(obj0
));
34915 if (SWIG_arg_fail(1)) SWIG_fail
;
34919 if (!wxPyCheckForApp()) SWIG_fail
;
34920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34921 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34923 wxPyEndAllowThreads(__tstate
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34933 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34934 PyObject
*resultobj
;
34935 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34936 wxMenu
*arg2
= (wxMenu
*) 0 ;
34937 wxString
*arg3
= 0 ;
34939 bool temp3
= false ;
34940 PyObject
* obj0
= 0 ;
34941 PyObject
* obj1
= 0 ;
34942 PyObject
* obj2
= 0 ;
34943 char *kwnames
[] = {
34944 (char *) "self",(char *) "menu",(char *) "title", NULL
34947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34949 if (SWIG_arg_fail(1)) SWIG_fail
;
34950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34951 if (SWIG_arg_fail(2)) SWIG_fail
;
34953 arg3
= wxString_in_helper(obj2
);
34954 if (arg3
== NULL
) SWIG_fail
;
34958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34959 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34981 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34985 wxMenu
*arg3
= (wxMenu
*) 0 ;
34986 wxString
*arg4
= 0 ;
34988 bool temp4
= false ;
34989 PyObject
* obj0
= 0 ;
34990 PyObject
* obj1
= 0 ;
34991 PyObject
* obj2
= 0 ;
34992 PyObject
* obj3
= 0 ;
34993 char *kwnames
[] = {
34994 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34999 if (SWIG_arg_fail(1)) SWIG_fail
;
35001 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35002 if (SWIG_arg_fail(2)) SWIG_fail
;
35004 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35005 if (SWIG_arg_fail(3)) SWIG_fail
;
35007 arg4
= wxString_in_helper(obj3
);
35008 if (arg4
== NULL
) SWIG_fail
;
35012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35013 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35035 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
;
35037 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35039 PyObject
* obj0
= 0 ;
35040 char *kwnames
[] = {
35041 (char *) "self", NULL
35044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35046 if (SWIG_arg_fail(1)) SWIG_fail
;
35048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35049 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35051 wxPyEndAllowThreads(__tstate
);
35052 if (PyErr_Occurred()) SWIG_fail
;
35055 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35063 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35064 PyObject
*resultobj
;
35065 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35068 PyObject
* obj0
= 0 ;
35069 PyObject
* obj1
= 0 ;
35070 char *kwnames
[] = {
35071 (char *) "self",(char *) "pos", NULL
35074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35076 if (SWIG_arg_fail(1)) SWIG_fail
;
35078 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35079 if (SWIG_arg_fail(2)) SWIG_fail
;
35082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35083 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35085 wxPyEndAllowThreads(__tstate
);
35086 if (PyErr_Occurred()) SWIG_fail
;
35089 resultobj
= wxPyMake_wxObject(result
, 0);
35097 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35098 PyObject
*resultobj
;
35099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35101 wxMenu
*arg3
= (wxMenu
*) 0 ;
35102 wxString
*arg4
= 0 ;
35104 bool temp4
= false ;
35105 PyObject
* obj0
= 0 ;
35106 PyObject
* obj1
= 0 ;
35107 PyObject
* obj2
= 0 ;
35108 PyObject
* obj3
= 0 ;
35109 char *kwnames
[] = {
35110 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35115 if (SWIG_arg_fail(1)) SWIG_fail
;
35117 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35118 if (SWIG_arg_fail(2)) SWIG_fail
;
35120 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35121 if (SWIG_arg_fail(3)) SWIG_fail
;
35123 arg4
= wxString_in_helper(obj3
);
35124 if (arg4
== NULL
) SWIG_fail
;
35128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35129 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35131 wxPyEndAllowThreads(__tstate
);
35132 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= wxPyMake_wxObject(result
, 0);
35151 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35152 PyObject
*resultobj
;
35153 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35156 PyObject
* obj0
= 0 ;
35157 PyObject
* obj1
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "self",(char *) "pos", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35164 if (SWIG_arg_fail(1)) SWIG_fail
;
35166 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35167 if (SWIG_arg_fail(2)) SWIG_fail
;
35170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35171 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35173 wxPyEndAllowThreads(__tstate
);
35174 if (PyErr_Occurred()) SWIG_fail
;
35177 resultobj
= wxPyMake_wxObject(result
, 0);
35185 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35186 PyObject
*resultobj
;
35187 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35190 PyObject
* obj0
= 0 ;
35191 PyObject
* obj1
= 0 ;
35192 PyObject
* obj2
= 0 ;
35193 char *kwnames
[] = {
35194 (char *) "self",(char *) "pos",(char *) "enable", NULL
35197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35199 if (SWIG_arg_fail(1)) SWIG_fail
;
35201 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35202 if (SWIG_arg_fail(2)) SWIG_fail
;
35205 arg3
= (bool)(SWIG_As_bool(obj2
));
35206 if (SWIG_arg_fail(3)) SWIG_fail
;
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 (arg1
)->EnableTop(arg2
,arg3
);
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35215 Py_INCREF(Py_None
); resultobj
= Py_None
;
35222 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
;
35224 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 char *kwnames
[] = {
35230 (char *) "self",(char *) "pos", NULL
35233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35235 if (SWIG_arg_fail(1)) SWIG_fail
;
35237 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35238 if (SWIG_arg_fail(2)) SWIG_fail
;
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35244 wxPyEndAllowThreads(__tstate
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35256 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35257 PyObject
*resultobj
;
35258 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35260 wxString
*arg3
= 0 ;
35261 bool temp3
= false ;
35262 PyObject
* obj0
= 0 ;
35263 PyObject
* obj1
= 0 ;
35264 PyObject
* obj2
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self",(char *) "pos",(char *) "label", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35271 if (SWIG_arg_fail(1)) SWIG_fail
;
35273 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35274 if (SWIG_arg_fail(2)) SWIG_fail
;
35277 arg3
= wxString_in_helper(obj2
);
35278 if (arg3
== NULL
) SWIG_fail
;
35282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35283 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35288 Py_INCREF(Py_None
); resultobj
= Py_None
;
35303 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
;
35305 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35308 PyObject
* obj0
= 0 ;
35309 PyObject
* obj1
= 0 ;
35310 char *kwnames
[] = {
35311 (char *) "self",(char *) "pos", NULL
35314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35316 if (SWIG_arg_fail(1)) SWIG_fail
;
35318 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35319 if (SWIG_arg_fail(2)) SWIG_fail
;
35322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35323 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35325 wxPyEndAllowThreads(__tstate
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35341 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
;
35343 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35344 wxString
*arg2
= 0 ;
35345 wxString
*arg3
= 0 ;
35347 bool temp2
= false ;
35348 bool temp3
= false ;
35349 PyObject
* obj0
= 0 ;
35350 PyObject
* obj1
= 0 ;
35351 PyObject
* obj2
= 0 ;
35352 char *kwnames
[] = {
35353 (char *) "self",(char *) "menu",(char *) "item", NULL
35356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35358 if (SWIG_arg_fail(1)) SWIG_fail
;
35360 arg2
= wxString_in_helper(obj1
);
35361 if (arg2
== NULL
) SWIG_fail
;
35365 arg3
= wxString_in_helper(obj2
);
35366 if (arg3
== NULL
) SWIG_fail
;
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= SWIG_From_int((int)(result
));
35401 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35402 PyObject
*resultobj
;
35403 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35405 wxMenuItem
*result
;
35406 PyObject
* obj0
= 0 ;
35407 PyObject
* obj1
= 0 ;
35408 char *kwnames
[] = {
35409 (char *) "self",(char *) "id", NULL
35412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35414 if (SWIG_arg_fail(1)) SWIG_fail
;
35416 arg2
= (int)(SWIG_As_int(obj1
));
35417 if (SWIG_arg_fail(2)) SWIG_fail
;
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35421 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35427 resultobj
= wxPyMake_wxObject(result
, 0);
35435 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35436 PyObject
*resultobj
;
35437 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35438 wxString
*arg2
= 0 ;
35440 bool temp2
= false ;
35441 PyObject
* obj0
= 0 ;
35442 PyObject
* obj1
= 0 ;
35443 char *kwnames
[] = {
35444 (char *) "self",(char *) "title", NULL
35447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35449 if (SWIG_arg_fail(1)) SWIG_fail
;
35451 arg2
= wxString_in_helper(obj1
);
35452 if (arg2
== NULL
) SWIG_fail
;
35456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35457 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35459 wxPyEndAllowThreads(__tstate
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= SWIG_From_int((int)(result
));
35479 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35480 PyObject
*resultobj
;
35481 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35484 PyObject
* obj0
= 0 ;
35485 PyObject
* obj1
= 0 ;
35486 PyObject
* obj2
= 0 ;
35487 char *kwnames
[] = {
35488 (char *) "self",(char *) "id",(char *) "enable", NULL
35491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35493 if (SWIG_arg_fail(1)) SWIG_fail
;
35495 arg2
= (int)(SWIG_As_int(obj1
));
35496 if (SWIG_arg_fail(2)) SWIG_fail
;
35499 arg3
= (bool)(SWIG_As_bool(obj2
));
35500 if (SWIG_arg_fail(3)) SWIG_fail
;
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 (arg1
)->Enable(arg2
,arg3
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35509 Py_INCREF(Py_None
); resultobj
= Py_None
;
35516 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35517 PyObject
*resultobj
;
35518 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 PyObject
* obj2
= 0 ;
35524 char *kwnames
[] = {
35525 (char *) "self",(char *) "id",(char *) "check", NULL
35528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35530 if (SWIG_arg_fail(1)) SWIG_fail
;
35532 arg2
= (int)(SWIG_As_int(obj1
));
35533 if (SWIG_arg_fail(2)) SWIG_fail
;
35536 arg3
= (bool)(SWIG_As_bool(obj2
));
35537 if (SWIG_arg_fail(3)) SWIG_fail
;
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 (arg1
)->Check(arg2
,arg3
);
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 Py_INCREF(Py_None
); resultobj
= Py_None
;
35553 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35554 PyObject
*resultobj
;
35555 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35558 PyObject
* obj0
= 0 ;
35559 PyObject
* obj1
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self",(char *) "id", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35566 if (SWIG_arg_fail(1)) SWIG_fail
;
35568 arg2
= (int)(SWIG_As_int(obj1
));
35569 if (SWIG_arg_fail(2)) SWIG_fail
;
35572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35573 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35575 wxPyEndAllowThreads(__tstate
);
35576 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35587 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
;
35589 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35592 PyObject
* obj0
= 0 ;
35593 PyObject
* obj1
= 0 ;
35594 char *kwnames
[] = {
35595 (char *) "self",(char *) "id", NULL
35598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35600 if (SWIG_arg_fail(1)) SWIG_fail
;
35602 arg2
= (int)(SWIG_As_int(obj1
));
35603 if (SWIG_arg_fail(2)) SWIG_fail
;
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35621 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35622 PyObject
*resultobj
;
35623 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35625 wxString
*arg3
= 0 ;
35626 bool temp3
= false ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 PyObject
* obj2
= 0 ;
35630 char *kwnames
[] = {
35631 (char *) "self",(char *) "id",(char *) "label", NULL
35634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35636 if (SWIG_arg_fail(1)) SWIG_fail
;
35638 arg2
= (int)(SWIG_As_int(obj1
));
35639 if (SWIG_arg_fail(2)) SWIG_fail
;
35642 arg3
= wxString_in_helper(obj2
);
35643 if (arg3
== NULL
) SWIG_fail
;
35647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35648 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35653 Py_INCREF(Py_None
); resultobj
= Py_None
;
35668 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35669 PyObject
*resultobj
;
35670 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35673 PyObject
* obj0
= 0 ;
35674 PyObject
* obj1
= 0 ;
35675 char *kwnames
[] = {
35676 (char *) "self",(char *) "id", NULL
35679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35681 if (SWIG_arg_fail(1)) SWIG_fail
;
35683 arg2
= (int)(SWIG_As_int(obj1
));
35684 if (SWIG_arg_fail(2)) SWIG_fail
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35706 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35707 PyObject
*resultobj
;
35708 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35710 wxString
*arg3
= 0 ;
35711 bool temp3
= false ;
35712 PyObject
* obj0
= 0 ;
35713 PyObject
* obj1
= 0 ;
35714 PyObject
* obj2
= 0 ;
35715 char *kwnames
[] = {
35716 (char *) "self",(char *) "id",(char *) "helpString", NULL
35719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35721 if (SWIG_arg_fail(1)) SWIG_fail
;
35723 arg2
= (int)(SWIG_As_int(obj1
));
35724 if (SWIG_arg_fail(2)) SWIG_fail
;
35727 arg3
= wxString_in_helper(obj2
);
35728 if (arg3
== NULL
) SWIG_fail
;
35732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35733 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35735 wxPyEndAllowThreads(__tstate
);
35736 if (PyErr_Occurred()) SWIG_fail
;
35738 Py_INCREF(Py_None
); resultobj
= Py_None
;
35753 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35758 PyObject
* obj0
= 0 ;
35759 PyObject
* obj1
= 0 ;
35760 char *kwnames
[] = {
35761 (char *) "self",(char *) "id", NULL
35764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35766 if (SWIG_arg_fail(1)) SWIG_fail
;
35768 arg2
= (int)(SWIG_As_int(obj1
));
35769 if (SWIG_arg_fail(2)) SWIG_fail
;
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35775 wxPyEndAllowThreads(__tstate
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35791 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35792 PyObject
*resultobj
;
35793 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35795 PyObject
* obj0
= 0 ;
35796 char *kwnames
[] = {
35797 (char *) "self", NULL
35800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35802 if (SWIG_arg_fail(1)) SWIG_fail
;
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= wxPyMake_wxObject(result
, 0);
35819 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35820 PyObject
*resultobj
;
35821 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35823 PyObject
* obj0
= 0 ;
35824 char *kwnames
[] = {
35825 (char *) "self", NULL
35828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35830 if (SWIG_arg_fail(1)) SWIG_fail
;
35832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35833 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35835 wxPyEndAllowThreads(__tstate
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35847 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
;
35849 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35850 wxFrame
*arg2
= (wxFrame
*) 0 ;
35851 PyObject
* obj0
= 0 ;
35852 PyObject
* obj1
= 0 ;
35853 char *kwnames
[] = {
35854 (char *) "self",(char *) "frame", NULL
35857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35859 if (SWIG_arg_fail(1)) SWIG_fail
;
35860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35861 if (SWIG_arg_fail(2)) SWIG_fail
;
35863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35864 (arg1
)->Attach(arg2
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 Py_INCREF(Py_None
); resultobj
= Py_None
;
35876 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
;
35878 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35879 PyObject
* obj0
= 0 ;
35880 char *kwnames
[] = {
35881 (char *) "self", NULL
35884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35886 if (SWIG_arg_fail(1)) SWIG_fail
;
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 Py_INCREF(Py_None
); resultobj
= Py_None
;
35901 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35904 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35906 return Py_BuildValue((char *)"");
35908 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35909 PyObject
*resultobj
;
35910 wxMenu
*arg1
= (wxMenu
*) NULL
;
35911 int arg2
= (int) wxID_ANY
;
35912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35914 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35915 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35916 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35917 wxMenu
*arg6
= (wxMenu
*) NULL
;
35918 wxMenuItem
*result
;
35919 bool temp3
= false ;
35920 bool temp4
= false ;
35921 PyObject
* obj0
= 0 ;
35922 PyObject
* obj1
= 0 ;
35923 PyObject
* obj2
= 0 ;
35924 PyObject
* obj3
= 0 ;
35925 PyObject
* obj4
= 0 ;
35926 PyObject
* obj5
= 0 ;
35927 char *kwnames
[] = {
35928 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35934 if (SWIG_arg_fail(1)) SWIG_fail
;
35938 arg2
= (int)(SWIG_As_int(obj1
));
35939 if (SWIG_arg_fail(2)) SWIG_fail
;
35944 arg3
= wxString_in_helper(obj2
);
35945 if (arg3
== NULL
) SWIG_fail
;
35951 arg4
= wxString_in_helper(obj3
);
35952 if (arg4
== NULL
) SWIG_fail
;
35958 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35959 if (SWIG_arg_fail(5)) SWIG_fail
;
35963 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35964 if (SWIG_arg_fail(6)) SWIG_fail
;
35967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35968 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35970 wxPyEndAllowThreads(__tstate
);
35971 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= wxPyMake_wxObject(result
, 1);
35998 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35999 PyObject
*resultobj
;
36000 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36002 PyObject
* obj0
= 0 ;
36003 char *kwnames
[] = {
36004 (char *) "self", NULL
36007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36009 if (SWIG_arg_fail(1)) SWIG_fail
;
36011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36012 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36014 wxPyEndAllowThreads(__tstate
);
36015 if (PyErr_Occurred()) SWIG_fail
;
36018 resultobj
= wxPyMake_wxObject(result
, 0);
36026 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36027 PyObject
*resultobj
;
36028 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36029 wxMenu
*arg2
= (wxMenu
*) 0 ;
36030 PyObject
* obj0
= 0 ;
36031 PyObject
* obj1
= 0 ;
36032 char *kwnames
[] = {
36033 (char *) "self",(char *) "menu", NULL
36036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36038 if (SWIG_arg_fail(1)) SWIG_fail
;
36039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36040 if (SWIG_arg_fail(2)) SWIG_fail
;
36042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36043 (arg1
)->SetMenu(arg2
);
36045 wxPyEndAllowThreads(__tstate
);
36046 if (PyErr_Occurred()) SWIG_fail
;
36048 Py_INCREF(Py_None
); resultobj
= Py_None
;
36055 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36056 PyObject
*resultobj
;
36057 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36059 PyObject
* obj0
= 0 ;
36060 PyObject
* obj1
= 0 ;
36061 char *kwnames
[] = {
36062 (char *) "self",(char *) "id", NULL
36065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36067 if (SWIG_arg_fail(1)) SWIG_fail
;
36069 arg2
= (int)(SWIG_As_int(obj1
));
36070 if (SWIG_arg_fail(2)) SWIG_fail
;
36073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36074 (arg1
)->SetId(arg2
);
36076 wxPyEndAllowThreads(__tstate
);
36077 if (PyErr_Occurred()) SWIG_fail
;
36079 Py_INCREF(Py_None
); resultobj
= Py_None
;
36086 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36087 PyObject
*resultobj
;
36088 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36090 PyObject
* obj0
= 0 ;
36091 char *kwnames
[] = {
36092 (char *) "self", NULL
36095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36097 if (SWIG_arg_fail(1)) SWIG_fail
;
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36106 resultobj
= SWIG_From_int((int)(result
));
36114 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36115 PyObject
*resultobj
;
36116 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36118 PyObject
* obj0
= 0 ;
36119 char *kwnames
[] = {
36120 (char *) "self", NULL
36123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36125 if (SWIG_arg_fail(1)) SWIG_fail
;
36127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36130 wxPyEndAllowThreads(__tstate
);
36131 if (PyErr_Occurred()) SWIG_fail
;
36134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36142 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36143 PyObject
*resultobj
;
36144 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36145 wxString
*arg2
= 0 ;
36146 bool temp2
= false ;
36147 PyObject
* obj0
= 0 ;
36148 PyObject
* obj1
= 0 ;
36149 char *kwnames
[] = {
36150 (char *) "self",(char *) "str", NULL
36153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36155 if (SWIG_arg_fail(1)) SWIG_fail
;
36157 arg2
= wxString_in_helper(obj1
);
36158 if (arg2
== NULL
) SWIG_fail
;
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 (arg1
)->SetText((wxString
const &)*arg2
);
36165 wxPyEndAllowThreads(__tstate
);
36166 if (PyErr_Occurred()) SWIG_fail
;
36168 Py_INCREF(Py_None
); resultobj
= Py_None
;
36183 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
;
36185 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36187 PyObject
* obj0
= 0 ;
36188 char *kwnames
[] = {
36189 (char *) "self", NULL
36192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36194 if (SWIG_arg_fail(1)) SWIG_fail
;
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36215 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
;
36217 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36219 PyObject
* obj0
= 0 ;
36220 char *kwnames
[] = {
36221 (char *) "self", NULL
36224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36226 if (SWIG_arg_fail(1)) SWIG_fail
;
36228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36230 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36231 result
= (wxString
*) &_result_ref
;
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36239 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36241 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36250 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxString
*arg1
= 0 ;
36254 bool temp1
= false ;
36255 PyObject
* obj0
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "text", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36262 arg1
= wxString_in_helper(obj0
);
36263 if (arg1
== NULL
) SWIG_fail
;
36267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36268 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36270 wxPyEndAllowThreads(__tstate
);
36271 if (PyErr_Occurred()) SWIG_fail
;
36275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36294 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36295 PyObject
*resultobj
;
36296 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36298 PyObject
* obj0
= 0 ;
36299 char *kwnames
[] = {
36300 (char *) "self", NULL
36303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36305 if (SWIG_arg_fail(1)) SWIG_fail
;
36307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36308 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36310 wxPyEndAllowThreads(__tstate
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36313 resultobj
= SWIG_From_int((result
));
36320 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
;
36322 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36324 PyObject
* obj0
= 0 ;
36325 PyObject
* obj1
= 0 ;
36326 char *kwnames
[] = {
36327 (char *) "self",(char *) "kind", NULL
36330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36332 if (SWIG_arg_fail(1)) SWIG_fail
;
36334 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36335 if (SWIG_arg_fail(2)) SWIG_fail
;
36338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36339 (arg1
)->SetKind((wxItemKind
)arg2
);
36341 wxPyEndAllowThreads(__tstate
);
36342 if (PyErr_Occurred()) SWIG_fail
;
36344 Py_INCREF(Py_None
); resultobj
= Py_None
;
36351 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36352 PyObject
*resultobj
;
36353 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36355 PyObject
* obj0
= 0 ;
36356 PyObject
* obj1
= 0 ;
36357 char *kwnames
[] = {
36358 (char *) "self",(char *) "checkable", NULL
36361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36363 if (SWIG_arg_fail(1)) SWIG_fail
;
36365 arg2
= (bool)(SWIG_As_bool(obj1
));
36366 if (SWIG_arg_fail(2)) SWIG_fail
;
36369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36370 (arg1
)->SetCheckable(arg2
);
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36375 Py_INCREF(Py_None
); resultobj
= Py_None
;
36382 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36383 PyObject
*resultobj
;
36384 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36386 PyObject
* obj0
= 0 ;
36387 char *kwnames
[] = {
36388 (char *) "self", NULL
36391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36393 if (SWIG_arg_fail(1)) SWIG_fail
;
36395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36396 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36398 wxPyEndAllowThreads(__tstate
);
36399 if (PyErr_Occurred()) SWIG_fail
;
36402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36410 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
;
36412 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 char *kwnames
[] = {
36416 (char *) "self", NULL
36419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36421 if (SWIG_arg_fail(1)) SWIG_fail
;
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36426 wxPyEndAllowThreads(__tstate
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36438 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36439 PyObject
*resultobj
;
36440 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36441 wxMenu
*arg2
= (wxMenu
*) 0 ;
36442 PyObject
* obj0
= 0 ;
36443 PyObject
* obj1
= 0 ;
36444 char *kwnames
[] = {
36445 (char *) "self",(char *) "menu", NULL
36448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36450 if (SWIG_arg_fail(1)) SWIG_fail
;
36451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36452 if (SWIG_arg_fail(2)) SWIG_fail
;
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 (arg1
)->SetSubMenu(arg2
);
36457 wxPyEndAllowThreads(__tstate
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36460 Py_INCREF(Py_None
); resultobj
= Py_None
;
36467 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
;
36469 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36471 PyObject
* obj0
= 0 ;
36472 char *kwnames
[] = {
36473 (char *) "self", NULL
36476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36478 if (SWIG_arg_fail(1)) SWIG_fail
;
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36487 resultobj
= wxPyMake_wxObject(result
, 0);
36495 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36496 PyObject
*resultobj
;
36497 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36498 bool arg2
= (bool) true ;
36499 PyObject
* obj0
= 0 ;
36500 PyObject
* obj1
= 0 ;
36501 char *kwnames
[] = {
36502 (char *) "self",(char *) "enable", NULL
36505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36507 if (SWIG_arg_fail(1)) SWIG_fail
;
36510 arg2
= (bool)(SWIG_As_bool(obj1
));
36511 if (SWIG_arg_fail(2)) SWIG_fail
;
36515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36516 (arg1
)->Enable(arg2
);
36518 wxPyEndAllowThreads(__tstate
);
36519 if (PyErr_Occurred()) SWIG_fail
;
36521 Py_INCREF(Py_None
); resultobj
= Py_None
;
36528 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36529 PyObject
*resultobj
;
36530 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36532 PyObject
* obj0
= 0 ;
36533 char *kwnames
[] = {
36534 (char *) "self", NULL
36537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36539 if (SWIG_arg_fail(1)) SWIG_fail
;
36541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36542 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36544 wxPyEndAllowThreads(__tstate
);
36545 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36556 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36557 PyObject
*resultobj
;
36558 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36559 bool arg2
= (bool) true ;
36560 PyObject
* obj0
= 0 ;
36561 PyObject
* obj1
= 0 ;
36562 char *kwnames
[] = {
36563 (char *) "self",(char *) "check", NULL
36566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36568 if (SWIG_arg_fail(1)) SWIG_fail
;
36571 arg2
= (bool)(SWIG_As_bool(obj1
));
36572 if (SWIG_arg_fail(2)) SWIG_fail
;
36576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36577 (arg1
)->Check(arg2
);
36579 wxPyEndAllowThreads(__tstate
);
36580 if (PyErr_Occurred()) SWIG_fail
;
36582 Py_INCREF(Py_None
); resultobj
= Py_None
;
36589 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36590 PyObject
*resultobj
;
36591 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36593 PyObject
* obj0
= 0 ;
36594 char *kwnames
[] = {
36595 (char *) "self", NULL
36598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36600 if (SWIG_arg_fail(1)) SWIG_fail
;
36602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36603 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36605 wxPyEndAllowThreads(__tstate
);
36606 if (PyErr_Occurred()) SWIG_fail
;
36609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36617 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36618 PyObject
*resultobj
;
36619 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36620 PyObject
* obj0
= 0 ;
36621 char *kwnames
[] = {
36622 (char *) "self", NULL
36625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36627 if (SWIG_arg_fail(1)) SWIG_fail
;
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 Py_INCREF(Py_None
); resultobj
= Py_None
;
36642 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
;
36644 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36645 wxString
*arg2
= 0 ;
36646 bool temp2
= false ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 char *kwnames
[] = {
36650 (char *) "self",(char *) "str", NULL
36653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36655 if (SWIG_arg_fail(1)) SWIG_fail
;
36657 arg2
= wxString_in_helper(obj1
);
36658 if (arg2
== NULL
) SWIG_fail
;
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->SetHelp((wxString
const &)*arg2
);
36665 wxPyEndAllowThreads(__tstate
);
36666 if (PyErr_Occurred()) SWIG_fail
;
36668 Py_INCREF(Py_None
); resultobj
= Py_None
;
36683 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
;
36685 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36687 PyObject
* obj0
= 0 ;
36688 char *kwnames
[] = {
36689 (char *) "self", NULL
36692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36694 if (SWIG_arg_fail(1)) SWIG_fail
;
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36698 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36699 result
= (wxString
*) &_result_ref
;
36702 wxPyEndAllowThreads(__tstate
);
36703 if (PyErr_Occurred()) SWIG_fail
;
36707 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36709 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36718 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
;
36720 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36721 wxAcceleratorEntry
*result
;
36722 PyObject
* obj0
= 0 ;
36723 char *kwnames
[] = {
36724 (char *) "self", NULL
36727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36729 if (SWIG_arg_fail(1)) SWIG_fail
;
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36734 wxPyEndAllowThreads(__tstate
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36744 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36745 PyObject
*resultobj
;
36746 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36747 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36748 PyObject
* obj0
= 0 ;
36749 PyObject
* obj1
= 0 ;
36750 char *kwnames
[] = {
36751 (char *) "self",(char *) "accel", NULL
36754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36756 if (SWIG_arg_fail(1)) SWIG_fail
;
36757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36758 if (SWIG_arg_fail(2)) SWIG_fail
;
36760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36761 (arg1
)->SetAccel(arg2
);
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 Py_INCREF(Py_None
); resultobj
= Py_None
;
36773 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36774 PyObject
*resultobj
;
36775 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36777 PyObject
* obj0
= 0 ;
36778 PyObject
* obj1
= 0 ;
36779 char *kwnames
[] = {
36780 (char *) "self",(char *) "font", NULL
36783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36785 if (SWIG_arg_fail(1)) SWIG_fail
;
36787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36788 if (SWIG_arg_fail(2)) SWIG_fail
;
36789 if (arg2
== NULL
) {
36790 SWIG_null_ref("wxFont");
36792 if (SWIG_arg_fail(2)) SWIG_fail
;
36795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36796 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36801 Py_INCREF(Py_None
); resultobj
= Py_None
;
36808 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36809 PyObject
*resultobj
;
36810 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36812 PyObject
* obj0
= 0 ;
36813 char *kwnames
[] = {
36814 (char *) "self", NULL
36817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36819 if (SWIG_arg_fail(1)) SWIG_fail
;
36821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36822 result
= wxMenuItem_GetFont(arg1
);
36824 wxPyEndAllowThreads(__tstate
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36828 wxFont
* resultptr
;
36829 resultptr
= new wxFont((wxFont
&)(result
));
36830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36838 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36839 PyObject
*resultobj
;
36840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36841 wxColour
*arg2
= 0 ;
36843 PyObject
* obj0
= 0 ;
36844 PyObject
* obj1
= 0 ;
36845 char *kwnames
[] = {
36846 (char *) "self",(char *) "colText", NULL
36849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36851 if (SWIG_arg_fail(1)) SWIG_fail
;
36854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36858 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36860 wxPyEndAllowThreads(__tstate
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36863 Py_INCREF(Py_None
); resultobj
= Py_None
;
36870 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36871 PyObject
*resultobj
;
36872 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36874 PyObject
* obj0
= 0 ;
36875 char *kwnames
[] = {
36876 (char *) "self", NULL
36879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36881 if (SWIG_arg_fail(1)) SWIG_fail
;
36883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36884 result
= wxMenuItem_GetTextColour(arg1
);
36886 wxPyEndAllowThreads(__tstate
);
36887 if (PyErr_Occurred()) SWIG_fail
;
36890 wxColour
* resultptr
;
36891 resultptr
= new wxColour((wxColour
&)(result
));
36892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36900 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36901 PyObject
*resultobj
;
36902 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36903 wxColour
*arg2
= 0 ;
36905 PyObject
* obj0
= 0 ;
36906 PyObject
* obj1
= 0 ;
36907 char *kwnames
[] = {
36908 (char *) "self",(char *) "colBack", NULL
36911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36913 if (SWIG_arg_fail(1)) SWIG_fail
;
36916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36920 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36922 wxPyEndAllowThreads(__tstate
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36925 Py_INCREF(Py_None
); resultobj
= Py_None
;
36932 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36933 PyObject
*resultobj
;
36934 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36936 PyObject
* obj0
= 0 ;
36937 char *kwnames
[] = {
36938 (char *) "self", NULL
36941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36943 if (SWIG_arg_fail(1)) SWIG_fail
;
36945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36946 result
= wxMenuItem_GetBackgroundColour(arg1
);
36948 wxPyEndAllowThreads(__tstate
);
36949 if (PyErr_Occurred()) SWIG_fail
;
36952 wxColour
* resultptr
;
36953 resultptr
= new wxColour((wxColour
&)(result
));
36954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36962 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
;
36964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36965 wxBitmap
*arg2
= 0 ;
36966 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36967 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36968 PyObject
* obj0
= 0 ;
36969 PyObject
* obj1
= 0 ;
36970 PyObject
* obj2
= 0 ;
36971 char *kwnames
[] = {
36972 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36977 if (SWIG_arg_fail(1)) SWIG_fail
;
36979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36980 if (SWIG_arg_fail(2)) SWIG_fail
;
36981 if (arg2
== NULL
) {
36982 SWIG_null_ref("wxBitmap");
36984 if (SWIG_arg_fail(2)) SWIG_fail
;
36988 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36989 if (SWIG_arg_fail(3)) SWIG_fail
;
36990 if (arg3
== NULL
) {
36991 SWIG_null_ref("wxBitmap");
36993 if (SWIG_arg_fail(3)) SWIG_fail
;
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37003 Py_INCREF(Py_None
); resultobj
= Py_None
;
37010 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37011 PyObject
*resultobj
;
37012 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37013 wxBitmap
*arg2
= 0 ;
37014 PyObject
* obj0
= 0 ;
37015 PyObject
* obj1
= 0 ;
37016 char *kwnames
[] = {
37017 (char *) "self",(char *) "bmpDisabled", NULL
37020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37022 if (SWIG_arg_fail(1)) SWIG_fail
;
37024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37025 if (SWIG_arg_fail(2)) SWIG_fail
;
37026 if (arg2
== NULL
) {
37027 SWIG_null_ref("wxBitmap");
37029 if (SWIG_arg_fail(2)) SWIG_fail
;
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 Py_INCREF(Py_None
); resultobj
= Py_None
;
37045 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
;
37047 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37049 PyObject
* obj0
= 0 ;
37050 char *kwnames
[] = {
37051 (char *) "self", NULL
37054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37056 if (SWIG_arg_fail(1)) SWIG_fail
;
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37060 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37061 result
= (wxBitmap
*) &_result_ref
;
37064 wxPyEndAllowThreads(__tstate
);
37065 if (PyErr_Occurred()) SWIG_fail
;
37068 wxBitmap
* resultptr
= new wxBitmap(*result
);
37069 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37077 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37078 PyObject
*resultobj
;
37079 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37081 PyObject
* obj0
= 0 ;
37082 PyObject
* obj1
= 0 ;
37083 char *kwnames
[] = {
37084 (char *) "self",(char *) "nWidth", NULL
37087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37089 if (SWIG_arg_fail(1)) SWIG_fail
;
37091 arg2
= (int)(SWIG_As_int(obj1
));
37092 if (SWIG_arg_fail(2)) SWIG_fail
;
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37098 wxPyEndAllowThreads(__tstate
);
37099 if (PyErr_Occurred()) SWIG_fail
;
37101 Py_INCREF(Py_None
); resultobj
= Py_None
;
37108 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37109 PyObject
*resultobj
;
37110 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37112 PyObject
* obj0
= 0 ;
37113 char *kwnames
[] = {
37114 (char *) "self", NULL
37117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37119 if (SWIG_arg_fail(1)) SWIG_fail
;
37121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37122 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37124 wxPyEndAllowThreads(__tstate
);
37125 if (PyErr_Occurred()) SWIG_fail
;
37128 resultobj
= SWIG_From_int((int)(result
));
37136 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37137 PyObject
*resultobj
;
37139 char *kwnames
[] = {
37143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37146 result
= (int)MenuItem_GetDefaultMarginWidth();
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37152 resultobj
= SWIG_From_int((int)(result
));
37160 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37161 PyObject
*resultobj
;
37162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37164 PyObject
* obj0
= 0 ;
37165 char *kwnames
[] = {
37166 (char *) "self", NULL
37169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37171 if (SWIG_arg_fail(1)) SWIG_fail
;
37173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37174 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37176 wxPyEndAllowThreads(__tstate
);
37177 if (PyErr_Occurred()) SWIG_fail
;
37180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37188 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37189 PyObject
*resultobj
;
37190 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37191 bool arg2
= (bool) true ;
37192 PyObject
* obj0
= 0 ;
37193 PyObject
* obj1
= 0 ;
37194 char *kwnames
[] = {
37195 (char *) "self",(char *) "ownerDrawn", NULL
37198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37200 if (SWIG_arg_fail(1)) SWIG_fail
;
37203 arg2
= (bool)(SWIG_As_bool(obj1
));
37204 if (SWIG_arg_fail(2)) SWIG_fail
;
37208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37209 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37211 wxPyEndAllowThreads(__tstate
);
37212 if (PyErr_Occurred()) SWIG_fail
;
37214 Py_INCREF(Py_None
); resultobj
= Py_None
;
37221 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37222 PyObject
*resultobj
;
37223 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37224 PyObject
* obj0
= 0 ;
37225 char *kwnames
[] = {
37226 (char *) "self", NULL
37229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37231 if (SWIG_arg_fail(1)) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 wxMenuItem_ResetOwnerDrawn(arg1
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 Py_INCREF(Py_None
); resultobj
= Py_None
;
37246 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37248 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37249 wxBitmap
*arg2
= 0 ;
37250 PyObject
* obj0
= 0 ;
37251 PyObject
* obj1
= 0 ;
37252 char *kwnames
[] = {
37253 (char *) "self",(char *) "bitmap", NULL
37256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37258 if (SWIG_arg_fail(1)) SWIG_fail
;
37260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37261 if (SWIG_arg_fail(2)) SWIG_fail
;
37262 if (arg2
== NULL
) {
37263 SWIG_null_ref("wxBitmap");
37265 if (SWIG_arg_fail(2)) SWIG_fail
;
37268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37269 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37271 wxPyEndAllowThreads(__tstate
);
37272 if (PyErr_Occurred()) SWIG_fail
;
37274 Py_INCREF(Py_None
); resultobj
= Py_None
;
37281 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37282 PyObject
*resultobj
;
37283 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37285 PyObject
* obj0
= 0 ;
37286 char *kwnames
[] = {
37287 (char *) "self", NULL
37290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37292 if (SWIG_arg_fail(1)) SWIG_fail
;
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37296 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37297 result
= (wxBitmap
*) &_result_ref
;
37300 wxPyEndAllowThreads(__tstate
);
37301 if (PyErr_Occurred()) SWIG_fail
;
37304 wxBitmap
* resultptr
= new wxBitmap(*result
);
37305 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37313 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37316 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37318 return Py_BuildValue((char *)"");
37320 static int _wrap_ControlNameStr_set(PyObject
*) {
37321 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37326 static PyObject
*_wrap_ControlNameStr_get(void) {
37331 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37333 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37340 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
;
37342 wxWindow
*arg1
= (wxWindow
*) 0 ;
37343 int arg2
= (int) -1 ;
37344 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37345 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37346 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37347 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37348 long arg5
= (long) 0 ;
37349 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37350 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37351 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37356 bool temp7
= false ;
37357 PyObject
* obj0
= 0 ;
37358 PyObject
* obj1
= 0 ;
37359 PyObject
* obj2
= 0 ;
37360 PyObject
* obj3
= 0 ;
37361 PyObject
* obj4
= 0 ;
37362 PyObject
* obj5
= 0 ;
37363 PyObject
* obj6
= 0 ;
37364 char *kwnames
[] = {
37365 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37370 if (SWIG_arg_fail(1)) SWIG_fail
;
37373 arg2
= (int)(SWIG_As_int(obj1
));
37374 if (SWIG_arg_fail(2)) SWIG_fail
;
37380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37386 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37391 arg5
= (long)(SWIG_As_long(obj4
));
37392 if (SWIG_arg_fail(5)) SWIG_fail
;
37397 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37398 if (SWIG_arg_fail(6)) SWIG_fail
;
37399 if (arg6
== NULL
) {
37400 SWIG_null_ref("wxValidator");
37402 if (SWIG_arg_fail(6)) SWIG_fail
;
37407 arg7
= wxString_in_helper(obj6
);
37408 if (arg7
== NULL
) SWIG_fail
;
37413 if (!wxPyCheckForApp()) SWIG_fail
;
37414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37415 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37417 wxPyEndAllowThreads(__tstate
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37435 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37436 PyObject
*resultobj
;
37438 char *kwnames
[] = {
37442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37444 if (!wxPyCheckForApp()) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 result
= (wxControl
*)new wxControl();
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37458 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37459 PyObject
*resultobj
;
37460 wxControl
*arg1
= (wxControl
*) 0 ;
37461 wxWindow
*arg2
= (wxWindow
*) 0 ;
37462 int arg3
= (int) -1 ;
37463 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37464 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37465 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37466 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37467 long arg6
= (long) 0 ;
37468 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37469 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37470 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37471 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37475 bool temp8
= false ;
37476 PyObject
* obj0
= 0 ;
37477 PyObject
* obj1
= 0 ;
37478 PyObject
* obj2
= 0 ;
37479 PyObject
* obj3
= 0 ;
37480 PyObject
* obj4
= 0 ;
37481 PyObject
* obj5
= 0 ;
37482 PyObject
* obj6
= 0 ;
37483 PyObject
* obj7
= 0 ;
37484 char *kwnames
[] = {
37485 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37490 if (SWIG_arg_fail(1)) SWIG_fail
;
37491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37492 if (SWIG_arg_fail(2)) SWIG_fail
;
37495 arg3
= (int)(SWIG_As_int(obj2
));
37496 if (SWIG_arg_fail(3)) SWIG_fail
;
37502 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37508 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37513 arg6
= (long)(SWIG_As_long(obj5
));
37514 if (SWIG_arg_fail(6)) SWIG_fail
;
37519 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37520 if (SWIG_arg_fail(7)) SWIG_fail
;
37521 if (arg7
== NULL
) {
37522 SWIG_null_ref("wxValidator");
37524 if (SWIG_arg_fail(7)) SWIG_fail
;
37529 arg8
= wxString_in_helper(obj7
);
37530 if (arg8
== NULL
) SWIG_fail
;
37535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37536 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37538 wxPyEndAllowThreads(__tstate
);
37539 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37558 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37559 PyObject
*resultobj
;
37560 wxControl
*arg1
= (wxControl
*) 0 ;
37561 wxCommandEvent
*arg2
= 0 ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 char *kwnames
[] = {
37565 (char *) "self",(char *) "event", NULL
37568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37570 if (SWIG_arg_fail(1)) SWIG_fail
;
37572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37573 if (SWIG_arg_fail(2)) SWIG_fail
;
37574 if (arg2
== NULL
) {
37575 SWIG_null_ref("wxCommandEvent");
37577 if (SWIG_arg_fail(2)) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 (arg1
)->Command(*arg2
);
37583 wxPyEndAllowThreads(__tstate
);
37584 if (PyErr_Occurred()) SWIG_fail
;
37586 Py_INCREF(Py_None
); resultobj
= Py_None
;
37593 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37594 PyObject
*resultobj
;
37595 wxControl
*arg1
= (wxControl
*) 0 ;
37597 PyObject
* obj0
= 0 ;
37598 char *kwnames
[] = {
37599 (char *) "self", NULL
37602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37604 if (SWIG_arg_fail(1)) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 result
= (arg1
)->GetLabel();
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37625 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37626 PyObject
*resultobj
;
37627 wxControl
*arg1
= (wxControl
*) 0 ;
37628 wxString
*arg2
= 0 ;
37629 bool temp2
= false ;
37630 PyObject
* obj0
= 0 ;
37631 PyObject
* obj1
= 0 ;
37632 char *kwnames
[] = {
37633 (char *) "self",(char *) "label", NULL
37636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37638 if (SWIG_arg_fail(1)) SWIG_fail
;
37640 arg2
= wxString_in_helper(obj1
);
37641 if (arg2
== NULL
) SWIG_fail
;
37645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37646 (arg1
)->SetLabel((wxString
const &)*arg2
);
37648 wxPyEndAllowThreads(__tstate
);
37649 if (PyErr_Occurred()) SWIG_fail
;
37651 Py_INCREF(Py_None
); resultobj
= Py_None
;
37666 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
;
37668 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37669 wxVisualAttributes result
;
37670 PyObject
* obj0
= 0 ;
37671 char *kwnames
[] = {
37672 (char *) "variant", NULL
37675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37678 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37679 if (SWIG_arg_fail(1)) SWIG_fail
;
37683 if (!wxPyCheckForApp()) SWIG_fail
;
37684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37685 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37691 wxVisualAttributes
* resultptr
;
37692 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37701 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37704 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37706 return Py_BuildValue((char *)"");
37708 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37709 PyObject
*resultobj
;
37710 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37711 wxString
*arg2
= 0 ;
37712 PyObject
*arg3
= (PyObject
*) NULL
;
37714 bool temp2
= false ;
37715 PyObject
* obj0
= 0 ;
37716 PyObject
* obj1
= 0 ;
37717 PyObject
* obj2
= 0 ;
37718 char *kwnames
[] = {
37719 (char *) "self",(char *) "item",(char *) "clientData", NULL
37722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37724 if (SWIG_arg_fail(1)) SWIG_fail
;
37726 arg2
= wxString_in_helper(obj1
);
37727 if (arg2
== NULL
) SWIG_fail
;
37734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37735 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37737 wxPyEndAllowThreads(__tstate
);
37738 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= SWIG_From_int((int)(result
));
37757 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37758 PyObject
*resultobj
;
37759 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37760 wxArrayString
*arg2
= 0 ;
37761 bool temp2
= false ;
37762 PyObject
* obj0
= 0 ;
37763 PyObject
* obj1
= 0 ;
37764 char *kwnames
[] = {
37765 (char *) "self",(char *) "strings", NULL
37768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37770 if (SWIG_arg_fail(1)) SWIG_fail
;
37772 if (! PySequence_Check(obj1
)) {
37773 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37776 arg2
= new wxArrayString
;
37778 int i
, len
=PySequence_Length(obj1
);
37779 for (i
=0; i
<len
; i
++) {
37780 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37782 PyObject
* str
= PyObject_Unicode(item
);
37784 PyObject
* str
= PyObject_Str(item
);
37786 if (PyErr_Occurred()) SWIG_fail
;
37787 arg2
->Add(Py2wxString(str
));
37793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37794 (arg1
)->Append((wxArrayString
const &)*arg2
);
37796 wxPyEndAllowThreads(__tstate
);
37797 if (PyErr_Occurred()) SWIG_fail
;
37799 Py_INCREF(Py_None
); resultobj
= Py_None
;
37801 if (temp2
) delete arg2
;
37806 if (temp2
) delete arg2
;
37812 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37813 PyObject
*resultobj
;
37814 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37815 wxString
*arg2
= 0 ;
37817 PyObject
*arg4
= (PyObject
*) NULL
;
37819 bool temp2
= false ;
37820 PyObject
* obj0
= 0 ;
37821 PyObject
* obj1
= 0 ;
37822 PyObject
* obj2
= 0 ;
37823 PyObject
* obj3
= 0 ;
37824 char *kwnames
[] = {
37825 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37830 if (SWIG_arg_fail(1)) SWIG_fail
;
37832 arg2
= wxString_in_helper(obj1
);
37833 if (arg2
== NULL
) SWIG_fail
;
37837 arg3
= (int)(SWIG_As_int(obj2
));
37838 if (SWIG_arg_fail(3)) SWIG_fail
;
37844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37845 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37851 resultobj
= SWIG_From_int((int)(result
));
37867 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37868 PyObject
*resultobj
;
37869 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37870 PyObject
* obj0
= 0 ;
37871 char *kwnames
[] = {
37872 (char *) "self", NULL
37875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37877 if (SWIG_arg_fail(1)) SWIG_fail
;
37879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37882 wxPyEndAllowThreads(__tstate
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37885 Py_INCREF(Py_None
); resultobj
= Py_None
;
37892 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37893 PyObject
*resultobj
;
37894 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 char *kwnames
[] = {
37899 (char *) "self",(char *) "n", NULL
37902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37904 if (SWIG_arg_fail(1)) SWIG_fail
;
37906 arg2
= (int)(SWIG_As_int(obj1
));
37907 if (SWIG_arg_fail(2)) SWIG_fail
;
37910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37911 (arg1
)->Delete(arg2
);
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37916 Py_INCREF(Py_None
); resultobj
= Py_None
;
37923 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37924 PyObject
*resultobj
;
37925 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37928 PyObject
* obj0
= 0 ;
37929 PyObject
* obj1
= 0 ;
37930 char *kwnames
[] = {
37931 (char *) "self",(char *) "n", NULL
37934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37936 if (SWIG_arg_fail(1)) SWIG_fail
;
37938 arg2
= (int)(SWIG_As_int(obj1
));
37939 if (SWIG_arg_fail(2)) SWIG_fail
;
37942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37943 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37945 wxPyEndAllowThreads(__tstate
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37948 resultobj
= result
;
37955 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
;
37957 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37959 PyObject
*arg3
= (PyObject
*) 0 ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 PyObject
* obj2
= 0 ;
37963 char *kwnames
[] = {
37964 (char *) "self",(char *) "n",(char *) "clientData", NULL
37967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37969 if (SWIG_arg_fail(1)) SWIG_fail
;
37971 arg2
= (int)(SWIG_As_int(obj1
));
37972 if (SWIG_arg_fail(2)) SWIG_fail
;
37976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37977 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37979 wxPyEndAllowThreads(__tstate
);
37980 if (PyErr_Occurred()) SWIG_fail
;
37982 Py_INCREF(Py_None
); resultobj
= Py_None
;
37989 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37990 PyObject
*resultobj
;
37991 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37993 PyObject
* obj0
= 0 ;
37994 char *kwnames
[] = {
37995 (char *) "self", NULL
37998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38000 if (SWIG_arg_fail(1)) SWIG_fail
;
38002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38003 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38005 wxPyEndAllowThreads(__tstate
);
38006 if (PyErr_Occurred()) SWIG_fail
;
38009 resultobj
= SWIG_From_int((int)(result
));
38017 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38018 PyObject
*resultobj
;
38019 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38021 PyObject
* obj0
= 0 ;
38022 char *kwnames
[] = {
38023 (char *) "self", NULL
38026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38028 if (SWIG_arg_fail(1)) SWIG_fail
;
38030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38031 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38045 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38046 PyObject
*resultobj
;
38047 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38050 PyObject
* obj0
= 0 ;
38051 PyObject
* obj1
= 0 ;
38052 char *kwnames
[] = {
38053 (char *) "self",(char *) "n", NULL
38056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38058 if (SWIG_arg_fail(1)) SWIG_fail
;
38060 arg2
= (int)(SWIG_As_int(obj1
));
38061 if (SWIG_arg_fail(2)) SWIG_fail
;
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38083 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38084 PyObject
*resultobj
;
38085 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38086 wxArrayString result
;
38087 PyObject
* obj0
= 0 ;
38088 char *kwnames
[] = {
38089 (char *) "self", NULL
38092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38094 if (SWIG_arg_fail(1)) SWIG_fail
;
38096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38097 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= wxArrayString2PyList_helper(result
);
38111 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38112 PyObject
*resultobj
;
38113 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38115 wxString
*arg3
= 0 ;
38116 bool temp3
= false ;
38117 PyObject
* obj0
= 0 ;
38118 PyObject
* obj1
= 0 ;
38119 PyObject
* obj2
= 0 ;
38120 char *kwnames
[] = {
38121 (char *) "self",(char *) "n",(char *) "s", NULL
38124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38126 if (SWIG_arg_fail(1)) SWIG_fail
;
38128 arg2
= (int)(SWIG_As_int(obj1
));
38129 if (SWIG_arg_fail(2)) SWIG_fail
;
38132 arg3
= wxString_in_helper(obj2
);
38133 if (arg3
== NULL
) SWIG_fail
;
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38143 Py_INCREF(Py_None
); resultobj
= Py_None
;
38158 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38159 PyObject
*resultobj
;
38160 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38161 wxString
*arg2
= 0 ;
38163 bool temp2
= false ;
38164 PyObject
* obj0
= 0 ;
38165 PyObject
* obj1
= 0 ;
38166 char *kwnames
[] = {
38167 (char *) "self",(char *) "s", NULL
38170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38172 if (SWIG_arg_fail(1)) SWIG_fail
;
38174 arg2
= wxString_in_helper(obj1
);
38175 if (arg2
== NULL
) SWIG_fail
;
38179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38180 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38182 wxPyEndAllowThreads(__tstate
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38186 resultobj
= SWIG_From_int((int)(result
));
38202 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38203 PyObject
*resultobj
;
38204 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38206 PyObject
* obj0
= 0 ;
38207 PyObject
* obj1
= 0 ;
38208 char *kwnames
[] = {
38209 (char *) "self",(char *) "n", NULL
38212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38214 if (SWIG_arg_fail(1)) SWIG_fail
;
38216 arg2
= (int)(SWIG_As_int(obj1
));
38217 if (SWIG_arg_fail(2)) SWIG_fail
;
38220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38221 (arg1
)->SetSelection(arg2
);
38223 wxPyEndAllowThreads(__tstate
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38226 Py_INCREF(Py_None
); resultobj
= Py_None
;
38233 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38234 PyObject
*resultobj
;
38235 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38237 PyObject
* obj0
= 0 ;
38238 char *kwnames
[] = {
38239 (char *) "self", NULL
38242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38244 if (SWIG_arg_fail(1)) SWIG_fail
;
38246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38247 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38249 wxPyEndAllowThreads(__tstate
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38253 resultobj
= SWIG_From_int((int)(result
));
38261 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38262 PyObject
*resultobj
;
38263 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38264 wxString
*arg2
= 0 ;
38266 bool temp2
= false ;
38267 PyObject
* obj0
= 0 ;
38268 PyObject
* obj1
= 0 ;
38269 char *kwnames
[] = {
38270 (char *) "self",(char *) "s", NULL
38273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38275 if (SWIG_arg_fail(1)) SWIG_fail
;
38277 arg2
= wxString_in_helper(obj1
);
38278 if (arg2
== NULL
) SWIG_fail
;
38282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38283 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38305 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38306 PyObject
*resultobj
;
38307 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38309 PyObject
* obj0
= 0 ;
38310 char *kwnames
[] = {
38311 (char *) "self", NULL
38314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38316 if (SWIG_arg_fail(1)) SWIG_fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38337 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38338 PyObject
*resultobj
;
38339 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38341 PyObject
* obj0
= 0 ;
38342 PyObject
* obj1
= 0 ;
38343 char *kwnames
[] = {
38344 (char *) "self",(char *) "n", NULL
38347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38349 if (SWIG_arg_fail(1)) SWIG_fail
;
38351 arg2
= (int)(SWIG_As_int(obj1
));
38352 if (SWIG_arg_fail(2)) SWIG_fail
;
38355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38356 (arg1
)->Select(arg2
);
38358 wxPyEndAllowThreads(__tstate
);
38359 if (PyErr_Occurred()) SWIG_fail
;
38361 Py_INCREF(Py_None
); resultobj
= Py_None
;
38368 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38371 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38373 return Py_BuildValue((char *)"");
38375 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38378 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38380 return Py_BuildValue((char *)"");
38382 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38383 PyObject
*resultobj
;
38384 wxSizerItem
*result
;
38385 char *kwnames
[] = {
38389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38392 result
= (wxSizerItem
*)new wxSizerItem();
38394 wxPyEndAllowThreads(__tstate
);
38395 if (PyErr_Occurred()) SWIG_fail
;
38397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38404 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38405 PyObject
*resultobj
;
38406 wxWindow
*arg1
= (wxWindow
*) 0 ;
38410 PyObject
*arg5
= (PyObject
*) NULL
;
38411 wxSizerItem
*result
;
38412 PyObject
* obj0
= 0 ;
38413 PyObject
* obj1
= 0 ;
38414 PyObject
* obj2
= 0 ;
38415 PyObject
* obj3
= 0 ;
38416 PyObject
* obj4
= 0 ;
38417 char *kwnames
[] = {
38418 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38423 if (SWIG_arg_fail(1)) SWIG_fail
;
38425 arg2
= (int)(SWIG_As_int(obj1
));
38426 if (SWIG_arg_fail(2)) SWIG_fail
;
38429 arg3
= (int)(SWIG_As_int(obj2
));
38430 if (SWIG_arg_fail(3)) SWIG_fail
;
38433 arg4
= (int)(SWIG_As_int(obj3
));
38434 if (SWIG_arg_fail(4)) SWIG_fail
;
38440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38441 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38443 wxPyEndAllowThreads(__tstate
);
38444 if (PyErr_Occurred()) SWIG_fail
;
38446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38453 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38454 PyObject
*resultobj
;
38460 PyObject
*arg6
= (PyObject
*) NULL
;
38461 wxSizerItem
*result
;
38462 PyObject
* obj0
= 0 ;
38463 PyObject
* obj1
= 0 ;
38464 PyObject
* obj2
= 0 ;
38465 PyObject
* obj3
= 0 ;
38466 PyObject
* obj4
= 0 ;
38467 PyObject
* obj5
= 0 ;
38468 char *kwnames
[] = {
38469 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38474 arg1
= (int)(SWIG_As_int(obj0
));
38475 if (SWIG_arg_fail(1)) SWIG_fail
;
38478 arg2
= (int)(SWIG_As_int(obj1
));
38479 if (SWIG_arg_fail(2)) SWIG_fail
;
38482 arg3
= (int)(SWIG_As_int(obj2
));
38483 if (SWIG_arg_fail(3)) SWIG_fail
;
38486 arg4
= (int)(SWIG_As_int(obj3
));
38487 if (SWIG_arg_fail(4)) SWIG_fail
;
38490 arg5
= (int)(SWIG_As_int(obj4
));
38491 if (SWIG_arg_fail(5)) SWIG_fail
;
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38510 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38511 PyObject
*resultobj
;
38512 wxSizer
*arg1
= (wxSizer
*) 0 ;
38516 PyObject
*arg5
= (PyObject
*) NULL
;
38517 wxSizerItem
*result
;
38518 PyObject
* obj0
= 0 ;
38519 PyObject
* obj1
= 0 ;
38520 PyObject
* obj2
= 0 ;
38521 PyObject
* obj3
= 0 ;
38522 PyObject
* obj4
= 0 ;
38523 char *kwnames
[] = {
38524 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38529 if (SWIG_arg_fail(1)) SWIG_fail
;
38531 arg2
= (int)(SWIG_As_int(obj1
));
38532 if (SWIG_arg_fail(2)) SWIG_fail
;
38535 arg3
= (int)(SWIG_As_int(obj2
));
38536 if (SWIG_arg_fail(3)) SWIG_fail
;
38539 arg4
= (int)(SWIG_As_int(obj3
));
38540 if (SWIG_arg_fail(4)) SWIG_fail
;
38546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38547 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38549 wxPyEndAllowThreads(__tstate
);
38550 if (PyErr_Occurred()) SWIG_fail
;
38552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38559 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38560 PyObject
*resultobj
;
38561 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38562 PyObject
* obj0
= 0 ;
38563 char *kwnames
[] = {
38564 (char *) "self", NULL
38567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38569 if (SWIG_arg_fail(1)) SWIG_fail
;
38571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38572 (arg1
)->DeleteWindows();
38574 wxPyEndAllowThreads(__tstate
);
38575 if (PyErr_Occurred()) SWIG_fail
;
38577 Py_INCREF(Py_None
); resultobj
= Py_None
;
38584 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38585 PyObject
*resultobj
;
38586 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38587 PyObject
* obj0
= 0 ;
38588 char *kwnames
[] = {
38589 (char *) "self", NULL
38592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38594 if (SWIG_arg_fail(1)) SWIG_fail
;
38596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38597 (arg1
)->DetachSizer();
38599 wxPyEndAllowThreads(__tstate
);
38600 if (PyErr_Occurred()) SWIG_fail
;
38602 Py_INCREF(Py_None
); resultobj
= Py_None
;
38609 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38610 PyObject
*resultobj
;
38611 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38613 PyObject
* obj0
= 0 ;
38614 char *kwnames
[] = {
38615 (char *) "self", NULL
38618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38620 if (SWIG_arg_fail(1)) SWIG_fail
;
38622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38623 result
= (arg1
)->GetSize();
38625 wxPyEndAllowThreads(__tstate
);
38626 if (PyErr_Occurred()) SWIG_fail
;
38629 wxSize
* resultptr
;
38630 resultptr
= new wxSize((wxSize
&)(result
));
38631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38639 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38640 PyObject
*resultobj
;
38641 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38643 PyObject
* obj0
= 0 ;
38644 char *kwnames
[] = {
38645 (char *) "self", NULL
38648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38650 if (SWIG_arg_fail(1)) SWIG_fail
;
38652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38653 result
= (arg1
)->CalcMin();
38655 wxPyEndAllowThreads(__tstate
);
38656 if (PyErr_Occurred()) SWIG_fail
;
38659 wxSize
* resultptr
;
38660 resultptr
= new wxSize((wxSize
&)(result
));
38661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38669 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38670 PyObject
*resultobj
;
38671 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38674 PyObject
* obj0
= 0 ;
38675 PyObject
* obj1
= 0 ;
38676 PyObject
* obj2
= 0 ;
38677 char *kwnames
[] = {
38678 (char *) "self",(char *) "pos",(char *) "size", NULL
38681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38683 if (SWIG_arg_fail(1)) SWIG_fail
;
38686 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38687 if (SWIG_arg_fail(2)) SWIG_fail
;
38688 if (argp
== NULL
) {
38689 SWIG_null_ref("wxPoint");
38691 if (SWIG_arg_fail(2)) SWIG_fail
;
38696 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38697 if (SWIG_arg_fail(3)) SWIG_fail
;
38698 if (argp
== NULL
) {
38699 SWIG_null_ref("wxSize");
38701 if (SWIG_arg_fail(3)) SWIG_fail
;
38705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38706 (arg1
)->SetDimension(arg2
,arg3
);
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38711 Py_INCREF(Py_None
); resultobj
= Py_None
;
38718 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
;
38720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38722 PyObject
* obj0
= 0 ;
38723 char *kwnames
[] = {
38724 (char *) "self", NULL
38727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38729 if (SWIG_arg_fail(1)) SWIG_fail
;
38731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38732 result
= (arg1
)->GetMinSize();
38734 wxPyEndAllowThreads(__tstate
);
38735 if (PyErr_Occurred()) SWIG_fail
;
38738 wxSize
* resultptr
;
38739 resultptr
= new wxSize((wxSize
&)(result
));
38740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38748 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38749 PyObject
*resultobj
;
38750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38752 PyObject
* obj0
= 0 ;
38753 char *kwnames
[] = {
38754 (char *) "self", NULL
38757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38759 if (SWIG_arg_fail(1)) SWIG_fail
;
38761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38762 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38764 wxPyEndAllowThreads(__tstate
);
38765 if (PyErr_Occurred()) SWIG_fail
;
38768 wxSize
* resultptr
;
38769 resultptr
= new wxSize((wxSize
&)(result
));
38770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38778 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38779 PyObject
*resultobj
;
38780 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38783 PyObject
* obj0
= 0 ;
38784 PyObject
* obj1
= 0 ;
38785 PyObject
* obj2
= 0 ;
38786 char *kwnames
[] = {
38787 (char *) "self",(char *) "x",(char *) "y", NULL
38790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38792 if (SWIG_arg_fail(1)) SWIG_fail
;
38794 arg2
= (int)(SWIG_As_int(obj1
));
38795 if (SWIG_arg_fail(2)) SWIG_fail
;
38798 arg3
= (int)(SWIG_As_int(obj2
));
38799 if (SWIG_arg_fail(3)) SWIG_fail
;
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 (arg1
)->SetInitSize(arg2
,arg3
);
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38808 Py_INCREF(Py_None
); resultobj
= Py_None
;
38815 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38816 PyObject
*resultobj
;
38817 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38820 PyObject
* obj0
= 0 ;
38821 PyObject
* obj1
= 0 ;
38822 PyObject
* obj2
= 0 ;
38823 char *kwnames
[] = {
38824 (char *) "self",(char *) "width",(char *) "height", NULL
38827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38829 if (SWIG_arg_fail(1)) SWIG_fail
;
38831 arg2
= (int)(SWIG_As_int(obj1
));
38832 if (SWIG_arg_fail(2)) SWIG_fail
;
38835 arg3
= (int)(SWIG_As_int(obj2
));
38836 if (SWIG_arg_fail(3)) SWIG_fail
;
38839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38840 (arg1
)->SetRatio(arg2
,arg3
);
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 Py_INCREF(Py_None
); resultobj
= Py_None
;
38852 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38853 PyObject
*resultobj
;
38854 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38857 PyObject
* obj0
= 0 ;
38858 PyObject
* obj1
= 0 ;
38859 char *kwnames
[] = {
38860 (char *) "self",(char *) "size", NULL
38863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38865 if (SWIG_arg_fail(1)) SWIG_fail
;
38868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38872 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38874 wxPyEndAllowThreads(__tstate
);
38875 if (PyErr_Occurred()) SWIG_fail
;
38877 Py_INCREF(Py_None
); resultobj
= Py_None
;
38884 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38885 PyObject
*resultobj
;
38886 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38888 PyObject
* obj0
= 0 ;
38889 PyObject
* obj1
= 0 ;
38890 char *kwnames
[] = {
38891 (char *) "self",(char *) "ratio", NULL
38894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38896 if (SWIG_arg_fail(1)) SWIG_fail
;
38898 arg2
= (float)(SWIG_As_float(obj1
));
38899 if (SWIG_arg_fail(2)) SWIG_fail
;
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 (arg1
)->SetRatio(arg2
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38908 Py_INCREF(Py_None
); resultobj
= Py_None
;
38915 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38916 PyObject
*resultobj
;
38917 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38919 PyObject
* obj0
= 0 ;
38920 char *kwnames
[] = {
38921 (char *) "self", NULL
38924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38926 if (SWIG_arg_fail(1)) SWIG_fail
;
38928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38929 result
= (float)(arg1
)->GetRatio();
38931 wxPyEndAllowThreads(__tstate
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38935 resultobj
= SWIG_From_float((float)(result
));
38943 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38944 PyObject
*resultobj
;
38945 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38947 PyObject
* obj0
= 0 ;
38948 char *kwnames
[] = {
38949 (char *) "self", NULL
38952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38954 if (SWIG_arg_fail(1)) SWIG_fail
;
38956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38957 result
= (arg1
)->GetRect();
38959 wxPyEndAllowThreads(__tstate
);
38960 if (PyErr_Occurred()) SWIG_fail
;
38963 wxRect
* resultptr
;
38964 resultptr
= new wxRect((wxRect
&)(result
));
38965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38973 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38974 PyObject
*resultobj
;
38975 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38977 PyObject
* obj0
= 0 ;
38978 char *kwnames
[] = {
38979 (char *) "self", NULL
38982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38984 if (SWIG_arg_fail(1)) SWIG_fail
;
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 result
= (bool)(arg1
)->IsWindow();
38989 wxPyEndAllowThreads(__tstate
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39001 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39002 PyObject
*resultobj
;
39003 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39005 PyObject
* obj0
= 0 ;
39006 char *kwnames
[] = {
39007 (char *) "self", NULL
39010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39012 if (SWIG_arg_fail(1)) SWIG_fail
;
39014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39015 result
= (bool)(arg1
)->IsSizer();
39017 wxPyEndAllowThreads(__tstate
);
39018 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39029 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39030 PyObject
*resultobj
;
39031 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39033 PyObject
* obj0
= 0 ;
39034 char *kwnames
[] = {
39035 (char *) "self", NULL
39038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39040 if (SWIG_arg_fail(1)) SWIG_fail
;
39042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39043 result
= (bool)(arg1
)->IsSpacer();
39045 wxPyEndAllowThreads(__tstate
);
39046 if (PyErr_Occurred()) SWIG_fail
;
39049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39057 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39058 PyObject
*resultobj
;
39059 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39061 PyObject
* obj0
= 0 ;
39062 PyObject
* obj1
= 0 ;
39063 char *kwnames
[] = {
39064 (char *) "self",(char *) "proportion", NULL
39067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39069 if (SWIG_arg_fail(1)) SWIG_fail
;
39071 arg2
= (int)(SWIG_As_int(obj1
));
39072 if (SWIG_arg_fail(2)) SWIG_fail
;
39075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39076 (arg1
)->SetProportion(arg2
);
39078 wxPyEndAllowThreads(__tstate
);
39079 if (PyErr_Occurred()) SWIG_fail
;
39081 Py_INCREF(Py_None
); resultobj
= Py_None
;
39088 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39089 PyObject
*resultobj
;
39090 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39092 PyObject
* obj0
= 0 ;
39093 char *kwnames
[] = {
39094 (char *) "self", NULL
39097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39099 if (SWIG_arg_fail(1)) SWIG_fail
;
39101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39102 result
= (int)(arg1
)->GetProportion();
39104 wxPyEndAllowThreads(__tstate
);
39105 if (PyErr_Occurred()) SWIG_fail
;
39108 resultobj
= SWIG_From_int((int)(result
));
39116 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39117 PyObject
*resultobj
;
39118 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39120 PyObject
* obj0
= 0 ;
39121 PyObject
* obj1
= 0 ;
39122 char *kwnames
[] = {
39123 (char *) "self",(char *) "flag", NULL
39126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39128 if (SWIG_arg_fail(1)) SWIG_fail
;
39130 arg2
= (int)(SWIG_As_int(obj1
));
39131 if (SWIG_arg_fail(2)) SWIG_fail
;
39134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39135 (arg1
)->SetFlag(arg2
);
39137 wxPyEndAllowThreads(__tstate
);
39138 if (PyErr_Occurred()) SWIG_fail
;
39140 Py_INCREF(Py_None
); resultobj
= Py_None
;
39147 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39148 PyObject
*resultobj
;
39149 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39151 PyObject
* obj0
= 0 ;
39152 char *kwnames
[] = {
39153 (char *) "self", NULL
39156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39158 if (SWIG_arg_fail(1)) SWIG_fail
;
39160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39161 result
= (int)(arg1
)->GetFlag();
39163 wxPyEndAllowThreads(__tstate
);
39164 if (PyErr_Occurred()) SWIG_fail
;
39167 resultobj
= SWIG_From_int((int)(result
));
39175 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39176 PyObject
*resultobj
;
39177 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39179 PyObject
* obj0
= 0 ;
39180 PyObject
* obj1
= 0 ;
39181 char *kwnames
[] = {
39182 (char *) "self",(char *) "border", NULL
39185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39187 if (SWIG_arg_fail(1)) SWIG_fail
;
39189 arg2
= (int)(SWIG_As_int(obj1
));
39190 if (SWIG_arg_fail(2)) SWIG_fail
;
39193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39194 (arg1
)->SetBorder(arg2
);
39196 wxPyEndAllowThreads(__tstate
);
39197 if (PyErr_Occurred()) SWIG_fail
;
39199 Py_INCREF(Py_None
); resultobj
= Py_None
;
39206 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39207 PyObject
*resultobj
;
39208 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39210 PyObject
* obj0
= 0 ;
39211 char *kwnames
[] = {
39212 (char *) "self", NULL
39215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39217 if (SWIG_arg_fail(1)) SWIG_fail
;
39219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39220 result
= (int)(arg1
)->GetBorder();
39222 wxPyEndAllowThreads(__tstate
);
39223 if (PyErr_Occurred()) SWIG_fail
;
39226 resultobj
= SWIG_From_int((int)(result
));
39234 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39235 PyObject
*resultobj
;
39236 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39238 PyObject
* obj0
= 0 ;
39239 char *kwnames
[] = {
39240 (char *) "self", NULL
39243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39245 if (SWIG_arg_fail(1)) SWIG_fail
;
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 result
= (wxWindow
*)(arg1
)->GetWindow();
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39254 resultobj
= wxPyMake_wxObject(result
, 0);
39262 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39263 PyObject
*resultobj
;
39264 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39265 wxWindow
*arg2
= (wxWindow
*) 0 ;
39266 PyObject
* obj0
= 0 ;
39267 PyObject
* obj1
= 0 ;
39268 char *kwnames
[] = {
39269 (char *) "self",(char *) "window", NULL
39272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39274 if (SWIG_arg_fail(1)) SWIG_fail
;
39275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39276 if (SWIG_arg_fail(2)) SWIG_fail
;
39278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39279 (arg1
)->SetWindow(arg2
);
39281 wxPyEndAllowThreads(__tstate
);
39282 if (PyErr_Occurred()) SWIG_fail
;
39284 Py_INCREF(Py_None
); resultobj
= Py_None
;
39291 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39292 PyObject
*resultobj
;
39293 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39295 PyObject
* obj0
= 0 ;
39296 char *kwnames
[] = {
39297 (char *) "self", NULL
39300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39302 if (SWIG_arg_fail(1)) SWIG_fail
;
39304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 result
= (wxSizer
*)(arg1
)->GetSizer();
39307 wxPyEndAllowThreads(__tstate
);
39308 if (PyErr_Occurred()) SWIG_fail
;
39311 resultobj
= wxPyMake_wxObject(result
, 0);
39319 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39320 PyObject
*resultobj
;
39321 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39322 wxSizer
*arg2
= (wxSizer
*) 0 ;
39323 PyObject
* obj0
= 0 ;
39324 PyObject
* obj1
= 0 ;
39325 char *kwnames
[] = {
39326 (char *) "self",(char *) "sizer", NULL
39329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39331 if (SWIG_arg_fail(1)) SWIG_fail
;
39332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39333 if (SWIG_arg_fail(2)) SWIG_fail
;
39335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39336 (arg1
)->SetSizer(arg2
);
39338 wxPyEndAllowThreads(__tstate
);
39339 if (PyErr_Occurred()) SWIG_fail
;
39341 Py_INCREF(Py_None
); resultobj
= Py_None
;
39348 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39349 PyObject
*resultobj
;
39350 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39352 PyObject
* obj0
= 0 ;
39353 char *kwnames
[] = {
39354 (char *) "self", NULL
39357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39359 if (SWIG_arg_fail(1)) SWIG_fail
;
39361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39363 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39364 result
= (wxSize
*) &_result_ref
;
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39377 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39378 PyObject
*resultobj
;
39379 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39382 PyObject
* obj0
= 0 ;
39383 PyObject
* obj1
= 0 ;
39384 char *kwnames
[] = {
39385 (char *) "self",(char *) "size", NULL
39388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(1)) SWIG_fail
;
39393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39397 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39399 wxPyEndAllowThreads(__tstate
);
39400 if (PyErr_Occurred()) SWIG_fail
;
39402 Py_INCREF(Py_None
); resultobj
= Py_None
;
39409 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39410 PyObject
*resultobj
;
39411 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39413 PyObject
* obj0
= 0 ;
39414 PyObject
* obj1
= 0 ;
39415 char *kwnames
[] = {
39416 (char *) "self",(char *) "show", NULL
39419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39421 if (SWIG_arg_fail(1)) SWIG_fail
;
39423 arg2
= (bool)(SWIG_As_bool(obj1
));
39424 if (SWIG_arg_fail(2)) SWIG_fail
;
39427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39428 (arg1
)->Show(arg2
);
39430 wxPyEndAllowThreads(__tstate
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39433 Py_INCREF(Py_None
); resultobj
= Py_None
;
39440 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39441 PyObject
*resultobj
;
39442 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39444 PyObject
* obj0
= 0 ;
39445 char *kwnames
[] = {
39446 (char *) "self", NULL
39449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39451 if (SWIG_arg_fail(1)) SWIG_fail
;
39453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39454 result
= (bool)(arg1
)->IsShown();
39456 wxPyEndAllowThreads(__tstate
);
39457 if (PyErr_Occurred()) SWIG_fail
;
39460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39468 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39469 PyObject
*resultobj
;
39470 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39472 PyObject
* obj0
= 0 ;
39473 char *kwnames
[] = {
39474 (char *) "self", NULL
39477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39479 if (SWIG_arg_fail(1)) SWIG_fail
;
39481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39482 result
= (arg1
)->GetPosition();
39484 wxPyEndAllowThreads(__tstate
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39488 wxPoint
* resultptr
;
39489 resultptr
= new wxPoint((wxPoint
&)(result
));
39490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39498 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39499 PyObject
*resultobj
;
39500 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39502 PyObject
* obj0
= 0 ;
39503 char *kwnames
[] = {
39504 (char *) "self", NULL
39507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39509 if (SWIG_arg_fail(1)) SWIG_fail
;
39511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39514 wxPyEndAllowThreads(__tstate
);
39515 if (PyErr_Occurred()) SWIG_fail
;
39517 resultobj
= result
;
39524 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39527 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39529 return Py_BuildValue((char *)"");
39531 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39532 PyObject
*resultobj
;
39533 wxSizer
*arg1
= (wxSizer
*) 0 ;
39534 PyObject
*arg2
= (PyObject
*) 0 ;
39535 PyObject
* obj0
= 0 ;
39536 PyObject
* obj1
= 0 ;
39537 char *kwnames
[] = {
39538 (char *) "self",(char *) "_self", NULL
39541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39543 if (SWIG_arg_fail(1)) SWIG_fail
;
39546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39547 wxSizer__setOORInfo(arg1
,arg2
);
39549 wxPyEndAllowThreads(__tstate
);
39550 if (PyErr_Occurred()) SWIG_fail
;
39552 Py_INCREF(Py_None
); resultobj
= Py_None
;
39559 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39560 PyObject
*resultobj
;
39561 wxSizer
*arg1
= (wxSizer
*) 0 ;
39562 PyObject
*arg2
= (PyObject
*) 0 ;
39563 int arg3
= (int) 0 ;
39564 int arg4
= (int) 0 ;
39565 int arg5
= (int) 0 ;
39566 PyObject
*arg6
= (PyObject
*) NULL
;
39567 wxSizerItem
*result
;
39568 PyObject
* obj0
= 0 ;
39569 PyObject
* obj1
= 0 ;
39570 PyObject
* obj2
= 0 ;
39571 PyObject
* obj3
= 0 ;
39572 PyObject
* obj4
= 0 ;
39573 PyObject
* obj5
= 0 ;
39574 char *kwnames
[] = {
39575 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39580 if (SWIG_arg_fail(1)) SWIG_fail
;
39584 arg3
= (int)(SWIG_As_int(obj2
));
39585 if (SWIG_arg_fail(3)) SWIG_fail
;
39590 arg4
= (int)(SWIG_As_int(obj3
));
39591 if (SWIG_arg_fail(4)) SWIG_fail
;
39596 arg5
= (int)(SWIG_As_int(obj4
));
39597 if (SWIG_arg_fail(5)) SWIG_fail
;
39604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39605 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39607 wxPyEndAllowThreads(__tstate
);
39608 if (PyErr_Occurred()) SWIG_fail
;
39610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39617 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39618 PyObject
*resultobj
;
39619 wxSizer
*arg1
= (wxSizer
*) 0 ;
39621 PyObject
*arg3
= (PyObject
*) 0 ;
39622 int arg4
= (int) 0 ;
39623 int arg5
= (int) 0 ;
39624 int arg6
= (int) 0 ;
39625 PyObject
*arg7
= (PyObject
*) NULL
;
39626 wxSizerItem
*result
;
39627 PyObject
* obj0
= 0 ;
39628 PyObject
* obj1
= 0 ;
39629 PyObject
* obj2
= 0 ;
39630 PyObject
* obj3
= 0 ;
39631 PyObject
* obj4
= 0 ;
39632 PyObject
* obj5
= 0 ;
39633 PyObject
* obj6
= 0 ;
39634 char *kwnames
[] = {
39635 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39640 if (SWIG_arg_fail(1)) SWIG_fail
;
39642 arg2
= (int)(SWIG_As_int(obj1
));
39643 if (SWIG_arg_fail(2)) SWIG_fail
;
39648 arg4
= (int)(SWIG_As_int(obj3
));
39649 if (SWIG_arg_fail(4)) SWIG_fail
;
39654 arg5
= (int)(SWIG_As_int(obj4
));
39655 if (SWIG_arg_fail(5)) SWIG_fail
;
39660 arg6
= (int)(SWIG_As_int(obj5
));
39661 if (SWIG_arg_fail(6)) SWIG_fail
;
39668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39669 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39671 wxPyEndAllowThreads(__tstate
);
39672 if (PyErr_Occurred()) SWIG_fail
;
39674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39681 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39682 PyObject
*resultobj
;
39683 wxSizer
*arg1
= (wxSizer
*) 0 ;
39684 PyObject
*arg2
= (PyObject
*) 0 ;
39685 int arg3
= (int) 0 ;
39686 int arg4
= (int) 0 ;
39687 int arg5
= (int) 0 ;
39688 PyObject
*arg6
= (PyObject
*) NULL
;
39689 wxSizerItem
*result
;
39690 PyObject
* obj0
= 0 ;
39691 PyObject
* obj1
= 0 ;
39692 PyObject
* obj2
= 0 ;
39693 PyObject
* obj3
= 0 ;
39694 PyObject
* obj4
= 0 ;
39695 PyObject
* obj5
= 0 ;
39696 char *kwnames
[] = {
39697 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39702 if (SWIG_arg_fail(1)) SWIG_fail
;
39706 arg3
= (int)(SWIG_As_int(obj2
));
39707 if (SWIG_arg_fail(3)) SWIG_fail
;
39712 arg4
= (int)(SWIG_As_int(obj3
));
39713 if (SWIG_arg_fail(4)) SWIG_fail
;
39718 arg5
= (int)(SWIG_As_int(obj4
));
39719 if (SWIG_arg_fail(5)) SWIG_fail
;
39726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39727 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39729 wxPyEndAllowThreads(__tstate
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39739 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39740 PyObject
*resultobj
;
39741 wxSizer
*arg1
= (wxSizer
*) 0 ;
39742 PyObject
*arg2
= (PyObject
*) 0 ;
39744 PyObject
* obj0
= 0 ;
39745 PyObject
* obj1
= 0 ;
39746 char *kwnames
[] = {
39747 (char *) "self",(char *) "item", NULL
39750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39752 if (SWIG_arg_fail(1)) SWIG_fail
;
39755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39756 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39770 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39771 PyObject
*resultobj
;
39772 wxSizer
*arg1
= (wxSizer
*) 0 ;
39773 PyObject
*arg2
= (PyObject
*) 0 ;
39775 PyObject
* obj0
= 0 ;
39776 PyObject
* obj1
= 0 ;
39777 char *kwnames
[] = {
39778 (char *) "self",(char *) "item", NULL
39781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39783 if (SWIG_arg_fail(1)) SWIG_fail
;
39786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39787 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39801 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39802 PyObject
*resultobj
;
39803 wxSizer
*arg1
= (wxSizer
*) 0 ;
39804 PyObject
*arg2
= (PyObject
*) 0 ;
39805 wxSizerItem
*result
;
39806 PyObject
* obj0
= 0 ;
39807 PyObject
* obj1
= 0 ;
39808 char *kwnames
[] = {
39809 (char *) "self",(char *) "item", NULL
39812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39814 if (SWIG_arg_fail(1)) SWIG_fail
;
39817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39818 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39820 wxPyEndAllowThreads(__tstate
);
39821 if (PyErr_Occurred()) SWIG_fail
;
39823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39830 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39831 PyObject
*resultobj
;
39832 wxSizer
*arg1
= (wxSizer
*) 0 ;
39833 PyObject
*arg2
= (PyObject
*) 0 ;
39836 PyObject
* obj0
= 0 ;
39837 PyObject
* obj1
= 0 ;
39838 PyObject
* obj2
= 0 ;
39839 char *kwnames
[] = {
39840 (char *) "self",(char *) "item",(char *) "size", NULL
39843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39845 if (SWIG_arg_fail(1)) SWIG_fail
;
39849 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39853 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39855 wxPyEndAllowThreads(__tstate
);
39856 if (PyErr_Occurred()) SWIG_fail
;
39858 Py_INCREF(Py_None
); resultobj
= Py_None
;
39865 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39866 PyObject
*resultobj
;
39867 wxSizer
*arg1
= (wxSizer
*) 0 ;
39868 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39869 wxSizerItem
*result
;
39870 PyObject
* obj0
= 0 ;
39871 PyObject
* obj1
= 0 ;
39872 char *kwnames
[] = {
39873 (char *) "self",(char *) "item", NULL
39876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39878 if (SWIG_arg_fail(1)) SWIG_fail
;
39879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39880 if (SWIG_arg_fail(2)) SWIG_fail
;
39882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39883 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39885 wxPyEndAllowThreads(__tstate
);
39886 if (PyErr_Occurred()) SWIG_fail
;
39888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39895 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39896 PyObject
*resultobj
;
39897 wxSizer
*arg1
= (wxSizer
*) 0 ;
39899 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39900 wxSizerItem
*result
;
39901 PyObject
* obj0
= 0 ;
39902 PyObject
* obj1
= 0 ;
39903 PyObject
* obj2
= 0 ;
39904 char *kwnames
[] = {
39905 (char *) "self",(char *) "index",(char *) "item", NULL
39908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39910 if (SWIG_arg_fail(1)) SWIG_fail
;
39912 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39913 if (SWIG_arg_fail(2)) SWIG_fail
;
39915 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39916 if (SWIG_arg_fail(3)) SWIG_fail
;
39918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39919 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39921 wxPyEndAllowThreads(__tstate
);
39922 if (PyErr_Occurred()) SWIG_fail
;
39924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39931 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39932 PyObject
*resultobj
;
39933 wxSizer
*arg1
= (wxSizer
*) 0 ;
39934 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39935 wxSizerItem
*result
;
39936 PyObject
* obj0
= 0 ;
39937 PyObject
* obj1
= 0 ;
39938 char *kwnames
[] = {
39939 (char *) "self",(char *) "item", NULL
39942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39944 if (SWIG_arg_fail(1)) SWIG_fail
;
39945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39946 if (SWIG_arg_fail(2)) SWIG_fail
;
39948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39949 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39951 wxPyEndAllowThreads(__tstate
);
39952 if (PyErr_Occurred()) SWIG_fail
;
39954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39961 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39962 PyObject
*resultobj
;
39963 wxSizer
*arg1
= (wxSizer
*) 0 ;
39968 PyObject
* obj0
= 0 ;
39969 PyObject
* obj1
= 0 ;
39970 PyObject
* obj2
= 0 ;
39971 PyObject
* obj3
= 0 ;
39972 PyObject
* obj4
= 0 ;
39973 char *kwnames
[] = {
39974 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39979 if (SWIG_arg_fail(1)) SWIG_fail
;
39981 arg2
= (int)(SWIG_As_int(obj1
));
39982 if (SWIG_arg_fail(2)) SWIG_fail
;
39985 arg3
= (int)(SWIG_As_int(obj2
));
39986 if (SWIG_arg_fail(3)) SWIG_fail
;
39989 arg4
= (int)(SWIG_As_int(obj3
));
39990 if (SWIG_arg_fail(4)) SWIG_fail
;
39993 arg5
= (int)(SWIG_As_int(obj4
));
39994 if (SWIG_arg_fail(5)) SWIG_fail
;
39997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39998 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40000 wxPyEndAllowThreads(__tstate
);
40001 if (PyErr_Occurred()) SWIG_fail
;
40003 Py_INCREF(Py_None
); resultobj
= Py_None
;
40010 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40011 PyObject
*resultobj
;
40012 wxSizer
*arg1
= (wxSizer
*) 0 ;
40015 PyObject
* obj0
= 0 ;
40016 PyObject
* obj1
= 0 ;
40017 char *kwnames
[] = {
40018 (char *) "self",(char *) "size", NULL
40021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40023 if (SWIG_arg_fail(1)) SWIG_fail
;
40026 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 Py_INCREF(Py_None
); resultobj
= Py_None
;
40042 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxSizer
*arg1
= (wxSizer
*) 0 ;
40046 PyObject
* obj0
= 0 ;
40047 char *kwnames
[] = {
40048 (char *) "self", NULL
40051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40053 if (SWIG_arg_fail(1)) SWIG_fail
;
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (arg1
)->GetSize();
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40062 wxSize
* resultptr
;
40063 resultptr
= new wxSize((wxSize
&)(result
));
40064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40072 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40073 PyObject
*resultobj
;
40074 wxSizer
*arg1
= (wxSizer
*) 0 ;
40076 PyObject
* obj0
= 0 ;
40077 char *kwnames
[] = {
40078 (char *) "self", NULL
40081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40083 if (SWIG_arg_fail(1)) SWIG_fail
;
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 result
= (arg1
)->GetPosition();
40088 wxPyEndAllowThreads(__tstate
);
40089 if (PyErr_Occurred()) SWIG_fail
;
40092 wxPoint
* resultptr
;
40093 resultptr
= new wxPoint((wxPoint
&)(result
));
40094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40102 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40103 PyObject
*resultobj
;
40104 wxSizer
*arg1
= (wxSizer
*) 0 ;
40106 PyObject
* obj0
= 0 ;
40107 char *kwnames
[] = {
40108 (char *) "self", NULL
40111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40113 if (SWIG_arg_fail(1)) SWIG_fail
;
40115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40116 result
= (arg1
)->GetMinSize();
40118 wxPyEndAllowThreads(__tstate
);
40119 if (PyErr_Occurred()) SWIG_fail
;
40122 wxSize
* resultptr
;
40123 resultptr
= new wxSize((wxSize
&)(result
));
40124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40132 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40133 PyObject
*resultobj
;
40134 wxSizer
*arg1
= (wxSizer
*) 0 ;
40135 PyObject
* obj0
= 0 ;
40136 char *kwnames
[] = {
40137 (char *) "self", NULL
40140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40142 if (SWIG_arg_fail(1)) SWIG_fail
;
40144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40145 (arg1
)->RecalcSizes();
40147 wxPyEndAllowThreads(__tstate
);
40148 if (PyErr_Occurred()) SWIG_fail
;
40150 Py_INCREF(Py_None
); resultobj
= Py_None
;
40157 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40158 PyObject
*resultobj
;
40159 wxSizer
*arg1
= (wxSizer
*) 0 ;
40161 PyObject
* obj0
= 0 ;
40162 char *kwnames
[] = {
40163 (char *) "self", NULL
40166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40168 if (SWIG_arg_fail(1)) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (arg1
)->CalcMin();
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40177 wxSize
* resultptr
;
40178 resultptr
= new wxSize((wxSize
&)(result
));
40179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40187 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40188 PyObject
*resultobj
;
40189 wxSizer
*arg1
= (wxSizer
*) 0 ;
40190 PyObject
* obj0
= 0 ;
40191 char *kwnames
[] = {
40192 (char *) "self", NULL
40195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40197 if (SWIG_arg_fail(1)) SWIG_fail
;
40199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40202 wxPyEndAllowThreads(__tstate
);
40203 if (PyErr_Occurred()) SWIG_fail
;
40205 Py_INCREF(Py_None
); resultobj
= Py_None
;
40212 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
;
40214 wxSizer
*arg1
= (wxSizer
*) 0 ;
40215 wxWindow
*arg2
= (wxWindow
*) 0 ;
40217 PyObject
* obj0
= 0 ;
40218 PyObject
* obj1
= 0 ;
40219 char *kwnames
[] = {
40220 (char *) "self",(char *) "window", NULL
40223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40225 if (SWIG_arg_fail(1)) SWIG_fail
;
40226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40227 if (SWIG_arg_fail(2)) SWIG_fail
;
40229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40230 result
= (arg1
)->Fit(arg2
);
40232 wxPyEndAllowThreads(__tstate
);
40233 if (PyErr_Occurred()) SWIG_fail
;
40236 wxSize
* resultptr
;
40237 resultptr
= new wxSize((wxSize
&)(result
));
40238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40246 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40247 PyObject
*resultobj
;
40248 wxSizer
*arg1
= (wxSizer
*) 0 ;
40249 wxWindow
*arg2
= (wxWindow
*) 0 ;
40250 PyObject
* obj0
= 0 ;
40251 PyObject
* obj1
= 0 ;
40252 char *kwnames
[] = {
40253 (char *) "self",(char *) "window", NULL
40256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40258 if (SWIG_arg_fail(1)) SWIG_fail
;
40259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40260 if (SWIG_arg_fail(2)) SWIG_fail
;
40262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40263 (arg1
)->FitInside(arg2
);
40265 wxPyEndAllowThreads(__tstate
);
40266 if (PyErr_Occurred()) SWIG_fail
;
40268 Py_INCREF(Py_None
); resultobj
= Py_None
;
40275 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40276 PyObject
*resultobj
;
40277 wxSizer
*arg1
= (wxSizer
*) 0 ;
40278 wxWindow
*arg2
= (wxWindow
*) 0 ;
40279 PyObject
* obj0
= 0 ;
40280 PyObject
* obj1
= 0 ;
40281 char *kwnames
[] = {
40282 (char *) "self",(char *) "window", NULL
40285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40287 if (SWIG_arg_fail(1)) SWIG_fail
;
40288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40289 if (SWIG_arg_fail(2)) SWIG_fail
;
40291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40292 (arg1
)->SetSizeHints(arg2
);
40294 wxPyEndAllowThreads(__tstate
);
40295 if (PyErr_Occurred()) SWIG_fail
;
40297 Py_INCREF(Py_None
); resultobj
= Py_None
;
40304 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40305 PyObject
*resultobj
;
40306 wxSizer
*arg1
= (wxSizer
*) 0 ;
40307 wxWindow
*arg2
= (wxWindow
*) 0 ;
40308 PyObject
* obj0
= 0 ;
40309 PyObject
* obj1
= 0 ;
40310 char *kwnames
[] = {
40311 (char *) "self",(char *) "window", NULL
40314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40316 if (SWIG_arg_fail(1)) SWIG_fail
;
40317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40318 if (SWIG_arg_fail(2)) SWIG_fail
;
40320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40321 (arg1
)->SetVirtualSizeHints(arg2
);
40323 wxPyEndAllowThreads(__tstate
);
40324 if (PyErr_Occurred()) SWIG_fail
;
40326 Py_INCREF(Py_None
); resultobj
= Py_None
;
40333 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40334 PyObject
*resultobj
;
40335 wxSizer
*arg1
= (wxSizer
*) 0 ;
40336 bool arg2
= (bool) false ;
40337 PyObject
* obj0
= 0 ;
40338 PyObject
* obj1
= 0 ;
40339 char *kwnames
[] = {
40340 (char *) "self",(char *) "deleteWindows", NULL
40343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40345 if (SWIG_arg_fail(1)) SWIG_fail
;
40348 arg2
= (bool)(SWIG_As_bool(obj1
));
40349 if (SWIG_arg_fail(2)) SWIG_fail
;
40353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40354 (arg1
)->Clear(arg2
);
40356 wxPyEndAllowThreads(__tstate
);
40357 if (PyErr_Occurred()) SWIG_fail
;
40359 Py_INCREF(Py_None
); resultobj
= Py_None
;
40366 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40367 PyObject
*resultobj
;
40368 wxSizer
*arg1
= (wxSizer
*) 0 ;
40369 PyObject
* obj0
= 0 ;
40370 char *kwnames
[] = {
40371 (char *) "self", NULL
40374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40376 if (SWIG_arg_fail(1)) SWIG_fail
;
40378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40379 (arg1
)->DeleteWindows();
40381 wxPyEndAllowThreads(__tstate
);
40382 if (PyErr_Occurred()) SWIG_fail
;
40384 Py_INCREF(Py_None
); resultobj
= Py_None
;
40391 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40392 PyObject
*resultobj
;
40393 wxSizer
*arg1
= (wxSizer
*) 0 ;
40395 PyObject
* obj0
= 0 ;
40396 char *kwnames
[] = {
40397 (char *) "self", NULL
40400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40402 if (SWIG_arg_fail(1)) SWIG_fail
;
40404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40405 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40407 wxPyEndAllowThreads(__tstate
);
40408 if (PyErr_Occurred()) SWIG_fail
;
40410 resultobj
= result
;
40417 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40418 PyObject
*resultobj
;
40419 wxSizer
*arg1
= (wxSizer
*) 0 ;
40420 PyObject
*arg2
= (PyObject
*) 0 ;
40421 bool arg3
= (bool) true ;
40422 bool arg4
= (bool) false ;
40424 PyObject
* obj0
= 0 ;
40425 PyObject
* obj1
= 0 ;
40426 PyObject
* obj2
= 0 ;
40427 PyObject
* obj3
= 0 ;
40428 char *kwnames
[] = {
40429 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40434 if (SWIG_arg_fail(1)) SWIG_fail
;
40438 arg3
= (bool)(SWIG_As_bool(obj2
));
40439 if (SWIG_arg_fail(3)) SWIG_fail
;
40444 arg4
= (bool)(SWIG_As_bool(obj3
));
40445 if (SWIG_arg_fail(4)) SWIG_fail
;
40449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40450 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40452 wxPyEndAllowThreads(__tstate
);
40453 if (PyErr_Occurred()) SWIG_fail
;
40456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40464 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40465 PyObject
*resultobj
;
40466 wxSizer
*arg1
= (wxSizer
*) 0 ;
40467 PyObject
*arg2
= (PyObject
*) 0 ;
40469 PyObject
* obj0
= 0 ;
40470 PyObject
* obj1
= 0 ;
40471 char *kwnames
[] = {
40472 (char *) "self",(char *) "item", NULL
40475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40477 if (SWIG_arg_fail(1)) SWIG_fail
;
40480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40481 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40483 wxPyEndAllowThreads(__tstate
);
40484 if (PyErr_Occurred()) SWIG_fail
;
40487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40495 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40496 PyObject
*resultobj
;
40497 wxSizer
*arg1
= (wxSizer
*) 0 ;
40499 PyObject
* obj0
= 0 ;
40500 PyObject
* obj1
= 0 ;
40501 char *kwnames
[] = {
40502 (char *) "self",(char *) "show", NULL
40505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40507 if (SWIG_arg_fail(1)) SWIG_fail
;
40509 arg2
= (bool)(SWIG_As_bool(obj1
));
40510 if (SWIG_arg_fail(2)) SWIG_fail
;
40513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40514 (arg1
)->ShowItems(arg2
);
40516 wxPyEndAllowThreads(__tstate
);
40517 if (PyErr_Occurred()) SWIG_fail
;
40519 Py_INCREF(Py_None
); resultobj
= Py_None
;
40526 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40529 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40531 return Py_BuildValue((char *)"");
40533 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40534 PyObject
*resultobj
;
40536 char *kwnames
[] = {
40540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40543 result
= (wxPySizer
*)new wxPySizer();
40545 wxPyEndAllowThreads(__tstate
);
40546 if (PyErr_Occurred()) SWIG_fail
;
40548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40555 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40556 PyObject
*resultobj
;
40557 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40558 PyObject
*arg2
= (PyObject
*) 0 ;
40559 PyObject
*arg3
= (PyObject
*) 0 ;
40560 PyObject
* obj0
= 0 ;
40561 PyObject
* obj1
= 0 ;
40562 PyObject
* obj2
= 0 ;
40563 char *kwnames
[] = {
40564 (char *) "self",(char *) "self",(char *) "_class", NULL
40567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40569 if (SWIG_arg_fail(1)) SWIG_fail
;
40573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40574 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40576 wxPyEndAllowThreads(__tstate
);
40577 if (PyErr_Occurred()) SWIG_fail
;
40579 Py_INCREF(Py_None
); resultobj
= Py_None
;
40586 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40589 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40591 return Py_BuildValue((char *)"");
40593 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40594 PyObject
*resultobj
;
40595 int arg1
= (int) wxHORIZONTAL
;
40596 wxBoxSizer
*result
;
40597 PyObject
* obj0
= 0 ;
40598 char *kwnames
[] = {
40599 (char *) "orient", NULL
40602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40605 arg1
= (int)(SWIG_As_int(obj0
));
40606 if (SWIG_arg_fail(1)) SWIG_fail
;
40610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40611 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40613 wxPyEndAllowThreads(__tstate
);
40614 if (PyErr_Occurred()) SWIG_fail
;
40616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40623 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40624 PyObject
*resultobj
;
40625 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40627 PyObject
* obj0
= 0 ;
40628 char *kwnames
[] = {
40629 (char *) "self", NULL
40632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40634 if (SWIG_arg_fail(1)) SWIG_fail
;
40636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40637 result
= (int)(arg1
)->GetOrientation();
40639 wxPyEndAllowThreads(__tstate
);
40640 if (PyErr_Occurred()) SWIG_fail
;
40643 resultobj
= SWIG_From_int((int)(result
));
40651 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40652 PyObject
*resultobj
;
40653 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40655 PyObject
* obj0
= 0 ;
40656 PyObject
* obj1
= 0 ;
40657 char *kwnames
[] = {
40658 (char *) "self",(char *) "orient", NULL
40661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40663 if (SWIG_arg_fail(1)) SWIG_fail
;
40665 arg2
= (int)(SWIG_As_int(obj1
));
40666 if (SWIG_arg_fail(2)) SWIG_fail
;
40669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40670 (arg1
)->SetOrientation(arg2
);
40672 wxPyEndAllowThreads(__tstate
);
40673 if (PyErr_Occurred()) SWIG_fail
;
40675 Py_INCREF(Py_None
); resultobj
= Py_None
;
40682 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40685 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40687 return Py_BuildValue((char *)"");
40689 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40690 PyObject
*resultobj
;
40691 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40692 int arg2
= (int) wxHORIZONTAL
;
40693 wxStaticBoxSizer
*result
;
40694 PyObject
* obj0
= 0 ;
40695 PyObject
* obj1
= 0 ;
40696 char *kwnames
[] = {
40697 (char *) "box",(char *) "orient", NULL
40700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40702 if (SWIG_arg_fail(1)) SWIG_fail
;
40705 arg2
= (int)(SWIG_As_int(obj1
));
40706 if (SWIG_arg_fail(2)) SWIG_fail
;
40710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40711 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40713 wxPyEndAllowThreads(__tstate
);
40714 if (PyErr_Occurred()) SWIG_fail
;
40716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40723 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40724 PyObject
*resultobj
;
40725 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40726 wxStaticBox
*result
;
40727 PyObject
* obj0
= 0 ;
40728 char *kwnames
[] = {
40729 (char *) "self", NULL
40732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40734 if (SWIG_arg_fail(1)) SWIG_fail
;
40736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40737 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40739 wxPyEndAllowThreads(__tstate
);
40740 if (PyErr_Occurred()) SWIG_fail
;
40743 resultobj
= wxPyMake_wxObject(result
, 0);
40751 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40754 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40756 return Py_BuildValue((char *)"");
40758 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40759 PyObject
*resultobj
;
40760 int arg1
= (int) 1 ;
40761 int arg2
= (int) 0 ;
40762 int arg3
= (int) 0 ;
40763 int arg4
= (int) 0 ;
40764 wxGridSizer
*result
;
40765 PyObject
* obj0
= 0 ;
40766 PyObject
* obj1
= 0 ;
40767 PyObject
* obj2
= 0 ;
40768 PyObject
* obj3
= 0 ;
40769 char *kwnames
[] = {
40770 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40776 arg1
= (int)(SWIG_As_int(obj0
));
40777 if (SWIG_arg_fail(1)) SWIG_fail
;
40782 arg2
= (int)(SWIG_As_int(obj1
));
40783 if (SWIG_arg_fail(2)) SWIG_fail
;
40788 arg3
= (int)(SWIG_As_int(obj2
));
40789 if (SWIG_arg_fail(3)) SWIG_fail
;
40794 arg4
= (int)(SWIG_As_int(obj3
));
40795 if (SWIG_arg_fail(4)) SWIG_fail
;
40799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40800 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40802 wxPyEndAllowThreads(__tstate
);
40803 if (PyErr_Occurred()) SWIG_fail
;
40805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40812 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40813 PyObject
*resultobj
;
40814 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40816 PyObject
* obj0
= 0 ;
40817 PyObject
* obj1
= 0 ;
40818 char *kwnames
[] = {
40819 (char *) "self",(char *) "cols", NULL
40822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40824 if (SWIG_arg_fail(1)) SWIG_fail
;
40826 arg2
= (int)(SWIG_As_int(obj1
));
40827 if (SWIG_arg_fail(2)) SWIG_fail
;
40830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40831 (arg1
)->SetCols(arg2
);
40833 wxPyEndAllowThreads(__tstate
);
40834 if (PyErr_Occurred()) SWIG_fail
;
40836 Py_INCREF(Py_None
); resultobj
= Py_None
;
40843 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40844 PyObject
*resultobj
;
40845 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40847 PyObject
* obj0
= 0 ;
40848 PyObject
* obj1
= 0 ;
40849 char *kwnames
[] = {
40850 (char *) "self",(char *) "rows", NULL
40853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40855 if (SWIG_arg_fail(1)) SWIG_fail
;
40857 arg2
= (int)(SWIG_As_int(obj1
));
40858 if (SWIG_arg_fail(2)) SWIG_fail
;
40861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40862 (arg1
)->SetRows(arg2
);
40864 wxPyEndAllowThreads(__tstate
);
40865 if (PyErr_Occurred()) SWIG_fail
;
40867 Py_INCREF(Py_None
); resultobj
= Py_None
;
40874 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40875 PyObject
*resultobj
;
40876 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 char *kwnames
[] = {
40881 (char *) "self",(char *) "gap", NULL
40884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40886 if (SWIG_arg_fail(1)) SWIG_fail
;
40888 arg2
= (int)(SWIG_As_int(obj1
));
40889 if (SWIG_arg_fail(2)) SWIG_fail
;
40892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40893 (arg1
)->SetVGap(arg2
);
40895 wxPyEndAllowThreads(__tstate
);
40896 if (PyErr_Occurred()) SWIG_fail
;
40898 Py_INCREF(Py_None
); resultobj
= Py_None
;
40905 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40906 PyObject
*resultobj
;
40907 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40909 PyObject
* obj0
= 0 ;
40910 PyObject
* obj1
= 0 ;
40911 char *kwnames
[] = {
40912 (char *) "self",(char *) "gap", NULL
40915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40917 if (SWIG_arg_fail(1)) SWIG_fail
;
40919 arg2
= (int)(SWIG_As_int(obj1
));
40920 if (SWIG_arg_fail(2)) SWIG_fail
;
40923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40924 (arg1
)->SetHGap(arg2
);
40926 wxPyEndAllowThreads(__tstate
);
40927 if (PyErr_Occurred()) SWIG_fail
;
40929 Py_INCREF(Py_None
); resultobj
= Py_None
;
40936 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40937 PyObject
*resultobj
;
40938 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40940 PyObject
* obj0
= 0 ;
40941 char *kwnames
[] = {
40942 (char *) "self", NULL
40945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40947 if (SWIG_arg_fail(1)) SWIG_fail
;
40949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40950 result
= (int)(arg1
)->GetCols();
40952 wxPyEndAllowThreads(__tstate
);
40953 if (PyErr_Occurred()) SWIG_fail
;
40956 resultobj
= SWIG_From_int((int)(result
));
40964 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40965 PyObject
*resultobj
;
40966 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40968 PyObject
* obj0
= 0 ;
40969 char *kwnames
[] = {
40970 (char *) "self", NULL
40973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40975 if (SWIG_arg_fail(1)) SWIG_fail
;
40977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40978 result
= (int)(arg1
)->GetRows();
40980 wxPyEndAllowThreads(__tstate
);
40981 if (PyErr_Occurred()) SWIG_fail
;
40984 resultobj
= SWIG_From_int((int)(result
));
40992 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40993 PyObject
*resultobj
;
40994 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40996 PyObject
* obj0
= 0 ;
40997 char *kwnames
[] = {
40998 (char *) "self", NULL
41001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41003 if (SWIG_arg_fail(1)) SWIG_fail
;
41005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41006 result
= (int)(arg1
)->GetVGap();
41008 wxPyEndAllowThreads(__tstate
);
41009 if (PyErr_Occurred()) SWIG_fail
;
41012 resultobj
= SWIG_From_int((int)(result
));
41020 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41021 PyObject
*resultobj
;
41022 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41024 PyObject
* obj0
= 0 ;
41025 char *kwnames
[] = {
41026 (char *) "self", NULL
41029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41031 if (SWIG_arg_fail(1)) SWIG_fail
;
41033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41034 result
= (int)(arg1
)->GetHGap();
41036 wxPyEndAllowThreads(__tstate
);
41037 if (PyErr_Occurred()) SWIG_fail
;
41040 resultobj
= SWIG_From_int((int)(result
));
41048 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41051 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41053 return Py_BuildValue((char *)"");
41055 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41056 PyObject
*resultobj
;
41057 int arg1
= (int) 1 ;
41058 int arg2
= (int) 0 ;
41059 int arg3
= (int) 0 ;
41060 int arg4
= (int) 0 ;
41061 wxFlexGridSizer
*result
;
41062 PyObject
* obj0
= 0 ;
41063 PyObject
* obj1
= 0 ;
41064 PyObject
* obj2
= 0 ;
41065 PyObject
* obj3
= 0 ;
41066 char *kwnames
[] = {
41067 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41073 arg1
= (int)(SWIG_As_int(obj0
));
41074 if (SWIG_arg_fail(1)) SWIG_fail
;
41079 arg2
= (int)(SWIG_As_int(obj1
));
41080 if (SWIG_arg_fail(2)) SWIG_fail
;
41085 arg3
= (int)(SWIG_As_int(obj2
));
41086 if (SWIG_arg_fail(3)) SWIG_fail
;
41091 arg4
= (int)(SWIG_As_int(obj3
));
41092 if (SWIG_arg_fail(4)) SWIG_fail
;
41096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41097 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41099 wxPyEndAllowThreads(__tstate
);
41100 if (PyErr_Occurred()) SWIG_fail
;
41102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41109 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41110 PyObject
*resultobj
;
41111 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41113 int arg3
= (int) 0 ;
41114 PyObject
* obj0
= 0 ;
41115 PyObject
* obj1
= 0 ;
41116 PyObject
* obj2
= 0 ;
41117 char *kwnames
[] = {
41118 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41123 if (SWIG_arg_fail(1)) SWIG_fail
;
41125 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41126 if (SWIG_arg_fail(2)) SWIG_fail
;
41130 arg3
= (int)(SWIG_As_int(obj2
));
41131 if (SWIG_arg_fail(3)) SWIG_fail
;
41135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41136 (arg1
)->AddGrowableRow(arg2
,arg3
);
41138 wxPyEndAllowThreads(__tstate
);
41139 if (PyErr_Occurred()) SWIG_fail
;
41141 Py_INCREF(Py_None
); resultobj
= Py_None
;
41148 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41149 PyObject
*resultobj
;
41150 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41152 PyObject
* obj0
= 0 ;
41153 PyObject
* obj1
= 0 ;
41154 char *kwnames
[] = {
41155 (char *) "self",(char *) "idx", NULL
41158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41160 if (SWIG_arg_fail(1)) SWIG_fail
;
41162 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41163 if (SWIG_arg_fail(2)) SWIG_fail
;
41166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41167 (arg1
)->RemoveGrowableRow(arg2
);
41169 wxPyEndAllowThreads(__tstate
);
41170 if (PyErr_Occurred()) SWIG_fail
;
41172 Py_INCREF(Py_None
); resultobj
= Py_None
;
41179 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41180 PyObject
*resultobj
;
41181 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41183 int arg3
= (int) 0 ;
41184 PyObject
* obj0
= 0 ;
41185 PyObject
* obj1
= 0 ;
41186 PyObject
* obj2
= 0 ;
41187 char *kwnames
[] = {
41188 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41193 if (SWIG_arg_fail(1)) SWIG_fail
;
41195 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41196 if (SWIG_arg_fail(2)) SWIG_fail
;
41200 arg3
= (int)(SWIG_As_int(obj2
));
41201 if (SWIG_arg_fail(3)) SWIG_fail
;
41205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41206 (arg1
)->AddGrowableCol(arg2
,arg3
);
41208 wxPyEndAllowThreads(__tstate
);
41209 if (PyErr_Occurred()) SWIG_fail
;
41211 Py_INCREF(Py_None
); resultobj
= Py_None
;
41218 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41219 PyObject
*resultobj
;
41220 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41222 PyObject
* obj0
= 0 ;
41223 PyObject
* obj1
= 0 ;
41224 char *kwnames
[] = {
41225 (char *) "self",(char *) "idx", NULL
41228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41230 if (SWIG_arg_fail(1)) SWIG_fail
;
41232 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41233 if (SWIG_arg_fail(2)) SWIG_fail
;
41236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41237 (arg1
)->RemoveGrowableCol(arg2
);
41239 wxPyEndAllowThreads(__tstate
);
41240 if (PyErr_Occurred()) SWIG_fail
;
41242 Py_INCREF(Py_None
); resultobj
= Py_None
;
41249 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41250 PyObject
*resultobj
;
41251 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41253 PyObject
* obj0
= 0 ;
41254 PyObject
* obj1
= 0 ;
41255 char *kwnames
[] = {
41256 (char *) "self",(char *) "direction", NULL
41259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41261 if (SWIG_arg_fail(1)) SWIG_fail
;
41263 arg2
= (int)(SWIG_As_int(obj1
));
41264 if (SWIG_arg_fail(2)) SWIG_fail
;
41267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41268 (arg1
)->SetFlexibleDirection(arg2
);
41270 wxPyEndAllowThreads(__tstate
);
41271 if (PyErr_Occurred()) SWIG_fail
;
41273 Py_INCREF(Py_None
); resultobj
= Py_None
;
41280 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41281 PyObject
*resultobj
;
41282 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41284 PyObject
* obj0
= 0 ;
41285 char *kwnames
[] = {
41286 (char *) "self", NULL
41289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41291 if (SWIG_arg_fail(1)) SWIG_fail
;
41293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41294 result
= (int)(arg1
)->GetFlexibleDirection();
41296 wxPyEndAllowThreads(__tstate
);
41297 if (PyErr_Occurred()) SWIG_fail
;
41300 resultobj
= SWIG_From_int((int)(result
));
41308 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41309 PyObject
*resultobj
;
41310 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41311 wxFlexSizerGrowMode arg2
;
41312 PyObject
* obj0
= 0 ;
41313 PyObject
* obj1
= 0 ;
41314 char *kwnames
[] = {
41315 (char *) "self",(char *) "mode", NULL
41318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41320 if (SWIG_arg_fail(1)) SWIG_fail
;
41322 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41323 if (SWIG_arg_fail(2)) SWIG_fail
;
41326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41327 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41329 wxPyEndAllowThreads(__tstate
);
41330 if (PyErr_Occurred()) SWIG_fail
;
41332 Py_INCREF(Py_None
); resultobj
= Py_None
;
41339 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41340 PyObject
*resultobj
;
41341 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41342 wxFlexSizerGrowMode result
;
41343 PyObject
* obj0
= 0 ;
41344 char *kwnames
[] = {
41345 (char *) "self", NULL
41348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41350 if (SWIG_arg_fail(1)) SWIG_fail
;
41352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41353 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41355 wxPyEndAllowThreads(__tstate
);
41356 if (PyErr_Occurred()) SWIG_fail
;
41358 resultobj
= SWIG_From_int((result
));
41365 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41366 PyObject
*resultobj
;
41367 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41368 wxArrayInt
*result
;
41369 PyObject
* obj0
= 0 ;
41370 char *kwnames
[] = {
41371 (char *) "self", NULL
41374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41376 if (SWIG_arg_fail(1)) SWIG_fail
;
41378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41380 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41381 result
= (wxArrayInt
*) &_result_ref
;
41384 wxPyEndAllowThreads(__tstate
);
41385 if (PyErr_Occurred()) SWIG_fail
;
41388 resultobj
= PyList_New(0);
41390 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41391 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41392 PyList_Append(resultobj
, val
);
41402 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41403 PyObject
*resultobj
;
41404 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41405 wxArrayInt
*result
;
41406 PyObject
* obj0
= 0 ;
41407 char *kwnames
[] = {
41408 (char *) "self", NULL
41411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41413 if (SWIG_arg_fail(1)) SWIG_fail
;
41415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41417 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41418 result
= (wxArrayInt
*) &_result_ref
;
41421 wxPyEndAllowThreads(__tstate
);
41422 if (PyErr_Occurred()) SWIG_fail
;
41425 resultobj
= PyList_New(0);
41427 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41428 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41429 PyList_Append(resultobj
, val
);
41439 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41442 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41444 return Py_BuildValue((char *)"");
41446 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41447 PyObject
*resultobj
;
41448 wxStdDialogButtonSizer
*result
;
41449 char *kwnames
[] = {
41453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41456 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41458 wxPyEndAllowThreads(__tstate
);
41459 if (PyErr_Occurred()) SWIG_fail
;
41461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41468 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41469 PyObject
*resultobj
;
41470 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41471 wxButton
*arg2
= (wxButton
*) 0 ;
41472 PyObject
* obj0
= 0 ;
41473 PyObject
* obj1
= 0 ;
41474 char *kwnames
[] = {
41475 (char *) "self",(char *) "button", NULL
41478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41480 if (SWIG_arg_fail(1)) SWIG_fail
;
41481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41482 if (SWIG_arg_fail(2)) SWIG_fail
;
41484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41485 (arg1
)->AddButton(arg2
);
41487 wxPyEndAllowThreads(__tstate
);
41488 if (PyErr_Occurred()) SWIG_fail
;
41490 Py_INCREF(Py_None
); resultobj
= Py_None
;
41497 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41498 PyObject
*resultobj
;
41499 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41500 PyObject
* obj0
= 0 ;
41501 char *kwnames
[] = {
41502 (char *) "self", NULL
41505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41507 if (SWIG_arg_fail(1)) SWIG_fail
;
41509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41512 wxPyEndAllowThreads(__tstate
);
41513 if (PyErr_Occurred()) SWIG_fail
;
41515 Py_INCREF(Py_None
); resultobj
= Py_None
;
41522 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41523 PyObject
*resultobj
;
41524 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41525 wxButton
*arg2
= (wxButton
*) 0 ;
41526 PyObject
* obj0
= 0 ;
41527 PyObject
* obj1
= 0 ;
41528 char *kwnames
[] = {
41529 (char *) "self",(char *) "button", NULL
41532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41534 if (SWIG_arg_fail(1)) SWIG_fail
;
41535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41536 if (SWIG_arg_fail(2)) SWIG_fail
;
41538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41539 (arg1
)->SetAffirmativeButton(arg2
);
41541 wxPyEndAllowThreads(__tstate
);
41542 if (PyErr_Occurred()) SWIG_fail
;
41544 Py_INCREF(Py_None
); resultobj
= Py_None
;
41551 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41552 PyObject
*resultobj
;
41553 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41554 wxButton
*arg2
= (wxButton
*) 0 ;
41555 PyObject
* obj0
= 0 ;
41556 PyObject
* obj1
= 0 ;
41557 char *kwnames
[] = {
41558 (char *) "self",(char *) "button", NULL
41561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41563 if (SWIG_arg_fail(1)) SWIG_fail
;
41564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41565 if (SWIG_arg_fail(2)) SWIG_fail
;
41567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41568 (arg1
)->SetNegativeButton(arg2
);
41570 wxPyEndAllowThreads(__tstate
);
41571 if (PyErr_Occurred()) SWIG_fail
;
41573 Py_INCREF(Py_None
); resultobj
= Py_None
;
41580 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41581 PyObject
*resultobj
;
41582 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41583 wxButton
*arg2
= (wxButton
*) 0 ;
41584 PyObject
* obj0
= 0 ;
41585 PyObject
* obj1
= 0 ;
41586 char *kwnames
[] = {
41587 (char *) "self",(char *) "button", NULL
41590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41592 if (SWIG_arg_fail(1)) SWIG_fail
;
41593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41594 if (SWIG_arg_fail(2)) SWIG_fail
;
41596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41597 (arg1
)->SetCancelButton(arg2
);
41599 wxPyEndAllowThreads(__tstate
);
41600 if (PyErr_Occurred()) SWIG_fail
;
41602 Py_INCREF(Py_None
); resultobj
= Py_None
;
41609 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41610 PyObject
*resultobj
;
41611 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41613 PyObject
* obj0
= 0 ;
41614 char *kwnames
[] = {
41615 (char *) "self", NULL
41618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41620 if (SWIG_arg_fail(1)) SWIG_fail
;
41622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41623 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41625 wxPyEndAllowThreads(__tstate
);
41626 if (PyErr_Occurred()) SWIG_fail
;
41629 resultobj
= wxPyMake_wxObject(result
, 0);
41637 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41638 PyObject
*resultobj
;
41639 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41641 PyObject
* obj0
= 0 ;
41642 char *kwnames
[] = {
41643 (char *) "self", NULL
41646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41648 if (SWIG_arg_fail(1)) SWIG_fail
;
41650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41651 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41653 wxPyEndAllowThreads(__tstate
);
41654 if (PyErr_Occurred()) SWIG_fail
;
41657 resultobj
= wxPyMake_wxObject(result
, 0);
41665 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41666 PyObject
*resultobj
;
41667 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41669 PyObject
* obj0
= 0 ;
41670 char *kwnames
[] = {
41671 (char *) "self", NULL
41674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41676 if (SWIG_arg_fail(1)) SWIG_fail
;
41678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41679 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41681 wxPyEndAllowThreads(__tstate
);
41682 if (PyErr_Occurred()) SWIG_fail
;
41685 resultobj
= wxPyMake_wxObject(result
, 0);
41693 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41694 PyObject
*resultobj
;
41695 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41697 PyObject
* obj0
= 0 ;
41698 char *kwnames
[] = {
41699 (char *) "self", NULL
41702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41704 if (SWIG_arg_fail(1)) SWIG_fail
;
41706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41707 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41709 wxPyEndAllowThreads(__tstate
);
41710 if (PyErr_Occurred()) SWIG_fail
;
41713 resultobj
= wxPyMake_wxObject(result
, 0);
41721 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41722 PyObject
*resultobj
;
41723 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41725 PyObject
* obj0
= 0 ;
41726 char *kwnames
[] = {
41727 (char *) "self", NULL
41730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41732 if (SWIG_arg_fail(1)) SWIG_fail
;
41734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41735 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41737 wxPyEndAllowThreads(__tstate
);
41738 if (PyErr_Occurred()) SWIG_fail
;
41741 resultobj
= wxPyMake_wxObject(result
, 0);
41749 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41752 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41754 return Py_BuildValue((char *)"");
41756 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41757 PyObject
*resultobj
;
41758 int arg1
= (int) 0 ;
41759 int arg2
= (int) 0 ;
41760 wxGBPosition
*result
;
41761 PyObject
* obj0
= 0 ;
41762 PyObject
* obj1
= 0 ;
41763 char *kwnames
[] = {
41764 (char *) "row",(char *) "col", NULL
41767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41770 arg1
= (int)(SWIG_As_int(obj0
));
41771 if (SWIG_arg_fail(1)) SWIG_fail
;
41776 arg2
= (int)(SWIG_As_int(obj1
));
41777 if (SWIG_arg_fail(2)) SWIG_fail
;
41781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41782 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41784 wxPyEndAllowThreads(__tstate
);
41785 if (PyErr_Occurred()) SWIG_fail
;
41787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41794 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41795 PyObject
*resultobj
;
41796 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41798 PyObject
* obj0
= 0 ;
41799 char *kwnames
[] = {
41800 (char *) "self", NULL
41803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41805 if (SWIG_arg_fail(1)) SWIG_fail
;
41807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41808 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41810 wxPyEndAllowThreads(__tstate
);
41811 if (PyErr_Occurred()) SWIG_fail
;
41814 resultobj
= SWIG_From_int((int)(result
));
41822 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41823 PyObject
*resultobj
;
41824 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41826 PyObject
* obj0
= 0 ;
41827 char *kwnames
[] = {
41828 (char *) "self", NULL
41831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41833 if (SWIG_arg_fail(1)) SWIG_fail
;
41835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41836 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41838 wxPyEndAllowThreads(__tstate
);
41839 if (PyErr_Occurred()) SWIG_fail
;
41842 resultobj
= SWIG_From_int((int)(result
));
41850 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41851 PyObject
*resultobj
;
41852 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41854 PyObject
* obj0
= 0 ;
41855 PyObject
* obj1
= 0 ;
41856 char *kwnames
[] = {
41857 (char *) "self",(char *) "row", NULL
41860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41862 if (SWIG_arg_fail(1)) SWIG_fail
;
41864 arg2
= (int)(SWIG_As_int(obj1
));
41865 if (SWIG_arg_fail(2)) SWIG_fail
;
41868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41869 (arg1
)->SetRow(arg2
);
41871 wxPyEndAllowThreads(__tstate
);
41872 if (PyErr_Occurred()) SWIG_fail
;
41874 Py_INCREF(Py_None
); resultobj
= Py_None
;
41881 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41882 PyObject
*resultobj
;
41883 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41885 PyObject
* obj0
= 0 ;
41886 PyObject
* obj1
= 0 ;
41887 char *kwnames
[] = {
41888 (char *) "self",(char *) "col", NULL
41891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41893 if (SWIG_arg_fail(1)) SWIG_fail
;
41895 arg2
= (int)(SWIG_As_int(obj1
));
41896 if (SWIG_arg_fail(2)) SWIG_fail
;
41899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41900 (arg1
)->SetCol(arg2
);
41902 wxPyEndAllowThreads(__tstate
);
41903 if (PyErr_Occurred()) SWIG_fail
;
41905 Py_INCREF(Py_None
); resultobj
= Py_None
;
41912 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41913 PyObject
*resultobj
;
41914 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41915 wxGBPosition
*arg2
= 0 ;
41917 wxGBPosition temp2
;
41918 PyObject
* obj0
= 0 ;
41919 PyObject
* obj1
= 0 ;
41920 char *kwnames
[] = {
41921 (char *) "self",(char *) "other", NULL
41924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41926 if (SWIG_arg_fail(1)) SWIG_fail
;
41929 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41933 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41935 wxPyEndAllowThreads(__tstate
);
41936 if (PyErr_Occurred()) SWIG_fail
;
41939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41947 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41948 PyObject
*resultobj
;
41949 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41950 wxGBPosition
*arg2
= 0 ;
41952 wxGBPosition temp2
;
41953 PyObject
* obj0
= 0 ;
41954 PyObject
* obj1
= 0 ;
41955 char *kwnames
[] = {
41956 (char *) "self",(char *) "other", NULL
41959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41961 if (SWIG_arg_fail(1)) SWIG_fail
;
41964 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41968 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41970 wxPyEndAllowThreads(__tstate
);
41971 if (PyErr_Occurred()) SWIG_fail
;
41974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41982 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41983 PyObject
*resultobj
;
41984 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41985 int arg2
= (int) 0 ;
41986 int arg3
= (int) 0 ;
41987 PyObject
* obj0
= 0 ;
41988 PyObject
* obj1
= 0 ;
41989 PyObject
* obj2
= 0 ;
41990 char *kwnames
[] = {
41991 (char *) "self",(char *) "row",(char *) "col", NULL
41994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41996 if (SWIG_arg_fail(1)) SWIG_fail
;
41999 arg2
= (int)(SWIG_As_int(obj1
));
42000 if (SWIG_arg_fail(2)) SWIG_fail
;
42005 arg3
= (int)(SWIG_As_int(obj2
));
42006 if (SWIG_arg_fail(3)) SWIG_fail
;
42010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42011 wxGBPosition_Set(arg1
,arg2
,arg3
);
42013 wxPyEndAllowThreads(__tstate
);
42014 if (PyErr_Occurred()) SWIG_fail
;
42016 Py_INCREF(Py_None
); resultobj
= Py_None
;
42023 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42024 PyObject
*resultobj
;
42025 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42027 PyObject
* obj0
= 0 ;
42028 char *kwnames
[] = {
42029 (char *) "self", NULL
42032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42034 if (SWIG_arg_fail(1)) SWIG_fail
;
42036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42037 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42039 wxPyEndAllowThreads(__tstate
);
42040 if (PyErr_Occurred()) SWIG_fail
;
42042 resultobj
= result
;
42049 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42052 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42054 return Py_BuildValue((char *)"");
42056 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42057 PyObject
*resultobj
;
42058 int arg1
= (int) 1 ;
42059 int arg2
= (int) 1 ;
42061 PyObject
* obj0
= 0 ;
42062 PyObject
* obj1
= 0 ;
42063 char *kwnames
[] = {
42064 (char *) "rowspan",(char *) "colspan", NULL
42067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42070 arg1
= (int)(SWIG_As_int(obj0
));
42071 if (SWIG_arg_fail(1)) SWIG_fail
;
42076 arg2
= (int)(SWIG_As_int(obj1
));
42077 if (SWIG_arg_fail(2)) SWIG_fail
;
42081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42082 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42084 wxPyEndAllowThreads(__tstate
);
42085 if (PyErr_Occurred()) SWIG_fail
;
42087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42094 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42095 PyObject
*resultobj
;
42096 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42098 PyObject
* obj0
= 0 ;
42099 char *kwnames
[] = {
42100 (char *) "self", NULL
42103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42105 if (SWIG_arg_fail(1)) SWIG_fail
;
42107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42108 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42110 wxPyEndAllowThreads(__tstate
);
42111 if (PyErr_Occurred()) SWIG_fail
;
42114 resultobj
= SWIG_From_int((int)(result
));
42122 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42123 PyObject
*resultobj
;
42124 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42126 PyObject
* obj0
= 0 ;
42127 char *kwnames
[] = {
42128 (char *) "self", NULL
42131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42133 if (SWIG_arg_fail(1)) SWIG_fail
;
42135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42136 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42138 wxPyEndAllowThreads(__tstate
);
42139 if (PyErr_Occurred()) SWIG_fail
;
42142 resultobj
= SWIG_From_int((int)(result
));
42150 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42151 PyObject
*resultobj
;
42152 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42154 PyObject
* obj0
= 0 ;
42155 PyObject
* obj1
= 0 ;
42156 char *kwnames
[] = {
42157 (char *) "self",(char *) "rowspan", NULL
42160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42162 if (SWIG_arg_fail(1)) SWIG_fail
;
42164 arg2
= (int)(SWIG_As_int(obj1
));
42165 if (SWIG_arg_fail(2)) SWIG_fail
;
42168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42169 (arg1
)->SetRowspan(arg2
);
42171 wxPyEndAllowThreads(__tstate
);
42172 if (PyErr_Occurred()) SWIG_fail
;
42174 Py_INCREF(Py_None
); resultobj
= Py_None
;
42181 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42182 PyObject
*resultobj
;
42183 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42185 PyObject
* obj0
= 0 ;
42186 PyObject
* obj1
= 0 ;
42187 char *kwnames
[] = {
42188 (char *) "self",(char *) "colspan", NULL
42191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42193 if (SWIG_arg_fail(1)) SWIG_fail
;
42195 arg2
= (int)(SWIG_As_int(obj1
));
42196 if (SWIG_arg_fail(2)) SWIG_fail
;
42199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42200 (arg1
)->SetColspan(arg2
);
42202 wxPyEndAllowThreads(__tstate
);
42203 if (PyErr_Occurred()) SWIG_fail
;
42205 Py_INCREF(Py_None
); resultobj
= Py_None
;
42212 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42213 PyObject
*resultobj
;
42214 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42215 wxGBSpan
*arg2
= 0 ;
42218 PyObject
* obj0
= 0 ;
42219 PyObject
* obj1
= 0 ;
42220 char *kwnames
[] = {
42221 (char *) "self",(char *) "other", NULL
42224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42226 if (SWIG_arg_fail(1)) SWIG_fail
;
42229 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42233 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42235 wxPyEndAllowThreads(__tstate
);
42236 if (PyErr_Occurred()) SWIG_fail
;
42239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42247 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42248 PyObject
*resultobj
;
42249 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42250 wxGBSpan
*arg2
= 0 ;
42253 PyObject
* obj0
= 0 ;
42254 PyObject
* obj1
= 0 ;
42255 char *kwnames
[] = {
42256 (char *) "self",(char *) "other", NULL
42259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42261 if (SWIG_arg_fail(1)) SWIG_fail
;
42264 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42268 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42270 wxPyEndAllowThreads(__tstate
);
42271 if (PyErr_Occurred()) SWIG_fail
;
42274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42282 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42283 PyObject
*resultobj
;
42284 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42285 int arg2
= (int) 1 ;
42286 int arg3
= (int) 1 ;
42287 PyObject
* obj0
= 0 ;
42288 PyObject
* obj1
= 0 ;
42289 PyObject
* obj2
= 0 ;
42290 char *kwnames
[] = {
42291 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42296 if (SWIG_arg_fail(1)) SWIG_fail
;
42299 arg2
= (int)(SWIG_As_int(obj1
));
42300 if (SWIG_arg_fail(2)) SWIG_fail
;
42305 arg3
= (int)(SWIG_As_int(obj2
));
42306 if (SWIG_arg_fail(3)) SWIG_fail
;
42310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42311 wxGBSpan_Set(arg1
,arg2
,arg3
);
42313 wxPyEndAllowThreads(__tstate
);
42314 if (PyErr_Occurred()) SWIG_fail
;
42316 Py_INCREF(Py_None
); resultobj
= Py_None
;
42323 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42324 PyObject
*resultobj
;
42325 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42327 PyObject
* obj0
= 0 ;
42328 char *kwnames
[] = {
42329 (char *) "self", NULL
42332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42334 if (SWIG_arg_fail(1)) SWIG_fail
;
42336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42337 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42339 wxPyEndAllowThreads(__tstate
);
42340 if (PyErr_Occurred()) SWIG_fail
;
42342 resultobj
= result
;
42349 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42352 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42354 return Py_BuildValue((char *)"");
42356 static int _wrap_DefaultSpan_set(PyObject
*) {
42357 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42362 static PyObject
*_wrap_DefaultSpan_get(void) {
42365 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42370 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42371 PyObject
*resultobj
;
42372 wxGBSizerItem
*result
;
42373 char *kwnames
[] = {
42377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42380 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42382 wxPyEndAllowThreads(__tstate
);
42383 if (PyErr_Occurred()) SWIG_fail
;
42385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42392 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42393 PyObject
*resultobj
;
42394 wxWindow
*arg1
= (wxWindow
*) 0 ;
42395 wxGBPosition
*arg2
= 0 ;
42396 wxGBSpan
*arg3
= 0 ;
42399 PyObject
*arg6
= (PyObject
*) NULL
;
42400 wxGBSizerItem
*result
;
42401 wxGBPosition temp2
;
42403 PyObject
* obj0
= 0 ;
42404 PyObject
* obj1
= 0 ;
42405 PyObject
* obj2
= 0 ;
42406 PyObject
* obj3
= 0 ;
42407 PyObject
* obj4
= 0 ;
42408 PyObject
* obj5
= 0 ;
42409 char *kwnames
[] = {
42410 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42415 if (SWIG_arg_fail(1)) SWIG_fail
;
42418 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42422 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42425 arg4
= (int)(SWIG_As_int(obj3
));
42426 if (SWIG_arg_fail(4)) SWIG_fail
;
42429 arg5
= (int)(SWIG_As_int(obj4
));
42430 if (SWIG_arg_fail(5)) SWIG_fail
;
42436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42437 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42439 wxPyEndAllowThreads(__tstate
);
42440 if (PyErr_Occurred()) SWIG_fail
;
42442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42449 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42450 PyObject
*resultobj
;
42451 wxSizer
*arg1
= (wxSizer
*) 0 ;
42452 wxGBPosition
*arg2
= 0 ;
42453 wxGBSpan
*arg3
= 0 ;
42456 PyObject
*arg6
= (PyObject
*) NULL
;
42457 wxGBSizerItem
*result
;
42458 wxGBPosition temp2
;
42460 PyObject
* obj0
= 0 ;
42461 PyObject
* obj1
= 0 ;
42462 PyObject
* obj2
= 0 ;
42463 PyObject
* obj3
= 0 ;
42464 PyObject
* obj4
= 0 ;
42465 PyObject
* obj5
= 0 ;
42466 char *kwnames
[] = {
42467 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42472 if (SWIG_arg_fail(1)) SWIG_fail
;
42475 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42479 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42482 arg4
= (int)(SWIG_As_int(obj3
));
42483 if (SWIG_arg_fail(4)) SWIG_fail
;
42486 arg5
= (int)(SWIG_As_int(obj4
));
42487 if (SWIG_arg_fail(5)) SWIG_fail
;
42493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42494 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42496 wxPyEndAllowThreads(__tstate
);
42497 if (PyErr_Occurred()) SWIG_fail
;
42499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42506 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42507 PyObject
*resultobj
;
42510 wxGBPosition
*arg3
= 0 ;
42511 wxGBSpan
*arg4
= 0 ;
42514 PyObject
*arg7
= (PyObject
*) NULL
;
42515 wxGBSizerItem
*result
;
42516 wxGBPosition temp3
;
42518 PyObject
* obj0
= 0 ;
42519 PyObject
* obj1
= 0 ;
42520 PyObject
* obj2
= 0 ;
42521 PyObject
* obj3
= 0 ;
42522 PyObject
* obj4
= 0 ;
42523 PyObject
* obj5
= 0 ;
42524 PyObject
* obj6
= 0 ;
42525 char *kwnames
[] = {
42526 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42531 arg1
= (int)(SWIG_As_int(obj0
));
42532 if (SWIG_arg_fail(1)) SWIG_fail
;
42535 arg2
= (int)(SWIG_As_int(obj1
));
42536 if (SWIG_arg_fail(2)) SWIG_fail
;
42540 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42544 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42547 arg5
= (int)(SWIG_As_int(obj4
));
42548 if (SWIG_arg_fail(5)) SWIG_fail
;
42551 arg6
= (int)(SWIG_As_int(obj5
));
42552 if (SWIG_arg_fail(6)) SWIG_fail
;
42558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42559 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42561 wxPyEndAllowThreads(__tstate
);
42562 if (PyErr_Occurred()) SWIG_fail
;
42564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42571 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42572 PyObject
*resultobj
;
42573 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42574 wxGBPosition result
;
42575 PyObject
* obj0
= 0 ;
42576 char *kwnames
[] = {
42577 (char *) "self", NULL
42580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42582 if (SWIG_arg_fail(1)) SWIG_fail
;
42584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42585 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42587 wxPyEndAllowThreads(__tstate
);
42588 if (PyErr_Occurred()) SWIG_fail
;
42591 wxGBPosition
* resultptr
;
42592 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42601 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42602 PyObject
*resultobj
;
42603 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42605 PyObject
* obj0
= 0 ;
42606 char *kwnames
[] = {
42607 (char *) "self", NULL
42610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42612 if (SWIG_arg_fail(1)) SWIG_fail
;
42614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42615 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42617 wxPyEndAllowThreads(__tstate
);
42618 if (PyErr_Occurred()) SWIG_fail
;
42621 wxGBSpan
* resultptr
;
42622 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42631 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42632 PyObject
*resultobj
;
42633 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42634 wxGBPosition
*arg2
= 0 ;
42636 wxGBPosition temp2
;
42637 PyObject
* obj0
= 0 ;
42638 PyObject
* obj1
= 0 ;
42639 char *kwnames
[] = {
42640 (char *) "self",(char *) "pos", NULL
42643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42645 if (SWIG_arg_fail(1)) SWIG_fail
;
42648 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42652 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42654 wxPyEndAllowThreads(__tstate
);
42655 if (PyErr_Occurred()) SWIG_fail
;
42658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42666 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42667 PyObject
*resultobj
;
42668 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42669 wxGBSpan
*arg2
= 0 ;
42672 PyObject
* obj0
= 0 ;
42673 PyObject
* obj1
= 0 ;
42674 char *kwnames
[] = {
42675 (char *) "self",(char *) "span", NULL
42678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42680 if (SWIG_arg_fail(1)) SWIG_fail
;
42683 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42687 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42689 wxPyEndAllowThreads(__tstate
);
42690 if (PyErr_Occurred()) SWIG_fail
;
42693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42701 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42702 PyObject
*resultobj
;
42703 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42704 wxGBSizerItem
*arg2
= 0 ;
42706 PyObject
* obj0
= 0 ;
42707 PyObject
* obj1
= 0 ;
42708 char *kwnames
[] = {
42709 (char *) "self",(char *) "other", NULL
42712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42714 if (SWIG_arg_fail(1)) SWIG_fail
;
42716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42717 if (SWIG_arg_fail(2)) SWIG_fail
;
42718 if (arg2
== NULL
) {
42719 SWIG_null_ref("wxGBSizerItem");
42721 if (SWIG_arg_fail(2)) SWIG_fail
;
42724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42725 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42727 wxPyEndAllowThreads(__tstate
);
42728 if (PyErr_Occurred()) SWIG_fail
;
42731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42739 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42740 PyObject
*resultobj
;
42741 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42742 wxGBPosition
*arg2
= 0 ;
42743 wxGBSpan
*arg3
= 0 ;
42745 wxGBPosition temp2
;
42747 PyObject
* obj0
= 0 ;
42748 PyObject
* obj1
= 0 ;
42749 PyObject
* obj2
= 0 ;
42750 char *kwnames
[] = {
42751 (char *) "self",(char *) "pos",(char *) "span", NULL
42754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42756 if (SWIG_arg_fail(1)) SWIG_fail
;
42759 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42763 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42767 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42769 wxPyEndAllowThreads(__tstate
);
42770 if (PyErr_Occurred()) SWIG_fail
;
42773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42781 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42782 PyObject
*resultobj
;
42783 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42784 wxGBPosition result
;
42785 PyObject
* obj0
= 0 ;
42786 char *kwnames
[] = {
42787 (char *) "self", NULL
42790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42792 if (SWIG_arg_fail(1)) SWIG_fail
;
42794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42795 result
= wxGBSizerItem_GetEndPos(arg1
);
42797 wxPyEndAllowThreads(__tstate
);
42798 if (PyErr_Occurred()) SWIG_fail
;
42801 wxGBPosition
* resultptr
;
42802 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42811 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42812 PyObject
*resultobj
;
42813 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42814 wxGridBagSizer
*result
;
42815 PyObject
* obj0
= 0 ;
42816 char *kwnames
[] = {
42817 (char *) "self", NULL
42820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42822 if (SWIG_arg_fail(1)) SWIG_fail
;
42824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42825 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42827 wxPyEndAllowThreads(__tstate
);
42828 if (PyErr_Occurred()) SWIG_fail
;
42830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42837 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42838 PyObject
*resultobj
;
42839 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42840 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42841 PyObject
* obj0
= 0 ;
42842 PyObject
* obj1
= 0 ;
42843 char *kwnames
[] = {
42844 (char *) "self",(char *) "sizer", NULL
42847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42849 if (SWIG_arg_fail(1)) SWIG_fail
;
42850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42851 if (SWIG_arg_fail(2)) SWIG_fail
;
42853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42854 (arg1
)->SetGBSizer(arg2
);
42856 wxPyEndAllowThreads(__tstate
);
42857 if (PyErr_Occurred()) SWIG_fail
;
42859 Py_INCREF(Py_None
); resultobj
= Py_None
;
42866 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42869 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42871 return Py_BuildValue((char *)"");
42873 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42874 PyObject
*resultobj
;
42875 int arg1
= (int) 0 ;
42876 int arg2
= (int) 0 ;
42877 wxGridBagSizer
*result
;
42878 PyObject
* obj0
= 0 ;
42879 PyObject
* obj1
= 0 ;
42880 char *kwnames
[] = {
42881 (char *) "vgap",(char *) "hgap", NULL
42884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42887 arg1
= (int)(SWIG_As_int(obj0
));
42888 if (SWIG_arg_fail(1)) SWIG_fail
;
42893 arg2
= (int)(SWIG_As_int(obj1
));
42894 if (SWIG_arg_fail(2)) SWIG_fail
;
42898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42899 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42901 wxPyEndAllowThreads(__tstate
);
42902 if (PyErr_Occurred()) SWIG_fail
;
42904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42911 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42912 PyObject
*resultobj
;
42913 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42914 PyObject
*arg2
= (PyObject
*) 0 ;
42915 wxGBPosition
*arg3
= 0 ;
42916 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42917 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42918 int arg5
= (int) 0 ;
42919 int arg6
= (int) 0 ;
42920 PyObject
*arg7
= (PyObject
*) NULL
;
42921 wxGBSizerItem
*result
;
42922 wxGBPosition temp3
;
42924 PyObject
* obj0
= 0 ;
42925 PyObject
* obj1
= 0 ;
42926 PyObject
* obj2
= 0 ;
42927 PyObject
* obj3
= 0 ;
42928 PyObject
* obj4
= 0 ;
42929 PyObject
* obj5
= 0 ;
42930 PyObject
* obj6
= 0 ;
42931 char *kwnames
[] = {
42932 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42937 if (SWIG_arg_fail(1)) SWIG_fail
;
42941 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42946 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42951 arg5
= (int)(SWIG_As_int(obj4
));
42952 if (SWIG_arg_fail(5)) SWIG_fail
;
42957 arg6
= (int)(SWIG_As_int(obj5
));
42958 if (SWIG_arg_fail(6)) SWIG_fail
;
42965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42966 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42968 wxPyEndAllowThreads(__tstate
);
42969 if (PyErr_Occurred()) SWIG_fail
;
42971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42978 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42979 PyObject
*resultobj
;
42980 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42981 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42982 wxGBSizerItem
*result
;
42983 PyObject
* obj0
= 0 ;
42984 PyObject
* obj1
= 0 ;
42985 char *kwnames
[] = {
42986 (char *) "self",(char *) "item", NULL
42989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42991 if (SWIG_arg_fail(1)) SWIG_fail
;
42992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42993 if (SWIG_arg_fail(2)) SWIG_fail
;
42995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42996 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42998 wxPyEndAllowThreads(__tstate
);
42999 if (PyErr_Occurred()) SWIG_fail
;
43001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43008 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43009 PyObject
*resultobj
;
43010 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43014 PyObject
* obj0
= 0 ;
43015 PyObject
* obj1
= 0 ;
43016 PyObject
* obj2
= 0 ;
43017 char *kwnames
[] = {
43018 (char *) "self",(char *) "row",(char *) "col", NULL
43021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43023 if (SWIG_arg_fail(1)) SWIG_fail
;
43025 arg2
= (int)(SWIG_As_int(obj1
));
43026 if (SWIG_arg_fail(2)) SWIG_fail
;
43029 arg3
= (int)(SWIG_As_int(obj2
));
43030 if (SWIG_arg_fail(3)) SWIG_fail
;
43033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43034 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43036 wxPyEndAllowThreads(__tstate
);
43037 if (PyErr_Occurred()) SWIG_fail
;
43040 wxSize
* resultptr
;
43041 resultptr
= new wxSize((wxSize
&)(result
));
43042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43050 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43051 PyObject
*resultobj
;
43052 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43054 PyObject
* obj0
= 0 ;
43055 char *kwnames
[] = {
43056 (char *) "self", NULL
43059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43061 if (SWIG_arg_fail(1)) SWIG_fail
;
43063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43064 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43066 wxPyEndAllowThreads(__tstate
);
43067 if (PyErr_Occurred()) SWIG_fail
;
43070 wxSize
* resultptr
;
43071 resultptr
= new wxSize((wxSize
&)(result
));
43072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43080 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43081 PyObject
*resultobj
;
43082 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43085 PyObject
* obj0
= 0 ;
43086 PyObject
* obj1
= 0 ;
43087 char *kwnames
[] = {
43088 (char *) "self",(char *) "sz", NULL
43091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43093 if (SWIG_arg_fail(1)) SWIG_fail
;
43096 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43100 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43102 wxPyEndAllowThreads(__tstate
);
43103 if (PyErr_Occurred()) SWIG_fail
;
43105 Py_INCREF(Py_None
); resultobj
= Py_None
;
43112 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43113 PyObject
*resultobj
;
43114 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43115 wxWindow
*arg2
= (wxWindow
*) 0 ;
43116 wxGBPosition result
;
43117 PyObject
* obj0
= 0 ;
43118 PyObject
* obj1
= 0 ;
43120 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43122 if (SWIG_arg_fail(1)) SWIG_fail
;
43123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43124 if (SWIG_arg_fail(2)) SWIG_fail
;
43126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43127 result
= (arg1
)->GetItemPosition(arg2
);
43129 wxPyEndAllowThreads(__tstate
);
43130 if (PyErr_Occurred()) SWIG_fail
;
43133 wxGBPosition
* resultptr
;
43134 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43143 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43144 PyObject
*resultobj
;
43145 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43146 wxSizer
*arg2
= (wxSizer
*) 0 ;
43147 wxGBPosition result
;
43148 PyObject
* obj0
= 0 ;
43149 PyObject
* obj1
= 0 ;
43151 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43153 if (SWIG_arg_fail(1)) SWIG_fail
;
43154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43155 if (SWIG_arg_fail(2)) SWIG_fail
;
43157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43158 result
= (arg1
)->GetItemPosition(arg2
);
43160 wxPyEndAllowThreads(__tstate
);
43161 if (PyErr_Occurred()) SWIG_fail
;
43164 wxGBPosition
* resultptr
;
43165 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43174 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43175 PyObject
*resultobj
;
43176 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43178 wxGBPosition result
;
43179 PyObject
* obj0
= 0 ;
43180 PyObject
* obj1
= 0 ;
43182 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43184 if (SWIG_arg_fail(1)) SWIG_fail
;
43186 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43187 if (SWIG_arg_fail(2)) SWIG_fail
;
43190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43191 result
= (arg1
)->GetItemPosition(arg2
);
43193 wxPyEndAllowThreads(__tstate
);
43194 if (PyErr_Occurred()) SWIG_fail
;
43197 wxGBPosition
* resultptr
;
43198 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43207 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43212 argc
= PyObject_Length(args
);
43213 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43214 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43220 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43230 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43238 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43246 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43256 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43264 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43272 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43280 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43282 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43287 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43292 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43293 PyObject
*resultobj
;
43294 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43295 wxWindow
*arg2
= (wxWindow
*) 0 ;
43296 wxGBPosition
*arg3
= 0 ;
43298 wxGBPosition temp3
;
43299 PyObject
* obj0
= 0 ;
43300 PyObject
* obj1
= 0 ;
43301 PyObject
* obj2
= 0 ;
43303 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43305 if (SWIG_arg_fail(1)) SWIG_fail
;
43306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43307 if (SWIG_arg_fail(2)) SWIG_fail
;
43310 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43314 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43316 wxPyEndAllowThreads(__tstate
);
43317 if (PyErr_Occurred()) SWIG_fail
;
43320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43328 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43329 PyObject
*resultobj
;
43330 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43331 wxSizer
*arg2
= (wxSizer
*) 0 ;
43332 wxGBPosition
*arg3
= 0 ;
43334 wxGBPosition temp3
;
43335 PyObject
* obj0
= 0 ;
43336 PyObject
* obj1
= 0 ;
43337 PyObject
* obj2
= 0 ;
43339 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43341 if (SWIG_arg_fail(1)) SWIG_fail
;
43342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43343 if (SWIG_arg_fail(2)) SWIG_fail
;
43346 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43350 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43352 wxPyEndAllowThreads(__tstate
);
43353 if (PyErr_Occurred()) SWIG_fail
;
43356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43364 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43365 PyObject
*resultobj
;
43366 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43368 wxGBPosition
*arg3
= 0 ;
43370 wxGBPosition temp3
;
43371 PyObject
* obj0
= 0 ;
43372 PyObject
* obj1
= 0 ;
43373 PyObject
* obj2
= 0 ;
43375 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43377 if (SWIG_arg_fail(1)) SWIG_fail
;
43379 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43380 if (SWIG_arg_fail(2)) SWIG_fail
;
43384 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43388 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43390 wxPyEndAllowThreads(__tstate
);
43391 if (PyErr_Occurred()) SWIG_fail
;
43394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43402 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43407 argc
= PyObject_Length(args
);
43408 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43409 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43415 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43425 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43434 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43437 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43446 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43456 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43465 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43468 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43477 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43485 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43488 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43491 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43497 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43502 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43503 PyObject
*resultobj
;
43504 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43505 wxWindow
*arg2
= (wxWindow
*) 0 ;
43507 PyObject
* obj0
= 0 ;
43508 PyObject
* obj1
= 0 ;
43510 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43512 if (SWIG_arg_fail(1)) SWIG_fail
;
43513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43514 if (SWIG_arg_fail(2)) SWIG_fail
;
43516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43517 result
= (arg1
)->GetItemSpan(arg2
);
43519 wxPyEndAllowThreads(__tstate
);
43520 if (PyErr_Occurred()) SWIG_fail
;
43523 wxGBSpan
* resultptr
;
43524 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43533 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43534 PyObject
*resultobj
;
43535 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43536 wxSizer
*arg2
= (wxSizer
*) 0 ;
43538 PyObject
* obj0
= 0 ;
43539 PyObject
* obj1
= 0 ;
43541 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43543 if (SWIG_arg_fail(1)) SWIG_fail
;
43544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43545 if (SWIG_arg_fail(2)) SWIG_fail
;
43547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43548 result
= (arg1
)->GetItemSpan(arg2
);
43550 wxPyEndAllowThreads(__tstate
);
43551 if (PyErr_Occurred()) SWIG_fail
;
43554 wxGBSpan
* resultptr
;
43555 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43564 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43565 PyObject
*resultobj
;
43566 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43569 PyObject
* obj0
= 0 ;
43570 PyObject
* obj1
= 0 ;
43572 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43574 if (SWIG_arg_fail(1)) SWIG_fail
;
43576 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43577 if (SWIG_arg_fail(2)) SWIG_fail
;
43580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43581 result
= (arg1
)->GetItemSpan(arg2
);
43583 wxPyEndAllowThreads(__tstate
);
43584 if (PyErr_Occurred()) SWIG_fail
;
43587 wxGBSpan
* resultptr
;
43588 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43597 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43602 argc
= PyObject_Length(args
);
43603 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43604 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43610 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43620 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43628 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43636 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43646 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43654 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43670 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43672 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43677 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43682 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43683 PyObject
*resultobj
;
43684 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43685 wxWindow
*arg2
= (wxWindow
*) 0 ;
43686 wxGBSpan
*arg3
= 0 ;
43689 PyObject
* obj0
= 0 ;
43690 PyObject
* obj1
= 0 ;
43691 PyObject
* obj2
= 0 ;
43693 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43695 if (SWIG_arg_fail(1)) SWIG_fail
;
43696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43697 if (SWIG_arg_fail(2)) SWIG_fail
;
43700 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43704 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43706 wxPyEndAllowThreads(__tstate
);
43707 if (PyErr_Occurred()) SWIG_fail
;
43710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43718 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43719 PyObject
*resultobj
;
43720 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43721 wxSizer
*arg2
= (wxSizer
*) 0 ;
43722 wxGBSpan
*arg3
= 0 ;
43725 PyObject
* obj0
= 0 ;
43726 PyObject
* obj1
= 0 ;
43727 PyObject
* obj2
= 0 ;
43729 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43731 if (SWIG_arg_fail(1)) SWIG_fail
;
43732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43733 if (SWIG_arg_fail(2)) SWIG_fail
;
43736 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43740 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43742 wxPyEndAllowThreads(__tstate
);
43743 if (PyErr_Occurred()) SWIG_fail
;
43746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43754 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43755 PyObject
*resultobj
;
43756 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43758 wxGBSpan
*arg3
= 0 ;
43761 PyObject
* obj0
= 0 ;
43762 PyObject
* obj1
= 0 ;
43763 PyObject
* obj2
= 0 ;
43765 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43767 if (SWIG_arg_fail(1)) SWIG_fail
;
43769 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43770 if (SWIG_arg_fail(2)) SWIG_fail
;
43774 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43778 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43780 wxPyEndAllowThreads(__tstate
);
43781 if (PyErr_Occurred()) SWIG_fail
;
43784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43792 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43797 argc
= PyObject_Length(args
);
43798 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43799 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43805 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43815 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43824 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43827 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43836 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43846 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43855 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43858 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43867 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43875 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43878 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43881 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43887 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43892 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43893 PyObject
*resultobj
;
43894 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43895 wxWindow
*arg2
= (wxWindow
*) 0 ;
43896 wxGBSizerItem
*result
;
43897 PyObject
* obj0
= 0 ;
43898 PyObject
* obj1
= 0 ;
43900 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43902 if (SWIG_arg_fail(1)) SWIG_fail
;
43903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43904 if (SWIG_arg_fail(2)) SWIG_fail
;
43906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43907 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43909 wxPyEndAllowThreads(__tstate
);
43910 if (PyErr_Occurred()) SWIG_fail
;
43912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43919 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43920 PyObject
*resultobj
;
43921 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43922 wxSizer
*arg2
= (wxSizer
*) 0 ;
43923 wxGBSizerItem
*result
;
43924 PyObject
* obj0
= 0 ;
43925 PyObject
* obj1
= 0 ;
43927 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43929 if (SWIG_arg_fail(1)) SWIG_fail
;
43930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43931 if (SWIG_arg_fail(2)) SWIG_fail
;
43933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43934 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43936 wxPyEndAllowThreads(__tstate
);
43937 if (PyErr_Occurred()) SWIG_fail
;
43939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43946 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43951 argc
= PyObject_Length(args
);
43952 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43953 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43959 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43969 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43977 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43985 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43995 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44003 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44008 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44013 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44014 PyObject
*resultobj
;
44015 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44016 wxGBPosition
*arg2
= 0 ;
44017 wxGBSizerItem
*result
;
44018 wxGBPosition temp2
;
44019 PyObject
* obj0
= 0 ;
44020 PyObject
* obj1
= 0 ;
44021 char *kwnames
[] = {
44022 (char *) "self",(char *) "pos", NULL
44025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44027 if (SWIG_arg_fail(1)) SWIG_fail
;
44030 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44034 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44036 wxPyEndAllowThreads(__tstate
);
44037 if (PyErr_Occurred()) SWIG_fail
;
44039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44046 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44047 PyObject
*resultobj
;
44048 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44049 wxPoint
*arg2
= 0 ;
44050 wxGBSizerItem
*result
;
44052 PyObject
* obj0
= 0 ;
44053 PyObject
* obj1
= 0 ;
44054 char *kwnames
[] = {
44055 (char *) "self",(char *) "pt", NULL
44058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44060 if (SWIG_arg_fail(1)) SWIG_fail
;
44063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44067 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44069 wxPyEndAllowThreads(__tstate
);
44070 if (PyErr_Occurred()) SWIG_fail
;
44072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44079 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44080 PyObject
*resultobj
;
44081 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44082 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44083 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44085 PyObject
* obj0
= 0 ;
44086 PyObject
* obj1
= 0 ;
44087 PyObject
* obj2
= 0 ;
44088 char *kwnames
[] = {
44089 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44094 if (SWIG_arg_fail(1)) SWIG_fail
;
44095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44096 if (SWIG_arg_fail(2)) SWIG_fail
;
44098 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44099 if (SWIG_arg_fail(3)) SWIG_fail
;
44102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44103 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44105 wxPyEndAllowThreads(__tstate
);
44106 if (PyErr_Occurred()) SWIG_fail
;
44109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44117 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44118 PyObject
*resultobj
;
44119 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44120 wxGBPosition
*arg2
= 0 ;
44121 wxGBSpan
*arg3
= 0 ;
44122 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44124 wxGBPosition temp2
;
44126 PyObject
* obj0
= 0 ;
44127 PyObject
* obj1
= 0 ;
44128 PyObject
* obj2
= 0 ;
44129 PyObject
* obj3
= 0 ;
44130 char *kwnames
[] = {
44131 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44136 if (SWIG_arg_fail(1)) SWIG_fail
;
44139 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44143 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44146 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44147 if (SWIG_arg_fail(4)) SWIG_fail
;
44150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44151 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44153 wxPyEndAllowThreads(__tstate
);
44154 if (PyErr_Occurred()) SWIG_fail
;
44157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44165 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44168 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44170 return Py_BuildValue((char *)"");
44172 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44173 PyObject
*resultobj
;
44174 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44175 wxRelationship arg2
;
44176 wxWindow
*arg3
= (wxWindow
*) 0 ;
44178 int arg5
= (int) 0 ;
44179 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44180 PyObject
* obj0
= 0 ;
44181 PyObject
* obj1
= 0 ;
44182 PyObject
* obj2
= 0 ;
44183 PyObject
* obj3
= 0 ;
44184 PyObject
* obj4
= 0 ;
44185 PyObject
* obj5
= 0 ;
44186 char *kwnames
[] = {
44187 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44192 if (SWIG_arg_fail(1)) SWIG_fail
;
44194 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44195 if (SWIG_arg_fail(2)) SWIG_fail
;
44197 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44198 if (SWIG_arg_fail(3)) SWIG_fail
;
44200 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44201 if (SWIG_arg_fail(4)) SWIG_fail
;
44205 arg5
= (int)(SWIG_As_int(obj4
));
44206 if (SWIG_arg_fail(5)) SWIG_fail
;
44211 arg6
= (int)(SWIG_As_int(obj5
));
44212 if (SWIG_arg_fail(6)) SWIG_fail
;
44216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44217 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44219 wxPyEndAllowThreads(__tstate
);
44220 if (PyErr_Occurred()) SWIG_fail
;
44222 Py_INCREF(Py_None
); resultobj
= Py_None
;
44229 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44230 PyObject
*resultobj
;
44231 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44232 wxWindow
*arg2
= (wxWindow
*) 0 ;
44233 int arg3
= (int) 0 ;
44234 PyObject
* obj0
= 0 ;
44235 PyObject
* obj1
= 0 ;
44236 PyObject
* obj2
= 0 ;
44237 char *kwnames
[] = {
44238 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44243 if (SWIG_arg_fail(1)) SWIG_fail
;
44244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44245 if (SWIG_arg_fail(2)) SWIG_fail
;
44248 arg3
= (int)(SWIG_As_int(obj2
));
44249 if (SWIG_arg_fail(3)) SWIG_fail
;
44253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44254 (arg1
)->LeftOf(arg2
,arg3
);
44256 wxPyEndAllowThreads(__tstate
);
44257 if (PyErr_Occurred()) SWIG_fail
;
44259 Py_INCREF(Py_None
); resultobj
= Py_None
;
44266 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44267 PyObject
*resultobj
;
44268 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44269 wxWindow
*arg2
= (wxWindow
*) 0 ;
44270 int arg3
= (int) 0 ;
44271 PyObject
* obj0
= 0 ;
44272 PyObject
* obj1
= 0 ;
44273 PyObject
* obj2
= 0 ;
44274 char *kwnames
[] = {
44275 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44280 if (SWIG_arg_fail(1)) SWIG_fail
;
44281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44282 if (SWIG_arg_fail(2)) SWIG_fail
;
44285 arg3
= (int)(SWIG_As_int(obj2
));
44286 if (SWIG_arg_fail(3)) SWIG_fail
;
44290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44291 (arg1
)->RightOf(arg2
,arg3
);
44293 wxPyEndAllowThreads(__tstate
);
44294 if (PyErr_Occurred()) SWIG_fail
;
44296 Py_INCREF(Py_None
); resultobj
= Py_None
;
44303 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44304 PyObject
*resultobj
;
44305 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44306 wxWindow
*arg2
= (wxWindow
*) 0 ;
44307 int arg3
= (int) 0 ;
44308 PyObject
* obj0
= 0 ;
44309 PyObject
* obj1
= 0 ;
44310 PyObject
* obj2
= 0 ;
44311 char *kwnames
[] = {
44312 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44317 if (SWIG_arg_fail(1)) SWIG_fail
;
44318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44319 if (SWIG_arg_fail(2)) SWIG_fail
;
44322 arg3
= (int)(SWIG_As_int(obj2
));
44323 if (SWIG_arg_fail(3)) SWIG_fail
;
44327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44328 (arg1
)->Above(arg2
,arg3
);
44330 wxPyEndAllowThreads(__tstate
);
44331 if (PyErr_Occurred()) SWIG_fail
;
44333 Py_INCREF(Py_None
); resultobj
= Py_None
;
44340 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44341 PyObject
*resultobj
;
44342 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44343 wxWindow
*arg2
= (wxWindow
*) 0 ;
44344 int arg3
= (int) 0 ;
44345 PyObject
* obj0
= 0 ;
44346 PyObject
* obj1
= 0 ;
44347 PyObject
* obj2
= 0 ;
44348 char *kwnames
[] = {
44349 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44354 if (SWIG_arg_fail(1)) SWIG_fail
;
44355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44356 if (SWIG_arg_fail(2)) SWIG_fail
;
44359 arg3
= (int)(SWIG_As_int(obj2
));
44360 if (SWIG_arg_fail(3)) SWIG_fail
;
44364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44365 (arg1
)->Below(arg2
,arg3
);
44367 wxPyEndAllowThreads(__tstate
);
44368 if (PyErr_Occurred()) SWIG_fail
;
44370 Py_INCREF(Py_None
); resultobj
= Py_None
;
44377 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44378 PyObject
*resultobj
;
44379 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44380 wxWindow
*arg2
= (wxWindow
*) 0 ;
44382 int arg4
= (int) 0 ;
44383 PyObject
* obj0
= 0 ;
44384 PyObject
* obj1
= 0 ;
44385 PyObject
* obj2
= 0 ;
44386 PyObject
* obj3
= 0 ;
44387 char *kwnames
[] = {
44388 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44393 if (SWIG_arg_fail(1)) SWIG_fail
;
44394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44395 if (SWIG_arg_fail(2)) SWIG_fail
;
44397 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44398 if (SWIG_arg_fail(3)) SWIG_fail
;
44402 arg4
= (int)(SWIG_As_int(obj3
));
44403 if (SWIG_arg_fail(4)) SWIG_fail
;
44407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44408 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44410 wxPyEndAllowThreads(__tstate
);
44411 if (PyErr_Occurred()) SWIG_fail
;
44413 Py_INCREF(Py_None
); resultobj
= Py_None
;
44420 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44421 PyObject
*resultobj
;
44422 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44423 wxWindow
*arg2
= (wxWindow
*) 0 ;
44426 PyObject
* obj0
= 0 ;
44427 PyObject
* obj1
= 0 ;
44428 PyObject
* obj2
= 0 ;
44429 PyObject
* obj3
= 0 ;
44430 char *kwnames
[] = {
44431 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44436 if (SWIG_arg_fail(1)) SWIG_fail
;
44437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44438 if (SWIG_arg_fail(2)) SWIG_fail
;
44440 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44441 if (SWIG_arg_fail(3)) SWIG_fail
;
44444 arg4
= (int)(SWIG_As_int(obj3
));
44445 if (SWIG_arg_fail(4)) SWIG_fail
;
44448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44449 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44451 wxPyEndAllowThreads(__tstate
);
44452 if (PyErr_Occurred()) SWIG_fail
;
44454 Py_INCREF(Py_None
); resultobj
= Py_None
;
44461 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44462 PyObject
*resultobj
;
44463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44465 PyObject
* obj0
= 0 ;
44466 PyObject
* obj1
= 0 ;
44467 char *kwnames
[] = {
44468 (char *) "self",(char *) "val", NULL
44471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44473 if (SWIG_arg_fail(1)) SWIG_fail
;
44475 arg2
= (int)(SWIG_As_int(obj1
));
44476 if (SWIG_arg_fail(2)) SWIG_fail
;
44479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44480 (arg1
)->Absolute(arg2
);
44482 wxPyEndAllowThreads(__tstate
);
44483 if (PyErr_Occurred()) SWIG_fail
;
44485 Py_INCREF(Py_None
); resultobj
= Py_None
;
44492 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44493 PyObject
*resultobj
;
44494 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44495 PyObject
* obj0
= 0 ;
44496 char *kwnames
[] = {
44497 (char *) "self", NULL
44500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44502 if (SWIG_arg_fail(1)) SWIG_fail
;
44504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44505 (arg1
)->Unconstrained();
44507 wxPyEndAllowThreads(__tstate
);
44508 if (PyErr_Occurred()) SWIG_fail
;
44510 Py_INCREF(Py_None
); resultobj
= Py_None
;
44517 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44518 PyObject
*resultobj
;
44519 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44520 PyObject
* obj0
= 0 ;
44521 char *kwnames
[] = {
44522 (char *) "self", NULL
44525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44527 if (SWIG_arg_fail(1)) SWIG_fail
;
44529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44532 wxPyEndAllowThreads(__tstate
);
44533 if (PyErr_Occurred()) SWIG_fail
;
44535 Py_INCREF(Py_None
); resultobj
= Py_None
;
44542 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44543 PyObject
*resultobj
;
44544 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44546 PyObject
* obj0
= 0 ;
44547 char *kwnames
[] = {
44548 (char *) "self", NULL
44551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44553 if (SWIG_arg_fail(1)) SWIG_fail
;
44555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44556 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44558 wxPyEndAllowThreads(__tstate
);
44559 if (PyErr_Occurred()) SWIG_fail
;
44562 resultobj
= wxPyMake_wxObject(result
, 0);
44570 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44571 PyObject
*resultobj
;
44572 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44574 PyObject
* obj0
= 0 ;
44575 char *kwnames
[] = {
44576 (char *) "self", NULL
44579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44581 if (SWIG_arg_fail(1)) SWIG_fail
;
44583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44584 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44586 wxPyEndAllowThreads(__tstate
);
44587 if (PyErr_Occurred()) SWIG_fail
;
44589 resultobj
= SWIG_From_int((result
));
44596 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44597 PyObject
*resultobj
;
44598 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44600 PyObject
* obj0
= 0 ;
44601 PyObject
* obj1
= 0 ;
44602 char *kwnames
[] = {
44603 (char *) "self",(char *) "which", NULL
44606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44608 if (SWIG_arg_fail(1)) SWIG_fail
;
44610 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44611 if (SWIG_arg_fail(2)) SWIG_fail
;
44614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44615 (arg1
)->SetEdge((wxEdge
)arg2
);
44617 wxPyEndAllowThreads(__tstate
);
44618 if (PyErr_Occurred()) SWIG_fail
;
44620 Py_INCREF(Py_None
); resultobj
= Py_None
;
44627 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44628 PyObject
*resultobj
;
44629 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44631 PyObject
* obj0
= 0 ;
44632 PyObject
* obj1
= 0 ;
44633 char *kwnames
[] = {
44634 (char *) "self",(char *) "v", NULL
44637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44639 if (SWIG_arg_fail(1)) SWIG_fail
;
44641 arg2
= (int)(SWIG_As_int(obj1
));
44642 if (SWIG_arg_fail(2)) SWIG_fail
;
44645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44646 (arg1
)->SetValue(arg2
);
44648 wxPyEndAllowThreads(__tstate
);
44649 if (PyErr_Occurred()) SWIG_fail
;
44651 Py_INCREF(Py_None
); resultobj
= Py_None
;
44658 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44659 PyObject
*resultobj
;
44660 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44662 PyObject
* obj0
= 0 ;
44663 char *kwnames
[] = {
44664 (char *) "self", NULL
44667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44669 if (SWIG_arg_fail(1)) SWIG_fail
;
44671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44672 result
= (int)(arg1
)->GetMargin();
44674 wxPyEndAllowThreads(__tstate
);
44675 if (PyErr_Occurred()) SWIG_fail
;
44678 resultobj
= SWIG_From_int((int)(result
));
44686 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44687 PyObject
*resultobj
;
44688 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44690 PyObject
* obj0
= 0 ;
44691 PyObject
* obj1
= 0 ;
44692 char *kwnames
[] = {
44693 (char *) "self",(char *) "m", NULL
44696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44698 if (SWIG_arg_fail(1)) SWIG_fail
;
44700 arg2
= (int)(SWIG_As_int(obj1
));
44701 if (SWIG_arg_fail(2)) SWIG_fail
;
44704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44705 (arg1
)->SetMargin(arg2
);
44707 wxPyEndAllowThreads(__tstate
);
44708 if (PyErr_Occurred()) SWIG_fail
;
44710 Py_INCREF(Py_None
); resultobj
= Py_None
;
44717 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44718 PyObject
*resultobj
;
44719 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44721 PyObject
* obj0
= 0 ;
44722 char *kwnames
[] = {
44723 (char *) "self", NULL
44726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44728 if (SWIG_arg_fail(1)) SWIG_fail
;
44730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44731 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44733 wxPyEndAllowThreads(__tstate
);
44734 if (PyErr_Occurred()) SWIG_fail
;
44737 resultobj
= SWIG_From_int((int)(result
));
44745 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44746 PyObject
*resultobj
;
44747 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44749 PyObject
* obj0
= 0 ;
44750 char *kwnames
[] = {
44751 (char *) "self", NULL
44754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44756 if (SWIG_arg_fail(1)) SWIG_fail
;
44758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44759 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44761 wxPyEndAllowThreads(__tstate
);
44762 if (PyErr_Occurred()) SWIG_fail
;
44765 resultobj
= SWIG_From_int((int)(result
));
44773 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44774 PyObject
*resultobj
;
44775 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44777 PyObject
* obj0
= 0 ;
44778 char *kwnames
[] = {
44779 (char *) "self", NULL
44782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44784 if (SWIG_arg_fail(1)) SWIG_fail
;
44786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44787 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44789 wxPyEndAllowThreads(__tstate
);
44790 if (PyErr_Occurred()) SWIG_fail
;
44793 resultobj
= SWIG_From_int((int)(result
));
44801 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44802 PyObject
*resultobj
;
44803 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44805 PyObject
* obj0
= 0 ;
44806 char *kwnames
[] = {
44807 (char *) "self", NULL
44810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44812 if (SWIG_arg_fail(1)) SWIG_fail
;
44814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44815 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44817 wxPyEndAllowThreads(__tstate
);
44818 if (PyErr_Occurred()) SWIG_fail
;
44821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44829 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44830 PyObject
*resultobj
;
44831 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44833 PyObject
* obj0
= 0 ;
44834 PyObject
* obj1
= 0 ;
44835 char *kwnames
[] = {
44836 (char *) "self",(char *) "d", NULL
44839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44841 if (SWIG_arg_fail(1)) SWIG_fail
;
44843 arg2
= (bool)(SWIG_As_bool(obj1
));
44844 if (SWIG_arg_fail(2)) SWIG_fail
;
44847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44848 (arg1
)->SetDone(arg2
);
44850 wxPyEndAllowThreads(__tstate
);
44851 if (PyErr_Occurred()) SWIG_fail
;
44853 Py_INCREF(Py_None
); resultobj
= Py_None
;
44860 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44861 PyObject
*resultobj
;
44862 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44863 wxRelationship result
;
44864 PyObject
* obj0
= 0 ;
44865 char *kwnames
[] = {
44866 (char *) "self", NULL
44869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44871 if (SWIG_arg_fail(1)) SWIG_fail
;
44873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44874 result
= (wxRelationship
)(arg1
)->GetRelationship();
44876 wxPyEndAllowThreads(__tstate
);
44877 if (PyErr_Occurred()) SWIG_fail
;
44879 resultobj
= SWIG_From_int((result
));
44886 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44887 PyObject
*resultobj
;
44888 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44889 wxRelationship arg2
;
44890 PyObject
* obj0
= 0 ;
44891 PyObject
* obj1
= 0 ;
44892 char *kwnames
[] = {
44893 (char *) "self",(char *) "r", NULL
44896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44898 if (SWIG_arg_fail(1)) SWIG_fail
;
44900 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44901 if (SWIG_arg_fail(2)) SWIG_fail
;
44904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44905 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44907 wxPyEndAllowThreads(__tstate
);
44908 if (PyErr_Occurred()) SWIG_fail
;
44910 Py_INCREF(Py_None
); resultobj
= Py_None
;
44917 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44918 PyObject
*resultobj
;
44919 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44920 wxWindow
*arg2
= (wxWindow
*) 0 ;
44922 PyObject
* obj0
= 0 ;
44923 PyObject
* obj1
= 0 ;
44924 char *kwnames
[] = {
44925 (char *) "self",(char *) "otherW", NULL
44928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44930 if (SWIG_arg_fail(1)) SWIG_fail
;
44931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44932 if (SWIG_arg_fail(2)) SWIG_fail
;
44934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44935 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44937 wxPyEndAllowThreads(__tstate
);
44938 if (PyErr_Occurred()) SWIG_fail
;
44941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44949 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44950 PyObject
*resultobj
;
44951 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44952 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44953 wxWindow
*arg3
= (wxWindow
*) 0 ;
44955 PyObject
* obj0
= 0 ;
44956 PyObject
* obj1
= 0 ;
44957 PyObject
* obj2
= 0 ;
44958 char *kwnames
[] = {
44959 (char *) "self",(char *) "constraints",(char *) "win", NULL
44962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44964 if (SWIG_arg_fail(1)) SWIG_fail
;
44965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44966 if (SWIG_arg_fail(2)) SWIG_fail
;
44967 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44968 if (SWIG_arg_fail(3)) SWIG_fail
;
44970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44971 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44973 wxPyEndAllowThreads(__tstate
);
44974 if (PyErr_Occurred()) SWIG_fail
;
44977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44985 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44986 PyObject
*resultobj
;
44987 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44989 wxWindow
*arg3
= (wxWindow
*) 0 ;
44990 wxWindow
*arg4
= (wxWindow
*) 0 ;
44992 PyObject
* obj0
= 0 ;
44993 PyObject
* obj1
= 0 ;
44994 PyObject
* obj2
= 0 ;
44995 PyObject
* obj3
= 0 ;
44996 char *kwnames
[] = {
44997 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45002 if (SWIG_arg_fail(1)) SWIG_fail
;
45004 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45005 if (SWIG_arg_fail(2)) SWIG_fail
;
45007 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45008 if (SWIG_arg_fail(3)) SWIG_fail
;
45009 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45010 if (SWIG_arg_fail(4)) SWIG_fail
;
45012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45013 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45015 wxPyEndAllowThreads(__tstate
);
45016 if (PyErr_Occurred()) SWIG_fail
;
45019 resultobj
= SWIG_From_int((int)(result
));
45027 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45030 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45032 return Py_BuildValue((char *)"");
45034 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45035 PyObject
*resultobj
;
45036 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45037 wxIndividualLayoutConstraint
*result
;
45038 PyObject
* obj0
= 0 ;
45039 char *kwnames
[] = {
45040 (char *) "self", NULL
45043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45045 if (SWIG_arg_fail(1)) SWIG_fail
;
45046 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45055 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45056 PyObject
*resultobj
;
45057 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45058 wxIndividualLayoutConstraint
*result
;
45059 PyObject
* obj0
= 0 ;
45060 char *kwnames
[] = {
45061 (char *) "self", NULL
45064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45066 if (SWIG_arg_fail(1)) SWIG_fail
;
45067 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45076 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45077 PyObject
*resultobj
;
45078 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45079 wxIndividualLayoutConstraint
*result
;
45080 PyObject
* obj0
= 0 ;
45081 char *kwnames
[] = {
45082 (char *) "self", NULL
45085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45087 if (SWIG_arg_fail(1)) SWIG_fail
;
45088 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45097 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45098 PyObject
*resultobj
;
45099 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45100 wxIndividualLayoutConstraint
*result
;
45101 PyObject
* obj0
= 0 ;
45102 char *kwnames
[] = {
45103 (char *) "self", NULL
45106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45108 if (SWIG_arg_fail(1)) SWIG_fail
;
45109 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45118 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45119 PyObject
*resultobj
;
45120 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45121 wxIndividualLayoutConstraint
*result
;
45122 PyObject
* obj0
= 0 ;
45123 char *kwnames
[] = {
45124 (char *) "self", NULL
45127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45129 if (SWIG_arg_fail(1)) SWIG_fail
;
45130 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45139 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45140 PyObject
*resultobj
;
45141 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45142 wxIndividualLayoutConstraint
*result
;
45143 PyObject
* obj0
= 0 ;
45144 char *kwnames
[] = {
45145 (char *) "self", NULL
45148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45150 if (SWIG_arg_fail(1)) SWIG_fail
;
45151 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45160 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45161 PyObject
*resultobj
;
45162 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45163 wxIndividualLayoutConstraint
*result
;
45164 PyObject
* obj0
= 0 ;
45165 char *kwnames
[] = {
45166 (char *) "self", NULL
45169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45171 if (SWIG_arg_fail(1)) SWIG_fail
;
45172 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45181 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45182 PyObject
*resultobj
;
45183 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45184 wxIndividualLayoutConstraint
*result
;
45185 PyObject
* obj0
= 0 ;
45186 char *kwnames
[] = {
45187 (char *) "self", NULL
45190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45192 if (SWIG_arg_fail(1)) SWIG_fail
;
45193 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45202 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45203 PyObject
*resultobj
;
45204 wxLayoutConstraints
*result
;
45205 char *kwnames
[] = {
45209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45212 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45214 wxPyEndAllowThreads(__tstate
);
45215 if (PyErr_Occurred()) SWIG_fail
;
45217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45224 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45225 PyObject
*resultobj
;
45226 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45227 wxWindow
*arg2
= (wxWindow
*) 0 ;
45228 int *arg3
= (int *) 0 ;
45232 PyObject
* obj0
= 0 ;
45233 PyObject
* obj1
= 0 ;
45234 char *kwnames
[] = {
45235 (char *) "self",(char *) "win", NULL
45238 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45241 if (SWIG_arg_fail(1)) SWIG_fail
;
45242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45243 if (SWIG_arg_fail(2)) SWIG_fail
;
45245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45246 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45248 wxPyEndAllowThreads(__tstate
);
45249 if (PyErr_Occurred()) SWIG_fail
;
45252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45254 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45255 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45262 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45263 PyObject
*resultobj
;
45264 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45266 PyObject
* obj0
= 0 ;
45267 char *kwnames
[] = {
45268 (char *) "self", NULL
45271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45273 if (SWIG_arg_fail(1)) SWIG_fail
;
45275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45276 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45278 wxPyEndAllowThreads(__tstate
);
45279 if (PyErr_Occurred()) SWIG_fail
;
45282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45290 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45293 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45295 return Py_BuildValue((char *)"");
45297 static PyMethodDef SwigMethods
[] = {
45298 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45299 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45300 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45303 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45324 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45337 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45352 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45453 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45455 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45463 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45464 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45476 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45488 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45492 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45498 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45508 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45518 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45525 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45605 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45607 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45609 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45611 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45613 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45615 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45617 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45619 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45621 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45623 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45625 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45627 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45629 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45643 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45664 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45667 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45679 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45684 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45690 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45696 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45759 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45766 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45802 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45812 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45818 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45820 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45822 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45825 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45829 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45832 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45835 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45837 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45842 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45850 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45854 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45857 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45859 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45863 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45882 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45885 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45887 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45891 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45895 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45909 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45912 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45916 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45923 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45928 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45933 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45937 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45982 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46002 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46009 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46013 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46023 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46195 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46235 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46250 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46253 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46308 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46335 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46379 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46387 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46406 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46407 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46444 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46474 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46477 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46481 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46484 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46494 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46506 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46518 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46528 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46538 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46552 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46559 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46560 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46561 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46562 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46563 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46568 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46595 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46607 { NULL
, NULL
, 0, NULL
}
46611 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46613 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46614 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46616 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46617 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46619 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46620 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46622 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46623 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46625 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46626 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46628 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46629 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46631 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46632 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46634 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46635 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46637 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46638 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46640 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46641 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46643 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46644 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46646 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46647 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46649 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46650 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46652 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46653 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46655 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46656 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46658 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46659 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46661 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46662 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46664 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46665 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46667 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46668 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46670 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46671 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46673 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46674 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46676 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46677 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46679 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46680 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46682 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46683 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46685 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46686 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46688 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46689 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46691 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46692 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46694 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46695 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46697 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46700 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46701 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46703 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46704 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46706 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46707 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46709 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46710 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46712 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46713 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46715 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46716 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46718 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46719 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46721 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46722 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46724 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46725 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46727 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46730 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46731 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46733 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46734 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46736 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46739 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46740 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46742 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46743 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46745 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46746 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46748 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46749 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46751 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46752 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46754 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46755 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46757 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46758 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46760 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46761 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46763 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46764 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46766 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46767 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46769 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46770 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46772 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46775 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46776 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46778 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46779 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46781 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46782 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46784 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46785 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46787 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46788 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46790 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46791 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46793 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46794 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46796 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46797 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46799 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46800 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46802 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46803 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46805 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46806 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46808 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46809 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46811 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46812 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46814 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46815 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46817 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46818 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46820 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46821 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46823 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46824 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46826 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46827 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46829 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46830 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46832 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46833 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46835 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46836 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46838 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46839 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46841 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46842 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46844 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46845 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46847 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46848 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46850 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46851 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46853 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46854 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46856 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46857 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46859 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46860 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46862 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46865 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46866 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46868 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46869 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46871 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46872 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46874 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46875 return (void *)((wxObject
*) ((wxSizer
*) x
));
46877 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46878 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46880 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46883 static void *_p_wxEventTo_p_wxObject(void *x
) {
46884 return (void *)((wxObject
*) ((wxEvent
*) x
));
46886 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46887 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46889 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46890 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46892 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46893 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46895 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46896 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46898 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46899 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46901 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46902 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46904 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46907 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46910 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46913 static void *_p_wxControlTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46916 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46919 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46922 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46925 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46928 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46931 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46934 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46937 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46940 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46943 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46946 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46949 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46952 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46955 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46958 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46961 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46964 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46967 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46970 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46973 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46976 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46979 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46982 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46985 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46988 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46991 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46994 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46997 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47000 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47003 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47006 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47009 static void *_p_wxImageTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) ((wxImage
*) x
));
47012 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47015 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47018 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47021 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47024 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47027 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47030 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47033 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47036 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47039 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47042 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47045 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47048 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47051 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47054 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47057 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47060 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47063 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47066 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47069 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47072 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47075 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47078 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47079 return (void *)((wxWindow
*) ((wxControl
*) x
));
47081 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47082 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47084 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47085 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47087 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47088 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47090 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47091 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47093 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47094 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47096 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47097 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47099 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47100 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47102 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47103 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47105 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47106 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47108 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47109 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47111 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47112 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47114 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47115 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47117 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}};
47118 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}};
47119 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}};
47120 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}};
47121 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}};
47122 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}};
47123 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}};
47124 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}};
47125 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}};
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 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}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47246 static swig_type_info
*swig_types_initial
[] = {
47247 _swigt__p_wxLayoutConstraints
,
47248 _swigt__p_wxRealPoint
,
47249 _swigt__p_wxSizerItem
,
47250 _swigt__p_wxGBSizerItem
,
47251 _swigt__p_wxScrollEvent
,
47252 _swigt__p_wxEventLoop
,
47253 _swigt__p_wxIndividualLayoutConstraint
,
47255 _swigt__p_wxBoxSizer
,
47256 _swigt__p_wxStaticBoxSizer
,
47257 _swigt__p_wxGridBagSizer
,
47258 _swigt__p_wxAcceleratorEntry
,
47259 _swigt__p_wxUpdateUIEvent
,
47263 _swigt__p_wxGridSizer
,
47264 _swigt__p_wxFlexGridSizer
,
47265 _swigt__p_wxInitDialogEvent
,
47266 _swigt__p_wxItemContainer
,
47267 _swigt__p_wxNcPaintEvent
,
47268 _swigt__p_wxPaintEvent
,
47269 _swigt__p_wxSysColourChangedEvent
,
47270 _swigt__p_wxMouseCaptureChangedEvent
,
47271 _swigt__p_wxDisplayChangedEvent
,
47272 _swigt__p_wxPaletteChangedEvent
,
47273 _swigt__p_wxControl
,
47275 _swigt__p_wxMenuBarBase
,
47276 _swigt__p_wxSetCursorEvent
,
47277 _swigt__p_wxFSFile
,
47280 _swigt__std__ptrdiff_t
,
47281 _swigt__p_wxRegion
,
47282 _swigt__p_wxPoint2D
,
47286 _swigt__p_wxPySizer
,
47287 _swigt__p_wxVisualAttributes
,
47288 _swigt__p_wxNotifyEvent
,
47289 _swigt__p_wxPyEvent
,
47290 _swigt__p_wxPropagationDisabler
,
47291 _swigt__p_form_ops_t
,
47292 _swigt__p_wxAppTraits
,
47293 _swigt__p_wxArrayString
,
47294 _swigt__p_wxShowEvent
,
47295 _swigt__p_wxToolTip
,
47296 _swigt__p_wxMoveEvent
,
47297 _swigt__p_wxSizeEvent
,
47298 _swigt__p_wxActivateEvent
,
47299 _swigt__p_wxIconizeEvent
,
47300 _swigt__p_wxMaximizeEvent
,
47301 _swigt__p_wxQueryNewPaletteEvent
,
47302 _swigt__p_wxWindowCreateEvent
,
47303 _swigt__p_wxIdleEvent
,
47304 _swigt__p_wxDateEvent
,
47305 _swigt__p_wxMenuItem
,
47306 _swigt__p_wxStaticBox
,
47308 _swigt__p_wxDuplexMode
,
47309 _swigt__p_wxTIFFHandler
,
47310 _swigt__p_wxXPMHandler
,
47311 _swigt__p_wxPNMHandler
,
47312 _swigt__p_wxJPEGHandler
,
47313 _swigt__p_wxPCXHandler
,
47314 _swigt__p_wxGIFHandler
,
47315 _swigt__p_wxPNGHandler
,
47316 _swigt__p_wxANIHandler
,
47317 _swigt__p_wxMemoryFSHandler
,
47318 _swigt__p_wxZipFSHandler
,
47319 _swigt__p_wxInternetFSHandler
,
47320 _swigt__p_wxPyFileSystemHandler
,
47321 _swigt__p_wxEvtHandler
,
47322 _swigt__p_wxCURHandler
,
47323 _swigt__p_wxICOHandler
,
47324 _swigt__p_wxBMPHandler
,
47325 _swigt__p_wxImageHandler
,
47326 _swigt__p_wxFileSystemHandler
,
47328 _swigt__p_wxButton
,
47329 _swigt__p_wxGBSpan
,
47330 _swigt__p_wxPropagateOnce
,
47331 _swigt__p_wxAcceleratorTable
,
47332 _swigt__p_wxStdDialogButtonSizer
,
47334 _swigt__p_wxGBPosition
,
47337 _swigt__p_wxScrollWinEvent
,
47338 _swigt__p_wxPaperSize
,
47339 _swigt__p_wxImageHistogram
,
47341 _swigt__p_wxCursor
,
47342 _swigt__p_wxObject
,
47343 _swigt__p_wxInputStream
,
47344 _swigt__p_wxOutputStream
,
47345 _swigt__p_wxPyInputStream
,
47346 _swigt__p_wxDateTime
,
47347 _swigt__p_wxKeyEvent
,
47348 _swigt__p_wxNavigationKeyEvent
,
47349 _swigt__p_wxWindowDestroyEvent
,
47350 _swigt__p_unsigned_long
,
47351 _swigt__p_wxWindow
,
47352 _swigt__p_wxMenuBar
,
47353 _swigt__p_wxFileSystem
,
47354 _swigt__p_wxBitmap
,
47355 _swigt__unsigned_int
,
47356 _swigt__p_unsigned_int
,
47357 _swigt__p_wxMenuEvent
,
47358 _swigt__p_wxContextMenuEvent
,
47359 _swigt__p_unsigned_char
,
47360 _swigt__p_wxEraseEvent
,
47361 _swigt__p_wxMouseEvent
,
47362 _swigt__p_wxCloseEvent
,
47364 _swigt__p_wxCommandEvent
,
47365 _swigt__p_wxPyCommandEvent
,
47366 _swigt__p_wxPyDropTarget
,
47367 _swigt__p_wxQuantize
,
47368 _swigt__p_wxFocusEvent
,
47369 _swigt__p_wxChildFocusEvent
,
47370 _swigt__p_wxDropFilesEvent
,
47371 _swigt__p_wxControlWithItems
,
47372 _swigt__p_wxColour
,
47373 _swigt__p_wxValidator
,
47374 _swigt__p_wxPyValidator
,
47379 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47381 static swig_const_info swig_const_table
[] = {
47382 {0, 0, 0, 0.0, 0, 0}};
47393 /* Python-specific SWIG API */
47394 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47395 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47396 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47398 /* -----------------------------------------------------------------------------
47399 * global variable support code.
47400 * ----------------------------------------------------------------------------- */
47402 typedef struct swig_globalvar
{
47403 char *name
; /* Name of global variable */
47404 PyObject
*(*get_attr
)(); /* Return the current value */
47405 int (*set_attr
)(PyObject
*); /* Set the value */
47406 struct swig_globalvar
*next
;
47409 typedef struct swig_varlinkobject
{
47411 swig_globalvar
*vars
;
47412 } swig_varlinkobject
;
47415 swig_varlink_repr(swig_varlinkobject
*v
) {
47417 return PyString_FromString("<Swig global variables>");
47421 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47422 swig_globalvar
*var
;
47424 fprintf(fp
,"Swig global variables { ");
47425 for (var
= v
->vars
; var
; var
=var
->next
) {
47426 fprintf(fp
,"%s", var
->name
);
47427 if (var
->next
) fprintf(fp
,", ");
47429 fprintf(fp
," }\n");
47434 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47435 swig_globalvar
*var
= v
->vars
;
47437 if (strcmp(var
->name
,n
) == 0) {
47438 return (*var
->get_attr
)();
47442 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47447 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47448 swig_globalvar
*var
= v
->vars
;
47450 if (strcmp(var
->name
,n
) == 0) {
47451 return (*var
->set_attr
)(p
);
47455 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47459 static PyTypeObject varlinktype
= {
47460 PyObject_HEAD_INIT(0)
47461 0, /* Number of items in variable part (ob_size) */
47462 (char *)"swigvarlink", /* Type name (tp_name) */
47463 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47464 0, /* Itemsize (tp_itemsize) */
47465 0, /* Deallocator (tp_dealloc) */
47466 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47467 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47468 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47469 0, /* tp_compare */
47470 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47471 0, /* tp_as_number */
47472 0, /* tp_as_sequence */
47473 0, /* tp_as_mapping */
47477 0, /* tp_getattro */
47478 0, /* tp_setattro */
47479 0, /* tp_as_buffer */
47482 #if PY_VERSION_HEX >= 0x02000000
47483 0, /* tp_traverse */
47486 #if PY_VERSION_HEX >= 0x02010000
47487 0, /* tp_richcompare */
47488 0, /* tp_weaklistoffset */
47490 #if PY_VERSION_HEX >= 0x02020000
47491 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47493 #if PY_VERSION_HEX >= 0x02030000
47496 #ifdef COUNT_ALLOCS
47497 0,0,0,0 /* tp_alloc -> tp_next */
47501 /* Create a variable linking object for use later */
47503 SWIG_Python_newvarlink(void) {
47504 swig_varlinkobject
*result
= 0;
47505 result
= PyMem_NEW(swig_varlinkobject
,1);
47506 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47507 result
->ob_type
= &varlinktype
;
47509 result
->ob_refcnt
= 0;
47510 Py_XINCREF((PyObject
*) result
);
47511 return ((PyObject
*) result
);
47515 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47516 swig_varlinkobject
*v
;
47517 swig_globalvar
*gv
;
47518 v
= (swig_varlinkobject
*) p
;
47519 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47520 gv
->name
= (char *) malloc(strlen(name
)+1);
47521 strcpy(gv
->name
,name
);
47522 gv
->get_attr
= get_attr
;
47523 gv
->set_attr
= set_attr
;
47524 gv
->next
= v
->vars
;
47528 /* -----------------------------------------------------------------------------
47529 * constants/methods manipulation
47530 * ----------------------------------------------------------------------------- */
47532 /* Install Constants */
47534 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47537 for (i
= 0; constants
[i
].type
; i
++) {
47538 switch(constants
[i
].type
) {
47540 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47542 case SWIG_PY_FLOAT
:
47543 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47545 case SWIG_PY_STRING
:
47546 if (constants
[i
].pvalue
) {
47547 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47549 Py_INCREF(Py_None
);
47553 case SWIG_PY_POINTER
:
47554 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47556 case SWIG_PY_BINARY
:
47557 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47564 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47570 /* -----------------------------------------------------------------------------*/
47571 /* Fix SwigMethods to carry the callback ptrs when needed */
47572 /* -----------------------------------------------------------------------------*/
47575 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47576 swig_const_info
*const_table
,
47577 swig_type_info
**types
,
47578 swig_type_info
**types_initial
) {
47580 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47581 char *c
= methods
[i
].ml_doc
;
47582 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47584 swig_const_info
*ci
= 0;
47585 char *name
= c
+ 10;
47586 for (j
= 0; const_table
[j
].type
; j
++) {
47587 if (strncmp(const_table
[j
].name
, name
,
47588 strlen(const_table
[j
].name
)) == 0) {
47589 ci
= &(const_table
[j
]);
47594 size_t shift
= (ci
->ptype
) - types
;
47595 swig_type_info
*ty
= types_initial
[shift
];
47596 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47597 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47598 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47600 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47601 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47603 strncpy(buff
, "swig_ptr: ", 10);
47605 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47606 methods
[i
].ml_doc
= ndoc
;
47612 /* -----------------------------------------------------------------------------*
47613 * Initialize type list
47614 * -----------------------------------------------------------------------------*/
47616 #if PY_MAJOR_VERSION < 2
47617 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47618 is copied out of Python/modsupport.c in python version 2.3.4 */
47620 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47623 if (!PyModule_Check(m
)) {
47624 PyErr_SetString(PyExc_TypeError
,
47625 "PyModule_AddObject() needs module as first arg");
47629 PyErr_SetString(PyExc_TypeError
,
47630 "PyModule_AddObject() needs non-NULL value");
47634 dict
= PyModule_GetDict(m
);
47635 if (dict
== NULL
) {
47636 /* Internal error -- modules must have a dict! */
47637 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47638 PyModule_GetName(m
));
47641 if (PyDict_SetItemString(dict
, name
, o
))
47648 static swig_type_info
**
47649 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47650 static PyMethodDef swig_empty_runtime_method_table
[] = {
47652 NULL
, NULL
, 0, NULL
47656 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47657 swig_empty_runtime_method_table
);
47658 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47659 if (pointer
&& module) {
47660 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47662 return type_list_handle
;
47665 static swig_type_info
**
47666 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47667 swig_type_info
**type_pointer
;
47669 /* first check if module already created */
47670 type_pointer
= SWIG_Python_GetTypeListHandle();
47671 if (type_pointer
) {
47672 return type_pointer
;
47674 /* create a new module and variable */
47675 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47683 /* -----------------------------------------------------------------------------*
47684 * Partial Init method
47685 * -----------------------------------------------------------------------------*/
47687 #ifdef SWIG_LINK_RUNTIME
47691 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47697 SWIGEXPORT(void) SWIG_init(void) {
47698 static PyObject
*SWIG_globals
= 0;
47699 static int typeinit
= 0;
47702 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47704 /* Fix SwigMethods to carry the callback ptrs when needed */
47705 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47707 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47708 d
= PyModule_GetDict(m
);
47711 #ifdef SWIG_LINK_RUNTIME
47712 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47714 # ifndef SWIG_STATIC_RUNTIME
47715 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47718 for (i
= 0; swig_types_initial
[i
]; i
++) {
47719 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47723 SWIG_InstallConstants(d
,swig_const_table
);
47726 #ifndef wxPyUSE_EXPORT
47727 // Make our API structure a CObject so other modules can import it
47728 // from this module.
47729 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47730 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47735 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47738 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47741 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47744 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47747 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47750 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47753 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47756 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47759 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47762 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47765 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47768 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47771 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47774 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47777 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47780 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47783 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47786 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47789 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47792 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47795 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47798 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47801 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47804 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47807 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47810 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47813 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47816 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47819 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47822 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47825 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47828 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47831 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47834 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47837 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47840 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47843 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47846 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47849 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47852 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47855 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47858 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47861 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47864 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47867 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47870 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47873 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47876 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47879 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47882 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47885 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47888 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47891 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47894 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47897 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47900 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47903 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47906 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47909 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47912 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47915 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47918 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47921 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47924 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47927 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47930 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47933 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47936 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47939 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47942 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47945 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47948 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47951 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47954 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47957 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47960 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47963 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47966 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47969 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47972 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47975 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47978 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47981 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47984 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47987 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47990 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47993 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47996 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47999 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48002 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48005 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48008 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48011 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48014 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48017 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48020 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48023 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48026 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48029 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48032 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48035 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48038 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48041 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48044 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48047 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48050 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48053 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48056 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48059 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48062 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48065 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48068 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48071 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48074 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48077 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48080 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48083 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48086 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48089 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48092 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48095 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48098 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48101 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48104 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48107 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48110 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48113 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48116 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48119 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48122 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48125 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48128 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48131 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48134 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48137 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48140 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48143 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48146 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48149 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48152 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48155 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48158 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48161 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48164 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48167 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48170 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48173 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48176 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48179 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48182 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48185 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48188 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48191 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48194 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48197 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48200 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48203 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48206 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48209 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48212 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48215 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48218 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48221 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48224 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48227 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48230 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48233 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48236 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48239 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48242 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48245 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48248 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48251 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48254 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48257 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48260 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48263 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48266 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48269 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48272 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48275 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48278 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48281 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48284 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48287 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48290 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48293 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48296 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48299 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48302 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48305 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48308 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48311 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48314 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48317 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48320 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48323 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48326 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48329 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48332 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48335 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48338 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48341 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48344 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48347 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48350 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48353 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48356 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48359 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48362 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48365 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48368 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48371 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48374 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48377 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48380 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48383 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48386 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48389 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48392 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48395 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48398 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48401 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48404 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48407 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48410 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48413 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48416 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48419 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48422 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48425 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48428 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48431 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48434 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48437 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48440 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48443 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48446 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48449 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48452 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48455 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48458 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48461 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48464 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48467 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48470 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48473 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48476 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48479 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48482 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48485 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48488 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48491 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48494 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48497 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48500 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48503 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48506 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48509 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48512 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48515 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48518 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48521 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48524 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48527 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48530 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48533 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48536 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48539 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48542 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48545 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48548 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48551 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48554 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48557 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48560 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48563 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48566 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48569 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48572 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48575 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48578 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48581 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48584 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48587 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48590 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48593 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48596 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48599 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48602 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48605 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48608 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48611 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48614 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48617 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48620 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48623 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48626 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48629 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48632 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48635 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48638 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48641 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48644 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48647 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48650 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48653 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48656 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48659 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48662 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48665 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48668 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48671 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48674 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48677 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48680 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48683 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48686 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48689 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48692 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48695 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48698 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48701 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48704 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48707 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48710 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48713 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48716 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48719 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48722 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48725 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48728 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48731 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48734 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48737 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48740 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48743 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48746 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48749 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48752 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48755 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48758 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48761 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48764 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48767 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48770 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48773 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48776 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48779 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48782 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48785 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48788 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48791 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48794 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48797 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48800 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48803 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48806 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48809 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48812 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48815 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48818 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48821 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48824 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48827 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48830 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48833 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48836 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48839 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48842 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48845 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48848 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48851 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48854 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48857 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48860 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48863 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48866 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48869 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48872 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48875 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48878 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48881 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48884 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48887 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48890 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48893 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48896 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48899 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48902 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48905 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48908 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48911 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48914 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48917 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48920 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48923 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48926 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48929 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48932 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48935 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48938 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48941 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48944 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48947 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48950 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48953 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48956 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48959 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48962 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48965 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48968 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48971 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48974 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48977 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48980 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48983 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48986 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48989 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48992 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48995 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48998 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49001 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49004 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49007 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49010 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49013 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49016 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49019 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49022 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49025 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49028 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49031 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49034 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49037 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49040 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49043 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49046 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49049 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49052 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49055 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49058 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49061 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49064 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49067 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49070 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49073 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49076 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49079 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49082 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49085 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49088 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49091 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49094 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49097 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49100 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49103 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49106 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49109 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49112 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49115 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49118 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49121 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49124 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49127 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49130 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49133 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49136 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49139 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49142 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49145 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49148 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49151 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49154 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49157 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49160 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49163 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49166 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49169 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49172 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49175 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49178 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49181 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49184 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49187 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49190 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49193 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49196 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49199 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49202 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49205 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49208 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49211 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49214 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49217 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49220 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49223 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49226 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49229 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49232 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49235 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49238 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49241 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49244 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49247 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49250 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49253 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49256 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49259 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49262 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49265 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49268 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49271 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49274 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49277 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49280 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49283 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49286 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49289 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49292 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49295 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49298 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49301 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49304 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49307 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49310 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49313 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49316 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49319 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49322 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49325 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49328 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49331 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49334 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49337 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49340 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49343 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49346 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49349 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49352 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49355 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49358 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49361 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49364 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49367 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49370 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49373 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49376 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49379 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49382 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49385 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49388 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49391 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49394 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49397 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49399 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49400 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49402 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49405 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49408 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49411 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49414 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49417 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49420 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49423 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49426 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49429 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49432 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49435 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49438 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49441 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49444 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49447 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49450 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49453 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49456 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49459 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49462 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49465 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49468 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49471 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49474 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49477 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49480 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49483 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49486 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49489 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49492 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49495 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49498 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49501 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49504 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49507 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49510 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49513 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49516 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49519 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49522 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49525 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49528 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49531 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49534 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49537 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49540 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49543 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49546 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49549 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49552 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49554 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49555 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49557 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49560 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49563 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49566 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49569 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49572 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49575 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49578 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49580 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49581 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49582 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49583 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49584 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49585 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49586 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49587 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49588 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49589 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49591 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49594 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49596 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49597 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49598 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49599 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49600 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49601 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49603 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49606 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49609 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49612 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49615 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49618 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49621 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49624 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49627 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49630 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49633 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49636 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49639 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49642 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49645 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49648 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49650 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49651 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49652 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49653 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49654 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49655 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49656 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49658 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49659 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49660 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49661 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49662 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49663 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49664 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49665 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49666 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49667 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49668 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49669 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49670 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49671 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49672 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49673 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49674 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49675 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49676 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49677 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49678 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49679 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49680 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49681 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49682 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49683 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49684 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49685 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49686 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49687 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49688 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49689 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49690 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49691 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49692 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49693 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49694 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49695 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49696 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49697 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49698 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49699 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49700 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49701 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49702 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49703 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49704 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49705 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49706 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49707 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49708 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49709 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49710 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49711 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49712 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49713 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49714 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49715 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49716 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49717 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49718 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49719 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49720 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49721 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49722 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49723 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49724 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49725 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49726 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49727 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49728 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49729 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49730 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49731 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49732 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49733 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49734 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49735 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49736 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49737 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49738 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49739 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49740 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49741 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49742 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49743 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49744 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49745 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49746 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49747 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49748 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49749 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49750 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49751 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49752 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49753 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49754 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49755 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49756 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49757 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49758 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49759 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49760 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49761 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49762 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49763 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49764 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49766 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49769 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49772 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49775 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49778 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49781 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49784 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49787 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49790 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49793 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49796 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49799 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49802 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49804 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49806 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49809 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49812 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49815 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49818 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49821 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49823 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49824 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49826 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49829 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49832 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49835 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49838 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49840 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49841 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49843 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49846 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49849 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49851 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49853 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49856 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49859 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49862 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49865 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49868 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49871 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49874 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49877 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49880 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49883 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49886 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49889 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49892 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49895 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49898 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49901 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49904 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49907 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49910 // Initialize threading, some globals and such
49914 // Although these are defined in __version__ they need to be here too so
49915 // that an assert can be done to ensure that the wxPython and the wxWindows
49917 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49918 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49919 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));