1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_buffer swig_types[14]
1356 #define SWIGTYPE_p_wxMenu swig_types[15]
1357 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1359 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1360 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1361 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1363 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxFont swig_types[27]
1369 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1370 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1371 #define SWIGTYPE_p_wxFSFile swig_types[30]
1372 #define SWIGTYPE_p_wxCaret swig_types[31]
1373 #define SWIGTYPE_ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_p_wxRegion swig_types[34]
1376 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1377 #define SWIGTYPE_p_int swig_types[36]
1378 #define SWIGTYPE_p_wxSize swig_types[37]
1379 #define SWIGTYPE_p_wxDC swig_types[38]
1380 #define SWIGTYPE_p_wxPySizer swig_types[39]
1381 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1382 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1384 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1387 #define SWIGTYPE_p_wxArrayString swig_types[46]
1388 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1389 #define SWIGTYPE_p_wxToolTip swig_types[48]
1390 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1391 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1392 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1393 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1395 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1396 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1397 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1398 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1399 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1400 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1401 #define SWIGTYPE_p_long swig_types[60]
1402 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1403 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1404 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1406 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1408 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1409 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1410 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1411 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1414 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1415 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1416 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1417 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1418 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1419 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1420 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1421 #define SWIGTYPE_p_wxRect swig_types[80]
1422 #define SWIGTYPE_p_wxButton swig_types[81]
1423 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1424 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1425 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1426 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1427 #define SWIGTYPE_p_char swig_types[86]
1428 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1429 #define SWIGTYPE_p_wxImage swig_types[88]
1430 #define SWIGTYPE_p_wxFrame swig_types[89]
1431 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1433 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1434 #define SWIGTYPE_p_wxPoint swig_types[93]
1435 #define SWIGTYPE_p_wxCursor swig_types[94]
1436 #define SWIGTYPE_p_wxObject swig_types[95]
1437 #define SWIGTYPE_p_wxInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1439 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1440 #define SWIGTYPE_p_wxDateTime swig_types[99]
1441 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1443 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1444 #define SWIGTYPE_p_unsigned_long swig_types[103]
1445 #define SWIGTYPE_p_wxWindow swig_types[104]
1446 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1447 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1448 #define SWIGTYPE_p_wxBitmap swig_types[107]
1449 #define SWIGTYPE_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_unsigned_int swig_types[109]
1451 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1453 #define SWIGTYPE_p_unsigned_char swig_types[112]
1454 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyApp swig_types[116]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1460 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1461 #define SWIGTYPE_p_wxQuantize swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1466 #define SWIGTYPE_p_wxColour swig_types[125]
1467 #define SWIGTYPE_p_wxValidator swig_types[126]
1468 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1469 static swig_type_info
*swig_types
[129];
1471 /* -------- TYPES TABLE (END) -------- */
1474 /*-----------------------------------------------
1475 @(target):= _core_.so
1476 ------------------------------------------------*/
1477 #define SWIG_init init_core_
1479 #define SWIG_name "_core_"
1481 #include "wx/wxPython/wxPython_int.h"
1482 #include "wx/wxPython/pyclasses.h"
1485 #ifndef wxPyUSE_EXPORT
1486 // Helper functions for dealing with SWIG objects and such. These are
1487 // located here so they know about the SWIG types and functions declared
1488 // in the wrapper code.
1490 #include <wx/hashmap.h>
1491 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1494 // Maintains a hashmap of className to swig_type_info pointers. Given the
1495 // name of a class either looks up the type info in the cache, or scans the
1496 // SWIG tables for it.
1497 extern PyObject
* wxPyPtrTypeMap
;
1499 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1501 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1503 if (typeInfoCache
== NULL
)
1504 typeInfoCache
= new wxPyTypeInfoHashMap
;
1506 wxString
name(className
);
1507 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1510 // it wasn't in the cache, so look it up from SWIG
1511 name
.Append(wxT(" *"));
1512 swigType
= SWIG_TypeQuery(name
.mb_str());
1514 // if it still wasn't found, try looking for a mapped name
1519 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1520 (char*)(const char*)name
.mbc_str())) != NULL
) {
1521 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1522 name
.Append(wxT(" *"));
1523 swigType
= SWIG_TypeQuery(name
.mb_str());
1527 // and add it to the map if found
1528 (*typeInfoCache
)[className
] = swigType
;
1535 // Check if a class name is a type known to SWIG
1536 bool wxPyCheckSwigType(const wxChar
* className
) {
1538 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1539 return swigType
!= NULL
;
1543 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 PyObject
* wxPyConstructObject(void* ptr
,
1546 const wxChar
* className
,
1549 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1550 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1552 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1556 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1557 // Ensures that the proxy object is of the specified (or derived) type. If
1558 // not able to perform the conversion then a Python exception is set and the
1559 // error should be handled properly in the caller. Returns True on success.
1560 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1561 const wxChar
* className
) {
1563 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1564 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1570 // Make a SWIGified pointer object suitable for a .this attribute
1571 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1573 PyObject
* robj
= NULL
;
1575 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1576 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1578 #ifdef SWIG_COBJECT_TYPES
1579 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1583 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1584 PyString_FromString(result
) : 0;
1594 // Export a C API in a struct. Other modules will be able to load this from
1595 // the wx._core_ module and will then have safe access to these functions,
1596 // even if they are located in another shared library.
1597 static wxPyCoreAPI API
= {
1600 wxPyConstructObject
,
1604 wxPyBeginAllowThreads
,
1605 wxPyEndAllowThreads
,
1606 wxPyBeginBlockThreads
,
1607 wxPyEndBlockThreads
,
1619 wxPoint_LIST_helper
,
1620 wxBitmap_LIST_helper
,
1621 wxString_LIST_helper
,
1622 wxAcceleratorEntry_LIST_helper
,
1631 wxPySimple_typecheck
,
1634 wxPyCBH_setCallbackInfo
,
1635 wxPyCBH_findCallback
,
1636 wxPyCBH_callCallback
,
1637 wxPyCBH_callCallbackObj
,
1643 wxPy2int_seq_helper
,
1644 wxPy4int_seq_helper
,
1645 wxArrayString2PyList_helper
,
1646 wxArrayInt2PyList_helper
,
1648 wxPyClientData_dtor
,
1650 wxPyOORClientData_dtor
,
1652 wxPyCBInputStream_create
,
1653 wxPyCBInputStream_copy
,
1656 wxPySwigInstance_Check
,
1665 #if !WXWIN_COMPATIBILITY_2_4
1666 #define wxHIDE_READONLY 0
1670 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1671 #define SWIG_From_int PyInt_FromLong
1676 enum wxHotkeyModifier
1684 #define wxEVT_HOTKEY 9999
1687 static const wxString
wxPyEmptyString(wxEmptyString
);
1688 static wxString
wxObject_GetClassName(wxObject
*self
){
1689 return self
->GetClassInfo()->GetClassName();
1691 static void wxObject_Destroy(wxObject
*self
){
1696 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1704 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1707 if (value
< min_value
) {
1709 PyErr_Format(PyExc_OverflowError
,
1710 "value %ld is less than '%s' minimum %ld",
1711 value
, errmsg
, min_value
);
1714 } else if (value
> max_value
) {
1716 PyErr_Format(PyExc_OverflowError
,
1717 "value %ld is greater than '%s' maximum %ld",
1718 value
, errmsg
, max_value
);
1727 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1729 if (PyNumber_Check(obj
)) {
1730 if (val
) *val
= PyInt_AsLong(obj
);
1734 SWIG_type_error("number", obj
);
1740 #if INT_MAX != LONG_MAX
1742 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1744 const char* errmsg
= val
? "int" : (char*)0;
1746 if (SWIG_AsVal_long(obj
, &v
)) {
1747 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1748 if (val
) *val
= (int)(v
);
1757 SWIG_type_error(errmsg
, obj
);
1763 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1765 return SWIG_AsVal_long(obj
,(long*)val
);
1771 SWIG_As_int(PyObject
* obj
)
1774 if (!SWIG_AsVal_int(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(int));
1785 SWIG_Check_int(PyObject
* obj
)
1787 return SWIG_AsVal_int(obj
, (int*)0);
1790 static PyObject
*wxSize_Get(wxSize
*self
){
1791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1792 PyObject
* tup
= PyTuple_New(2);
1793 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1794 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1795 wxPyEndBlockThreads(blocked
);
1800 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1802 if (PyNumber_Check(obj
)) {
1803 if (val
) *val
= PyFloat_AsDouble(obj
);
1807 SWIG_type_error("number", obj
);
1813 SWIGINTERNSHORT
double
1814 SWIG_As_double(PyObject
* obj
)
1817 if (!SWIG_AsVal_double(obj
, &v
)) {
1819 this is needed to make valgrind/purify happier.
1821 memset((void*)&v
, 0, sizeof(double));
1828 SWIG_Check_double(PyObject
* obj
)
1830 return SWIG_AsVal_double(obj
, (double*)0);
1834 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1835 #define SWIG_From_double PyFloat_FromDouble
1838 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1842 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1844 PyObject
* tup
= PyTuple_New(2);
1845 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1846 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1847 wxPyEndBlockThreads(blocked
);
1851 SWIGINTERNSHORT
long
1852 SWIG_As_long(PyObject
* obj
)
1855 if (!SWIG_AsVal_long(obj
, &v
)) {
1857 this is needed to make valgrind/purify happier.
1859 memset((void*)&v
, 0, sizeof(long));
1866 SWIG_Check_long(PyObject
* obj
)
1868 return SWIG_AsVal_long(obj
, (long*)0);
1871 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1875 static PyObject
*wxPoint_Get(wxPoint
*self
){
1876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1877 PyObject
* tup
= PyTuple_New(2);
1878 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1879 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1880 wxPyEndBlockThreads(blocked
);
1883 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1886 self
->width
= width
;
1887 self
->height
= height
;
1889 static PyObject
*wxRect_Get(wxRect
*self
){
1890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1891 PyObject
* tup
= PyTuple_New(4);
1892 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1893 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1894 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1895 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1896 wxPyEndBlockThreads(blocked
);
1900 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1903 wxRect
dest(0,0,0,0);
1906 reg1
.Intersect(reg2
);
1907 dest
= reg1
.GetBox();
1909 if (dest
!= wxRect(0,0,0,0)) {
1910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1911 wxRect
* newRect
= new wxRect(dest
);
1912 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1913 wxPyEndBlockThreads(blocked
);
1921 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1927 } else if (target
== Py_None
) {
1931 if (!PyTuple_Check(target
)) {
1933 target
= PyTuple_New(1);
1934 PyTuple_SetItem(target
, 0, o2
);
1936 o3
= PyTuple_New(1);
1937 PyTuple_SetItem(o3
, 0, o
);
1940 target
= PySequence_Concat(o2
, o3
);
1948 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1952 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1953 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1954 PyObject
* tup
= PyTuple_New(2);
1955 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1956 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1957 wxPyEndBlockThreads(blocked
);
1961 #include "wx/wxPython/pyistream.h"
1963 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1964 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1966 return new wxPyInputStream(wxis
);
1971 SWIGINTERNSHORT PyObject
*
1972 SWIG_From_char(char c
)
1974 return PyString_FromStringAndSize(&c
,1);
1978 SWIGINTERNSHORT PyObject
*
1979 SWIG_From_unsigned_SS_long(unsigned long value
)
1981 return (value
> LONG_MAX
) ?
1982 PyLong_FromUnsignedLong(value
)
1983 : PyInt_FromLong((long)(value
));
1987 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1991 static swig_type_info
* pchar_info
= 0;
1993 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1994 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1995 if (cptr
) *cptr
= vptr
;
1996 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2000 if (PyString_Check(obj
)) {
2002 *cptr
= PyString_AS_STRING(obj
);
2004 *psize
= PyString_GET_SIZE(obj
) + 1;
2011 SWIG_type_error("char *", obj
);
2018 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2020 char* cptr
; size_t csize
;
2021 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2024 char x[5] = "hello";
2026 ie, assing the array using an extra '0' char.
2028 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2029 if (csize
<= size
) {
2031 if (csize
) memcpy(val
, cptr
, csize
);
2032 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2038 PyErr_Format(PyExc_TypeError
,
2039 "a char array of maximum size %lu is expected",
2040 (unsigned long) size
);
2047 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2049 const char* errmsg
= val
? "char" : (char*)0;
2051 if (SWIG_AsVal_long(obj
, &v
)) {
2052 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2053 if (val
) *val
= (char)(v
);
2060 return SWIG_AsCharArray(obj
, val
, 1);
2065 SWIGINTERNSHORT
char
2066 SWIG_As_char(PyObject
* obj
)
2069 if (!SWIG_AsVal_char(obj
, &v
)) {
2071 this is needed to make valgrind/purify happier.
2073 memset((void*)&v
, 0, sizeof(char));
2080 SWIG_Check_char(PyObject
* obj
)
2082 return SWIG_AsVal_char(obj
, (char*)0);
2086 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2087 #define SWIG_From_long PyInt_FromLong
2090 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2091 // We use only strings for the streams, not unicode
2092 PyObject
* str
= PyObject_Str(obj
);
2094 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2097 self
->Write(PyString_AS_STRING(str
),
2098 PyString_GET_SIZE(str
));
2102 #include "wx/wxPython/pyistream.h"
2105 class wxPyFileSystemHandler
: public wxFileSystemHandler
2108 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2111 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2112 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2113 DEC_PYCALLBACK_STRING__pure(FindNext
);
2115 wxString
GetProtocol(const wxString
& location
) {
2116 return wxFileSystemHandler::GetProtocol(location
);
2119 wxString
GetLeftLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetLeftLocation(location
);
2123 wxString
GetAnchor(const wxString
& location
) {
2124 return wxFileSystemHandler::GetAnchor(location
);
2127 wxString
GetRightLocation(const wxString
& location
) {
2128 return wxFileSystemHandler::GetRightLocation(location
);
2131 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2132 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2139 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2140 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2141 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2142 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2146 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2148 if (obj
== Py_True
) {
2149 if (val
) *val
= true;
2152 if (obj
== Py_False
) {
2153 if (val
) *val
= false;
2157 if (SWIG_AsVal_int(obj
, &res
)) {
2158 if (val
) *val
= res
? true : false;
2164 SWIG_type_error("bool", obj
);
2170 SWIGINTERNSHORT
bool
2171 SWIG_As_bool(PyObject
* obj
)
2174 if (!SWIG_AsVal_bool(obj
, &v
)) {
2176 this is needed to make valgrind/purify happier.
2178 memset((void*)&v
, 0, sizeof(bool));
2185 SWIG_Check_bool(PyObject
* obj
)
2187 return SWIG_AsVal_bool(obj
, (bool*)0);
2190 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2191 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2192 return fname
.GetFullPath();
2195 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2198 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2201 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2202 const wxBitmap
& bitmap
,
2204 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2207 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2209 if (! PyString_Check(data
)) {
2210 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2211 "Expected string object"));
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 void* ptr
= (void*)PyString_AsString(data
);
2217 size_t size
= PyString_Size(data
);
2218 wxPyEndBlockThreads(blocked
);
2220 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2224 #include "wx/wxPython/pyistream.h"
2228 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2231 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2232 SWIG_type_error("unsigned number", obj
);
2235 *val
= (unsigned long)v
;
2241 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2242 unsigned long max_value
,
2245 if (value
> max_value
) {
2247 PyErr_Format(PyExc_OverflowError
,
2248 "value %lu is greater than '%s' minimum %lu",
2249 value
, errmsg
, max_value
);
2258 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2260 const char* errmsg
= val
? "unsigned char" : (char*)0;
2262 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2263 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2264 if (val
) *val
= (unsigned char)(v
);
2273 SWIG_type_error(errmsg
, obj
);
2279 SWIGINTERNSHORT
unsigned char
2280 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2283 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2285 this is needed to make valgrind/purify happier.
2287 memset((void*)&v
, 0, sizeof(unsigned char));
2294 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2296 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2300 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2301 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2306 SWIGINTERNSHORT
unsigned long
2307 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2310 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2312 this is needed to make valgrind/purify happier.
2314 memset((void*)&v
, 0, sizeof(unsigned long));
2321 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2323 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2326 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2327 wxImageHistogramEntry e
= (*self
)[key
];
2330 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,unsigned char r
,unsigned char g
,unsigned char b
){
2331 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2332 wxImageHistogramEntry e
= (*self
)[key
];
2335 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2336 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2339 wxImageHistogramEntry e
= (*self
)[key
];
2343 typedef unsigned char* buffer
;
2345 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2346 if (width
> 0 && height
> 0)
2347 return new wxImage(width
, height
, clear
);
2351 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2352 return new wxImage(bitmap
.ConvertToImage());
2354 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2355 if (DATASIZE
!= width
*height
*3) {
2356 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2360 // Copy the source data so the wxImage can clean it up later
2361 buffer copy
= (buffer
)malloc(DATASIZE
);
2363 wxPyBLOCK_THREADS(PyErr_NoMemory());
2366 memcpy(copy
, data
, DATASIZE
);
2367 return new wxImage(width
, height
, copy
, false);
2369 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2370 if (DATASIZE
!= width
*height
*3) {
2371 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2374 if (ALPHASIZE
!= width
*height
) {
2375 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2379 // Copy the source data so the wxImage can clean it up later
2380 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2381 if (dcopy
== NULL
) {
2382 wxPyBLOCK_THREADS(PyErr_NoMemory());
2385 memcpy(dcopy
, data
, DATASIZE
);
2387 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2388 if (acopy
== NULL
) {
2389 wxPyBLOCK_THREADS(PyErr_NoMemory());
2392 memcpy(acopy
, alpha
, ALPHASIZE
);
2394 return new wxImage(width
, height
, dcopy
, acopy
, false);
2396 static wxSize
wxImage_GetSize(wxImage
*self
){
2397 wxSize
size(self
->GetWidth(), self
->GetHeight());
2400 static PyObject
*wxImage_GetData(wxImage
*self
){
2401 buffer data
= self
->GetData();
2402 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2404 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2407 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2408 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2409 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2412 buffer copy
= (buffer
)malloc(DATASIZE
);
2414 wxPyBLOCK_THREADS(PyErr_NoMemory());
2417 memcpy(copy
, data
, DATASIZE
);
2418 self
->SetData(copy
, false);
2419 // wxImage takes ownership of copy...
2421 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2422 buffer data
= self
->GetData();
2423 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2425 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2428 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2429 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2430 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2433 self
->SetData(data
, true);
2435 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2436 buffer data
= self
->GetAlpha();
2440 int len
= self
->GetWidth() * self
->GetHeight();
2442 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2446 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2447 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2448 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2451 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2452 if (acopy
== NULL
) {
2453 wxPyBLOCK_THREADS(PyErr_NoMemory());
2456 memcpy(acopy
, alpha
, ALPHASIZE
);
2457 self
->SetAlpha(acopy
, false);
2458 // wxImage takes ownership of acopy...
2460 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2461 buffer data
= self
->GetAlpha();
2462 int len
= self
->GetWidth() * self
->GetHeight();
2464 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2467 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2468 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2469 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2472 self
->SetAlpha(alpha
, true);
2474 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2475 wxBitmap
bitmap(*self
, depth
);
2478 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2479 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2480 wxBitmap
bitmap( mono
, 1 );
2483 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2484 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2485 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2487 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2491 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2492 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2493 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2494 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2495 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2496 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2499 #include <wx/quantize.h>
2501 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2502 return wxQuantize::Quantize(src
, dest
,
2505 NULL
, // eightBitData
2508 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2509 if (PyCallable_Check(func
)) {
2510 self
->Connect(id
, lastId
, eventType
,
2511 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2512 new wxPyCallback(func
));
2514 else if (func
== Py_None
) {
2515 self
->Disconnect(id
, lastId
, eventType
,
2516 (wxObjectEventFunction
)
2517 &wxPyCallback::EventThunker
);
2521 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2525 return self
->Disconnect(id
, lastId
, eventType
,
2526 (wxObjectEventFunction
)
2527 &wxPyCallback::EventThunker
);
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2530 if (_self
&& _self
!= Py_None
) {
2531 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2534 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2536 self
->SetClientObject(NULL
); // This will delete it too
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2543 return self
->GetUnicodeKey();
2549 #if UINT_MAX < LONG_MAX
2550 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long
2554 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 #if UINT_MAX != ULONG_MAX
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 const char* errmsg
= val
? "unsigned int" : (char*)0;
2566 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2567 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2568 if (val
) *val
= (unsigned int)(v
);
2575 SWIG_type_error(errmsg
, obj
);
2580 SWIGINTERNSHORT
unsigned int
2581 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2583 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2592 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2594 this is needed to make valgrind/purify happier.
2596 memset((void*)&v
, 0, sizeof(unsigned int));
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2605 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2608 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2609 self
->m_size
= size
;
2611 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2612 int count
= self
->GetNumberOfFiles();
2613 wxString
* files
= self
->GetFiles();
2614 PyObject
* list
= PyList_New(count
);
2617 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2621 for (int i
=0; i
<count
; i
++) {
2622 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2628 static wxPyApp
*new_wxPyApp(){
2629 wxPythonApp
= new wxPyApp();
2632 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2634 void wxApp_CleanUp() {
2639 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2643 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2645 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2650 SWIG_type_error("char *", obj
);
2656 SWIGINTERN PyObject
*
2657 SWIG_FromCharPtr(const char* cptr
)
2660 size_t size
= strlen(cptr
);
2661 if (size
> INT_MAX
) {
2662 return SWIG_NewPointerObj((char*)(cptr
),
2663 SWIG_TypeQuery("char *"), 0);
2666 return PyString_FromStringAndSize(cptr
, size
);
2668 return PyString_FromString(cptr
);
2679 // A dummy class that raises an exception if used...
2683 wxEventLoop() { wxPyRaiseNotImplemented(); }
2684 int Run() { return 0; }
2685 void Exit(int rc
= 0) {}
2686 bool Pending() const { return false; }
2687 bool Dispatch() { return false; }
2688 bool IsRunning() const { return false; }
2689 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2690 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2695 #include <wx/evtloop.h>
2701 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2702 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2703 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2704 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2705 wxWindowList
& list
= self
->GetChildren();
2706 return wxPy_ConvertList(&list
);
2708 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2710 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2715 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2722 static long wxWindow_GetHandle(wxWindow
*self
){
2723 return wxPyGetWinHandle(self
);
2725 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2726 self
->AssociateHandle((WXWidget
)handle
);
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2730 return wxWindow::FindWindowById(id
, parent
);
2733 wxWindow
* wxFindWindowByName( const wxString
& name
,
2734 const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowByName(name
, parent
);
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByLabel(label
, parent
);
2745 #include <wx/msw/private.h> // to get wxGetWindowId
2749 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2751 WXHWND hWnd
= (WXHWND
)_hWnd
;
2752 long id
= wxGetWindowId(hWnd
);
2753 wxWindow
* win
= new wxWindow
;
2754 parent
->AddChild(win
);
2755 win
->SetEventHandler(win
);
2758 win
->SubclassWin(hWnd
);
2759 win
->AdoptAttributesFromHWND();
2760 win
->SetupColours();
2763 wxPyRaiseNotImplemented();
2769 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2770 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2771 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2773 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2775 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2776 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2777 wxMenuItemList
& list
= self
->GetMenuItems();
2778 return wxPy_ConvertList(&list
);
2780 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2781 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2782 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2783 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2784 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2785 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2786 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2787 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2788 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2789 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2790 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2791 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2792 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2793 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2794 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2795 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2796 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2798 wxPyClientData
* data
= new wxPyClientData(clientData
);
2799 return self
->Append(item
, data
);
2801 return self
->Append(item
);
2803 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2805 wxPyClientData
* data
= new wxPyClientData(clientData
);
2806 return self
->Insert(item
, pos
, data
);
2808 return self
->Insert(item
, pos
);
2810 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2811 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2813 Py_INCREF(data
->m_obj
);
2820 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2821 wxPyClientData
* data
= new wxPyClientData(clientData
);
2822 self
->SetClientObject(n
, data
);
2826 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2827 wxPyUserData
* data
= NULL
;
2829 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2830 data
= new wxPyUserData(userData
);
2831 wxPyEndBlockThreads(blocked
);
2833 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2835 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2836 wxPyUserData
* data
= NULL
;
2838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2839 data
= new wxPyUserData(userData
);
2840 wxPyEndBlockThreads(blocked
);
2842 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2844 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2845 wxPyUserData
* data
= NULL
;
2847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2848 data
= new wxPyUserData(userData
);
2849 wxPyEndBlockThreads(blocked
);
2851 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2856 SWIG_CheckDoubleInRange(double value
, double min_value
,
2857 double max_value
, const char* errmsg
)
2859 if (value
< min_value
) {
2861 PyErr_Format(PyExc_OverflowError
,
2862 "value %g is less than %s minimum %g",
2863 value
, errmsg
, min_value
);
2866 } else if (value
> max_value
) {
2868 PyErr_Format(PyExc_OverflowError
,
2869 "value %g is greater than %s maximum %g",
2870 value
, errmsg
, max_value
);
2879 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2881 const char* errmsg
= val
? "float" : (char*)0;
2883 if (SWIG_AsVal_double(obj
, &v
)) {
2884 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2885 if (val
) *val
= (float)(v
);
2894 SWIG_type_error(errmsg
, obj
);
2900 SWIGINTERNSHORT
float
2901 SWIG_As_float(PyObject
* obj
)
2904 if (!SWIG_AsVal_float(obj
, &v
)) {
2906 this is needed to make valgrind/purify happier.
2908 memset((void*)&v
, 0, sizeof(float));
2915 SWIG_Check_float(PyObject
* obj
)
2917 return SWIG_AsVal_float(obj
, (float*)0);
2921 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2922 #define SWIG_From_float PyFloat_FromDouble
2925 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2926 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2928 Py_INCREF(data
->m_obj
);
2936 // Figure out the type of the sizer item
2938 struct wxPySizerItemInfo
{
2940 : window(NULL
), sizer(NULL
), gotSize(false),
2941 size(wxDefaultSize
), gotPos(false), pos(-1)
2952 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2954 wxPySizerItemInfo info
;
2956 wxSize
* sizePtr
= &size
;
2958 // Find out what the type of the item is
2960 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2965 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2969 // try wxSize or (w,h)
2970 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2971 info
.size
= *sizePtr
;
2972 info
.gotSize
= true;
2976 if (checkIdx
&& PyInt_Check(item
)) {
2977 info
.pos
= PyInt_AsLong(item
);
2983 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2984 // no expected type, figure out what kind of error message to generate
2985 if ( !checkSize
&& !checkIdx
)
2986 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2987 else if ( checkSize
&& !checkIdx
)
2988 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2989 else if ( !checkSize
&& checkIdx
)
2990 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2992 // can this one happen?
2993 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2999 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3000 if (!self
->GetClientObject())
3001 self
->SetClientObject(new wxPyOORClientData(_self
));
3003 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3005 wxPyUserData
* data
= NULL
;
3006 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3007 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3008 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3009 data
= new wxPyUserData(userData
);
3010 wxPyEndBlockThreads(blocked
);
3012 // Now call the real Add method if a valid item type was found
3014 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3015 else if ( info
.sizer
)
3016 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3017 else if (info
.gotSize
)
3018 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3019 proportion
, flag
, border
, data
);
3023 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3025 wxPyUserData
* data
= NULL
;
3026 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3027 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3028 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3029 data
= new wxPyUserData(userData
);
3030 wxPyEndBlockThreads(blocked
);
3032 // Now call the real Insert method if a valid item type was found
3034 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3035 else if ( info
.sizer
)
3036 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3037 else if (info
.gotSize
)
3038 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3039 proportion
, flag
, border
, data
);
3043 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3045 wxPyUserData
* data
= NULL
;
3046 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3047 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3048 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3049 data
= new wxPyUserData(userData
);
3050 wxPyEndBlockThreads(blocked
);
3052 // Now call the real Prepend method if a valid item type was found
3054 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3055 else if ( info
.sizer
)
3056 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3057 else if (info
.gotSize
)
3058 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3059 proportion
, flag
, border
, data
);
3063 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3065 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3066 wxPyEndBlockThreads(blocked
);
3068 return self
->Remove(info
.window
);
3069 else if ( info
.sizer
)
3070 return self
->Remove(info
.sizer
);
3071 else if ( info
.gotPos
)
3072 return self
->Remove(info
.pos
);
3076 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3078 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3079 wxPyEndBlockThreads(blocked
);
3081 return self
->Detach(info
.window
);
3082 else if ( info
.sizer
)
3083 return self
->Detach(info
.sizer
);
3084 else if ( info
.gotPos
)
3085 return self
->Detach(info
.pos
);
3089 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3091 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3092 wxPyEndBlockThreads(blocked
);
3094 return self
->GetItem(info
.window
);
3095 else if ( info
.sizer
)
3096 return self
->GetItem(info
.sizer
);
3097 else if ( info
.gotPos
)
3098 return self
->GetItem(info
.pos
);
3102 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3103 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3104 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3105 wxPyEndBlockThreads(blocked
);
3107 self
->SetItemMinSize(info
.window
, size
);
3108 else if ( info
.sizer
)
3109 self
->SetItemMinSize(info
.sizer
, size
);
3110 else if ( info
.gotPos
)
3111 self
->SetItemMinSize(info
.pos
, size
);
3113 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3114 wxSizerItemList
& list
= self
->GetChildren();
3115 return wxPy_ConvertList(&list
);
3117 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3118 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3119 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3120 wxPyEndBlockThreads(blocked
);
3122 return self
->Show(info
.window
, show
, recursive
);
3123 else if ( info
.sizer
)
3124 return self
->Show(info
.sizer
, show
, recursive
);
3125 else if ( info
.gotPos
)
3126 return self
->Show(info
.pos
, show
);
3130 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3131 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3132 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3133 wxPyEndBlockThreads(blocked
);
3135 return self
->IsShown(info
.window
);
3136 else if ( info
.sizer
)
3137 return self
->IsShown(info
.sizer
);
3138 else if ( info
.gotPos
)
3139 return self
->IsShown(info
.pos
);
3145 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3146 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3147 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3152 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3154 if (source
== Py_None
) {
3155 **obj
= wxGBPosition(-1,-1);
3158 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3161 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3163 if (source
== Py_None
) {
3164 **obj
= wxGBSpan(-1,-1);
3167 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3171 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3175 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3176 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3177 PyObject
* tup
= PyTuple_New(2);
3178 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3179 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3180 wxPyEndBlockThreads(blocked
);
3183 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3184 self
->SetRowspan(rowspan
);
3185 self
->SetColspan(colspan
);
3187 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 PyObject
* tup
= PyTuple_New(2);
3190 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3191 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3192 wxPyEndBlockThreads(blocked
);
3195 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3196 wxPyUserData
* data
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 data
= new wxPyUserData(userData
);
3200 wxPyEndBlockThreads(blocked
);
3202 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3204 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3205 wxPyUserData
* data
= NULL
;
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 data
= new wxPyUserData(userData
);
3209 wxPyEndBlockThreads(blocked
);
3211 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3213 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3214 wxPyUserData
* data
= NULL
;
3216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3217 data
= new wxPyUserData(userData
);
3218 wxPyEndBlockThreads(blocked
);
3220 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3222 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3224 self
->GetEndPos(row
, col
);
3225 return wxGBPosition(row
, col
);
3227 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3229 wxPyUserData
* data
= NULL
;
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3232 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3233 data
= new wxPyUserData(userData
);
3234 wxPyEndBlockThreads(blocked
);
3236 // Now call the real Add method if a valid item type was found
3238 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3239 else if ( info
.sizer
)
3240 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3241 else if (info
.gotSize
)
3242 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3243 pos
, span
, flag
, border
, data
);
3251 static int _wrap_EmptyString_set(PyObject
*) {
3252 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3257 static PyObject
*_wrap_EmptyString_get(void) {
3262 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3264 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3271 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxObject
*arg1
= (wxObject
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3277 (char *) "self", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= wxObject_GetClassName(arg1
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3303 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxObject
*arg1
= (wxObject
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 wxObject_Destroy(arg1
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3331 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3333 return Py_BuildValue((char *)"");
3335 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxSize
*arg1
= (wxSize
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "x", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3349 arg2
= (int)(SWIG_As_int(obj1
));
3350 if (SWIG_arg_fail(2)) SWIG_fail
;
3352 if (arg1
) (arg1
)->x
= arg2
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxSize
*arg1
= (wxSize
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3367 (char *) "self", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail
;
3373 result
= (int) ((arg1
)->x
);
3376 resultobj
= SWIG_From_int((int)(result
));
3384 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxSize
*arg1
= (wxSize
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3389 PyObject
* obj1
= 0 ;
3391 (char *) "self",(char *) "y", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3396 if (SWIG_arg_fail(1)) SWIG_fail
;
3398 arg2
= (int)(SWIG_As_int(obj1
));
3399 if (SWIG_arg_fail(2)) SWIG_fail
;
3401 if (arg1
) (arg1
)->y
= arg2
;
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3410 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxSize
*arg1
= (wxSize
*) 0 ;
3414 PyObject
* obj0
= 0 ;
3416 (char *) "self", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail
;
3422 result
= (int) ((arg1
)->y
);
3425 resultobj
= SWIG_From_int((int)(result
));
3433 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 int arg1
= (int) 0 ;
3436 int arg2
= (int) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "w",(char *) "h", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3447 arg1
= (int)(SWIG_As_int(obj0
));
3448 if (SWIG_arg_fail(1)) SWIG_fail
;
3453 arg2
= (int)(SWIG_As_int(obj1
));
3454 if (SWIG_arg_fail(2)) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3471 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxSize
*arg1
= (wxSize
*) 0 ;
3474 PyObject
* obj0
= 0 ;
3476 (char *) "self", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3481 if (SWIG_arg_fail(1)) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxSize
*arg1
= (wxSize
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3505 (char *) "self",(char *) "sz", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxSize
*arg1
= (wxSize
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3540 (char *) "self",(char *) "sz", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3545 if (SWIG_arg_fail(1)) SWIG_fail
;
3548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3566 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxSize
*arg1
= (wxSize
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "sz", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3580 if (SWIG_arg_fail(1)) SWIG_fail
;
3583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3594 resultptr
= new wxSize((wxSize
&)(result
));
3595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3603 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxSize
*arg1
= (wxSize
*) 0 ;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3612 (char *) "self",(char *) "sz", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3617 if (SWIG_arg_fail(1)) SWIG_fail
;
3620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3631 resultptr
= new wxSize((wxSize
&)(result
));
3632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3640 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxSize
*arg1
= (wxSize
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "sz", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3653 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->IncTo((wxSize
const &)*arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxSize
*arg1
= (wxSize
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3680 (char *) "self",(char *) "sz", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->DecTo((wxSize
const &)*arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxSize
*arg1
= (wxSize
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 PyObject
* obj2
= 0 ;
3713 (char *) "self",(char *) "w",(char *) "h", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 arg2
= (int)(SWIG_As_int(obj1
));
3721 if (SWIG_arg_fail(2)) SWIG_fail
;
3724 arg3
= (int)(SWIG_As_int(obj2
));
3725 if (SWIG_arg_fail(3)) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 (arg1
)->Set(arg2
,arg3
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 Py_INCREF(Py_None
); resultobj
= Py_None
;
3741 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxSize
*arg1
= (wxSize
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3748 (char *) "self",(char *) "w", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3753 if (SWIG_arg_fail(1)) SWIG_fail
;
3755 arg2
= (int)(SWIG_As_int(obj1
));
3756 if (SWIG_arg_fail(2)) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetWidth(arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxSize
*arg1
= (wxSize
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3779 (char *) "self",(char *) "h", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail
;
3786 arg2
= (int)(SWIG_As_int(obj1
));
3787 if (SWIG_arg_fail(2)) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->SetHeight(arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxSize
*arg1
= (wxSize
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "self", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_From_int((int)(result
));
3831 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxSize
*arg1
= (wxSize
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3837 (char *) "self", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3842 if (SWIG_arg_fail(1)) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= SWIG_From_int((int)(result
));
3859 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxSize
*arg1
= (wxSize
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3887 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxSize
*arg1
= (wxSize
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3895 (char *) "self",(char *) "size", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail
;
3903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 Py_INCREF(Py_None
); resultobj
= Py_None
;
3919 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxSize
*arg1
= (wxSize
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3925 (char *) "self", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3930 if (SWIG_arg_fail(1)) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (PyObject
*)wxSize_Get(arg1
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3945 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3948 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3950 return Py_BuildValue((char *)"");
3952 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3957 PyObject
* obj1
= 0 ;
3959 (char *) "self",(char *) "x", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3964 if (SWIG_arg_fail(1)) SWIG_fail
;
3966 arg2
= (double)(SWIG_As_double(obj1
));
3967 if (SWIG_arg_fail(2)) SWIG_fail
;
3969 if (arg1
) (arg1
)->x
= arg2
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3984 (char *) "self", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3989 if (SWIG_arg_fail(1)) SWIG_fail
;
3990 result
= (double) ((arg1
)->x
);
3993 resultobj
= SWIG_From_double((double)(result
));
4001 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "y", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4013 if (SWIG_arg_fail(1)) SWIG_fail
;
4015 arg2
= (double)(SWIG_As_double(obj1
));
4016 if (SWIG_arg_fail(2)) SWIG_fail
;
4018 if (arg1
) (arg1
)->y
= arg2
;
4020 Py_INCREF(Py_None
); resultobj
= Py_None
;
4027 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4033 (char *) "self", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4038 if (SWIG_arg_fail(1)) SWIG_fail
;
4039 result
= (double) ((arg1
)->y
);
4042 resultobj
= SWIG_From_double((double)(result
));
4050 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 double arg1
= (double) 0.0 ;
4053 double arg2
= (double) 0.0 ;
4054 wxRealPoint
*result
;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "x",(char *) "y", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4064 arg1
= (double)(SWIG_As_double(obj0
));
4065 if (SWIG_arg_fail(1)) SWIG_fail
;
4070 arg2
= (double)(SWIG_As_double(obj1
));
4071 if (SWIG_arg_fail(2)) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4088 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4098 if (SWIG_arg_fail(1)) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4116 wxRealPoint
*arg2
= 0 ;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4122 (char *) "self",(char *) "pt", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4127 if (SWIG_arg_fail(1)) SWIG_fail
;
4130 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4148 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4151 wxRealPoint
*arg2
= 0 ;
4154 PyObject
* obj0
= 0 ;
4155 PyObject
* obj1
= 0 ;
4157 (char *) "self",(char *) "pt", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4162 if (SWIG_arg_fail(1)) SWIG_fail
;
4165 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4183 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4186 wxRealPoint
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "pt", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4197 if (SWIG_arg_fail(1)) SWIG_fail
;
4200 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4210 wxRealPoint
* resultptr
;
4211 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4220 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4223 wxRealPoint
*arg2
= 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "pt", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail
;
4237 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 wxRealPoint
* resultptr
;
4248 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4257 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 PyObject
* obj2
= 0 ;
4266 (char *) "self",(char *) "x",(char *) "y", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4271 if (SWIG_arg_fail(1)) SWIG_fail
;
4273 arg2
= (double)(SWIG_As_double(obj1
));
4274 if (SWIG_arg_fail(2)) SWIG_fail
;
4277 arg3
= (double)(SWIG_As_double(obj2
));
4278 if (SWIG_arg_fail(3)) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxRealPoint_Set(arg1
,arg2
,arg3
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4300 (char *) "self", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4305 if (SWIG_arg_fail(1)) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4320 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4325 return Py_BuildValue((char *)"");
4327 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxPoint
*arg1
= (wxPoint
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "x", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4339 if (SWIG_arg_fail(1)) SWIG_fail
;
4341 arg2
= (int)(SWIG_As_int(obj1
));
4342 if (SWIG_arg_fail(2)) SWIG_fail
;
4344 if (arg1
) (arg1
)->x
= arg2
;
4346 Py_INCREF(Py_None
); resultobj
= Py_None
;
4353 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxPoint
*arg1
= (wxPoint
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "self", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4364 if (SWIG_arg_fail(1)) SWIG_fail
;
4365 result
= (int) ((arg1
)->x
);
4368 resultobj
= SWIG_From_int((int)(result
));
4376 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxPoint
*arg1
= (wxPoint
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4383 (char *) "self",(char *) "y", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail
;
4390 arg2
= (int)(SWIG_As_int(obj1
));
4391 if (SWIG_arg_fail(2)) SWIG_fail
;
4393 if (arg1
) (arg1
)->y
= arg2
;
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4402 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxPoint
*arg1
= (wxPoint
*) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4413 if (SWIG_arg_fail(1)) SWIG_fail
;
4414 result
= (int) ((arg1
)->y
);
4417 resultobj
= SWIG_From_int((int)(result
));
4425 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 int arg1
= (int) 0 ;
4428 int arg2
= (int) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "x",(char *) "y", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4439 arg1
= (int)(SWIG_As_int(obj0
));
4440 if (SWIG_arg_fail(1)) SWIG_fail
;
4445 arg2
= (int)(SWIG_As_int(obj1
));
4446 if (SWIG_arg_fail(2)) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4463 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxPoint
*arg1
= (wxPoint
*) 0 ;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "self", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxPoint
*arg1
= (wxPoint
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "pt", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4502 if (SWIG_arg_fail(1)) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxPoint
*arg1
= (wxPoint
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4532 (char *) "self",(char *) "pt", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4537 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxPoint
*arg1
= (wxPoint
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4567 (char *) "self",(char *) "pt", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4572 if (SWIG_arg_fail(1)) SWIG_fail
;
4575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 wxPoint
* resultptr
;
4586 resultptr
= new wxPoint((wxPoint
&)(result
));
4587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4595 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxPoint
*arg1
= (wxPoint
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4604 (char *) "self",(char *) "pt", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4609 if (SWIG_arg_fail(1)) SWIG_fail
;
4612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 wxPoint
* resultptr
;
4623 resultptr
= new wxPoint((wxPoint
&)(result
));
4624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4632 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxPoint
*arg1
= (wxPoint
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4641 (char *) "self",(char *) "pt", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4655 result
= (wxPoint
*) &_result_ref
;
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4668 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxPoint
*arg1
= (wxPoint
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4677 (char *) "self",(char *) "pt", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4682 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4691 result
= (wxPoint
*) &_result_ref
;
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4704 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxPoint
*arg1
= (wxPoint
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4713 (char *) "self",(char *) "x",(char *) "y", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4718 if (SWIG_arg_fail(1)) SWIG_fail
;
4720 arg2
= (long)(SWIG_As_long(obj1
));
4721 if (SWIG_arg_fail(2)) SWIG_fail
;
4724 arg3
= (long)(SWIG_As_long(obj2
));
4725 if (SWIG_arg_fail(3)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxPoint_Set(arg1
,arg2
,arg3
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 Py_INCREF(Py_None
); resultobj
= Py_None
;
4741 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxPoint
*arg1
= (wxPoint
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4752 if (SWIG_arg_fail(1)) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (PyObject
*)wxPoint_Get(arg1
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4767 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4770 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4772 return Py_BuildValue((char *)"");
4774 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 int arg1
= (int) 0 ;
4777 int arg2
= (int) 0 ;
4778 int arg3
= (int) 0 ;
4779 int arg4
= (int) 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 PyObject
* obj3
= 0 ;
4786 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4792 arg1
= (int)(SWIG_As_int(obj0
));
4793 if (SWIG_arg_fail(1)) SWIG_fail
;
4798 arg2
= (int)(SWIG_As_int(obj1
));
4799 if (SWIG_arg_fail(2)) SWIG_fail
;
4804 arg3
= (int)(SWIG_As_int(obj2
));
4805 if (SWIG_arg_fail(3)) SWIG_fail
;
4810 arg4
= (int)(SWIG_As_int(obj3
));
4811 if (SWIG_arg_fail(4)) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4828 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4838 (char *) "topLeft",(char *) "bottomRight", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4844 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4864 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 (char *) "pos",(char *) "size", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4880 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4884 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4900 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4905 PyObject
* obj0
= 0 ;
4907 (char *) "size", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4913 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4929 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxRect
*arg1
= (wxRect
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4939 if (SWIG_arg_fail(1)) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxRect
*arg1
= (wxRect
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4965 if (SWIG_arg_fail(1)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (int)((wxRect
const *)arg1
)->GetX();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_From_int((int)(result
));
4982 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxRect
*arg1
= (wxRect
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4989 (char *) "self",(char *) "x", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4994 if (SWIG_arg_fail(1)) SWIG_fail
;
4996 arg2
= (int)(SWIG_As_int(obj1
));
4997 if (SWIG_arg_fail(2)) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxRect
*arg1
= (wxRect
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5019 (char *) "self", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5024 if (SWIG_arg_fail(1)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (int)(arg1
)->GetY();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_From_int((int)(result
));
5041 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxRect
*arg1
= (wxRect
*) 0 ;
5045 PyObject
* obj0
= 0 ;
5046 PyObject
* obj1
= 0 ;
5048 (char *) "self",(char *) "y", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5053 if (SWIG_arg_fail(1)) SWIG_fail
;
5055 arg2
= (int)(SWIG_As_int(obj1
));
5056 if (SWIG_arg_fail(2)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxRect
*arg1
= (wxRect
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "self", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5083 if (SWIG_arg_fail(1)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_From_int((int)(result
));
5100 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxRect
*arg1
= (wxRect
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5107 (char *) "self",(char *) "w", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail
;
5114 arg2
= (int)(SWIG_As_int(obj1
));
5115 if (SWIG_arg_fail(2)) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetWidth(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxRect
*arg1
= (wxRect
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5137 (char *) "self", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5142 if (SWIG_arg_fail(1)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_From_int((int)(result
));
5159 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxRect
*arg1
= (wxRect
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "h", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail
;
5173 arg2
= (int)(SWIG_As_int(obj1
));
5174 if (SWIG_arg_fail(2)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 (arg1
)->SetHeight(arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5190 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxRect
*arg1
= (wxRect
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= ((wxRect
const *)arg1
)->GetPosition();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 wxPoint
* resultptr
;
5211 resultptr
= new wxPoint((wxPoint
&)(result
));
5212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5220 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRect
*arg1
= (wxRect
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5228 (char *) "self",(char *) "p", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5233 if (SWIG_arg_fail(1)) SWIG_fail
;
5236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5252 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxRect
*arg1
= (wxRect
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "self", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5263 if (SWIG_arg_fail(1)) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= ((wxRect
const *)arg1
)->GetSize();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5273 resultptr
= new wxSize((wxSize
&)(result
));
5274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5282 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxRect
*arg1
= (wxRect
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5290 (char *) "self",(char *) "s", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5295 if (SWIG_arg_fail(1)) SWIG_fail
;
5298 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 (arg1
)->SetSize((wxSize
const &)*arg2
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxRect
*arg1
= (wxRect
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "self", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5325 if (SWIG_arg_fail(1)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5342 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRect
*arg1
= (wxRect
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 wxPoint
* resultptr
;
5363 resultptr
= new wxPoint((wxPoint
&)(result
));
5364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5372 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxRect
*arg1
= (wxRect
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "p", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5385 if (SWIG_arg_fail(1)) SWIG_fail
;
5388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxRect
*arg1
= (wxRect
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 wxPoint
* resultptr
;
5425 resultptr
= new wxPoint((wxPoint
&)(result
));
5426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5434 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxRect
*arg1
= (wxRect
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "p", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5447 if (SWIG_arg_fail(1)) SWIG_fail
;
5450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxRect
*arg1
= (wxRect
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5477 if (SWIG_arg_fail(1)) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_From_int((int)(result
));
5494 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxRect
*arg1
= (wxRect
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5505 if (SWIG_arg_fail(1)) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (int)((wxRect
const *)arg1
)->GetTop();
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_From_int((int)(result
));
5522 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxRect
*arg1
= (wxRect
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "self", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_From_int((int)(result
));
5550 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxRect
*arg1
= (wxRect
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5556 (char *) "self", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5561 if (SWIG_arg_fail(1)) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (int)((wxRect
const *)arg1
)->GetRight();
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_From_int((int)(result
));
5578 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxRect
*arg1
= (wxRect
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "left", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail
;
5592 arg2
= (int)(SWIG_As_int(obj1
));
5593 if (SWIG_arg_fail(2)) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->SetLeft(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxRect
*arg1
= (wxRect
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "right", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail
;
5623 arg2
= (int)(SWIG_As_int(obj1
));
5624 if (SWIG_arg_fail(2)) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetRight(arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 Py_INCREF(Py_None
); resultobj
= Py_None
;
5640 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxRect
*arg1
= (wxRect
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5647 (char *) "self",(char *) "top", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5652 if (SWIG_arg_fail(1)) SWIG_fail
;
5654 arg2
= (int)(SWIG_As_int(obj1
));
5655 if (SWIG_arg_fail(2)) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 (arg1
)->SetTop(arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 Py_INCREF(Py_None
); resultobj
= Py_None
;
5671 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxRect
*arg1
= (wxRect
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "bottom", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5683 if (SWIG_arg_fail(1)) SWIG_fail
;
5685 arg2
= (int)(SWIG_As_int(obj1
));
5686 if (SWIG_arg_fail(2)) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 (arg1
)->SetBottom(arg2
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5702 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxRect
*arg1
= (wxRect
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5710 PyObject
* obj2
= 0 ;
5712 (char *) "self",(char *) "dx",(char *) "dy", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5717 if (SWIG_arg_fail(1)) SWIG_fail
;
5719 arg2
= (int)(SWIG_As_int(obj1
));
5720 if (SWIG_arg_fail(2)) SWIG_fail
;
5723 arg3
= (int)(SWIG_As_int(obj2
));
5724 if (SWIG_arg_fail(3)) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5730 result
= (wxRect
*) &_result_ref
;
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5743 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxRect
*arg1
= (wxRect
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 PyObject
* obj2
= 0 ;
5753 (char *) "self",(char *) "dx",(char *) "dy", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail
;
5760 arg2
= (int)(SWIG_As_int(obj1
));
5761 if (SWIG_arg_fail(2)) SWIG_fail
;
5764 arg3
= (int)(SWIG_As_int(obj2
));
5765 if (SWIG_arg_fail(3)) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5771 result
= (wxRect
*) &_result_ref
;
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5784 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxRect
*arg1
= (wxRect
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "dx",(char *) "dy", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5798 if (SWIG_arg_fail(1)) SWIG_fail
;
5800 arg2
= (int)(SWIG_As_int(obj1
));
5801 if (SWIG_arg_fail(2)) SWIG_fail
;
5804 arg3
= (int)(SWIG_As_int(obj2
));
5805 if (SWIG_arg_fail(3)) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 (arg1
)->Offset(arg2
,arg3
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxRect
*arg1
= (wxRect
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5829 (char *) "self",(char *) "pt", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail
;
5837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 (arg1
)->Offset((wxPoint
const &)*arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5846 Py_INCREF(Py_None
); resultobj
= Py_None
;
5853 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxRect
*arg1
= (wxRect
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5862 (char *) "self",(char *) "rect", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5867 if (SWIG_arg_fail(1)) SWIG_fail
;
5870 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5881 resultptr
= new wxRect((wxRect
&)(result
));
5882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5890 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxRect
*arg1
= (wxRect
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "rect", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5904 if (SWIG_arg_fail(1)) SWIG_fail
;
5907 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5918 resultptr
= new wxRect((wxRect
&)(result
));
5919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5927 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxRect
*arg1
= (wxRect
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5936 (char *) "self",(char *) "rect", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail
;
5944 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5955 resultptr
= new wxRect((wxRect
&)(result
));
5956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5964 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxRect
*arg1
= (wxRect
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5973 (char *) "self",(char *) "rect", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5978 if (SWIG_arg_fail(1)) SWIG_fail
;
5981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5987 result
= (wxRect
*) &_result_ref
;
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6000 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxRect
*arg1
= (wxRect
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "rect", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6014 if (SWIG_arg_fail(1)) SWIG_fail
;
6017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6035 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxRect
*arg1
= (wxRect
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6044 (char *) "self",(char *) "rect", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6052 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6070 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxRect
*arg1
= (wxRect
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6078 PyObject
* obj2
= 0 ;
6080 (char *) "self",(char *) "x",(char *) "y", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6085 if (SWIG_arg_fail(1)) SWIG_fail
;
6087 arg2
= (int)(SWIG_As_int(obj1
));
6088 if (SWIG_arg_fail(2)) SWIG_fail
;
6091 arg3
= (int)(SWIG_As_int(obj2
));
6092 if (SWIG_arg_fail(3)) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxRect
*arg1
= (wxRect
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6119 (char *) "self",(char *) "pt", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6124 if (SWIG_arg_fail(1)) SWIG_fail
;
6127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxRect
*arg1
= (wxRect
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "rect", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6159 if (SWIG_arg_fail(1)) SWIG_fail
;
6162 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxRect
*arg1
= (wxRect
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "x", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6192 if (SWIG_arg_fail(1)) SWIG_fail
;
6194 arg2
= (int)(SWIG_As_int(obj1
));
6195 if (SWIG_arg_fail(2)) SWIG_fail
;
6197 if (arg1
) (arg1
)->x
= arg2
;
6199 Py_INCREF(Py_None
); resultobj
= Py_None
;
6206 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxRect
*arg1
= (wxRect
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6212 (char *) "self", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6217 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 result
= (int) ((arg1
)->x
);
6221 resultobj
= SWIG_From_int((int)(result
));
6229 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxRect
*arg1
= (wxRect
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "y", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6243 arg2
= (int)(SWIG_As_int(obj1
));
6244 if (SWIG_arg_fail(2)) SWIG_fail
;
6246 if (arg1
) (arg1
)->y
= arg2
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6255 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxRect
*arg1
= (wxRect
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 result
= (int) ((arg1
)->y
);
6270 resultobj
= SWIG_From_int((int)(result
));
6278 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxRect
*arg1
= (wxRect
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "self",(char *) "width", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6290 if (SWIG_arg_fail(1)) SWIG_fail
;
6292 arg2
= (int)(SWIG_As_int(obj1
));
6293 if (SWIG_arg_fail(2)) SWIG_fail
;
6295 if (arg1
) (arg1
)->width
= arg2
;
6297 Py_INCREF(Py_None
); resultobj
= Py_None
;
6304 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxRect
*arg1
= (wxRect
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6310 (char *) "self", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 result
= (int) ((arg1
)->width
);
6319 resultobj
= SWIG_From_int((int)(result
));
6327 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxRect
*arg1
= (wxRect
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6334 (char *) "self",(char *) "height", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6339 if (SWIG_arg_fail(1)) SWIG_fail
;
6341 arg2
= (int)(SWIG_As_int(obj1
));
6342 if (SWIG_arg_fail(2)) SWIG_fail
;
6344 if (arg1
) (arg1
)->height
= arg2
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxRect
*arg1
= (wxRect
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail
;
6365 result
= (int) ((arg1
)->height
);
6368 resultobj
= SWIG_From_int((int)(result
));
6376 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxRect
*arg1
= (wxRect
*) 0 ;
6379 int arg2
= (int) 0 ;
6380 int arg3
= (int) 0 ;
6381 int arg4
= (int) 0 ;
6382 int arg5
= (int) 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6386 PyObject
* obj3
= 0 ;
6387 PyObject
* obj4
= 0 ;
6389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail
;
6397 arg2
= (int)(SWIG_As_int(obj1
));
6398 if (SWIG_arg_fail(2)) SWIG_fail
;
6403 arg3
= (int)(SWIG_As_int(obj2
));
6404 if (SWIG_arg_fail(3)) SWIG_fail
;
6409 arg4
= (int)(SWIG_As_int(obj3
));
6410 if (SWIG_arg_fail(4)) SWIG_fail
;
6415 arg5
= (int)(SWIG_As_int(obj4
));
6416 if (SWIG_arg_fail(5)) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 Py_INCREF(Py_None
); resultobj
= Py_None
;
6433 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxRect
*arg1
= (wxRect
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (PyObject
*)wxRect_Get(arg1
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6459 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6462 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6464 return Py_BuildValue((char *)"");
6466 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxRect
*arg1
= (wxRect
*) 0 ;
6469 wxRect
*arg2
= (wxRect
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "r1",(char *) "r2", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail
;
6480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6481 if (SWIG_arg_fail(2)) SWIG_fail
;
6483 if (!wxPyCheckForApp()) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6497 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 double arg1
= (double) 0.0 ;
6500 double arg2
= (double) 0.0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "x",(char *) "y", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6511 arg1
= (double)(SWIG_As_double(obj0
));
6512 if (SWIG_arg_fail(1)) SWIG_fail
;
6517 arg2
= (double)(SWIG_As_double(obj1
));
6518 if (SWIG_arg_fail(2)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6535 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPoint2D
*arg1
= 0 ;
6540 PyObject
* obj0
= 0 ;
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6548 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6564 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6569 PyObject
* obj0
= 0 ;
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6577 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6593 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6596 int *arg2
= (int *) 0 ;
6597 int *arg3
= (int *) 0 ;
6602 PyObject
* obj0
= 0 ;
6604 (char *) "self", NULL
6607 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6608 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6621 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6623 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6630 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6633 int *arg2
= (int *) 0 ;
6634 int *arg3
= (int *) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6645 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6658 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6659 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6660 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6667 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6678 if (SWIG_arg_fail(1)) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_From_double((double)(result
));
6695 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6706 if (SWIG_arg_fail(1)) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_From_double((double)(result
));
6723 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6730 (char *) "self",(char *) "length", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6735 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 arg2
= (double)(SWIG_As_double(obj1
));
6738 if (SWIG_arg_fail(2)) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 (arg1
)->SetVectorLength(arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 Py_INCREF(Py_None
); resultobj
= Py_None
;
6754 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6761 (char *) "self",(char *) "degrees", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6766 if (SWIG_arg_fail(1)) SWIG_fail
;
6768 arg2
= (double)(SWIG_As_double(obj1
));
6769 if (SWIG_arg_fail(2)) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->SetVectorAngle(arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6788 wxPoint2D
*arg2
= 0 ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6794 (char *) "self",(char *) "pt", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6799 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_From_double((double)(result
));
6820 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6823 wxPoint2D
*arg2
= 0 ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "pt", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_From_double((double)(result
));
6855 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6858 wxPoint2D
*arg2
= 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6864 (char *) "self",(char *) "vec", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6869 if (SWIG_arg_fail(1)) SWIG_fail
;
6872 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_From_double((double)(result
));
6890 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6893 wxPoint2D
*arg2
= 0 ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6899 (char *) "self",(char *) "vec", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6904 if (SWIG_arg_fail(1)) SWIG_fail
;
6907 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_From_double((double)(result
));
6925 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6929 PyObject
* obj0
= 0 ;
6931 (char *) "self", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6936 if (SWIG_arg_fail(1)) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (arg1
)->operator -();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 wxPoint2D
* resultptr
;
6946 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6955 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6958 wxPoint2D
*arg2
= 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "pt", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6978 result
= (wxPoint2D
*) &_result_ref
;
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6991 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6994 wxPoint2D
*arg2
= 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "pt", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7014 result
= (wxPoint2D
*) &_result_ref
;
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7027 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7030 wxPoint2D
*arg2
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "pt", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7041 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7050 result
= (wxPoint2D
*) &_result_ref
;
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7063 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7066 wxPoint2D
*arg2
= 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7072 (char *) "self",(char *) "pt", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7086 result
= (wxPoint2D
*) &_result_ref
;
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7099 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7102 wxPoint2D
*arg2
= 0 ;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7108 (char *) "self",(char *) "pt", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7113 if (SWIG_arg_fail(1)) SWIG_fail
;
7116 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7134 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7137 wxPoint2D
*arg2
= 0 ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7143 (char *) "self",(char *) "pt", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7148 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7169 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7176 (char *) "self",(char *) "m_x", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7181 if (SWIG_arg_fail(1)) SWIG_fail
;
7183 arg2
= (double)(SWIG_As_double(obj1
));
7184 if (SWIG_arg_fail(2)) SWIG_fail
;
7186 if (arg1
) (arg1
)->m_x
= arg2
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7195 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "self", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 result
= (double) ((arg1
)->m_x
);
7210 resultobj
= SWIG_From_double((double)(result
));
7218 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "m_y", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 arg2
= (double)(SWIG_As_double(obj1
));
7233 if (SWIG_arg_fail(2)) SWIG_fail
;
7235 if (arg1
) (arg1
)->m_y
= arg2
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7255 if (SWIG_arg_fail(1)) SWIG_fail
;
7256 result
= (double) ((arg1
)->m_y
);
7259 resultobj
= SWIG_From_double((double)(result
));
7267 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7270 double arg2
= (double) 0 ;
7271 double arg3
= (double) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7276 (char *) "self",(char *) "x",(char *) "y", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7281 if (SWIG_arg_fail(1)) SWIG_fail
;
7284 arg2
= (double)(SWIG_As_double(obj1
));
7285 if (SWIG_arg_fail(2)) SWIG_fail
;
7290 arg3
= (double)(SWIG_As_double(obj2
));
7291 if (SWIG_arg_fail(3)) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxPoint2D_Set(arg1
,arg2
,arg3
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "self", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7334 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7337 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7339 return Py_BuildValue((char *)"");
7341 static int _wrap_DefaultPosition_set(PyObject
*) {
7342 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7347 static PyObject
*_wrap_DefaultPosition_get(void) {
7350 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7355 static int _wrap_DefaultSize_set(PyObject
*) {
7356 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7361 static PyObject
*_wrap_DefaultSize_get(void) {
7364 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7369 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 PyObject
*arg1
= (PyObject
*) 0 ;
7372 wxPyInputStream
*result
;
7373 PyObject
* obj0
= 0 ;
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7394 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7399 (char *) "self", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 Py_INCREF(Py_None
); resultobj
= Py_None
;
7419 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "self", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7429 if (SWIG_arg_fail(1)) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (bool)(arg1
)->eof();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7497 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7500 int arg2
= (int) -1 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "size", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7513 arg2
= (int)(SWIG_As_int(obj1
));
7514 if (SWIG_arg_fail(2)) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (PyObject
*)(arg1
)->read(arg2
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7531 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7534 int arg2
= (int) -1 ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7539 (char *) "self",(char *) "size", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7544 if (SWIG_arg_fail(1)) SWIG_fail
;
7547 arg2
= (int)(SWIG_As_int(obj1
));
7548 if (SWIG_arg_fail(2)) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (PyObject
*)(arg1
)->readline(arg2
);
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7565 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7568 int arg2
= (int) -1 ;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7573 (char *) "self",(char *) "sizehint", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 arg2
= (int)(SWIG_As_int(obj1
));
7582 if (SWIG_arg_fail(2)) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7599 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7603 int arg3
= (int) 0 ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7606 PyObject
* obj2
= 0 ;
7608 (char *) "self",(char *) "offset",(char *) "whence", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7613 if (SWIG_arg_fail(1)) SWIG_fail
;
7615 arg2
= (int)(SWIG_As_int(obj1
));
7616 if (SWIG_arg_fail(2)) SWIG_fail
;
7620 arg3
= (int)(SWIG_As_int(obj2
));
7621 if (SWIG_arg_fail(3)) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 (arg1
)->seek(arg2
,arg3
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7638 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7644 (char *) "self", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (int)(arg1
)->tell();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_From_int((int)(result
));
7666 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7672 (char *) "self", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7677 if (SWIG_arg_fail(1)) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (char)(arg1
)->Peek();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_From_char((char)(result
));
7694 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7700 (char *) "self", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7705 if (SWIG_arg_fail(1)) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (char)(arg1
)->GetC();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_From_char((char)(result
));
7722 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7728 (char *) "self", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7733 if (SWIG_arg_fail(1)) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (size_t)(arg1
)->LastRead();
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7750 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (bool)(arg1
)->CanRead();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7778 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7789 if (SWIG_arg_fail(1)) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (bool)(arg1
)->Eof();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "c", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 arg2
= (char)(SWIG_As_char(obj1
));
7822 if (SWIG_arg_fail(2)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)(arg1
)->Ungetch(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7840 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7844 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7848 PyObject
* obj2
= 0 ;
7850 (char *) "self",(char *) "pos",(char *) "mode", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail
;
7857 arg2
= (long)(SWIG_As_long(obj1
));
7858 if (SWIG_arg_fail(2)) SWIG_fail
;
7862 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7863 if (SWIG_arg_fail(3)) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_From_long((long)(result
));
7882 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (long)(arg1
)->TellI();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_From_long((long)(result
));
7910 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7913 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7915 return Py_BuildValue((char *)"");
7917 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7920 PyObject
*arg2
= (PyObject
*) 0 ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7924 (char *) "self",(char *) "obj", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7929 if (SWIG_arg_fail(1)) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 wxOutputStream_write(arg1
,arg2
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7948 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7950 return Py_BuildValue((char *)"");
7952 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7955 wxString
*arg2
= 0 ;
7956 wxString
*arg3
= 0 ;
7957 wxString
*arg4
= 0 ;
7960 wxPyInputStream
*temp1
;
7961 bool temp2
= false ;
7962 bool temp3
= false ;
7963 bool temp4
= false ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 PyObject
* obj2
= 0 ;
7967 PyObject
* obj3
= 0 ;
7968 PyObject
* obj4
= 0 ;
7970 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7975 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7976 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7978 PyErr_Clear(); // clear the failure of the wxPyConvert above
7979 arg1
= wxPyCBInputStream_create(obj0
, true);
7981 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7987 arg2
= wxString_in_helper(obj1
);
7988 if (arg2
== NULL
) SWIG_fail
;
7992 arg3
= wxString_in_helper(obj2
);
7993 if (arg3
== NULL
) SWIG_fail
;
7997 arg4
= wxString_in_helper(obj3
);
7998 if (arg4
== NULL
) SWIG_fail
;
8003 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8004 if (SWIG_arg_fail(5)) SWIG_fail
;
8006 SWIG_null_ref("wxDateTime");
8008 if (SWIG_arg_fail(5)) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= wxPyMake_wxObject(result
, 1);
8051 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8079 wxInputStream
*result
;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxInputStream
*)(arg1
)->GetStream();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 wxPyInputStream
* _ptr
= NULL
;
8099 _ptr
= new wxPyInputStream(result
);
8101 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8109 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8125 result
= (wxString
*) &_result_ref
;
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8144 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8148 PyObject
* obj0
= 0 ;
8150 (char *) "self", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 wxString
const &_result_ref
= (arg1
)->GetLocation();
8160 result
= (wxString
*) &_result_ref
;
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8170 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8179 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8195 result
= (wxString
*) &_result_ref
;
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8214 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (arg1
)->GetModificationTime();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 wxDateTime
* resultptr
;
8235 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8244 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8247 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8249 return Py_BuildValue((char *)"");
8251 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8254 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8256 return Py_BuildValue((char *)"");
8258 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxPyFileSystemHandler
*result
;
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8280 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8283 PyObject
*arg2
= (PyObject
*) 0 ;
8284 PyObject
*arg3
= (PyObject
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8287 PyObject
* obj2
= 0 ;
8289 (char *) "self",(char *) "self",(char *) "_class", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 Py_INCREF(Py_None
); resultobj
= Py_None
;
8311 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8314 wxString
*arg2
= 0 ;
8316 bool temp2
= false ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8320 (char *) "self",(char *) "location", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8325 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8355 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8358 wxFileSystem
*arg2
= 0 ;
8359 wxString
*arg3
= 0 ;
8361 bool temp3
= false ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8364 PyObject
* obj2
= 0 ;
8366 (char *) "self",(char *) "fs",(char *) "location", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8371 if (SWIG_arg_fail(1)) SWIG_fail
;
8373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8374 if (SWIG_arg_fail(2)) SWIG_fail
;
8376 SWIG_null_ref("wxFileSystem");
8378 if (SWIG_arg_fail(2)) SWIG_fail
;
8381 arg3
= wxString_in_helper(obj2
);
8382 if (arg3
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= wxPyMake_wxObject(result
, 1);
8409 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8412 wxString
*arg2
= 0 ;
8413 int arg3
= (int) 0 ;
8415 bool temp2
= false ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8420 (char *) "self",(char *) "spec",(char *) "flags", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8425 if (SWIG_arg_fail(1)) SWIG_fail
;
8427 arg2
= wxString_in_helper(obj1
);
8428 if (arg2
== NULL
) SWIG_fail
;
8433 arg3
= (int)(SWIG_As_int(obj2
));
8434 if (SWIG_arg_fail(3)) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8465 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8471 (char *) "self", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8476 if (SWIG_arg_fail(1)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (arg1
)->FindNext();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8497 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8500 wxString
*arg2
= 0 ;
8502 bool temp2
= false ;
8503 PyObject
* obj0
= 0 ;
8504 PyObject
* obj1
= 0 ;
8506 (char *) "self",(char *) "location", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8511 if (SWIG_arg_fail(1)) SWIG_fail
;
8513 arg2
= wxString_in_helper(obj1
);
8514 if (arg2
== NULL
) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8545 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8548 wxString
*arg2
= 0 ;
8550 bool temp2
= false ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "self",(char *) "location", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 arg2
= wxString_in_helper(obj1
);
8562 if (arg2
== NULL
) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8593 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8596 wxString
*arg2
= 0 ;
8598 bool temp2
= false ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8602 (char *) "self",(char *) "location", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 arg2
= wxString_in_helper(obj1
);
8610 if (arg2
== NULL
) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8641 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8644 wxString
*arg2
= 0 ;
8646 bool temp2
= false ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8650 (char *) "self",(char *) "location", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8655 if (SWIG_arg_fail(1)) SWIG_fail
;
8657 arg2
= wxString_in_helper(obj1
);
8658 if (arg2
== NULL
) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8689 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8692 wxString
*arg2
= 0 ;
8694 bool temp2
= false ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8698 (char *) "self",(char *) "location", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail
;
8705 arg2
= wxString_in_helper(obj1
);
8706 if (arg2
== NULL
) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8737 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8740 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8742 return Py_BuildValue((char *)"");
8744 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxFileSystem
*result
;
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (wxFileSystem
*)new wxFileSystem();
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= wxPyMake_wxObject(result
, 1);
8768 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8773 (char *) "self", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8778 if (SWIG_arg_fail(1)) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8795 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8796 wxString
*arg2
= 0 ;
8797 bool arg3
= (bool) false ;
8798 bool temp2
= false ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8803 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail
;
8810 arg2
= wxString_in_helper(obj1
);
8811 if (arg2
== NULL
) SWIG_fail
;
8816 arg3
= (bool)(SWIG_As_bool(obj2
));
8817 if (SWIG_arg_fail(3)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8842 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8844 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8848 (char *) "self", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (arg1
)->GetPath();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8874 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8877 wxString
*arg2
= 0 ;
8879 bool temp2
= false ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8883 (char *) "self",(char *) "location", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail
;
8890 arg2
= wxString_in_helper(obj1
);
8891 if (arg2
== NULL
) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= wxPyMake_wxObject(result
, 1);
8918 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8921 wxString
*arg2
= 0 ;
8922 int arg3
= (int) 0 ;
8924 bool temp2
= false ;
8925 PyObject
* obj0
= 0 ;
8926 PyObject
* obj1
= 0 ;
8927 PyObject
* obj2
= 0 ;
8929 (char *) "self",(char *) "spec",(char *) "flags", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8934 if (SWIG_arg_fail(1)) SWIG_fail
;
8936 arg2
= wxString_in_helper(obj1
);
8937 if (arg2
== NULL
) SWIG_fail
;
8942 arg3
= (int)(SWIG_As_int(obj2
));
8943 if (SWIG_arg_fail(3)) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8974 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8985 if (SWIG_arg_fail(1)) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (arg1
)->FindNext();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9006 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "handler", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxFileSystem::AddHandler(arg1
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 wxFileSystem::CleanUpHandlers();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxString
*arg1
= 0 ;
9056 bool temp1
= false ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "filename", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9064 arg1
= wxString_in_helper(obj0
);
9065 if (arg1
== NULL
) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9096 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxString
*arg1
= 0 ;
9100 bool temp1
= false ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "url", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9108 arg1
= wxString_in_helper(obj0
);
9109 if (arg1
== NULL
) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9140 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9143 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9145 return Py_BuildValue((char *)"");
9147 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxInternetFSHandler
*result
;
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9169 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9172 wxString
*arg2
= 0 ;
9174 bool temp2
= false ;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9178 (char *) "self",(char *) "location", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 arg2
= wxString_in_helper(obj1
);
9186 if (arg2
== NULL
) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9213 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9216 wxFileSystem
*arg2
= 0 ;
9217 wxString
*arg3
= 0 ;
9219 bool temp3
= false ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 PyObject
* obj2
= 0 ;
9224 (char *) "self",(char *) "fs",(char *) "location", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9229 if (SWIG_arg_fail(1)) SWIG_fail
;
9231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9232 if (SWIG_arg_fail(2)) SWIG_fail
;
9234 SWIG_null_ref("wxFileSystem");
9236 if (SWIG_arg_fail(2)) SWIG_fail
;
9239 arg3
= wxString_in_helper(obj2
);
9240 if (arg3
== NULL
) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= wxPyMake_wxObject(result
, 1);
9267 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9270 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9272 return Py_BuildValue((char *)"");
9274 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxZipFSHandler
*result
;
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9296 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9299 wxString
*arg2
= 0 ;
9301 bool temp2
= false ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9305 (char *) "self",(char *) "location", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail
;
9312 arg2
= wxString_in_helper(obj1
);
9313 if (arg2
== NULL
) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9340 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9343 wxFileSystem
*arg2
= 0 ;
9344 wxString
*arg3
= 0 ;
9346 bool temp3
= false ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 PyObject
* obj2
= 0 ;
9351 (char *) "self",(char *) "fs",(char *) "location", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail
;
9358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9359 if (SWIG_arg_fail(2)) SWIG_fail
;
9361 SWIG_null_ref("wxFileSystem");
9363 if (SWIG_arg_fail(2)) SWIG_fail
;
9366 arg3
= wxString_in_helper(obj2
);
9367 if (arg3
== NULL
) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= wxPyMake_wxObject(result
, 1);
9394 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9397 wxString
*arg2
= 0 ;
9398 int arg3
= (int) 0 ;
9400 bool temp2
= false ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9405 (char *) "self",(char *) "spec",(char *) "flags", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9412 arg2
= wxString_in_helper(obj1
);
9413 if (arg2
== NULL
) SWIG_fail
;
9418 arg3
= (int)(SWIG_As_int(obj2
));
9419 if (SWIG_arg_fail(3)) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9450 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (arg1
)->FindNext();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9482 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9487 return Py_BuildValue((char *)"");
9489 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxString
*arg1
= 0 ;
9494 bool temp1
= false ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9499 (char *) "filename",(char *) "image",(char *) "type", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9504 arg1
= wxString_in_helper(obj0
);
9505 if (arg1
== NULL
) SWIG_fail
;
9509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9510 if (SWIG_arg_fail(2)) SWIG_fail
;
9512 SWIG_null_ref("wxImage");
9514 if (SWIG_arg_fail(2)) SWIG_fail
;
9517 arg3
= (long)(SWIG_As_long(obj2
));
9518 if (SWIG_arg_fail(3)) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 Py_INCREF(Py_None
); resultobj
= Py_None
;
9542 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxString
*arg1
= 0 ;
9545 wxBitmap
*arg2
= 0 ;
9547 bool temp1
= false ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 PyObject
* obj2
= 0 ;
9552 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9557 arg1
= wxString_in_helper(obj0
);
9558 if (arg1
== NULL
) SWIG_fail
;
9562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9563 if (SWIG_arg_fail(2)) SWIG_fail
;
9565 SWIG_null_ref("wxBitmap");
9567 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 arg3
= (long)(SWIG_As_long(obj2
));
9571 if (SWIG_arg_fail(3)) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 Py_INCREF(Py_None
); resultobj
= Py_None
;
9595 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxString
*arg1
= 0 ;
9598 PyObject
*arg2
= (PyObject
*) 0 ;
9599 bool temp1
= false ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "filename",(char *) "data", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9635 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxMemoryFSHandler
*result
;
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9657 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxString
*arg1
= 0 ;
9660 bool temp1
= false ;
9661 PyObject
* obj0
= 0 ;
9663 (char *) "filename", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9668 arg1
= wxString_in_helper(obj0
);
9669 if (arg1
== NULL
) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 Py_INCREF(Py_None
); resultobj
= Py_None
;
9694 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9697 wxString
*arg2
= 0 ;
9699 bool temp2
= false ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9703 (char *) "self",(char *) "location", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9708 if (SWIG_arg_fail(1)) SWIG_fail
;
9710 arg2
= wxString_in_helper(obj1
);
9711 if (arg2
== NULL
) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9738 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9741 wxFileSystem
*arg2
= 0 ;
9742 wxString
*arg3
= 0 ;
9744 bool temp3
= false ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 PyObject
* obj2
= 0 ;
9749 (char *) "self",(char *) "fs",(char *) "location", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9754 if (SWIG_arg_fail(1)) SWIG_fail
;
9756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(2)) SWIG_fail
;
9759 SWIG_null_ref("wxFileSystem");
9761 if (SWIG_arg_fail(2)) SWIG_fail
;
9764 arg3
= wxString_in_helper(obj2
);
9765 if (arg3
== NULL
) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= wxPyMake_wxObject(result
, 1);
9792 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9795 wxString
*arg2
= 0 ;
9796 int arg3
= (int) 0 ;
9798 bool temp2
= false ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9801 PyObject
* obj2
= 0 ;
9803 (char *) "self",(char *) "spec",(char *) "flags", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 arg2
= wxString_in_helper(obj1
);
9811 if (arg2
== NULL
) SWIG_fail
;
9816 arg3
= (int)(SWIG_As_int(obj2
));
9817 if (SWIG_arg_fail(3)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9848 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9859 if (SWIG_arg_fail(1)) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (arg1
)->FindNext();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9880 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9883 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9885 return Py_BuildValue((char *)"");
9887 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (arg1
)->GetName();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9919 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (arg1
)->GetExtension();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9951 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9962 if (SWIG_arg_fail(1)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (long)(arg1
)->GetType();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_From_long((long)(result
));
9979 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9990 if (SWIG_arg_fail(1)) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (arg1
)->GetMimeType();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10011 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10014 wxString
*arg2
= 0 ;
10016 bool temp2
= false ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "name", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 arg2
= wxString_in_helper(obj1
);
10028 if (arg2
== NULL
) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10055 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10058 wxString
*arg2
= 0 ;
10059 bool temp2
= false ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self",(char *) "name", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail
;
10070 arg2
= wxString_in_helper(obj1
);
10071 if (arg2
== NULL
) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->SetName((wxString
const &)*arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10099 wxString
*arg2
= 0 ;
10100 bool temp2
= false ;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self",(char *) "extension", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail
;
10111 arg2
= wxString_in_helper(obj1
);
10112 if (arg2
== NULL
) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 (arg1
)->SetExtension((wxString
const &)*arg2
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10137 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "type", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10149 if (SWIG_arg_fail(1)) SWIG_fail
;
10151 arg2
= (long)(SWIG_As_long(obj1
));
10152 if (SWIG_arg_fail(2)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 (arg1
)->SetType(arg2
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10171 wxString
*arg2
= 0 ;
10172 bool temp2
= false ;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self",(char *) "mimetype", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10181 if (SWIG_arg_fail(1)) SWIG_fail
;
10183 arg2
= wxString_in_helper(obj1
);
10184 if (arg2
== NULL
) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10214 return Py_BuildValue((char *)"");
10216 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxImageHistogram
*result
;
10219 char *kwnames
[] = {
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (wxImageHistogram
*)new wxImageHistogram();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10238 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 unsigned char arg1
;
10241 unsigned char arg2
;
10242 unsigned char arg3
;
10243 unsigned long result
;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 PyObject
* obj2
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "r",(char *) "g",(char *) "b", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10253 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10257 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10258 if (SWIG_arg_fail(2)) SWIG_fail
;
10261 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10262 if (SWIG_arg_fail(3)) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10280 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10283 unsigned char *arg2
= (unsigned char *) 0 ;
10284 unsigned char *arg3
= (unsigned char *) 0 ;
10285 unsigned char *arg4
= (unsigned char *) 0 ;
10286 unsigned char arg5
= (unsigned char) 1 ;
10287 unsigned char arg6
= (unsigned char) 0 ;
10288 unsigned char arg7
= (unsigned char) 0 ;
10290 unsigned char temp2
;
10292 unsigned char temp3
;
10294 unsigned char temp4
;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 PyObject
* obj2
= 0 ;
10299 PyObject
* obj3
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10304 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10305 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10306 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail
;
10312 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10313 if (SWIG_arg_fail(5)) SWIG_fail
;
10318 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10319 if (SWIG_arg_fail(6)) SWIG_fail
;
10324 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10325 if (SWIG_arg_fail(7)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10339 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10340 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10341 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10342 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10343 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10350 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10353 unsigned long arg2
;
10354 unsigned long result
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "key", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10366 if (SWIG_arg_fail(2)) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10384 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10387 unsigned char arg2
;
10388 unsigned char arg3
;
10389 unsigned char arg4
;
10390 unsigned long result
;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 PyObject
* obj2
= 0 ;
10394 PyObject
* obj3
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10401 if (SWIG_arg_fail(1)) SWIG_fail
;
10403 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10404 if (SWIG_arg_fail(2)) SWIG_fail
;
10407 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10408 if (SWIG_arg_fail(3)) SWIG_fail
;
10411 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10412 if (SWIG_arg_fail(4)) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10430 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10433 wxColour
*arg2
= 0 ;
10434 unsigned long result
;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "colour", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10444 if (SWIG_arg_fail(1)) SWIG_fail
;
10447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10465 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10468 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10470 return Py_BuildValue((char *)"");
10472 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxString
*arg1
= 0 ;
10475 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10476 int arg3
= (int) -1 ;
10478 bool temp1
= false ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 PyObject
* obj2
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "name",(char *) "type",(char *) "index", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10488 arg1
= wxString_in_helper(obj0
);
10489 if (arg1
== NULL
) SWIG_fail
;
10494 arg2
= (long)(SWIG_As_long(obj1
));
10495 if (SWIG_arg_fail(2)) SWIG_fail
;
10500 arg3
= (int)(SWIG_As_int(obj2
));
10501 if (SWIG_arg_fail(3)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10526 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxImage
*arg1
= (wxImage
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 char *kwnames
[] = {
10531 (char *) "self", NULL
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10536 if (SWIG_arg_fail(1)) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxString
*arg1
= 0 ;
10554 wxString
*arg2
= 0 ;
10555 int arg3
= (int) -1 ;
10557 bool temp1
= false ;
10558 bool temp2
= false ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 PyObject
* obj2
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10568 arg1
= wxString_in_helper(obj0
);
10569 if (arg1
== NULL
) SWIG_fail
;
10573 arg2
= wxString_in_helper(obj1
);
10574 if (arg2
== NULL
) SWIG_fail
;
10579 arg3
= (int)(SWIG_As_int(obj2
));
10580 if (SWIG_arg_fail(3)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10613 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxInputStream
*arg1
= 0 ;
10616 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10617 int arg3
= (int) -1 ;
10619 wxPyInputStream
*temp1
;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 PyObject
* obj2
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "stream",(char *) "type",(char *) "index", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10630 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10631 arg1
= temp1
->m_wxis
;
10634 PyErr_Clear(); // clear the failure of the wxPyConvert above
10635 arg1
= wxPyCBInputStream_create(obj0
, false);
10636 if (arg1
== NULL
) {
10637 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10645 arg2
= (long)(SWIG_As_long(obj1
));
10646 if (SWIG_arg_fail(2)) SWIG_fail
;
10651 arg3
= (int)(SWIG_As_int(obj2
));
10652 if (SWIG_arg_fail(3)) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10664 if (created1
) delete arg1
;
10669 if (created1
) delete arg1
;
10675 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxInputStream
*arg1
= 0 ;
10678 wxString
*arg2
= 0 ;
10679 int arg3
= (int) -1 ;
10681 wxPyInputStream
*temp1
;
10683 bool temp2
= false ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10693 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10694 arg1
= temp1
->m_wxis
;
10697 PyErr_Clear(); // clear the failure of the wxPyConvert above
10698 arg1
= wxPyCBInputStream_create(obj0
, false);
10699 if (arg1
== NULL
) {
10700 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10707 arg2
= wxString_in_helper(obj1
);
10708 if (arg2
== NULL
) SWIG_fail
;
10713 arg3
= (int)(SWIG_As_int(obj2
));
10714 if (SWIG_arg_fail(3)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10726 if (created1
) delete arg1
;
10735 if (created1
) delete arg1
;
10745 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 int arg1
= (int) 0 ;
10748 int arg2
= (int) 0 ;
10749 bool arg3
= (bool) true ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "width",(char *) "height",(char *) "clear", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 arg1
= (int)(SWIG_As_int(obj0
));
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10767 arg2
= (int)(SWIG_As_int(obj1
));
10768 if (SWIG_arg_fail(2)) SWIG_fail
;
10773 arg3
= (bool)(SWIG_As_bool(obj2
));
10774 if (SWIG_arg_fail(3)) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10791 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxBitmap
*arg1
= 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "bitmap", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10803 if (SWIG_arg_fail(1)) SWIG_fail
;
10804 if (arg1
== NULL
) {
10805 SWIG_null_ref("wxBitmap");
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 if (!wxPyCheckForApp()) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10824 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "width",(char *) "height",(char *) "data", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10840 arg1
= (int)(SWIG_As_int(obj0
));
10841 if (SWIG_arg_fail(1)) SWIG_fail
;
10844 arg2
= (int)(SWIG_As_int(obj1
));
10845 if (SWIG_arg_fail(2)) SWIG_fail
;
10848 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10864 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 PyObject
* obj2
= 0 ;
10876 PyObject
* obj3
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10883 arg1
= (int)(SWIG_As_int(obj0
));
10884 if (SWIG_arg_fail(1)) SWIG_fail
;
10887 arg2
= (int)(SWIG_As_int(obj1
));
10888 if (SWIG_arg_fail(2)) SWIG_fail
;
10891 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10894 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10910 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxImage
*arg1
= (wxImage
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 PyObject
* obj2
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "width",(char *) "height", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10926 arg2
= (int)(SWIG_As_int(obj1
));
10927 if (SWIG_arg_fail(2)) SWIG_fail
;
10930 arg3
= (int)(SWIG_As_int(obj2
));
10931 if (SWIG_arg_fail(3)) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->Create(arg2
,arg3
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxImage
*arg1
= (wxImage
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10957 if (SWIG_arg_fail(1)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxImage
*arg1
= (wxImage
*) 0 ;
10977 SwigValueWrapper
<wxImage
> result
;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "width",(char *) "height", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= (int)(SWIG_As_int(obj1
));
10990 if (SWIG_arg_fail(2)) SWIG_fail
;
10993 arg3
= (int)(SWIG_As_int(obj2
));
10994 if (SWIG_arg_fail(3)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (arg1
)->Scale(arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 wxImage
* resultptr
;
11005 resultptr
= new wxImage((wxImage
&)(result
));
11006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11014 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11019 SwigValueWrapper
<wxImage
> result
;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 PyObject
* obj2
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11029 if (SWIG_arg_fail(1)) SWIG_fail
;
11031 arg2
= (int)(SWIG_As_int(obj1
));
11032 if (SWIG_arg_fail(2)) SWIG_fail
;
11035 arg3
= (int)(SWIG_As_int(obj2
));
11036 if (SWIG_arg_fail(3)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 wxImage
* resultptr
;
11047 resultptr
= new wxImage((wxImage
&)(result
));
11048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11056 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxImage
*arg1
= (wxImage
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "width",(char *) "height", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail
;
11073 arg2
= (int)(SWIG_As_int(obj1
));
11074 if (SWIG_arg_fail(2)) SWIG_fail
;
11077 arg3
= (int)(SWIG_As_int(obj2
));
11078 if (SWIG_arg_fail(3)) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11084 result
= (wxImage
*) &_result_ref
;
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11097 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxImage
*arg1
= (wxImage
*) 0 ;
11101 wxPoint
*arg3
= 0 ;
11102 int arg4
= (int) -1 ;
11103 int arg5
= (int) -1 ;
11104 int arg6
= (int) -1 ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 PyObject
* obj3
= 0 ;
11112 PyObject
* obj4
= 0 ;
11113 PyObject
* obj5
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11131 arg4
= (int)(SWIG_As_int(obj3
));
11132 if (SWIG_arg_fail(4)) SWIG_fail
;
11137 arg5
= (int)(SWIG_As_int(obj4
));
11138 if (SWIG_arg_fail(5)) SWIG_fail
;
11143 arg6
= (int)(SWIG_As_int(obj5
));
11144 if (SWIG_arg_fail(6)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11151 result
= (wxImage
*) &_result_ref
;
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11164 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxImage
*arg1
= (wxImage
*) 0 ;
11169 unsigned char arg4
;
11170 unsigned char arg5
;
11171 unsigned char arg6
;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 PyObject
* obj2
= 0 ;
11175 PyObject
* obj3
= 0 ;
11176 PyObject
* obj4
= 0 ;
11177 PyObject
* obj5
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11186 arg2
= (int)(SWIG_As_int(obj1
));
11187 if (SWIG_arg_fail(2)) SWIG_fail
;
11190 arg3
= (int)(SWIG_As_int(obj2
));
11191 if (SWIG_arg_fail(3)) SWIG_fail
;
11194 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11195 if (SWIG_arg_fail(4)) SWIG_fail
;
11198 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11199 if (SWIG_arg_fail(5)) SWIG_fail
;
11202 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11203 if (SWIG_arg_fail(6)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxImage
*arg1
= (wxImage
*) 0 ;
11223 unsigned char arg3
;
11224 unsigned char arg4
;
11225 unsigned char arg5
;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 PyObject
* obj2
= 0 ;
11230 PyObject
* obj3
= 0 ;
11231 PyObject
* obj4
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11244 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11245 if (SWIG_arg_fail(3)) SWIG_fail
;
11248 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11249 if (SWIG_arg_fail(4)) SWIG_fail
;
11252 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11253 if (SWIG_arg_fail(5)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxImage
*arg1
= (wxImage
*) 0 ;
11274 unsigned char result
;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 PyObject
* obj2
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "x",(char *) "y", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail
;
11286 arg2
= (int)(SWIG_As_int(obj1
));
11287 if (SWIG_arg_fail(2)) SWIG_fail
;
11290 arg3
= (int)(SWIG_As_int(obj2
));
11291 if (SWIG_arg_fail(3)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11309 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxImage
*arg1
= (wxImage
*) 0 ;
11314 unsigned char result
;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 PyObject
* obj2
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "x",(char *) "y", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (int)(SWIG_As_int(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11330 arg3
= (int)(SWIG_As_int(obj2
));
11331 if (SWIG_arg_fail(3)) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11349 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxImage
*arg1
= (wxImage
*) 0 ;
11354 unsigned char result
;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self",(char *) "x",(char *) "y", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11364 if (SWIG_arg_fail(1)) SWIG_fail
;
11366 arg2
= (int)(SWIG_As_int(obj1
));
11367 if (SWIG_arg_fail(2)) SWIG_fail
;
11370 arg3
= (int)(SWIG_As_int(obj2
));
11371 if (SWIG_arg_fail(3)) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11389 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxImage
*arg1
= (wxImage
*) 0 ;
11394 unsigned char arg4
;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 PyObject
* obj3
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail
;
11407 arg2
= (int)(SWIG_As_int(obj1
));
11408 if (SWIG_arg_fail(2)) SWIG_fail
;
11411 arg3
= (int)(SWIG_As_int(obj2
));
11412 if (SWIG_arg_fail(3)) SWIG_fail
;
11415 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11416 if (SWIG_arg_fail(4)) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxImage
*arg1
= (wxImage
*) 0 ;
11437 unsigned char result
;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 PyObject
* obj2
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self",(char *) "x",(char *) "y", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11447 if (SWIG_arg_fail(1)) SWIG_fail
;
11449 arg2
= (int)(SWIG_As_int(obj1
));
11450 if (SWIG_arg_fail(2)) SWIG_fail
;
11453 arg3
= (int)(SWIG_As_int(obj2
));
11454 if (SWIG_arg_fail(3)) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11472 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxImage
*arg1
= (wxImage
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11483 if (SWIG_arg_fail(1)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (bool)(arg1
)->HasAlpha();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxImage
*arg1
= (wxImage
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 (arg1
)->InitAlpha();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 Py_INCREF(Py_None
); resultobj
= Py_None
;
11525 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxImage
*arg1
= (wxImage
*) 0 ;
11528 byte
*arg2
= (byte
*) 0 ;
11529 byte
*arg3
= (byte
*) 0 ;
11530 byte
*arg4
= (byte
*) 0 ;
11531 byte arg5
= (byte
) 0 ;
11532 byte arg6
= (byte
) 0 ;
11533 byte arg7
= (byte
) 0 ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 PyObject
* obj2
= 0 ;
11544 PyObject
* obj3
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11549 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11550 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11551 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail
;
11557 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11558 if (SWIG_arg_fail(5)) SWIG_fail
;
11563 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11564 if (SWIG_arg_fail(6)) SWIG_fail
;
11569 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11570 if (SWIG_arg_fail(7)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11583 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11584 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11585 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11586 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11587 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11588 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11595 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxImage
*arg1
= (wxImage
*) 0 ;
11598 byte arg2
= (byte
) 128 ;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self",(char *) "threshold", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11608 if (SWIG_arg_fail(1)) SWIG_fail
;
11611 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11612 if (SWIG_arg_fail(2)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11633 wxImage
*arg1
= (wxImage
*) 0 ;
11634 unsigned char arg2
;
11635 unsigned char arg3
;
11636 unsigned char arg4
;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 PyObject
* obj2
= 0 ;
11641 PyObject
* obj3
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11648 if (SWIG_arg_fail(1)) SWIG_fail
;
11650 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11651 if (SWIG_arg_fail(2)) SWIG_fail
;
11654 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11655 if (SWIG_arg_fail(3)) SWIG_fail
;
11658 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11659 if (SWIG_arg_fail(4)) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11677 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxImage
*arg1
= (wxImage
*) 0 ;
11680 wxImage
*arg2
= 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 PyObject
* obj4
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11696 if (SWIG_arg_fail(1)) SWIG_fail
;
11698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11699 if (SWIG_arg_fail(2)) SWIG_fail
;
11700 if (arg2
== NULL
) {
11701 SWIG_null_ref("wxImage");
11703 if (SWIG_arg_fail(2)) SWIG_fail
;
11706 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11707 if (SWIG_arg_fail(3)) SWIG_fail
;
11710 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11711 if (SWIG_arg_fail(4)) SWIG_fail
;
11714 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11715 if (SWIG_arg_fail(5)) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11733 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxString
*arg1
= 0 ;
11737 bool temp1
= false ;
11738 PyObject
* obj0
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "name", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11745 arg1
= wxString_in_helper(obj0
);
11746 if (arg1
== NULL
) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11773 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxString
*arg1
= 0 ;
11776 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11778 bool temp1
= false ;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "name",(char *) "type", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11787 arg1
= wxString_in_helper(obj0
);
11788 if (arg1
== NULL
) SWIG_fail
;
11793 arg2
= (long)(SWIG_As_long(obj1
));
11794 if (SWIG_arg_fail(2)) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int((int)(result
));
11821 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxImage
*arg1
= (wxImage
*) 0 ;
11824 wxString
*arg2
= 0 ;
11825 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11826 int arg4
= (int) -1 ;
11828 bool temp2
= false ;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 PyObject
* obj3
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11839 if (SWIG_arg_fail(1)) SWIG_fail
;
11841 arg2
= wxString_in_helper(obj1
);
11842 if (arg2
== NULL
) SWIG_fail
;
11847 arg3
= (long)(SWIG_As_long(obj2
));
11848 if (SWIG_arg_fail(3)) SWIG_fail
;
11853 arg4
= (int)(SWIG_As_int(obj3
));
11854 if (SWIG_arg_fail(4)) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11881 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxImage
*arg1
= (wxImage
*) 0 ;
11884 wxString
*arg2
= 0 ;
11885 wxString
*arg3
= 0 ;
11886 int arg4
= (int) -1 ;
11888 bool temp2
= false ;
11889 bool temp3
= false ;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 PyObject
* obj2
= 0 ;
11893 PyObject
* obj3
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11900 if (SWIG_arg_fail(1)) SWIG_fail
;
11902 arg2
= wxString_in_helper(obj1
);
11903 if (arg2
== NULL
) SWIG_fail
;
11907 arg3
= wxString_in_helper(obj2
);
11908 if (arg3
== NULL
) SWIG_fail
;
11913 arg4
= (int)(SWIG_As_int(obj3
));
11914 if (SWIG_arg_fail(4)) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxImage
*arg1
= (wxImage
*) 0 ;
11952 wxString
*arg2
= 0 ;
11955 bool temp2
= false ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 PyObject
* obj2
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "name",(char *) "type", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11965 if (SWIG_arg_fail(1)) SWIG_fail
;
11967 arg2
= wxString_in_helper(obj1
);
11968 if (arg2
== NULL
) SWIG_fail
;
11972 arg3
= (int)(SWIG_As_int(obj2
));
11973 if (SWIG_arg_fail(3)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11999 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxImage
*arg1
= (wxImage
*) 0 ;
12002 wxString
*arg2
= 0 ;
12003 wxString
*arg3
= 0 ;
12005 bool temp2
= false ;
12006 bool temp3
= false ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 PyObject
* obj2
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail
;
12018 arg2
= wxString_in_helper(obj1
);
12019 if (arg2
== NULL
) SWIG_fail
;
12023 arg3
= wxString_in_helper(obj2
);
12024 if (arg3
== NULL
) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12059 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxInputStream
*arg1
= 0 ;
12063 wxPyInputStream
*temp1
;
12065 PyObject
* obj0
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "stream", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12072 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12073 arg1
= temp1
->m_wxis
;
12076 PyErr_Clear(); // clear the failure of the wxPyConvert above
12077 arg1
= wxPyCBInputStream_create(obj0
, false);
12078 if (arg1
== NULL
) {
12079 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (bool)wxImage::CanRead(*arg1
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 if (created1
) delete arg1
;
12101 if (created1
) delete arg1
;
12107 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxImage
*arg1
= (wxImage
*) 0 ;
12110 wxInputStream
*arg2
= 0 ;
12111 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12112 int arg4
= (int) -1 ;
12114 wxPyInputStream
*temp2
;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 PyObject
* obj2
= 0 ;
12119 PyObject
* obj3
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12126 if (SWIG_arg_fail(1)) SWIG_fail
;
12128 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12129 arg2
= temp2
->m_wxis
;
12132 PyErr_Clear(); // clear the failure of the wxPyConvert above
12133 arg2
= wxPyCBInputStream_create(obj1
, false);
12134 if (arg2
== NULL
) {
12135 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12143 arg3
= (long)(SWIG_As_long(obj2
));
12144 if (SWIG_arg_fail(3)) SWIG_fail
;
12149 arg4
= (int)(SWIG_As_int(obj3
));
12150 if (SWIG_arg_fail(4)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12164 if (created2
) delete arg2
;
12169 if (created2
) delete arg2
;
12175 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxImage
*arg1
= (wxImage
*) 0 ;
12178 wxInputStream
*arg2
= 0 ;
12179 wxString
*arg3
= 0 ;
12180 int arg4
= (int) -1 ;
12182 wxPyInputStream
*temp2
;
12184 bool temp3
= false ;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 PyObject
* obj2
= 0 ;
12188 PyObject
* obj3
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12195 if (SWIG_arg_fail(1)) SWIG_fail
;
12197 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12198 arg2
= temp2
->m_wxis
;
12201 PyErr_Clear(); // clear the failure of the wxPyConvert above
12202 arg2
= wxPyCBInputStream_create(obj1
, false);
12203 if (arg2
== NULL
) {
12204 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12211 arg3
= wxString_in_helper(obj2
);
12212 if (arg3
== NULL
) SWIG_fail
;
12217 arg4
= (int)(SWIG_As_int(obj3
));
12218 if (SWIG_arg_fail(4)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 if (created2
) delete arg2
;
12241 if (created2
) delete arg2
;
12251 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxImage
*arg1
= (wxImage
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (bool)(arg1
)->Ok();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12279 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxImage
*arg1
= (wxImage
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "self", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12290 if (SWIG_arg_fail(1)) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (int)(arg1
)->GetWidth();
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_From_int((int)(result
));
12307 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxImage
*arg1
= (wxImage
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12318 if (SWIG_arg_fail(1)) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (int)(arg1
)->GetHeight();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int((int)(result
));
12335 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxImage
*arg1
= (wxImage
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12346 if (SWIG_arg_fail(1)) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= wxImage_GetSize(arg1
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12355 wxSize
* resultptr
;
12356 resultptr
= new wxSize((wxSize
&)(result
));
12357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12365 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxImage
*arg1
= (wxImage
*) 0 ;
12369 SwigValueWrapper
<wxImage
> result
;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "rect", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12379 if (SWIG_arg_fail(1)) SWIG_fail
;
12382 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12392 wxImage
* resultptr
;
12393 resultptr
= new wxImage((wxImage
&)(result
));
12394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12402 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxImage
*arg1
= (wxImage
*) 0 ;
12406 wxPoint
*arg3
= 0 ;
12407 int arg4
= (int) -1 ;
12408 int arg5
= (int) -1 ;
12409 int arg6
= (int) -1 ;
12410 SwigValueWrapper
<wxImage
> result
;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 PyObject
* obj2
= 0 ;
12416 PyObject
* obj3
= 0 ;
12417 PyObject
* obj4
= 0 ;
12418 PyObject
* obj5
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail
;
12428 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12432 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12436 arg4
= (int)(SWIG_As_int(obj3
));
12437 if (SWIG_arg_fail(4)) SWIG_fail
;
12442 arg5
= (int)(SWIG_As_int(obj4
));
12443 if (SWIG_arg_fail(5)) SWIG_fail
;
12448 arg6
= (int)(SWIG_As_int(obj5
));
12449 if (SWIG_arg_fail(6)) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12460 wxImage
* resultptr
;
12461 resultptr
= new wxImage((wxImage
&)(result
));
12462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12470 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxImage
*arg1
= (wxImage
*) 0 ;
12473 SwigValueWrapper
<wxImage
> result
;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (arg1
)->Copy();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 wxImage
* resultptr
;
12491 resultptr
= new wxImage((wxImage
&)(result
));
12492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12500 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxImage
*arg1
= (wxImage
*) 0 ;
12503 wxImage
*arg2
= 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 PyObject
* obj2
= 0 ;
12509 PyObject
* obj3
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12516 if (SWIG_arg_fail(1)) SWIG_fail
;
12518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12519 if (SWIG_arg_fail(2)) SWIG_fail
;
12520 if (arg2
== NULL
) {
12521 SWIG_null_ref("wxImage");
12523 if (SWIG_arg_fail(2)) SWIG_fail
;
12526 arg3
= (int)(SWIG_As_int(obj2
));
12527 if (SWIG_arg_fail(3)) SWIG_fail
;
12530 arg4
= (int)(SWIG_As_int(obj3
));
12531 if (SWIG_arg_fail(4)) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 Py_INCREF(Py_None
); resultobj
= Py_None
;
12547 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxImage
*arg1
= (wxImage
*) 0 ;
12551 PyObject
* obj0
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12558 if (SWIG_arg_fail(1)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (PyObject
*)wxImage_GetData(arg1
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= result
;
12573 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxImage
*arg1
= (wxImage
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "data", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail
;
12588 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 wxImage_SetData(arg1
,arg2
,arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxImage
*arg1
= (wxImage
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12615 if (SWIG_arg_fail(1)) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
;
12630 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxImage
*arg1
= (wxImage
*) 0 ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self",(char *) "data", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12643 if (SWIG_arg_fail(1)) SWIG_fail
;
12645 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 Py_INCREF(Py_None
); resultobj
= Py_None
;
12661 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxImage
*arg1
= (wxImage
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12672 if (SWIG_arg_fail(1)) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= result
;
12687 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxImage
*arg1
= (wxImage
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self",(char *) "alpha", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12700 if (SWIG_arg_fail(1)) SWIG_fail
;
12702 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxImage
*arg1
= (wxImage
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12729 if (SWIG_arg_fail(1)) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= result
;
12744 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxImage
*arg1
= (wxImage
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self",(char *) "alpha", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12757 if (SWIG_arg_fail(1)) SWIG_fail
;
12759 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12775 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxImage
*arg1
= (wxImage
*) 0 ;
12778 unsigned char arg2
;
12779 unsigned char arg3
;
12780 unsigned char arg4
;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 PyObject
* obj2
= 0 ;
12784 PyObject
* obj3
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12794 if (SWIG_arg_fail(2)) SWIG_fail
;
12797 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12798 if (SWIG_arg_fail(3)) SWIG_fail
;
12801 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12802 if (SWIG_arg_fail(4)) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxImage
*arg1
= (wxImage
*) 0 ;
12821 unsigned char *arg2
= (unsigned char *) 0 ;
12822 unsigned char *arg3
= (unsigned char *) 0 ;
12823 unsigned char *arg4
= (unsigned char *) 0 ;
12824 unsigned char temp2
;
12826 unsigned char temp3
;
12828 unsigned char temp4
;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12836 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12837 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12850 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12851 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12852 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12853 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12854 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12861 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxImage
*arg1
= (wxImage
*) 0 ;
12864 unsigned char result
;
12865 PyObject
* obj0
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (unsigned char)(arg1
)->GetMaskRed();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12889 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxImage
*arg1
= (wxImage
*) 0 ;
12892 unsigned char result
;
12893 PyObject
* obj0
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12900 if (SWIG_arg_fail(1)) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (unsigned char)(arg1
)->GetMaskGreen();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12917 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxImage
*arg1
= (wxImage
*) 0 ;
12920 unsigned char result
;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12928 if (SWIG_arg_fail(1)) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (unsigned char)(arg1
)->GetMaskBlue();
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12945 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxImage
*arg1
= (wxImage
*) 0 ;
12948 bool arg2
= (bool) true ;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self",(char *) "mask", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12957 if (SWIG_arg_fail(1)) SWIG_fail
;
12960 arg2
= (bool)(SWIG_As_bool(obj1
));
12961 if (SWIG_arg_fail(2)) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 (arg1
)->SetMask(arg2
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 Py_INCREF(Py_None
); resultobj
= Py_None
;
12978 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxImage
*arg1
= (wxImage
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12989 if (SWIG_arg_fail(1)) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (bool)(arg1
)->HasMask();
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13006 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxImage
*arg1
= (wxImage
*) 0 ;
13010 wxPoint
*arg3
= 0 ;
13011 bool arg4
= (bool) true ;
13012 wxPoint
*arg5
= (wxPoint
*) NULL
;
13013 SwigValueWrapper
<wxImage
> result
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 PyObject
* obj3
= 0 ;
13019 PyObject
* obj4
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 arg2
= (double)(SWIG_As_double(obj1
));
13029 if (SWIG_arg_fail(2)) SWIG_fail
;
13033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13037 arg4
= (bool)(SWIG_As_bool(obj3
));
13038 if (SWIG_arg_fail(4)) SWIG_fail
;
13042 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13043 if (SWIG_arg_fail(5)) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 wxImage
* resultptr
;
13054 resultptr
= new wxImage((wxImage
&)(result
));
13055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13063 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxImage
*arg1
= (wxImage
*) 0 ;
13066 bool arg2
= (bool) true ;
13067 SwigValueWrapper
<wxImage
> result
;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self",(char *) "clockwise", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13076 if (SWIG_arg_fail(1)) SWIG_fail
;
13079 arg2
= (bool)(SWIG_As_bool(obj1
));
13080 if (SWIG_arg_fail(2)) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (arg1
)->Rotate90(arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 wxImage
* resultptr
;
13092 resultptr
= new wxImage((wxImage
&)(result
));
13093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13101 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxImage
*arg1
= (wxImage
*) 0 ;
13104 bool arg2
= (bool) true ;
13105 SwigValueWrapper
<wxImage
> result
;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "horizontally", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13114 if (SWIG_arg_fail(1)) SWIG_fail
;
13117 arg2
= (bool)(SWIG_As_bool(obj1
));
13118 if (SWIG_arg_fail(2)) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (arg1
)->Mirror(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 wxImage
* resultptr
;
13130 resultptr
= new wxImage((wxImage
&)(result
));
13131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13139 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxImage
*arg1
= (wxImage
*) 0 ;
13142 unsigned char arg2
;
13143 unsigned char arg3
;
13144 unsigned char arg4
;
13145 unsigned char arg5
;
13146 unsigned char arg6
;
13147 unsigned char arg7
;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 PyObject
* obj2
= 0 ;
13151 PyObject
* obj3
= 0 ;
13152 PyObject
* obj4
= 0 ;
13153 PyObject
* obj5
= 0 ;
13154 PyObject
* obj6
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13164 if (SWIG_arg_fail(2)) SWIG_fail
;
13167 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13168 if (SWIG_arg_fail(3)) SWIG_fail
;
13171 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13172 if (SWIG_arg_fail(4)) SWIG_fail
;
13175 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13176 if (SWIG_arg_fail(5)) SWIG_fail
;
13179 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13180 if (SWIG_arg_fail(6)) SWIG_fail
;
13183 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13184 if (SWIG_arg_fail(7)) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxImage
*arg1
= (wxImage
*) 0 ;
13203 unsigned char arg2
;
13204 unsigned char arg3
;
13205 unsigned char arg4
;
13206 SwigValueWrapper
<wxImage
> result
;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 PyObject
* obj3
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail
;
13219 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13220 if (SWIG_arg_fail(2)) SWIG_fail
;
13223 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13224 if (SWIG_arg_fail(3)) SWIG_fail
;
13227 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13228 if (SWIG_arg_fail(4)) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 wxImage
* resultptr
;
13239 resultptr
= new wxImage((wxImage
&)(result
));
13240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13248 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxImage
*arg1
= (wxImage
*) 0 ;
13251 wxString
*arg2
= 0 ;
13252 wxString
*arg3
= 0 ;
13253 bool temp2
= false ;
13254 bool temp3
= false ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "name",(char *) "value", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13264 if (SWIG_arg_fail(1)) SWIG_fail
;
13266 arg2
= wxString_in_helper(obj1
);
13267 if (arg2
== NULL
) SWIG_fail
;
13271 arg3
= wxString_in_helper(obj2
);
13272 if (arg3
== NULL
) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13305 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxImage
*arg1
= (wxImage
*) 0 ;
13308 wxString
*arg2
= 0 ;
13310 bool temp2
= false ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 PyObject
* obj2
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self",(char *) "name",(char *) "value", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13320 if (SWIG_arg_fail(1)) SWIG_fail
;
13322 arg2
= wxString_in_helper(obj1
);
13323 if (arg2
== NULL
) SWIG_fail
;
13327 arg3
= (int)(SWIG_As_int(obj2
));
13328 if (SWIG_arg_fail(3)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 Py_INCREF(Py_None
); resultobj
= Py_None
;
13352 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxImage
*arg1
= (wxImage
*) 0 ;
13355 wxString
*arg2
= 0 ;
13357 bool temp2
= false ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "name", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 arg2
= wxString_in_helper(obj1
);
13369 if (arg2
== NULL
) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13400 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxImage
*arg1
= (wxImage
*) 0 ;
13403 wxString
*arg2
= 0 ;
13405 bool temp2
= false ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self",(char *) "name", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13414 if (SWIG_arg_fail(1)) SWIG_fail
;
13416 arg2
= wxString_in_helper(obj1
);
13417 if (arg2
== NULL
) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_From_int((int)(result
));
13444 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxImage
*arg1
= (wxImage
*) 0 ;
13447 wxString
*arg2
= 0 ;
13449 bool temp2
= false ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "name", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail
;
13460 arg2
= wxString_in_helper(obj1
);
13461 if (arg2
== NULL
) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxImage
*arg1
= (wxImage
*) 0 ;
13491 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13492 unsigned long result
;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "stopafter", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13501 if (SWIG_arg_fail(1)) SWIG_fail
;
13504 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13505 if (SWIG_arg_fail(2)) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13524 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxImage
*arg1
= (wxImage
*) 0 ;
13527 wxImageHistogram
*arg2
= 0 ;
13528 unsigned long result
;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self",(char *) "h", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail
;
13539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(2)) SWIG_fail
;
13541 if (arg2
== NULL
) {
13542 SWIG_null_ref("wxImageHistogram");
13544 if (SWIG_arg_fail(2)) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13562 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "handler", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 wxImage::AddHandler(arg1
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "handler", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13597 if (SWIG_arg_fail(1)) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 wxImage::InsertHandler(arg1
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 Py_INCREF(Py_None
); resultobj
= Py_None
;
13612 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxString
*arg1
= 0 ;
13616 bool temp1
= false ;
13617 PyObject
* obj0
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "name", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13624 arg1
= wxString_in_helper(obj0
);
13625 if (arg1
== NULL
) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13652 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13655 char *kwnames
[] = {
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= wxImage::GetImageExtWildcard();
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13680 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxImage
*arg1
= (wxImage
*) 0 ;
13683 int arg2
= (int) -1 ;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self",(char *) "depth", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13693 if (SWIG_arg_fail(1)) SWIG_fail
;
13696 arg2
= (int)(SWIG_As_int(obj1
));
13697 if (SWIG_arg_fail(2)) SWIG_fail
;
13701 if (!wxPyCheckForApp()) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 wxBitmap
* resultptr
;
13710 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13719 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxImage
*arg1
= (wxImage
*) 0 ;
13722 unsigned char arg2
;
13723 unsigned char arg3
;
13724 unsigned char arg4
;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 PyObject
* obj2
= 0 ;
13729 PyObject
* obj3
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail
;
13738 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13739 if (SWIG_arg_fail(2)) SWIG_fail
;
13742 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13743 if (SWIG_arg_fail(3)) SWIG_fail
;
13746 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13747 if (SWIG_arg_fail(4)) SWIG_fail
;
13750 if (!wxPyCheckForApp()) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 wxBitmap
* resultptr
;
13759 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13768 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static int _wrap_NullImage_set(PyObject
*) {
13776 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13781 static PyObject
*_wrap_NullImage_get(void) {
13784 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13789 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13790 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13795 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13800 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13802 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13809 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13810 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13815 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13820 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13822 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13829 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13830 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13835 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13840 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13842 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13849 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13850 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13855 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13860 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13862 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13869 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13870 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13875 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13880 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13882 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13889 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13890 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13895 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13900 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13902 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13909 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13910 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13915 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13920 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13922 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13929 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13930 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13935 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13940 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13942 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13949 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13950 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13955 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13960 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13962 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13969 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13970 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13975 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13980 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13982 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13989 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13990 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13995 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14000 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14009 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14010 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14015 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14020 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14022 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14029 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14030 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14035 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14040 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14042 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14049 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14050 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14055 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14060 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14062 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14069 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14070 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14075 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14080 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14082 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14089 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxBMPHandler
*result
;
14092 char *kwnames
[] = {
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (wxBMPHandler
*)new wxBMPHandler();
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14111 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14114 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14116 return Py_BuildValue((char *)"");
14118 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxICOHandler
*result
;
14121 char *kwnames
[] = {
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (wxICOHandler
*)new wxICOHandler();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14140 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14143 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14145 return Py_BuildValue((char *)"");
14147 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxCURHandler
*result
;
14150 char *kwnames
[] = {
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (wxCURHandler
*)new wxCURHandler();
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14169 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14172 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14174 return Py_BuildValue((char *)"");
14176 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxANIHandler
*result
;
14179 char *kwnames
[] = {
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (wxANIHandler
*)new wxANIHandler();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14198 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14201 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14203 return Py_BuildValue((char *)"");
14205 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxPNGHandler
*result
;
14208 char *kwnames
[] = {
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxPNGHandler
*)new wxPNGHandler();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14227 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14230 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14232 return Py_BuildValue((char *)"");
14234 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxGIFHandler
*result
;
14237 char *kwnames
[] = {
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (wxGIFHandler
*)new wxGIFHandler();
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14256 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14259 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14261 return Py_BuildValue((char *)"");
14263 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxPCXHandler
*result
;
14266 char *kwnames
[] = {
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxPCXHandler
*)new wxPCXHandler();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14285 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14288 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14290 return Py_BuildValue((char *)"");
14292 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxJPEGHandler
*result
;
14295 char *kwnames
[] = {
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14314 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14317 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14319 return Py_BuildValue((char *)"");
14321 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxPNMHandler
*result
;
14324 char *kwnames
[] = {
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (wxPNMHandler
*)new wxPNMHandler();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14343 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14346 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14348 return Py_BuildValue((char *)"");
14350 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxXPMHandler
*result
;
14353 char *kwnames
[] = {
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (wxXPMHandler
*)new wxXPMHandler();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14372 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14375 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14377 return Py_BuildValue((char *)"");
14379 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxTIFFHandler
*result
;
14382 char *kwnames
[] = {
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14401 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14404 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14406 return Py_BuildValue((char *)"");
14408 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxImage
*arg1
= 0 ;
14411 wxImage
*arg2
= 0 ;
14412 int arg3
= (int) 236 ;
14413 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14415 PyObject
* obj0
= 0 ;
14416 PyObject
* obj1
= 0 ;
14417 PyObject
* obj2
= 0 ;
14418 PyObject
* obj3
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14427 if (arg1
== NULL
) {
14428 SWIG_null_ref("wxImage");
14430 if (SWIG_arg_fail(1)) SWIG_fail
;
14433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14434 if (SWIG_arg_fail(2)) SWIG_fail
;
14435 if (arg2
== NULL
) {
14436 SWIG_null_ref("wxImage");
14438 if (SWIG_arg_fail(2)) SWIG_fail
;
14442 arg3
= (int)(SWIG_As_int(obj2
));
14443 if (SWIG_arg_fail(3)) SWIG_fail
;
14448 arg4
= (int)(SWIG_As_int(obj3
));
14449 if (SWIG_arg_fail(4)) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14468 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14471 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14473 return Py_BuildValue((char *)"");
14475 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxEvtHandler
*result
;
14478 char *kwnames
[] = {
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 result
= (wxEvtHandler
*)new wxEvtHandler();
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14497 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14500 wxEvtHandler
*result
;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14508 if (SWIG_arg_fail(1)) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= wxPyMake_wxObject(result
, 0);
14525 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14528 wxEvtHandler
*result
;
14529 PyObject
* obj0
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= wxPyMake_wxObject(result
, 0);
14553 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14556 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "handler", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14565 if (SWIG_arg_fail(1)) SWIG_fail
;
14566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14567 if (SWIG_arg_fail(2)) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 (arg1
)->SetNextHandler(arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14585 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "handler", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14594 if (SWIG_arg_fail(1)) SWIG_fail
;
14595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14596 if (SWIG_arg_fail(2)) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 (arg1
)->SetPreviousHandler(arg2
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 Py_INCREF(Py_None
); resultobj
= Py_None
;
14611 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14622 if (SWIG_arg_fail(1)) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14639 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "enabled", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail
;
14653 arg2
= (bool)(SWIG_As_bool(obj1
));
14654 if (SWIG_arg_fail(2)) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 (arg1
)->SetEvtHandlerEnabled(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 Py_INCREF(Py_None
); resultobj
= Py_None
;
14670 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14673 wxEvent
*arg2
= 0 ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "event", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail
;
14685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14686 if (SWIG_arg_fail(2)) SWIG_fail
;
14687 if (arg2
== NULL
) {
14688 SWIG_null_ref("wxEvent");
14690 if (SWIG_arg_fail(2)) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14708 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14711 wxEvent
*arg2
= 0 ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "event", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14720 if (SWIG_arg_fail(1)) SWIG_fail
;
14722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14723 if (SWIG_arg_fail(2)) SWIG_fail
;
14724 if (arg2
== NULL
) {
14725 SWIG_null_ref("wxEvent");
14727 if (SWIG_arg_fail(2)) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 (arg1
)->AddPendingEvent(*arg2
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 Py_INCREF(Py_None
); resultobj
= Py_None
;
14743 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14753 if (SWIG_arg_fail(1)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->ProcessPendingEvents();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14774 PyObject
*arg5
= (PyObject
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 PyObject
* obj2
= 0 ;
14778 PyObject
* obj3
= 0 ;
14779 PyObject
* obj4
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail
;
14788 arg2
= (int)(SWIG_As_int(obj1
));
14789 if (SWIG_arg_fail(2)) SWIG_fail
;
14792 arg3
= (int)(SWIG_As_int(obj2
));
14793 if (SWIG_arg_fail(3)) SWIG_fail
;
14796 arg4
= (int)(SWIG_As_int(obj3
));
14797 if (SWIG_arg_fail(4)) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14818 int arg3
= (int) -1 ;
14819 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj1
= 0 ;
14823 PyObject
* obj2
= 0 ;
14824 PyObject
* obj3
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14831 if (SWIG_arg_fail(1)) SWIG_fail
;
14833 arg2
= (int)(SWIG_As_int(obj1
));
14834 if (SWIG_arg_fail(2)) SWIG_fail
;
14838 arg3
= (int)(SWIG_As_int(obj2
));
14839 if (SWIG_arg_fail(3)) SWIG_fail
;
14844 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14845 if (SWIG_arg_fail(4)) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14864 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14867 PyObject
*arg2
= (PyObject
*) 0 ;
14868 bool arg3
= (bool) true ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 PyObject
* obj2
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "_self",(char *) "incref", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14882 arg3
= (bool)(SWIG_As_bool(obj2
));
14883 if (SWIG_arg_fail(3)) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 Py_INCREF(Py_None
); resultobj
= Py_None
;
14900 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14903 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14905 return Py_BuildValue((char *)"");
14907 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxEventType result
;
14910 char *kwnames
[] = {
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (wxEventType
)wxNewEventType();
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_From_int((int)(result
));
14931 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxEvent
*arg1
= (wxEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14941 if (SWIG_arg_fail(1)) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 Py_INCREF(Py_None
); resultobj
= Py_None
;
14956 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxEvent
*arg1
= (wxEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "typ", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14968 if (SWIG_arg_fail(1)) SWIG_fail
;
14970 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14971 if (SWIG_arg_fail(2)) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 (arg1
)->SetEventType(arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 Py_INCREF(Py_None
); resultobj
= Py_None
;
14987 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxEvent
*arg1
= (wxEvent
*) 0 ;
14990 wxEventType result
;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14998 if (SWIG_arg_fail(1)) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_From_int((int)(result
));
15015 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxEvent
*arg1
= (wxEvent
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15026 if (SWIG_arg_fail(1)) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= wxPyMake_wxObject(result
, 0);
15043 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxEvent
*arg1
= (wxEvent
*) 0 ;
15046 wxObject
*arg2
= (wxObject
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "obj", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15055 if (SWIG_arg_fail(1)) SWIG_fail
;
15056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15057 if (SWIG_arg_fail(2)) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetEventObject(arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 Py_INCREF(Py_None
); resultobj
= Py_None
;
15072 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxEvent
*arg1
= (wxEvent
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= SWIG_From_long((long)(result
));
15100 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxEvent
*arg1
= (wxEvent
*) 0 ;
15103 long arg2
= (long) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self",(char *) "ts", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15112 if (SWIG_arg_fail(1)) SWIG_fail
;
15115 arg2
= (long)(SWIG_As_long(obj1
));
15116 if (SWIG_arg_fail(2)) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 (arg1
)->SetTimestamp(arg2
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 Py_INCREF(Py_None
); resultobj
= Py_None
;
15133 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxEvent
*arg1
= (wxEvent
*) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15144 if (SWIG_arg_fail(1)) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (int)((wxEvent
const *)arg1
)->GetId();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_From_int((int)(result
));
15161 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxEvent
*arg1
= (wxEvent
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self",(char *) "Id", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15173 if (SWIG_arg_fail(1)) SWIG_fail
;
15175 arg2
= (int)(SWIG_As_int(obj1
));
15176 if (SWIG_arg_fail(2)) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 (arg1
)->SetId(arg2
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 Py_INCREF(Py_None
); resultobj
= Py_None
;
15192 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxEvent
*arg1
= (wxEvent
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15203 if (SWIG_arg_fail(1)) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15220 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxEvent
*arg1
= (wxEvent
*) 0 ;
15223 bool arg2
= (bool) true ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "skip", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail
;
15235 arg2
= (bool)(SWIG_As_bool(obj1
));
15236 if (SWIG_arg_fail(2)) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->Skip(arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15253 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxEvent
*arg1
= (wxEvent
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15281 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxEvent
*arg1
= (wxEvent
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxEvent
*arg1
= (wxEvent
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (int)(arg1
)->StopPropagation();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_From_int((int)(result
));
15337 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxEvent
*arg1
= (wxEvent
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self",(char *) "propagationLevel", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail
;
15351 arg2
= (int)(SWIG_As_int(obj1
));
15352 if (SWIG_arg_fail(2)) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 (arg1
)->ResumePropagation(arg2
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 Py_INCREF(Py_None
); resultobj
= Py_None
;
15368 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxEvent
*arg1
= (wxEvent
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15379 if (SWIG_arg_fail(1)) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (wxEvent
*)(arg1
)->Clone();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15394 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15399 return Py_BuildValue((char *)"");
15401 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxEvent
*arg1
= 0 ;
15404 wxPropagationDisabler
*result
;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "event", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail
;
15414 if (arg1
== NULL
) {
15415 SWIG_null_ref("wxEvent");
15417 if (SWIG_arg_fail(1)) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15433 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15461 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15463 return Py_BuildValue((char *)"");
15465 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxEvent
*arg1
= 0 ;
15468 wxPropagateOnce
*result
;
15469 PyObject
* obj0
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "event", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15477 if (SWIG_arg_fail(1)) SWIG_fail
;
15478 if (arg1
== NULL
) {
15479 SWIG_null_ref("wxEvent");
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15497 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15507 if (SWIG_arg_fail(1)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15525 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15527 return Py_BuildValue((char *)"");
15529 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15532 int arg2
= (int) 0 ;
15533 wxCommandEvent
*result
;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "commandType",(char *) "winid", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15543 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15544 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 arg2
= (int)(SWIG_As_int(obj1
));
15550 if (SWIG_arg_fail(2)) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15567 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15578 if (SWIG_arg_fail(1)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_From_int((int)(result
));
15595 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15598 wxString
*arg2
= 0 ;
15599 bool temp2
= false ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "s", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15608 if (SWIG_arg_fail(1)) SWIG_fail
;
15610 arg2
= wxString_in_helper(obj1
);
15611 if (arg2
== NULL
) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->SetString((wxString
const &)*arg2
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 Py_INCREF(Py_None
); resultobj
= Py_None
;
15636 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15647 if (SWIG_arg_fail(1)) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15668 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15696 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15700 PyObject
* obj0
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15707 if (SWIG_arg_fail(1)) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15724 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self",(char *) "extraLong", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15736 if (SWIG_arg_fail(1)) SWIG_fail
;
15738 arg2
= (long)(SWIG_As_long(obj1
));
15739 if (SWIG_arg_fail(2)) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 (arg1
)->SetExtraLong(arg2
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 Py_INCREF(Py_None
); resultobj
= Py_None
;
15755 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15766 if (SWIG_arg_fail(1)) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_From_long((long)(result
));
15783 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self",(char *) "i", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail
;
15797 arg2
= (int)(SWIG_As_int(obj1
));
15798 if (SWIG_arg_fail(2)) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->SetInt(arg2
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15825 if (SWIG_arg_fail(1)) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= SWIG_From_long((long)(result
));
15842 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15853 if (SWIG_arg_fail(1)) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15868 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15871 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15873 return Py_BuildValue((char *)"");
15875 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15878 int arg2
= (int) 0 ;
15879 wxNotifyEvent
*result
;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "commandType",(char *) "winid", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15895 arg2
= (int)(SWIG_As_int(obj1
));
15896 if (SWIG_arg_fail(2)) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15913 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15923 if (SWIG_arg_fail(1)) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 Py_INCREF(Py_None
); resultobj
= Py_None
;
15963 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15974 if (SWIG_arg_fail(1)) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 result
= (bool)(arg1
)->IsAllowed();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15991 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15994 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15996 return Py_BuildValue((char *)"");
15998 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16001 int arg2
= (int) 0 ;
16002 int arg3
= (int) 0 ;
16003 int arg4
= (int) 0 ;
16004 wxScrollEvent
*result
;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 PyObject
* obj2
= 0 ;
16008 PyObject
* obj3
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16016 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16017 if (SWIG_arg_fail(1)) SWIG_fail
;
16022 arg2
= (int)(SWIG_As_int(obj1
));
16023 if (SWIG_arg_fail(2)) SWIG_fail
;
16028 arg3
= (int)(SWIG_As_int(obj2
));
16029 if (SWIG_arg_fail(3)) SWIG_fail
;
16034 arg4
= (int)(SWIG_As_int(obj3
));
16035 if (SWIG_arg_fail(4)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16052 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16063 if (SWIG_arg_fail(1)) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_From_int((int)(result
));
16080 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16091 if (SWIG_arg_fail(1)) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= SWIG_From_int((int)(result
));
16108 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "orient", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16120 if (SWIG_arg_fail(1)) SWIG_fail
;
16122 arg2
= (int)(SWIG_As_int(obj1
));
16123 if (SWIG_arg_fail(2)) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 (arg1
)->SetOrientation(arg2
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 Py_INCREF(Py_None
); resultobj
= Py_None
;
16139 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "pos", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16151 if (SWIG_arg_fail(1)) SWIG_fail
;
16153 arg2
= (int)(SWIG_As_int(obj1
));
16154 if (SWIG_arg_fail(2)) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 (arg1
)->SetPosition(arg2
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16173 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16175 return Py_BuildValue((char *)"");
16177 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16180 int arg2
= (int) 0 ;
16181 int arg3
= (int) 0 ;
16182 wxScrollWinEvent
*result
;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 PyObject
* obj2
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16193 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16194 if (SWIG_arg_fail(1)) SWIG_fail
;
16199 arg2
= (int)(SWIG_As_int(obj1
));
16200 if (SWIG_arg_fail(2)) SWIG_fail
;
16205 arg3
= (int)(SWIG_As_int(obj2
));
16206 if (SWIG_arg_fail(3)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16223 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= SWIG_From_int((int)(result
));
16251 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= SWIG_From_int((int)(result
));
16279 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "orient", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail
;
16293 arg2
= (int)(SWIG_As_int(obj1
));
16294 if (SWIG_arg_fail(2)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 (arg1
)->SetOrientation(arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "pos", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail
;
16324 arg2
= (int)(SWIG_As_int(obj1
));
16325 if (SWIG_arg_fail(2)) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 (arg1
)->SetPosition(arg2
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 Py_INCREF(Py_None
); resultobj
= Py_None
;
16341 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16344 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16346 return Py_BuildValue((char *)"");
16348 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16351 wxMouseEvent
*result
;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "mouseType", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16360 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= wxPyMake_wxObject(result
, 1);
16380 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16408 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16411 int arg2
= (int) wxMOUSE_BTN_ANY
;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "but", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16421 if (SWIG_arg_fail(1)) SWIG_fail
;
16424 arg2
= (int)(SWIG_As_int(obj1
));
16425 if (SWIG_arg_fail(2)) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16444 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16447 int arg2
= (int) wxMOUSE_BTN_ANY
;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self",(char *) "but", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16460 arg2
= (int)(SWIG_As_int(obj1
));
16461 if (SWIG_arg_fail(2)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16480 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16483 int arg2
= (int) wxMOUSE_BTN_ANY
;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "but", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16493 if (SWIG_arg_fail(1)) SWIG_fail
;
16496 arg2
= (int)(SWIG_As_int(obj1
));
16497 if (SWIG_arg_fail(2)) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 PyObject
* obj1
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "but", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16529 if (SWIG_arg_fail(1)) SWIG_fail
;
16531 arg2
= (int)(SWIG_As_int(obj1
));
16532 if (SWIG_arg_fail(2)) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16550 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "but", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16563 if (SWIG_arg_fail(1)) SWIG_fail
;
16565 arg2
= (int)(SWIG_As_int(obj1
));
16566 if (SWIG_arg_fail(2)) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16595 if (SWIG_arg_fail(1)) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_From_int((int)(result
));
16612 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16623 if (SWIG_arg_fail(1)) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16651 if (SWIG_arg_fail(1)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16668 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16679 if (SWIG_arg_fail(1)) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16696 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16707 if (SWIG_arg_fail(1)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16735 if (SWIG_arg_fail(1)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16780 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16808 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16836 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16864 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16892 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16903 if (SWIG_arg_fail(1)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16920 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16931 if (SWIG_arg_fail(1)) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16948 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16976 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16987 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17004 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17015 if (SWIG_arg_fail(1)) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (bool)(arg1
)->LeftIsDown();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17032 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (bool)(arg1
)->MiddleIsDown();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17060 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17071 if (SWIG_arg_fail(1)) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (bool)(arg1
)->RightIsDown();
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17088 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17092 PyObject
* obj0
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17116 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(1)) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17144 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17155 if (SWIG_arg_fail(1)) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17172 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17183 if (SWIG_arg_fail(1)) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17200 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17211 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (arg1
)->GetPosition();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 wxPoint
* resultptr
;
17221 resultptr
= new wxPoint((wxPoint
&)(result
));
17222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17230 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17233 long *arg2
= (long *) 0 ;
17234 long *arg3
= (long *) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17245 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17248 if (SWIG_arg_fail(1)) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 (arg1
)->GetPosition(arg2
,arg3
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17257 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17258 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17259 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17260 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17267 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "dc", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17280 if (SWIG_arg_fail(1)) SWIG_fail
;
17282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17283 if (SWIG_arg_fail(2)) SWIG_fail
;
17284 if (arg2
== NULL
) {
17285 SWIG_null_ref("wxDC");
17287 if (SWIG_arg_fail(2)) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 wxPoint
* resultptr
;
17298 resultptr
= new wxPoint((wxPoint
&)(result
));
17299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17307 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_From_int((int)(result
));
17335 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17346 if (SWIG_arg_fail(1)) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= SWIG_From_int((int)(result
));
17363 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17367 PyObject
* obj0
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17374 if (SWIG_arg_fail(1)) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= SWIG_From_int((int)(result
));
17391 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "self", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17402 if (SWIG_arg_fail(1)) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_From_int((int)(result
));
17419 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17430 if (SWIG_arg_fail(1)) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_From_int((int)(result
));
17447 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17458 if (SWIG_arg_fail(1)) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17475 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "m_x", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17487 if (SWIG_arg_fail(1)) SWIG_fail
;
17489 arg2
= (int)(SWIG_As_int(obj1
));
17490 if (SWIG_arg_fail(2)) SWIG_fail
;
17492 if (arg1
) (arg1
)->m_x
= arg2
;
17494 Py_INCREF(Py_None
); resultobj
= Py_None
;
17501 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17513 result
= (int) ((arg1
)->m_x
);
17516 resultobj
= SWIG_From_int((int)(result
));
17524 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "m_y", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17536 if (SWIG_arg_fail(1)) SWIG_fail
;
17538 arg2
= (int)(SWIG_As_int(obj1
));
17539 if (SWIG_arg_fail(2)) SWIG_fail
;
17541 if (arg1
) (arg1
)->m_y
= arg2
;
17543 Py_INCREF(Py_None
); resultobj
= Py_None
;
17550 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17561 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 result
= (int) ((arg1
)->m_y
);
17565 resultobj
= SWIG_From_int((int)(result
));
17573 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "m_leftDown", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17585 if (SWIG_arg_fail(1)) SWIG_fail
;
17587 arg2
= (bool)(SWIG_As_bool(obj1
));
17588 if (SWIG_arg_fail(2)) SWIG_fail
;
17590 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17610 if (SWIG_arg_fail(1)) SWIG_fail
;
17611 result
= (bool) ((arg1
)->m_leftDown
);
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "m_middleDown", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail
;
17636 arg2
= (bool)(SWIG_As_bool(obj1
));
17637 if (SWIG_arg_fail(2)) SWIG_fail
;
17639 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 result
= (bool) ((arg1
)->m_middleDown
);
17663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17671 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "m_rightDown", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail
;
17685 arg2
= (bool)(SWIG_As_bool(obj1
));
17686 if (SWIG_arg_fail(2)) SWIG_fail
;
17688 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17690 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17709 result
= (bool) ((arg1
)->m_rightDown
);
17712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17720 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "m_controlDown", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17732 if (SWIG_arg_fail(1)) SWIG_fail
;
17734 arg2
= (bool)(SWIG_As_bool(obj1
));
17735 if (SWIG_arg_fail(2)) SWIG_fail
;
17737 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17746 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail
;
17758 result
= (bool) ((arg1
)->m_controlDown
);
17761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17769 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "m_shiftDown", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 arg2
= (bool)(SWIG_As_bool(obj1
));
17784 if (SWIG_arg_fail(2)) SWIG_fail
;
17786 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17806 if (SWIG_arg_fail(1)) SWIG_fail
;
17807 result
= (bool) ((arg1
)->m_shiftDown
);
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "m_altDown", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail
;
17832 arg2
= (bool)(SWIG_As_bool(obj1
));
17833 if (SWIG_arg_fail(2)) SWIG_fail
;
17835 if (arg1
) (arg1
)->m_altDown
= arg2
;
17837 Py_INCREF(Py_None
); resultobj
= Py_None
;
17844 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 result
= (bool) ((arg1
)->m_altDown
);
17859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17867 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "m_metaDown", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17879 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 arg2
= (bool)(SWIG_As_bool(obj1
));
17882 if (SWIG_arg_fail(2)) SWIG_fail
;
17884 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 result
= (bool) ((arg1
)->m_metaDown
);
17908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17916 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "m_wheelRotation", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17928 if (SWIG_arg_fail(1)) SWIG_fail
;
17930 arg2
= (int)(SWIG_As_int(obj1
));
17931 if (SWIG_arg_fail(2)) SWIG_fail
;
17933 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17935 Py_INCREF(Py_None
); resultobj
= Py_None
;
17942 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17953 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 result
= (int) ((arg1
)->m_wheelRotation
);
17957 resultobj
= SWIG_From_int((int)(result
));
17965 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "m_wheelDelta", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail
;
17979 arg2
= (int)(SWIG_As_int(obj1
));
17980 if (SWIG_arg_fail(2)) SWIG_fail
;
17982 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail
;
18003 result
= (int) ((arg1
)->m_wheelDelta
);
18006 resultobj
= SWIG_From_int((int)(result
));
18014 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "m_linesPerAction", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 arg2
= (int)(SWIG_As_int(obj1
));
18029 if (SWIG_arg_fail(2)) SWIG_fail
;
18031 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18033 Py_INCREF(Py_None
); resultobj
= Py_None
;
18040 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 result
= (int) ((arg1
)->m_linesPerAction
);
18055 resultobj
= SWIG_From_int((int)(result
));
18063 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18066 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18068 return Py_BuildValue((char *)"");
18070 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
;
18072 int arg1
= (int) 0 ;
18073 int arg2
= (int) 0 ;
18074 wxSetCursorEvent
*result
;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "x",(char *) "y", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18084 arg1
= (int)(SWIG_As_int(obj0
));
18085 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 arg2
= (int)(SWIG_As_int(obj1
));
18091 if (SWIG_arg_fail(2)) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18108 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_From_int((int)(result
));
18136 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_From_int((int)(result
));
18164 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18167 wxCursor
*arg2
= 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self",(char *) "cursor", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail
;
18178 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18179 if (SWIG_arg_fail(2)) SWIG_fail
;
18180 if (arg2
== NULL
) {
18181 SWIG_null_ref("wxCursor");
18183 if (SWIG_arg_fail(2)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 Py_INCREF(Py_None
); resultobj
= Py_None
;
18199 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18210 if (SWIG_arg_fail(1)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18215 result
= (wxCursor
*) &_result_ref
;
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18222 wxCursor
* resultptr
= new wxCursor(*result
);
18223 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18231 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18259 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18262 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18264 return Py_BuildValue((char *)"");
18266 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18269 wxKeyEvent
*result
;
18270 PyObject
* obj0
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "keyType", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18278 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18279 if (SWIG_arg_fail(1)) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18296 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18324 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18352 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18363 if (SWIG_arg_fail(1)) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18380 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18408 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18412 PyObject
* obj0
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18436 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18464 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_From_int((int)(result
));
18492 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_From_int((int)(result
));
18520 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18523 unsigned int result
;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18548 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18551 unsigned int result
;
18552 PyObject
* obj0
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18559 if (SWIG_arg_fail(1)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18576 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (arg1
)->GetPosition();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 wxPoint
* resultptr
;
18597 resultptr
= new wxPoint((wxPoint
&)(result
));
18598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18606 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18609 long *arg2
= (long *) 0 ;
18610 long *arg3
= (long *) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self", NULL
18620 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18621 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->GetPosition(arg2
,arg3
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18633 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18634 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18635 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18636 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18643 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18654 if (SWIG_arg_fail(1)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= SWIG_From_int((int)(result
));
18671 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18682 if (SWIG_arg_fail(1)) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= SWIG_From_int((int)(result
));
18699 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "m_x", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18711 if (SWIG_arg_fail(1)) SWIG_fail
;
18713 arg2
= (int)(SWIG_As_int(obj1
));
18714 if (SWIG_arg_fail(2)) SWIG_fail
;
18716 if (arg1
) (arg1
)->m_x
= arg2
;
18718 Py_INCREF(Py_None
); resultobj
= Py_None
;
18725 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18736 if (SWIG_arg_fail(1)) SWIG_fail
;
18737 result
= (int) ((arg1
)->m_x
);
18740 resultobj
= SWIG_From_int((int)(result
));
18748 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "m_y", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18760 if (SWIG_arg_fail(1)) SWIG_fail
;
18762 arg2
= (int)(SWIG_As_int(obj1
));
18763 if (SWIG_arg_fail(2)) SWIG_fail
;
18765 if (arg1
) (arg1
)->m_y
= arg2
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 result
= (int) ((arg1
)->m_y
);
18789 resultobj
= SWIG_From_int((int)(result
));
18797 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "m_keyCode", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail
;
18811 arg2
= (long)(SWIG_As_long(obj1
));
18812 if (SWIG_arg_fail(2)) SWIG_fail
;
18814 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18816 Py_INCREF(Py_None
); resultobj
= Py_None
;
18823 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18835 result
= (long) ((arg1
)->m_keyCode
);
18838 resultobj
= SWIG_From_long((long)(result
));
18846 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "m_controlDown", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 arg2
= (bool)(SWIG_As_bool(obj1
));
18861 if (SWIG_arg_fail(2)) SWIG_fail
;
18863 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18865 Py_INCREF(Py_None
); resultobj
= Py_None
;
18872 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18884 result
= (bool) ((arg1
)->m_controlDown
);
18887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18895 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "m_shiftDown", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 arg2
= (bool)(SWIG_As_bool(obj1
));
18910 if (SWIG_arg_fail(2)) SWIG_fail
;
18912 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail
;
18933 result
= (bool) ((arg1
)->m_shiftDown
);
18936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18944 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "m_altDown", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18956 if (SWIG_arg_fail(1)) SWIG_fail
;
18958 arg2
= (bool)(SWIG_As_bool(obj1
));
18959 if (SWIG_arg_fail(2)) SWIG_fail
;
18961 if (arg1
) (arg1
)->m_altDown
= arg2
;
18963 Py_INCREF(Py_None
); resultobj
= Py_None
;
18970 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 result
= (bool) ((arg1
)->m_altDown
);
18985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18993 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "m_metaDown", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 arg2
= (bool)(SWIG_As_bool(obj1
));
19008 if (SWIG_arg_fail(2)) SWIG_fail
;
19010 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19030 if (SWIG_arg_fail(1)) SWIG_fail
;
19031 result
= (bool) ((arg1
)->m_metaDown
);
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "m_scanCode", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19054 if (SWIG_arg_fail(1)) SWIG_fail
;
19056 arg2
= (bool)(SWIG_As_bool(obj1
));
19057 if (SWIG_arg_fail(2)) SWIG_fail
;
19059 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19080 result
= (bool) ((arg1
)->m_scanCode
);
19083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19091 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19094 unsigned int arg2
;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "m_rawCode", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19108 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19120 unsigned int result
;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19128 if (SWIG_arg_fail(1)) SWIG_fail
;
19129 result
= (unsigned int) ((arg1
)->m_rawCode
);
19132 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19140 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19143 unsigned int arg2
;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "m_rawFlags", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19154 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19155 if (SWIG_arg_fail(2)) SWIG_fail
;
19157 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19169 unsigned int result
;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19177 if (SWIG_arg_fail(1)) SWIG_fail
;
19178 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19181 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19189 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19192 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19194 return Py_BuildValue((char *)"");
19196 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19199 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19200 int arg2
= (int) 0 ;
19201 wxSizeEvent
*result
;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "sz",(char *) "winid", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19218 arg2
= (int)(SWIG_As_int(obj1
));
19219 if (SWIG_arg_fail(2)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19236 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19247 if (SWIG_arg_fail(1)) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 wxSize
* resultptr
;
19257 resultptr
= new wxSize((wxSize
&)(result
));
19258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19266 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19277 if (SWIG_arg_fail(1)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 wxRect
* resultptr
;
19287 resultptr
= new wxRect((wxRect
&)(result
));
19288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19296 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self",(char *) "rect", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19308 if (SWIG_arg_fail(1)) SWIG_fail
;
19311 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19312 if (SWIG_arg_fail(2)) SWIG_fail
;
19313 if (argp
== NULL
) {
19314 SWIG_null_ref("wxRect");
19316 if (SWIG_arg_fail(2)) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->SetRect(arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "size", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19345 if (SWIG_arg_fail(1)) SWIG_fail
;
19348 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19349 if (SWIG_arg_fail(2)) SWIG_fail
;
19350 if (argp
== NULL
) {
19351 SWIG_null_ref("wxSize");
19353 if (SWIG_arg_fail(2)) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 wxSizeEvent_SetSize(arg1
,arg2
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 Py_INCREF(Py_None
); resultobj
= Py_None
;
19370 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19373 wxSize
*arg2
= (wxSize
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "m_size", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19382 if (SWIG_arg_fail(1)) SWIG_fail
;
19383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19384 if (SWIG_arg_fail(2)) SWIG_fail
;
19385 if (arg1
) (arg1
)->m_size
= *arg2
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19406 result
= (wxSize
*)& ((arg1
)->m_size
);
19408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19415 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19418 wxRect
*arg2
= (wxRect
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "m_rect", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(1)) SWIG_fail
;
19428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19429 if (SWIG_arg_fail(2)) SWIG_fail
;
19430 if (arg1
) (arg1
)->m_rect
= *arg2
;
19432 Py_INCREF(Py_None
); resultobj
= Py_None
;
19439 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail
;
19451 result
= (wxRect
*)& ((arg1
)->m_rect
);
19453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19460 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19463 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19465 return Py_BuildValue((char *)"");
19467 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19470 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19471 int arg2
= (int) 0 ;
19472 wxMoveEvent
*result
;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "pos",(char *) "winid", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19489 arg2
= (int)(SWIG_As_int(obj1
));
19490 if (SWIG_arg_fail(2)) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19507 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19518 if (SWIG_arg_fail(1)) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19527 wxPoint
* resultptr
;
19528 resultptr
= new wxPoint((wxPoint
&)(result
));
19529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19537 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19548 if (SWIG_arg_fail(1)) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19557 wxRect
* resultptr
;
19558 resultptr
= new wxRect((wxRect
&)(result
));
19559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19567 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "rect", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19583 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 (arg1
)->SetRect((wxRect
const &)*arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 Py_INCREF(Py_None
); resultobj
= Py_None
;
19599 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19602 wxPoint
*arg2
= 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "pos", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19612 if (SWIG_arg_fail(1)) SWIG_fail
;
19615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19634 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19636 return Py_BuildValue((char *)"");
19638 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 int arg1
= (int) 0 ;
19641 wxPaintEvent
*result
;
19642 PyObject
* obj0
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "Id", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19650 arg1
= (int)(SWIG_As_int(obj0
));
19651 if (SWIG_arg_fail(1)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19668 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19671 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19673 return Py_BuildValue((char *)"");
19675 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 int arg1
= (int) 0 ;
19678 wxNcPaintEvent
*result
;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "winid", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19687 arg1
= (int)(SWIG_As_int(obj0
));
19688 if (SWIG_arg_fail(1)) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19705 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19708 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19710 return Py_BuildValue((char *)"");
19712 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 int arg1
= (int) 0 ;
19715 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19716 wxEraseEvent
*result
;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj1
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "Id",(char *) "dc", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 arg1
= (int)(SWIG_As_int(obj0
));
19727 if (SWIG_arg_fail(1)) SWIG_fail
;
19731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19732 if (SWIG_arg_fail(2)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19748 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19759 if (SWIG_arg_fail(1)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= wxPyMake_wxObject(result
, 0);
19776 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19779 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19781 return Py_BuildValue((char *)"");
19783 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19786 int arg2
= (int) 0 ;
19787 wxFocusEvent
*result
;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "type",(char *) "winid", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19797 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19798 if (SWIG_arg_fail(1)) SWIG_fail
;
19803 arg2
= (int)(SWIG_As_int(obj1
));
19804 if (SWIG_arg_fail(2)) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19821 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19832 if (SWIG_arg_fail(1)) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= wxPyMake_wxObject(result
, 0);
19849 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19852 wxWindow
*arg2
= (wxWindow
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 PyObject
* obj1
= 0 ;
19855 char *kwnames
[] = {
19856 (char *) "self",(char *) "win", NULL
19859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19861 if (SWIG_arg_fail(1)) SWIG_fail
;
19862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19863 if (SWIG_arg_fail(2)) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 (arg1
)->SetWindow(arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 Py_INCREF(Py_None
); resultobj
= Py_None
;
19878 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19881 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19883 return Py_BuildValue((char *)"");
19885 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxWindow
*arg1
= (wxWindow
*) NULL
;
19888 wxChildFocusEvent
*result
;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "win", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19913 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= wxPyMake_wxObject(result
, 0);
19941 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19944 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19946 return Py_BuildValue((char *)"");
19948 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19951 bool arg2
= (bool) true ;
19952 int arg3
= (int) 0 ;
19953 wxActivateEvent
*result
;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 PyObject
* obj2
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "type",(char *) "active",(char *) "Id", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19964 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19965 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 arg2
= (bool)(SWIG_As_bool(obj1
));
19971 if (SWIG_arg_fail(2)) SWIG_fail
;
19976 arg3
= (int)(SWIG_As_int(obj2
));
19977 if (SWIG_arg_fail(3)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19994 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19998 PyObject
* obj0
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20022 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20025 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20027 return Py_BuildValue((char *)"");
20029 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 int arg1
= (int) 0 ;
20032 wxInitDialogEvent
*result
;
20033 PyObject
* obj0
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "Id", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20041 arg1
= (int)(SWIG_As_int(obj0
));
20042 if (SWIG_arg_fail(1)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20059 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20062 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20064 return Py_BuildValue((char *)"");
20066 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20069 int arg2
= (int) 0 ;
20070 wxMenu
*arg3
= (wxMenu
*) NULL
;
20071 wxMenuEvent
*result
;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "type",(char *) "winid",(char *) "menu", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20082 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 arg2
= (int)(SWIG_As_int(obj1
));
20089 if (SWIG_arg_fail(2)) SWIG_fail
;
20093 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20094 if (SWIG_arg_fail(3)) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20110 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "self", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20121 if (SWIG_arg_fail(1)) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_From_int((int)(result
));
20138 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
;
20140 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20149 if (SWIG_arg_fail(1)) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20166 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20177 if (SWIG_arg_fail(1)) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= wxPyMake_wxObject(result
, 0);
20194 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20197 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20199 return Py_BuildValue((char *)"");
20201 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20204 int arg2
= (int) 0 ;
20205 wxCloseEvent
*result
;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "type",(char *) "winid", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20215 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20216 if (SWIG_arg_fail(1)) SWIG_fail
;
20221 arg2
= (int)(SWIG_As_int(obj1
));
20222 if (SWIG_arg_fail(2)) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20239 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "logOff", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20251 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 arg2
= (bool)(SWIG_As_bool(obj1
));
20254 if (SWIG_arg_fail(2)) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->SetLoggingOff(arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 Py_INCREF(Py_None
); resultobj
= Py_None
;
20270 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20281 if (SWIG_arg_fail(1)) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20298 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20301 bool arg2
= (bool) true ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self",(char *) "veto", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20310 if (SWIG_arg_fail(1)) SWIG_fail
;
20313 arg2
= (bool)(SWIG_As_bool(obj1
));
20314 if (SWIG_arg_fail(2)) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 (arg1
)->Veto(arg2
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "canVeto", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
20346 if (SWIG_arg_fail(2)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 (arg1
)->SetCanVeto(arg2
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20373 if (SWIG_arg_fail(1)) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20390 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20401 if (SWIG_arg_fail(1)) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20421 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20423 return Py_BuildValue((char *)"");
20425 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 int arg1
= (int) 0 ;
20428 bool arg2
= (bool) false ;
20429 wxShowEvent
*result
;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "winid",(char *) "show", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20439 arg1
= (int)(SWIG_As_int(obj0
));
20440 if (SWIG_arg_fail(1)) SWIG_fail
;
20445 arg2
= (bool)(SWIG_As_bool(obj1
));
20446 if (SWIG_arg_fail(2)) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20463 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self",(char *) "show", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20475 if (SWIG_arg_fail(1)) SWIG_fail
;
20477 arg2
= (bool)(SWIG_As_bool(obj1
));
20478 if (SWIG_arg_fail(2)) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->SetShow(arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20505 if (SWIG_arg_fail(1)) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20522 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20525 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20527 return Py_BuildValue((char *)"");
20529 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 int arg1
= (int) 0 ;
20532 bool arg2
= (bool) true ;
20533 wxIconizeEvent
*result
;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "id",(char *) "iconized", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20543 arg1
= (int)(SWIG_As_int(obj0
));
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20549 arg2
= (bool)(SWIG_As_bool(obj1
));
20550 if (SWIG_arg_fail(2)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20567 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20578 if (SWIG_arg_fail(1)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (bool)(arg1
)->Iconized();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20595 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20598 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20600 return Py_BuildValue((char *)"");
20602 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 int arg1
= (int) 0 ;
20605 wxMaximizeEvent
*result
;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "id", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20614 arg1
= (int)(SWIG_As_int(obj0
));
20615 if (SWIG_arg_fail(1)) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20632 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20635 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20637 return Py_BuildValue((char *)"");
20639 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (arg1
)->GetPosition();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20659 wxPoint
* resultptr
;
20660 resultptr
= new wxPoint((wxPoint
&)(result
));
20661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20669 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20680 if (SWIG_arg_fail(1)) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (int)(arg1
)->GetNumberOfFiles();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_From_int((int)(result
));
20697 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= result
;
20723 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20726 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20728 return Py_BuildValue((char *)"");
20730 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 int arg1
= (int) 0 ;
20733 wxUpdateUIEvent
*result
;
20734 PyObject
* obj0
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "commandId", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20742 arg1
= (int)(SWIG_As_int(obj0
));
20743 if (SWIG_arg_fail(1)) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20760 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 char *kwnames
[] = {
20766 (char *) "self", NULL
20769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20771 if (SWIG_arg_fail(1)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20788 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20816 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20848 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20859 if (SWIG_arg_fail(1)) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20876 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20887 if (SWIG_arg_fail(1)) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20904 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20932 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
;
20934 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self",(char *) "check", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20944 if (SWIG_arg_fail(1)) SWIG_fail
;
20946 arg2
= (bool)(SWIG_As_bool(obj1
));
20947 if (SWIG_arg_fail(2)) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 (arg1
)->Check(arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 Py_INCREF(Py_None
); resultobj
= Py_None
;
20963 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self",(char *) "enable", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail
;
20977 arg2
= (bool)(SWIG_As_bool(obj1
));
20978 if (SWIG_arg_fail(2)) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 (arg1
)->Enable(arg2
);
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20997 wxString
*arg2
= 0 ;
20998 bool temp2
= false ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "text", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 arg2
= wxString_in_helper(obj1
);
21010 if (arg2
== NULL
) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 (arg1
)->SetText((wxString
const &)*arg2
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 Py_INCREF(Py_None
); resultobj
= Py_None
;
21035 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21038 PyObject
* obj0
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "updateInterval", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21045 arg1
= (long)(SWIG_As_long(obj0
));
21046 if (SWIG_arg_fail(1)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 Py_INCREF(Py_None
); resultobj
= Py_None
;
21062 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21065 char *kwnames
[] = {
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= SWIG_From_long((long)(result
));
21086 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21088 wxWindow
*arg1
= (wxWindow
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "win", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21097 if (SWIG_arg_fail(1)) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21114 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 char *kwnames
[] = {
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 wxUpdateUIEvent::ResetUpdateTime();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 Py_INCREF(Py_None
); resultobj
= Py_None
;
21135 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxUpdateUIMode arg1
;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "mode", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21145 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21146 if (SWIG_arg_fail(1)) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxUpdateUIMode result
;
21165 char *kwnames
[] = {
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_From_int((result
));
21184 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21187 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21189 return Py_BuildValue((char *)"");
21191 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxSysColourChangedEvent
*result
;
21194 char *kwnames
[] = {
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21213 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21216 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21218 return Py_BuildValue((char *)"");
21220 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 int arg1
= (int) 0 ;
21223 wxWindow
*arg2
= (wxWindow
*) NULL
;
21224 wxMouseCaptureChangedEvent
*result
;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "winid",(char *) "gainedCapture", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21234 arg1
= (int)(SWIG_As_int(obj0
));
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21240 if (SWIG_arg_fail(2)) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21256 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21267 if (SWIG_arg_fail(1)) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= wxPyMake_wxObject(result
, 0);
21284 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21287 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21289 return Py_BuildValue((char *)"");
21291 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxDisplayChangedEvent
*result
;
21294 char *kwnames
[] = {
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21313 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21316 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21318 return Py_BuildValue((char *)"");
21320 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 int arg1
= (int) 0 ;
21323 wxPaletteChangedEvent
*result
;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "id", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21332 arg1
= (int)(SWIG_As_int(obj0
));
21333 if (SWIG_arg_fail(1)) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21350 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21353 wxWindow
*arg2
= (wxWindow
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "win", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21364 if (SWIG_arg_fail(2)) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 (arg1
)->SetChangedWindow(arg2
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 Py_INCREF(Py_None
); resultobj
= Py_None
;
21379 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21383 PyObject
* obj0
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= wxPyMake_wxObject(result
, 0);
21407 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21410 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21412 return Py_BuildValue((char *)"");
21414 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 int arg1
= (int) 0 ;
21417 wxQueryNewPaletteEvent
*result
;
21418 PyObject
* obj0
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "winid", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21426 arg1
= (int)(SWIG_As_int(obj0
));
21427 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21444 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "realized", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 arg2
= (bool)(SWIG_As_bool(obj1
));
21459 if (SWIG_arg_fail(2)) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 (arg1
)->SetPaletteRealized(arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 Py_INCREF(Py_None
); resultobj
= Py_None
;
21475 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21479 PyObject
* obj0
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "self", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21503 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21506 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21508 return Py_BuildValue((char *)"");
21510 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxNavigationKeyEvent
*result
;
21513 char *kwnames
[] = {
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21532 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21560 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "forward", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail
;
21574 arg2
= (bool)(SWIG_As_bool(obj1
));
21575 if (SWIG_arg_fail(2)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 (arg1
)->SetDirection(arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21591 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21619 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "ischange", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21631 if (SWIG_arg_fail(1)) SWIG_fail
;
21633 arg2
= (bool)(SWIG_As_bool(obj1
));
21634 if (SWIG_arg_fail(2)) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 (arg1
)->SetWindowChange(arg2
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 Py_INCREF(Py_None
); resultobj
= Py_None
;
21650 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21678 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "bIs", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail
;
21692 arg2
= (bool)(SWIG_As_bool(obj1
));
21693 if (SWIG_arg_fail(2)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->SetFromTab(arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "flags", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail
;
21723 arg2
= (long)(SWIG_As_long(obj1
));
21724 if (SWIG_arg_fail(2)) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 (arg1
)->SetFlags(arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 Py_INCREF(Py_None
); resultobj
= Py_None
;
21740 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21744 PyObject
* obj0
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21751 if (SWIG_arg_fail(1)) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= wxPyMake_wxObject(result
, 0);
21768 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
;
21770 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21771 wxWindow
*arg2
= (wxWindow
*) 0 ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self",(char *) "win", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail
;
21781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21782 if (SWIG_arg_fail(2)) SWIG_fail
;
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 (arg1
)->SetCurrentFocus(arg2
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 Py_INCREF(Py_None
); resultobj
= Py_None
;
21797 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21800 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21802 return Py_BuildValue((char *)"");
21804 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxWindow
*arg1
= (wxWindow
*) NULL
;
21807 wxWindowCreateEvent
*result
;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "win", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21832 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21843 if (SWIG_arg_fail(1)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= wxPyMake_wxObject(result
, 0);
21860 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21863 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21865 return Py_BuildValue((char *)"");
21867 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxWindow
*arg1
= (wxWindow
*) NULL
;
21870 wxWindowDestroyEvent
*result
;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "win", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21895 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21899 PyObject
* obj0
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21906 if (SWIG_arg_fail(1)) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= wxPyMake_wxObject(result
, 0);
21923 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21926 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21928 return Py_BuildValue((char *)"");
21930 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21933 int arg2
= (int) 0 ;
21934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21936 wxContextMenuEvent
*result
;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 PyObject
* obj2
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "type",(char *) "winid",(char *) "pt", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21948 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21949 if (SWIG_arg_fail(1)) SWIG_fail
;
21954 arg2
= (int)(SWIG_As_int(obj1
));
21955 if (SWIG_arg_fail(2)) SWIG_fail
;
21961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21978 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21989 if (SWIG_arg_fail(1)) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21994 result
= (wxPoint
*) &_result_ref
;
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22007 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22010 wxPoint
*arg2
= 0 ;
22012 PyObject
* obj0
= 0 ;
22013 PyObject
* obj1
= 0 ;
22014 char *kwnames
[] = {
22015 (char *) "self",(char *) "pos", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22020 if (SWIG_arg_fail(1)) SWIG_fail
;
22023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 Py_INCREF(Py_None
); resultobj
= Py_None
;
22039 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22042 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22044 return Py_BuildValue((char *)"");
22046 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxIdleEvent
*result
;
22049 char *kwnames
[] = {
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (wxIdleEvent
*)new wxIdleEvent();
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22068 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22071 bool arg2
= (bool) true ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "needMore", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22080 if (SWIG_arg_fail(1)) SWIG_fail
;
22083 arg2
= (bool)(SWIG_As_bool(obj1
));
22084 if (SWIG_arg_fail(2)) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->RequestMore(arg2
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22101 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22129 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22132 PyObject
* obj0
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "mode", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22139 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22140 if (SWIG_arg_fail(1)) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 Py_INCREF(Py_None
); resultobj
= Py_None
;
22156 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22159 char *kwnames
[] = {
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_From_int((result
));
22178 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxWindow
*arg1
= (wxWindow
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "win", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22189 if (SWIG_arg_fail(1)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (bool)wxIdleEvent::CanSend(arg1
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22206 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22209 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22211 return Py_BuildValue((char *)"");
22213 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 int arg1
= (int) 0 ;
22216 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "winid",(char *) "commandType", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22227 arg1
= (int)(SWIG_As_int(obj0
));
22228 if (SWIG_arg_fail(1)) SWIG_fail
;
22233 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22234 if (SWIG_arg_fail(2)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22251 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22261 if (SWIG_arg_fail(1)) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 Py_INCREF(Py_None
); resultobj
= Py_None
;
22276 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22279 PyObject
*arg2
= (PyObject
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self",(char *) "self", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 (arg1
)->SetSelf(arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 Py_INCREF(Py_None
); resultobj
= Py_None
;
22304 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (PyObject
*)(arg1
)->GetSelf();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= result
;
22330 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22333 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22335 return Py_BuildValue((char *)"");
22337 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22340 int arg2
= (int) 0 ;
22341 wxPyCommandEvent
*result
;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "commandType",(char *) "id", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22351 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 arg2
= (int)(SWIG_As_int(obj1
));
22358 if (SWIG_arg_fail(2)) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22375 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
;
22377 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22403 PyObject
*arg2
= (PyObject
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "self", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 (arg1
)->SetSelf(arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 Py_INCREF(Py_None
); resultobj
= Py_None
;
22428 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22439 if (SWIG_arg_fail(1)) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (PyObject
*)(arg1
)->GetSelf();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= result
;
22454 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22457 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22459 return Py_BuildValue((char *)"");
22461 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxWindow
*arg1
= (wxWindow
*) 0 ;
22464 wxDateTime
*arg2
= 0 ;
22466 wxDateEvent
*result
;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 PyObject
* obj2
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "win",(char *) "dt",(char *) "type", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22479 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 if (arg2
== NULL
) {
22481 SWIG_null_ref("wxDateTime");
22483 if (SWIG_arg_fail(2)) SWIG_fail
;
22486 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22487 if (SWIG_arg_fail(3)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22503 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22506 wxDateTime
*result
;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22519 result
= (wxDateTime
*) &_result_ref
;
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22532 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22535 wxDateTime
*arg2
= 0 ;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self",(char *) "date", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22544 if (SWIG_arg_fail(1)) SWIG_fail
;
22546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(2)) SWIG_fail
;
22548 if (arg2
== NULL
) {
22549 SWIG_null_ref("wxDateTime");
22551 if (SWIG_arg_fail(2)) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22570 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22572 return Py_BuildValue((char *)"");
22574 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22577 char *kwnames
[] = {
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= (wxPyApp
*)new_wxPyApp();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22596 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22606 if (SWIG_arg_fail(1)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22624 PyObject
*arg2
= (PyObject
*) 0 ;
22625 PyObject
*arg3
= (PyObject
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 PyObject
* obj2
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "self",(char *) "_class", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22635 if (SWIG_arg_fail(1)) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22684 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22687 wxString
*arg2
= 0 ;
22688 bool temp2
= false ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self",(char *) "name", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22697 if (SWIG_arg_fail(1)) SWIG_fail
;
22699 arg2
= wxString_in_helper(obj1
);
22700 if (arg2
== NULL
) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->SetAppName((wxString
const &)*arg2
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22757 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22760 wxString
*arg2
= 0 ;
22761 bool temp2
= false ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self",(char *) "name", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22770 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 arg2
= wxString_in_helper(obj1
);
22773 if (arg2
== NULL
) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->SetClassName((wxString
const &)*arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 Py_INCREF(Py_None
); resultobj
= Py_None
;
22798 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22809 if (SWIG_arg_fail(1)) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22814 result
= (wxString
*) &_result_ref
;
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22824 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22833 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22836 wxString
*arg2
= 0 ;
22837 bool temp2
= false ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self",(char *) "name", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail
;
22848 arg2
= wxString_in_helper(obj1
);
22849 if (arg2
== NULL
) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22874 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22877 wxAppTraits
*result
;
22878 PyObject
* obj0
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22885 if (SWIG_arg_fail(1)) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22900 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->ProcessPendingEvents();
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 Py_INCREF(Py_None
); resultobj
= Py_None
;
22925 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22928 bool arg2
= (bool) false ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self",(char *) "onlyIfNeeded", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail
;
22941 arg2
= (bool)(SWIG_As_bool(obj1
));
22942 if (SWIG_arg_fail(2)) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= (bool)(arg1
)->Yield(arg2
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22961 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->WakeUpIdle();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 Py_INCREF(Py_None
); resultobj
= Py_None
;
22986 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22989 char *kwnames
[] = {
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (bool)wxPyApp::IsMainLoopRunning();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23010 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (int)(arg1
)->MainLoop();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_From_int((int)(result
));
23038 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23048 if (SWIG_arg_fail(1)) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->ExitMainLoop();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23099 if (SWIG_arg_fail(1)) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (bool)(arg1
)->Pending();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23116 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (bool)(arg1
)->Dispatch();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23144 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (bool)(arg1
)->ProcessIdle();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23172 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23175 wxWindow
*arg2
= (wxWindow
*) 0 ;
23176 wxIdleEvent
*arg3
= 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 PyObject
* obj2
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "win",(char *) "event", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(1)) SWIG_fail
;
23188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23189 if (SWIG_arg_fail(2)) SWIG_fail
;
23191 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23192 if (SWIG_arg_fail(3)) SWIG_fail
;
23193 if (arg3
== NULL
) {
23194 SWIG_null_ref("wxIdleEvent");
23196 if (SWIG_arg_fail(3)) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23214 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23242 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23245 wxWindow
*arg2
= (wxWindow
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self",(char *) "win", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23254 if (SWIG_arg_fail(1)) SWIG_fail
;
23255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23256 if (SWIG_arg_fail(2)) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 (arg1
)->SetTopWindow(arg2
);
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 Py_INCREF(Py_None
); resultobj
= Py_None
;
23271 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23275 PyObject
* obj0
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23282 if (SWIG_arg_fail(1)) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= wxPyMake_wxObject(result
, 0);
23299 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "flag", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23313 arg2
= (bool)(SWIG_As_bool(obj1
));
23314 if (SWIG_arg_fail(2)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->SetExitOnFrameDelete(arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23358 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "flag", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23370 if (SWIG_arg_fail(1)) SWIG_fail
;
23372 arg2
= (bool)(SWIG_As_bool(obj1
));
23373 if (SWIG_arg_fail(2)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 (arg1
)->SetUseBestVisual(arg2
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23417 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self",(char *) "mode", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23429 if (SWIG_arg_fail(1)) SWIG_fail
;
23431 arg2
= (int)(SWIG_As_int(obj1
));
23432 if (SWIG_arg_fail(2)) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 (arg1
)->SetPrintMode(arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 Py_INCREF(Py_None
); resultobj
= Py_None
;
23448 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_From_int((int)(result
));
23476 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self",(char *) "mode", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail
;
23490 arg2
= (int)(SWIG_As_int(obj1
));
23491 if (SWIG_arg_fail(2)) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 (arg1
)->SetAssertMode(arg2
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 Py_INCREF(Py_None
); resultobj
= Py_None
;
23507 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (int)(arg1
)->GetAssertMode();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_From_int((int)(result
));
23535 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23538 char *kwnames
[] = {
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23559 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23562 char *kwnames
[] = {
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= SWIG_From_long((long)(result
));
23583 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23586 char *kwnames
[] = {
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_long((long)(result
));
23607 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23610 char *kwnames
[] = {
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (long)wxPyApp::GetMacExitMenuItemId();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_From_long((long)(result
));
23631 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23634 char *kwnames
[] = {
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= wxPyApp::GetMacHelpMenuTitleName();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23659 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "val", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23669 arg1
= (bool)(SWIG_As_bool(obj0
));
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 Py_INCREF(Py_None
); resultobj
= Py_None
;
23686 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23689 PyObject
* obj0
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "val", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23696 arg1
= (long)(SWIG_As_long(obj0
));
23697 if (SWIG_arg_fail(1)) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 wxPyApp::SetMacAboutMenuItemId(arg1
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 Py_INCREF(Py_None
); resultobj
= Py_None
;
23713 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23716 PyObject
* obj0
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "val", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23723 arg1
= (long)(SWIG_As_long(obj0
));
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 Py_INCREF(Py_None
); resultobj
= Py_None
;
23740 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23743 PyObject
* obj0
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "val", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23750 arg1
= (long)(SWIG_As_long(obj0
));
23751 if (SWIG_arg_fail(1)) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 wxPyApp::SetMacExitMenuItemId(arg1
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 Py_INCREF(Py_None
); resultobj
= Py_None
;
23767 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxString
*arg1
= 0 ;
23770 bool temp1
= false ;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "val", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23778 arg1
= wxString_in_helper(obj0
);
23779 if (arg1
== NULL
) SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 Py_INCREF(Py_None
); resultobj
= Py_None
;
23804 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23814 if (SWIG_arg_fail(1)) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->_BootstrapApp();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 Py_INCREF(Py_None
); resultobj
= Py_None
;
23829 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23832 char *kwnames
[] = {
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)PyApp_GetComCtl32Version();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_From_int((int)(result
));
23853 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23856 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23858 return Py_BuildValue((char *)"");
23860 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 char *kwnames
[] = {
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 Py_INCREF(Py_None
); resultobj
= Py_None
;
23881 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23884 char *kwnames
[] = {
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (bool)wxYield();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23908 char *kwnames
[] = {
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (bool)wxYieldIfNeeded();
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23929 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxWindow
*arg1
= (wxWindow
*) NULL
;
23932 bool arg2
= (bool) false ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "win",(char *) "onlyIfNeeded", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23943 if (SWIG_arg_fail(1)) SWIG_fail
;
23947 arg2
= (bool)(SWIG_As_bool(obj1
));
23948 if (SWIG_arg_fail(2)) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (bool)wxSafeYield(arg1
,arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23967 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 char *kwnames
[] = {
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 Py_INCREF(Py_None
); resultobj
= Py_None
;
23988 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23991 wxEvent
*arg2
= 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "dest",(char *) "event", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail
;
24002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24004 if (arg2
== NULL
) {
24005 SWIG_null_ref("wxEvent");
24007 if (SWIG_arg_fail(2)) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 wxPostEvent(arg1
,*arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 char *kwnames
[] = {
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 Py_INCREF(Py_None
); resultobj
= Py_None
;
24044 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24047 char *kwnames
[] = {
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (wxPyApp
*)wxPyGetApp();
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= wxPyMake_wxObject(result
, 0);
24068 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 char *arg1
= (char *) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "encoding", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24077 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24078 SWIG_arg_fail(1);SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 wxSetDefaultPyEncoding((char const *)arg1
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 Py_INCREF(Py_None
); resultobj
= Py_None
;
24094 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24097 char *kwnames
[] = {
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (char *)wxGetDefaultPyEncoding();
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= SWIG_FromCharPtr(result
);
24116 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxEventLoop
*result
;
24119 char *kwnames
[] = {
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxEventLoop
*)new wxEventLoop();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24138 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24148 if (SWIG_arg_fail(1)) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 Py_INCREF(Py_None
); resultobj
= Py_None
;
24163 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24174 if (SWIG_arg_fail(1)) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (int)(arg1
)->Run();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_From_int((int)(result
));
24191 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24194 int arg2
= (int) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "rc", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(1)) SWIG_fail
;
24206 arg2
= (int)(SWIG_As_int(obj1
));
24207 if (SWIG_arg_fail(2)) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 (arg1
)->Exit(arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 Py_INCREF(Py_None
); resultobj
= Py_None
;
24224 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24235 if (SWIG_arg_fail(1)) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24252 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24263 if (SWIG_arg_fail(1)) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (bool)(arg1
)->Dispatch();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24280 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24291 if (SWIG_arg_fail(1)) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24308 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxEventLoop
*result
;
24311 char *kwnames
[] = {
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24330 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "loop", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24340 if (SWIG_arg_fail(1)) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 wxEventLoop::SetActive(arg1
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24358 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24360 return Py_BuildValue((char *)"");
24362 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 int arg1
= (int) 0 ;
24365 int arg2
= (int) 0 ;
24366 int arg3
= (int) 0 ;
24367 wxAcceleratorEntry
*result
;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 PyObject
* obj2
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24378 arg1
= (int)(SWIG_As_int(obj0
));
24379 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 arg2
= (int)(SWIG_As_int(obj1
));
24385 if (SWIG_arg_fail(2)) SWIG_fail
;
24390 arg3
= (int)(SWIG_As_int(obj2
));
24391 if (SWIG_arg_fail(3)) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24408 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 PyObject
* obj2
= 0 ;
24442 PyObject
* obj3
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24449 if (SWIG_arg_fail(1)) SWIG_fail
;
24451 arg2
= (int)(SWIG_As_int(obj1
));
24452 if (SWIG_arg_fail(2)) SWIG_fail
;
24455 arg3
= (int)(SWIG_As_int(obj2
));
24456 if (SWIG_arg_fail(3)) SWIG_fail
;
24459 arg4
= (int)(SWIG_As_int(obj3
));
24460 if (SWIG_arg_fail(4)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 (arg1
)->Set(arg2
,arg3
,arg4
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 Py_INCREF(Py_None
); resultobj
= Py_None
;
24476 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24487 if (SWIG_arg_fail(1)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (int)(arg1
)->GetFlags();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_From_int((int)(result
));
24504 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
;
24506 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (int)(arg1
)->GetKeyCode();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_From_int((int)(result
));
24532 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24534 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24543 if (SWIG_arg_fail(1)) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (int)(arg1
)->GetCommand();
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_From_int((int)(result
));
24560 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24563 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24565 return Py_BuildValue((char *)"");
24567 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24570 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24571 wxAcceleratorTable
*result
;
24572 PyObject
* obj0
= 0 ;
24573 char *kwnames
[] = {
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24579 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24580 if (arg2
) arg1
= PyList_Size(obj0
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24603 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 Py_INCREF(Py_None
); resultobj
= Py_None
;
24628 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24639 if (SWIG_arg_fail(1)) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24659 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24661 return Py_BuildValue((char *)"");
24663 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24664 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24669 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24672 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24677 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxString
*arg1
= 0 ;
24680 wxAcceleratorEntry
*result
;
24681 bool temp1
= false ;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "label", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24689 arg1
= wxString_in_helper(obj0
);
24690 if (arg1
== NULL
) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24715 static int _wrap_PanelNameStr_set(PyObject
*) {
24716 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24721 static PyObject
*_wrap_PanelNameStr_get(void) {
24726 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24728 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24735 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxVisualAttributes
*result
;
24738 char *kwnames
[] = {
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24757 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 delete_wxVisualAttributes(arg1
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 Py_INCREF(Py_None
); resultobj
= Py_None
;
24782 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
;
24784 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24785 wxFont
*arg2
= (wxFont
*) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 char *kwnames
[] = {
24789 (char *) "self",(char *) "font", NULL
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24794 if (SWIG_arg_fail(1)) SWIG_fail
;
24795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24796 if (SWIG_arg_fail(2)) SWIG_fail
;
24797 if (arg1
) (arg1
)->font
= *arg2
;
24799 Py_INCREF(Py_None
); resultobj
= Py_None
;
24806 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24817 if (SWIG_arg_fail(1)) SWIG_fail
;
24818 result
= (wxFont
*)& ((arg1
)->font
);
24820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24827 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24830 wxColour
*arg2
= (wxColour
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "colFg", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail
;
24840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(2)) SWIG_fail
;
24842 if (arg1
) (arg1
)->colFg
= *arg2
;
24844 Py_INCREF(Py_None
); resultobj
= Py_None
;
24851 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) 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 result
= (wxColour
*)& ((arg1
)->colFg
);
24865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24872 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24874 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24875 wxColour
*arg2
= (wxColour
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 PyObject
* obj1
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self",(char *) "colBg", NULL
24882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail
;
24885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24886 if (SWIG_arg_fail(2)) SWIG_fail
;
24887 if (arg1
) (arg1
)->colBg
= *arg2
;
24889 Py_INCREF(Py_None
); resultobj
= Py_None
;
24896 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) 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 result
= (wxColour
*)& ((arg1
)->colBg
);
24910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24917 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24920 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24922 return Py_BuildValue((char *)"");
24924 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxWindow
*arg1
= (wxWindow
*) 0 ;
24927 int arg2
= (int) (int)-1 ;
24928 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24929 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24930 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24931 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24932 long arg5
= (long) 0 ;
24933 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24934 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24938 bool temp6
= false ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 PyObject
* obj2
= 0 ;
24942 PyObject
* obj3
= 0 ;
24943 PyObject
* obj4
= 0 ;
24944 PyObject
* obj5
= 0 ;
24945 char *kwnames
[] = {
24946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail
;
24954 arg2
= (int const)(SWIG_As_int(obj1
));
24955 if (SWIG_arg_fail(2)) SWIG_fail
;
24961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24967 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24972 arg5
= (long)(SWIG_As_long(obj4
));
24973 if (SWIG_arg_fail(5)) SWIG_fail
;
24978 arg6
= wxString_in_helper(obj5
);
24979 if (arg6
== NULL
) SWIG_fail
;
24984 if (!wxPyCheckForApp()) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25006 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25009 char *kwnames
[] = {
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25015 if (!wxPyCheckForApp()) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (wxWindow
*)new wxWindow();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25029 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxWindow
*arg1
= (wxWindow
*) 0 ;
25032 wxWindow
*arg2
= (wxWindow
*) 0 ;
25033 int arg3
= (int) (int)-1 ;
25034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25038 long arg6
= (long) 0 ;
25039 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25040 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25044 bool temp7
= false ;
25045 PyObject
* obj0
= 0 ;
25046 PyObject
* obj1
= 0 ;
25047 PyObject
* obj2
= 0 ;
25048 PyObject
* obj3
= 0 ;
25049 PyObject
* obj4
= 0 ;
25050 PyObject
* obj5
= 0 ;
25051 PyObject
* obj6
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25058 if (SWIG_arg_fail(1)) SWIG_fail
;
25059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25060 if (SWIG_arg_fail(2)) SWIG_fail
;
25063 arg3
= (int const)(SWIG_As_int(obj2
));
25064 if (SWIG_arg_fail(3)) SWIG_fail
;
25070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25081 arg6
= (long)(SWIG_As_long(obj5
));
25082 if (SWIG_arg_fail(6)) SWIG_fail
;
25087 arg7
= wxString_in_helper(obj6
);
25088 if (arg7
== NULL
) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25116 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxWindow
*arg1
= (wxWindow
*) 0 ;
25119 bool arg2
= (bool) false ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self",(char *) "force", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25129 if (SWIG_arg_fail(1)) SWIG_fail
;
25132 arg2
= (bool)(SWIG_As_bool(obj1
));
25133 if (SWIG_arg_fail(2)) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (bool)(arg1
)->Close(arg2
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25152 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25154 wxWindow
*arg1
= (wxWindow
*) 0 ;
25156 PyObject
* obj0
= 0 ;
25157 char *kwnames
[] = {
25158 (char *) "self", NULL
25161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25163 if (SWIG_arg_fail(1)) SWIG_fail
;
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= (bool)(arg1
)->Destroy();
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25180 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
;
25182 wxWindow
*arg1
= (wxWindow
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 char *kwnames
[] = {
25186 (char *) "self", NULL
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (bool)(arg1
)->DestroyChildren();
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25208 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxWindow
*arg1
= (wxWindow
*) 0 ;
25212 PyObject
* obj0
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25219 if (SWIG_arg_fail(1)) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25236 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
;
25238 wxWindow
*arg1
= (wxWindow
*) 0 ;
25239 wxString
*arg2
= 0 ;
25240 bool temp2
= false ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self",(char *) "title", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail
;
25251 arg2
= wxString_in_helper(obj1
);
25252 if (arg2
== NULL
) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 (arg1
)->SetTitle((wxString
const &)*arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 Py_INCREF(Py_None
); resultobj
= Py_None
;
25277 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxWindow
*arg1
= (wxWindow
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25288 if (SWIG_arg_fail(1)) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= ((wxWindow
const *)arg1
)->GetTitle();
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25309 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
;
25311 wxWindow
*arg1
= (wxWindow
*) 0 ;
25312 wxString
*arg2
= 0 ;
25313 bool temp2
= false ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "label", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25322 if (SWIG_arg_fail(1)) SWIG_fail
;
25324 arg2
= wxString_in_helper(obj1
);
25325 if (arg2
== NULL
) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->SetLabel((wxString
const &)*arg2
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 Py_INCREF(Py_None
); resultobj
= Py_None
;
25350 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
;
25352 wxWindow
*arg1
= (wxWindow
*) 0 ;
25354 PyObject
* obj0
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25361 if (SWIG_arg_fail(1)) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= ((wxWindow
const *)arg1
)->GetLabel();
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25382 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxWindow
*arg1
= (wxWindow
*) 0 ;
25385 wxString
*arg2
= 0 ;
25386 bool temp2
= false ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char *kwnames
[] = {
25390 (char *) "self",(char *) "name", NULL
25393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25395 if (SWIG_arg_fail(1)) SWIG_fail
;
25397 arg2
= wxString_in_helper(obj1
);
25398 if (arg2
== NULL
) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->SetName((wxString
const &)*arg2
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 Py_INCREF(Py_None
); resultobj
= Py_None
;
25423 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxWindow
*arg1
= (wxWindow
*) 0 ;
25427 PyObject
* obj0
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25434 if (SWIG_arg_fail(1)) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 result
= ((wxWindow
const *)arg1
)->GetName();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25455 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxWindow
*arg1
= (wxWindow
*) 0 ;
25458 wxWindowVariant arg2
;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self",(char *) "variant", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25467 if (SWIG_arg_fail(1)) SWIG_fail
;
25469 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25470 if (SWIG_arg_fail(2)) SWIG_fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 Py_INCREF(Py_None
); resultobj
= Py_None
;
25486 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxWindow
*arg1
= (wxWindow
*) 0 ;
25489 wxWindowVariant result
;
25490 PyObject
* obj0
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25497 if (SWIG_arg_fail(1)) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_From_int((result
));
25512 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxWindow
*arg1
= (wxWindow
*) 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "winid", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail
;
25526 arg2
= (int)(SWIG_As_int(obj1
));
25527 if (SWIG_arg_fail(2)) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 (arg1
)->SetId(arg2
);
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 Py_INCREF(Py_None
); resultobj
= Py_None
;
25543 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
;
25545 wxWindow
*arg1
= (wxWindow
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= (int)((wxWindow
const *)arg1
)->GetId();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_From_int((int)(result
));
25571 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25574 char *kwnames
[] = {
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 result
= (int)wxWindow::NewControlId();
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_From_int((int)(result
));
25595 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25599 PyObject
* obj0
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "winid", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25606 arg1
= (int)(SWIG_As_int(obj0
));
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= (int)wxWindow::NextControlId(arg1
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= SWIG_From_int((int)(result
));
25625 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25629 PyObject
* obj0
= 0 ;
25630 char *kwnames
[] = {
25631 (char *) "winid", NULL
25634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25636 arg1
= (int)(SWIG_As_int(obj0
));
25637 if (SWIG_arg_fail(1)) SWIG_fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (int)wxWindow::PrevControlId(arg1
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_From_int((int)(result
));
25655 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxWindow
*arg1
= (wxWindow
*) 0 ;
25660 PyObject
* obj0
= 0 ;
25661 PyObject
* obj1
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self",(char *) "size", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail
;
25671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 (arg1
)->SetSize((wxSize
const &)*arg2
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25694 int arg6
= (int) wxSIZE_AUTO
;
25695 PyObject
* obj0
= 0 ;
25696 PyObject
* obj1
= 0 ;
25697 PyObject
* obj2
= 0 ;
25698 PyObject
* obj3
= 0 ;
25699 PyObject
* obj4
= 0 ;
25700 PyObject
* obj5
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25707 if (SWIG_arg_fail(1)) SWIG_fail
;
25709 arg2
= (int)(SWIG_As_int(obj1
));
25710 if (SWIG_arg_fail(2)) SWIG_fail
;
25713 arg3
= (int)(SWIG_As_int(obj2
));
25714 if (SWIG_arg_fail(3)) SWIG_fail
;
25717 arg4
= (int)(SWIG_As_int(obj3
));
25718 if (SWIG_arg_fail(4)) SWIG_fail
;
25721 arg5
= (int)(SWIG_As_int(obj4
));
25722 if (SWIG_arg_fail(5)) SWIG_fail
;
25726 arg6
= (int)(SWIG_As_int(obj5
));
25727 if (SWIG_arg_fail(6)) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxWindow
*arg1
= (wxWindow
*) 0 ;
25748 int arg3
= (int) wxSIZE_AUTO
;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25759 if (SWIG_arg_fail(1)) SWIG_fail
;
25762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25766 arg3
= (int)(SWIG_As_int(obj2
));
25767 if (SWIG_arg_fail(3)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 Py_INCREF(Py_None
); resultobj
= Py_None
;
25784 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxWindow
*arg1
= (wxWindow
*) 0 ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 PyObject
* obj2
= 0 ;
25792 char *kwnames
[] = {
25793 (char *) "self",(char *) "width",(char *) "height", NULL
25796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25798 if (SWIG_arg_fail(1)) SWIG_fail
;
25800 arg2
= (int)(SWIG_As_int(obj1
));
25801 if (SWIG_arg_fail(2)) SWIG_fail
;
25804 arg3
= (int)(SWIG_As_int(obj2
));
25805 if (SWIG_arg_fail(3)) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 (arg1
)->SetSize(arg2
,arg3
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 Py_INCREF(Py_None
); resultobj
= Py_None
;
25821 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxWindow
*arg1
= (wxWindow
*) 0 ;
25824 wxPoint
*arg2
= 0 ;
25825 int arg3
= (int) wxSIZE_USE_EXISTING
;
25827 PyObject
* obj0
= 0 ;
25828 PyObject
* obj1
= 0 ;
25829 PyObject
* obj2
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self",(char *) "pt",(char *) "flags", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25836 if (SWIG_arg_fail(1)) SWIG_fail
;
25839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25843 arg3
= (int)(SWIG_As_int(obj2
));
25844 if (SWIG_arg_fail(3)) SWIG_fail
;
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 Py_INCREF(Py_None
); resultobj
= Py_None
;
25861 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxWindow
*arg1
= (wxWindow
*) 0 ;
25866 int arg4
= (int) wxSIZE_USE_EXISTING
;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 PyObject
* obj2
= 0 ;
25870 PyObject
* obj3
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25877 if (SWIG_arg_fail(1)) SWIG_fail
;
25879 arg2
= (int)(SWIG_As_int(obj1
));
25880 if (SWIG_arg_fail(2)) SWIG_fail
;
25883 arg3
= (int)(SWIG_As_int(obj2
));
25884 if (SWIG_arg_fail(3)) SWIG_fail
;
25888 arg4
= (int)(SWIG_As_int(obj3
));
25889 if (SWIG_arg_fail(4)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 (arg1
)->Move(arg2
,arg3
,arg4
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 Py_INCREF(Py_None
); resultobj
= Py_None
;
25906 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxWindow
*arg1
= (wxWindow
*) 0 ;
25909 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25910 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "size", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25920 if (SWIG_arg_fail(1)) SWIG_fail
;
25924 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxWindow
*arg1
= (wxWindow
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25951 if (SWIG_arg_fail(1)) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 Py_INCREF(Py_None
); resultobj
= Py_None
;
25966 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxWindow
*arg1
= (wxWindow
*) 0 ;
25969 PyObject
* obj0
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25976 if (SWIG_arg_fail(1)) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25991 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxWindow
*arg1
= (wxWindow
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "size", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26007 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 Py_INCREF(Py_None
); resultobj
= Py_None
;
26023 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxWindow
*arg1
= (wxWindow
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 PyObject
* obj2
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "width",(char *) "height", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26037 if (SWIG_arg_fail(1)) SWIG_fail
;
26039 arg2
= (int)(SWIG_As_int(obj1
));
26040 if (SWIG_arg_fail(2)) SWIG_fail
;
26043 arg3
= (int)(SWIG_As_int(obj2
));
26044 if (SWIG_arg_fail(3)) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 (arg1
)->SetClientSize(arg2
,arg3
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 Py_INCREF(Py_None
); resultobj
= Py_None
;
26060 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxWindow
*arg1
= (wxWindow
*) 0 ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "rect", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(1)) SWIG_fail
;
26076 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxWindow
*arg1
= (wxWindow
*) 0 ;
26096 PyObject
* obj0
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26103 if (SWIG_arg_fail(1)) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (arg1
)->GetPosition();
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26112 wxPoint
* resultptr
;
26113 resultptr
= new wxPoint((wxPoint
&)(result
));
26114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26122 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
;
26124 wxWindow
*arg1
= (wxWindow
*) 0 ;
26125 int *arg2
= (int *) 0 ;
26126 int *arg3
= (int *) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 char *kwnames
[] = {
26133 (char *) "self", NULL
26136 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26137 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26140 if (SWIG_arg_fail(1)) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 (arg1
)->GetPosition(arg2
,arg3
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26148 Py_INCREF(Py_None
); resultobj
= Py_None
;
26149 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26150 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26151 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26152 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26159 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxWindow
*arg1
= (wxWindow
*) 0 ;
26163 PyObject
* obj0
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= ((wxWindow
const *)arg1
)->GetSize();
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26179 wxSize
* resultptr
;
26180 resultptr
= new wxSize((wxSize
&)(result
));
26181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26189 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxWindow
*arg1
= (wxWindow
*) 0 ;
26192 int *arg2
= (int *) 0 ;
26193 int *arg3
= (int *) 0 ;
26198 PyObject
* obj0
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self", NULL
26203 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26204 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26207 if (SWIG_arg_fail(1)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26217 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26218 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26219 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26226 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
;
26228 wxWindow
*arg1
= (wxWindow
*) 0 ;
26230 PyObject
* obj0
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26237 if (SWIG_arg_fail(1)) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= ((wxWindow
const *)arg1
)->GetRect();
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26246 wxRect
* resultptr
;
26247 resultptr
= new wxRect((wxRect
&)(result
));
26248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26256 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxWindow
*arg1
= (wxWindow
*) 0 ;
26260 PyObject
* obj0
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26276 wxSize
* resultptr
;
26277 resultptr
= new wxSize((wxSize
&)(result
));
26278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26286 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxWindow
*arg1
= (wxWindow
*) 0 ;
26289 int *arg2
= (int *) 0 ;
26290 int *arg3
= (int *) 0 ;
26295 PyObject
* obj0
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self", NULL
26300 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26301 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26304 if (SWIG_arg_fail(1)) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26314 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26315 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26316 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26323 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26324 PyObject
*resultobj
;
26325 wxWindow
*arg1
= (wxWindow
*) 0 ;
26327 PyObject
* obj0
= 0 ;
26328 char *kwnames
[] = {
26329 (char *) "self", NULL
26332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26334 if (SWIG_arg_fail(1)) SWIG_fail
;
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26343 wxPoint
* resultptr
;
26344 resultptr
= new wxPoint((wxPoint
&)(result
));
26345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26353 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxWindow
*arg1
= (wxWindow
*) 0 ;
26357 PyObject
* obj0
= 0 ;
26358 char *kwnames
[] = {
26359 (char *) "self", NULL
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26364 if (SWIG_arg_fail(1)) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26373 wxRect
* resultptr
;
26374 resultptr
= new wxRect((wxRect
&)(result
));
26375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26383 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26385 wxWindow
*arg1
= (wxWindow
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26394 if (SWIG_arg_fail(1)) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 wxSize
* resultptr
;
26404 resultptr
= new wxSize((wxSize
&)(result
));
26405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26413 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxWindow
*arg1
= (wxWindow
*) 0 ;
26416 int *arg2
= (int *) 0 ;
26417 int *arg3
= (int *) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self", NULL
26427 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26428 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 Py_INCREF(Py_None
); resultobj
= Py_None
;
26440 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26441 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26442 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26443 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26450 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
;
26452 wxWindow
*arg1
= (wxWindow
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 char *kwnames
[] = {
26455 (char *) "self", NULL
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26460 if (SWIG_arg_fail(1)) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 (arg1
)->InvalidateBestSize();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 Py_INCREF(Py_None
); resultobj
= Py_None
;
26475 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxWindow
*arg1
= (wxWindow
*) 0 ;
26479 PyObject
* obj0
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26486 if (SWIG_arg_fail(1)) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26495 wxSize
* resultptr
;
26496 resultptr
= new wxSize((wxSize
&)(result
));
26497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26505 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxWindow
*arg1
= (wxWindow
*) 0 ;
26509 PyObject
* obj0
= 0 ;
26510 char *kwnames
[] = {
26511 (char *) "self", NULL
26514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26516 if (SWIG_arg_fail(1)) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 wxSize
* resultptr
;
26526 resultptr
= new wxSize((wxSize
&)(result
));
26527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26535 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxWindow
*arg1
= (wxWindow
*) 0 ;
26538 int arg2
= (int) wxBOTH
;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "direction", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26547 if (SWIG_arg_fail(1)) SWIG_fail
;
26550 arg2
= (int)(SWIG_As_int(obj1
));
26551 if (SWIG_arg_fail(2)) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 (arg1
)->Center(arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxWindow
*arg1
= (wxWindow
*) 0 ;
26571 int arg2
= (int) wxBOTH
;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "dir", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26580 if (SWIG_arg_fail(1)) SWIG_fail
;
26583 arg2
= (int)(SWIG_As_int(obj1
));
26584 if (SWIG_arg_fail(2)) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 (arg1
)->CenterOnScreen(arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 Py_INCREF(Py_None
); resultobj
= Py_None
;
26601 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxWindow
*arg1
= (wxWindow
*) 0 ;
26604 int arg2
= (int) wxBOTH
;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "dir", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail
;
26616 arg2
= (int)(SWIG_As_int(obj1
));
26617 if (SWIG_arg_fail(2)) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->CenterOnParent(arg2
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 Py_INCREF(Py_None
); resultobj
= Py_None
;
26634 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxWindow
*arg1
= (wxWindow
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26644 if (SWIG_arg_fail(1)) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 Py_INCREF(Py_None
); resultobj
= Py_None
;
26659 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxWindow
*arg1
= (wxWindow
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26669 if (SWIG_arg_fail(1)) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 (arg1
)->FitInside();
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 Py_INCREF(Py_None
); resultobj
= Py_None
;
26684 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxWindow
*arg1
= (wxWindow
*) 0 ;
26689 int arg4
= (int) -1 ;
26690 int arg5
= (int) -1 ;
26691 int arg6
= (int) -1 ;
26692 int arg7
= (int) -1 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 PyObject
* obj2
= 0 ;
26696 PyObject
* obj3
= 0 ;
26697 PyObject
* obj4
= 0 ;
26698 PyObject
* obj5
= 0 ;
26699 PyObject
* obj6
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26706 if (SWIG_arg_fail(1)) SWIG_fail
;
26708 arg2
= (int)(SWIG_As_int(obj1
));
26709 if (SWIG_arg_fail(2)) SWIG_fail
;
26712 arg3
= (int)(SWIG_As_int(obj2
));
26713 if (SWIG_arg_fail(3)) SWIG_fail
;
26717 arg4
= (int)(SWIG_As_int(obj3
));
26718 if (SWIG_arg_fail(4)) SWIG_fail
;
26723 arg5
= (int)(SWIG_As_int(obj4
));
26724 if (SWIG_arg_fail(5)) SWIG_fail
;
26729 arg6
= (int)(SWIG_As_int(obj5
));
26730 if (SWIG_arg_fail(6)) SWIG_fail
;
26735 arg7
= (int)(SWIG_As_int(obj6
));
26736 if (SWIG_arg_fail(7)) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 Py_INCREF(Py_None
); resultobj
= Py_None
;
26753 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxWindow
*arg1
= (wxWindow
*) 0 ;
26757 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26758 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 PyObject
* obj2
= 0 ;
26767 PyObject
* obj3
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26774 if (SWIG_arg_fail(1)) SWIG_fail
;
26777 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26782 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26798 Py_INCREF(Py_None
); resultobj
= Py_None
;
26805 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26806 PyObject
*resultobj
;
26807 wxWindow
*arg1
= (wxWindow
*) 0 ;
26810 int arg4
= (int) -1 ;
26811 int arg5
= (int) -1 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 PyObject
* obj2
= 0 ;
26815 PyObject
* obj3
= 0 ;
26816 PyObject
* obj4
= 0 ;
26817 char *kwnames
[] = {
26818 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26823 if (SWIG_arg_fail(1)) SWIG_fail
;
26825 arg2
= (int)(SWIG_As_int(obj1
));
26826 if (SWIG_arg_fail(2)) SWIG_fail
;
26829 arg3
= (int)(SWIG_As_int(obj2
));
26830 if (SWIG_arg_fail(3)) SWIG_fail
;
26834 arg4
= (int)(SWIG_As_int(obj3
));
26835 if (SWIG_arg_fail(4)) SWIG_fail
;
26840 arg5
= (int)(SWIG_As_int(obj4
));
26841 if (SWIG_arg_fail(5)) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 Py_INCREF(Py_None
); resultobj
= Py_None
;
26858 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
;
26860 wxWindow
*arg1
= (wxWindow
*) 0 ;
26862 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26863 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 PyObject
* obj2
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail
;
26878 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26883 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 Py_INCREF(Py_None
); resultobj
= Py_None
;
26900 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 PyObject
* obj0
= 0 ;
26905 char *kwnames
[] = {
26906 (char *) "self", NULL
26909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26911 if (SWIG_arg_fail(1)) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 wxSize
* resultptr
;
26921 resultptr
= new wxSize((wxSize
&)(result
));
26922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26930 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxWindow
*arg1
= (wxWindow
*) 0 ;
26934 PyObject
* obj0
= 0 ;
26935 char *kwnames
[] = {
26936 (char *) "self", NULL
26939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26941 if (SWIG_arg_fail(1)) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 wxSize
* resultptr
;
26951 resultptr
= new wxSize((wxSize
&)(result
));
26952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26960 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
;
26962 wxWindow
*arg1
= (wxWindow
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 char *kwnames
[] = {
26968 (char *) "self",(char *) "minSize", NULL
26971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26973 if (SWIG_arg_fail(1)) SWIG_fail
;
26976 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 Py_INCREF(Py_None
); resultobj
= Py_None
;
26992 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
;
26994 wxWindow
*arg1
= (wxWindow
*) 0 ;
26997 PyObject
* obj0
= 0 ;
26998 PyObject
* obj1
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self",(char *) "maxSize", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27005 if (SWIG_arg_fail(1)) SWIG_fail
;
27008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 Py_INCREF(Py_None
); resultobj
= Py_None
;
27024 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxWindow
*arg1
= (wxWindow
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "self", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27035 if (SWIG_arg_fail(1)) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_From_int((int)(result
));
27052 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxWindow
*arg1
= (wxWindow
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27063 if (SWIG_arg_fail(1)) SWIG_fail
;
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= SWIG_From_int((int)(result
));
27080 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxWindow
*arg1
= (wxWindow
*) 0 ;
27084 PyObject
* obj0
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27091 if (SWIG_arg_fail(1)) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= SWIG_From_int((int)(result
));
27108 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
;
27110 wxWindow
*arg1
= (wxWindow
*) 0 ;
27112 PyObject
* obj0
= 0 ;
27113 char *kwnames
[] = {
27114 (char *) "self", NULL
27117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27119 if (SWIG_arg_fail(1)) SWIG_fail
;
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= SWIG_From_int((int)(result
));
27136 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
;
27138 wxWindow
*arg1
= (wxWindow
*) 0 ;
27141 PyObject
* obj0
= 0 ;
27142 PyObject
* obj1
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self",(char *) "size", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27149 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 Py_INCREF(Py_None
); resultobj
= Py_None
;
27168 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxWindow
*arg1
= (wxWindow
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "self",(char *) "w",(char *) "h", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27182 if (SWIG_arg_fail(1)) SWIG_fail
;
27184 arg2
= (int)(SWIG_As_int(obj1
));
27185 if (SWIG_arg_fail(2)) SWIG_fail
;
27188 arg3
= (int)(SWIG_As_int(obj2
));
27189 if (SWIG_arg_fail(3)) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 (arg1
)->SetVirtualSize(arg2
,arg3
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 Py_INCREF(Py_None
); resultobj
= Py_None
;
27205 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
;
27207 wxWindow
*arg1
= (wxWindow
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 char *kwnames
[] = {
27211 (char *) "self", NULL
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27216 if (SWIG_arg_fail(1)) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27225 wxSize
* resultptr
;
27226 resultptr
= new wxSize((wxSize
&)(result
));
27227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27235 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27236 PyObject
*resultobj
;
27237 wxWindow
*arg1
= (wxWindow
*) 0 ;
27238 int *arg2
= (int *) 0 ;
27239 int *arg3
= (int *) 0 ;
27244 PyObject
* obj0
= 0 ;
27245 char *kwnames
[] = {
27246 (char *) "self", NULL
27249 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27250 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 Py_INCREF(Py_None
); resultobj
= Py_None
;
27262 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27263 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27264 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27265 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27272 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 wxWindow
*arg1
= (wxWindow
*) 0 ;
27276 PyObject
* obj0
= 0 ;
27277 char *kwnames
[] = {
27278 (char *) "self", NULL
27281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27283 if (SWIG_arg_fail(1)) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 wxSize
* resultptr
;
27293 resultptr
= new wxSize((wxSize
&)(result
));
27294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27302 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxWindow
*arg1
= (wxWindow
*) 0 ;
27305 bool arg2
= (bool) true ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self",(char *) "show", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27315 if (SWIG_arg_fail(1)) SWIG_fail
;
27318 arg2
= (bool)(SWIG_As_bool(obj1
));
27319 if (SWIG_arg_fail(2)) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (bool)(arg1
)->Show(arg2
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27338 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxWindow
*arg1
= (wxWindow
*) 0 ;
27342 PyObject
* obj0
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27349 if (SWIG_arg_fail(1)) SWIG_fail
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 result
= (bool)(arg1
)->Hide();
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27366 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
;
27368 wxWindow
*arg1
= (wxWindow
*) 0 ;
27369 bool arg2
= (bool) true ;
27371 PyObject
* obj0
= 0 ;
27372 PyObject
* obj1
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self",(char *) "enable", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27379 if (SWIG_arg_fail(1)) SWIG_fail
;
27382 arg2
= (bool)(SWIG_As_bool(obj1
));
27383 if (SWIG_arg_fail(2)) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= (bool)(arg1
)->Enable(arg2
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27402 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxWindow
*arg1
= (wxWindow
*) 0 ;
27406 PyObject
* obj0
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27413 if (SWIG_arg_fail(1)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (bool)(arg1
)->Disable();
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27430 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxWindow
*arg1
= (wxWindow
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27458 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxWindow
*arg1
= (wxWindow
*) 0 ;
27462 PyObject
* obj0
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27486 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxWindow
*arg1
= (wxWindow
*) 0 ;
27490 PyObject
* obj0
= 0 ;
27491 PyObject
* obj1
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "self",(char *) "style", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27498 if (SWIG_arg_fail(1)) SWIG_fail
;
27500 arg2
= (long)(SWIG_As_long(obj1
));
27501 if (SWIG_arg_fail(2)) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 (arg1
)->SetWindowStyleFlag(arg2
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 Py_INCREF(Py_None
); resultobj
= Py_None
;
27517 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxWindow
*arg1
= (wxWindow
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= SWIG_From_long((long)(result
));
27545 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxWindow
*arg1
= (wxWindow
*) 0 ;
27550 PyObject
* obj0
= 0 ;
27551 PyObject
* obj1
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self",(char *) "flag", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27558 if (SWIG_arg_fail(1)) SWIG_fail
;
27560 arg2
= (int)(SWIG_As_int(obj1
));
27561 if (SWIG_arg_fail(2)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27579 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxWindow
*arg1
= (wxWindow
*) 0 ;
27583 PyObject
* obj0
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27607 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxWindow
*arg1
= (wxWindow
*) 0 ;
27611 PyObject
* obj0
= 0 ;
27612 PyObject
* obj1
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self",(char *) "exStyle", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27619 if (SWIG_arg_fail(1)) SWIG_fail
;
27621 arg2
= (long)(SWIG_As_long(obj1
));
27622 if (SWIG_arg_fail(2)) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 (arg1
)->SetExtraStyle(arg2
);
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 Py_INCREF(Py_None
); resultobj
= Py_None
;
27638 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxWindow
*arg1
= (wxWindow
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= SWIG_From_long((long)(result
));
27666 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxWindow
*arg1
= (wxWindow
*) 0 ;
27669 bool arg2
= (bool) true ;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self",(char *) "modal", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27678 if (SWIG_arg_fail(1)) SWIG_fail
;
27681 arg2
= (bool)(SWIG_As_bool(obj1
));
27682 if (SWIG_arg_fail(2)) SWIG_fail
;
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 (arg1
)->MakeModal(arg2
);
27689 wxPyEndAllowThreads(__tstate
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 Py_INCREF(Py_None
); resultobj
= Py_None
;
27699 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
;
27701 wxWindow
*arg1
= (wxWindow
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self",(char *) "enableTheme", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27711 if (SWIG_arg_fail(1)) SWIG_fail
;
27713 arg2
= (bool)(SWIG_As_bool(obj1
));
27714 if (SWIG_arg_fail(2)) SWIG_fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 (arg1
)->SetThemeEnabled(arg2
);
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 Py_INCREF(Py_None
); resultobj
= Py_None
;
27730 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 wxWindow
*arg1
= (wxWindow
*) 0 ;
27734 PyObject
* obj0
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27741 if (SWIG_arg_fail(1)) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27758 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxWindow
*arg1
= (wxWindow
*) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27768 if (SWIG_arg_fail(1)) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 (arg1
)->SetFocus();
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 Py_INCREF(Py_None
); resultobj
= Py_None
;
27783 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxWindow
*arg1
= (wxWindow
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27793 if (SWIG_arg_fail(1)) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 (arg1
)->SetFocusFromKbd();
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 Py_INCREF(Py_None
); resultobj
= Py_None
;
27808 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27811 char *kwnames
[] = {
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27817 if (!wxPyCheckForApp()) SWIG_fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 result
= (wxWindow
*)wxWindow::FindFocus();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= wxPyMake_wxObject(result
, 0);
27833 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
;
27835 wxWindow
*arg1
= (wxWindow
*) 0 ;
27837 PyObject
* obj0
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27844 if (SWIG_arg_fail(1)) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27861 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxWindow
*arg1
= (wxWindow
*) 0 ;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(1)) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27889 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
;
27891 wxWindow
*arg1
= (wxWindow
*) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27900 if (SWIG_arg_fail(1)) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= wxPyMake_wxObject(result
, 0);
27917 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27918 PyObject
*resultobj
;
27919 wxWindow
*arg1
= (wxWindow
*) 0 ;
27920 wxWindow
*arg2
= (wxWindow
*) 0 ;
27922 PyObject
* obj0
= 0 ;
27923 PyObject
* obj1
= 0 ;
27924 char *kwnames
[] = {
27925 (char *) "self",(char *) "child", NULL
27928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27930 if (SWIG_arg_fail(1)) SWIG_fail
;
27931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27932 if (SWIG_arg_fail(2)) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27941 resultobj
= wxPyMake_wxObject(result
, 0);
27949 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27952 wxWindow
*arg2
= (wxWindow
*) 0 ;
27953 PyObject
* obj0
= 0 ;
27954 PyObject
* obj1
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self",(char *) "win", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27961 if (SWIG_arg_fail(1)) SWIG_fail
;
27962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27963 if (SWIG_arg_fail(2)) SWIG_fail
;
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27966 (arg1
)->SetTmpDefaultItem(arg2
);
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 Py_INCREF(Py_None
); resultobj
= Py_None
;
27978 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxWindow
*arg1
= (wxWindow
*) 0 ;
27981 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "flags", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27991 if (SWIG_arg_fail(1)) SWIG_fail
;
27994 arg2
= (int)(SWIG_As_int(obj1
));
27995 if (SWIG_arg_fail(2)) SWIG_fail
;
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 result
= (bool)(arg1
)->Navigate(arg2
);
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28014 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxWindow
*arg1
= (wxWindow
*) 0 ;
28017 wxWindow
*arg2
= (wxWindow
*) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 PyObject
* obj1
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self",(char *) "win", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28026 if (SWIG_arg_fail(1)) SWIG_fail
;
28027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28028 if (SWIG_arg_fail(2)) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 (arg1
)->MoveAfterInTabOrder(arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28036 Py_INCREF(Py_None
); resultobj
= Py_None
;
28043 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
;
28045 wxWindow
*arg1
= (wxWindow
*) 0 ;
28046 wxWindow
*arg2
= (wxWindow
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 PyObject
* obj1
= 0 ;
28049 char *kwnames
[] = {
28050 (char *) "self",(char *) "win", NULL
28053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28055 if (SWIG_arg_fail(1)) SWIG_fail
;
28056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28057 if (SWIG_arg_fail(2)) SWIG_fail
;
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 (arg1
)->MoveBeforeInTabOrder(arg2
);
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 Py_INCREF(Py_None
); resultobj
= Py_None
;
28072 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28073 PyObject
*resultobj
;
28074 wxWindow
*arg1
= (wxWindow
*) 0 ;
28076 PyObject
* obj0
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "self", NULL
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28083 if (SWIG_arg_fail(1)) SWIG_fail
;
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= result
;
28098 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxWindow
*arg1
= (wxWindow
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28109 if (SWIG_arg_fail(1)) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= wxPyMake_wxObject(result
, 0);
28126 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28127 PyObject
*resultobj
;
28128 wxWindow
*arg1
= (wxWindow
*) 0 ;
28130 PyObject
* obj0
= 0 ;
28131 char *kwnames
[] = {
28132 (char *) "self", NULL
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28137 if (SWIG_arg_fail(1)) SWIG_fail
;
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= wxPyMake_wxObject(result
, 0);
28154 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
;
28156 wxWindow
*arg1
= (wxWindow
*) 0 ;
28158 PyObject
* obj0
= 0 ;
28159 char *kwnames
[] = {
28160 (char *) "self", NULL
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28165 if (SWIG_arg_fail(1)) SWIG_fail
;
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28182 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
;
28184 wxWindow
*arg1
= (wxWindow
*) 0 ;
28185 wxWindow
*arg2
= (wxWindow
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 PyObject
* obj1
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self",(char *) "newParent", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28195 if (SWIG_arg_fail(1)) SWIG_fail
;
28196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28197 if (SWIG_arg_fail(2)) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (bool)(arg1
)->Reparent(arg2
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28214 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
;
28216 wxWindow
*arg1
= (wxWindow
*) 0 ;
28217 wxWindow
*arg2
= (wxWindow
*) 0 ;
28218 PyObject
* obj0
= 0 ;
28219 PyObject
* obj1
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self",(char *) "child", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28226 if (SWIG_arg_fail(1)) SWIG_fail
;
28227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28228 if (SWIG_arg_fail(2)) SWIG_fail
;
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 (arg1
)->AddChild(arg2
);
28233 wxPyEndAllowThreads(__tstate
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 Py_INCREF(Py_None
); resultobj
= Py_None
;
28243 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxWindow
*arg1
= (wxWindow
*) 0 ;
28246 wxWindow
*arg2
= (wxWindow
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self",(char *) "child", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28255 if (SWIG_arg_fail(1)) SWIG_fail
;
28256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28257 if (SWIG_arg_fail(2)) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 (arg1
)->RemoveChild(arg2
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 Py_INCREF(Py_None
); resultobj
= Py_None
;
28272 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
;
28274 wxWindow
*arg1
= (wxWindow
*) 0 ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 char *kwnames
[] = {
28280 (char *) "self",(char *) "winid", NULL
28283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28285 if (SWIG_arg_fail(1)) SWIG_fail
;
28287 arg2
= (long)(SWIG_As_long(obj1
));
28288 if (SWIG_arg_fail(2)) SWIG_fail
;
28291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28292 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= wxPyMake_wxObject(result
, 0);
28306 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
;
28308 wxWindow
*arg1
= (wxWindow
*) 0 ;
28309 wxString
*arg2
= 0 ;
28311 bool temp2
= false ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self",(char *) "name", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28320 if (SWIG_arg_fail(1)) SWIG_fail
;
28322 arg2
= wxString_in_helper(obj1
);
28323 if (arg2
== NULL
) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= wxPyMake_wxObject(result
, 0);
28350 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxWindow
*arg1
= (wxWindow
*) 0 ;
28353 wxEvtHandler
*result
;
28354 PyObject
* obj0
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28361 if (SWIG_arg_fail(1)) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= wxPyMake_wxObject(result
, 0);
28378 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxWindow
*arg1
= (wxWindow
*) 0 ;
28381 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self",(char *) "handler", NULL
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28390 if (SWIG_arg_fail(1)) SWIG_fail
;
28391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28392 if (SWIG_arg_fail(2)) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 (arg1
)->SetEventHandler(arg2
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 Py_INCREF(Py_None
); resultobj
= Py_None
;
28407 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxWindow
*arg1
= (wxWindow
*) 0 ;
28410 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 PyObject
* obj1
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "handler", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28419 if (SWIG_arg_fail(1)) SWIG_fail
;
28420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28421 if (SWIG_arg_fail(2)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 (arg1
)->PushEventHandler(arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 Py_INCREF(Py_None
); resultobj
= Py_None
;
28436 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
;
28438 wxWindow
*arg1
= (wxWindow
*) 0 ;
28439 bool arg2
= (bool) false ;
28440 wxEvtHandler
*result
;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "deleteHandler", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail
;
28452 arg2
= (bool)(SWIG_As_bool(obj1
));
28453 if (SWIG_arg_fail(2)) SWIG_fail
;
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= wxPyMake_wxObject(result
, 0);
28472 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxWindow
*arg1
= (wxWindow
*) 0 ;
28475 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28477 PyObject
* obj0
= 0 ;
28478 PyObject
* obj1
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self",(char *) "handler", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28485 if (SWIG_arg_fail(1)) SWIG_fail
;
28486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(2)) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28504 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
;
28506 wxWindow
*arg1
= (wxWindow
*) 0 ;
28507 wxValidator
*arg2
= 0 ;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 char *kwnames
[] = {
28511 (char *) "self",(char *) "validator", NULL
28514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28516 if (SWIG_arg_fail(1)) SWIG_fail
;
28518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(2)) SWIG_fail
;
28520 if (arg2
== NULL
) {
28521 SWIG_null_ref("wxValidator");
28523 if (SWIG_arg_fail(2)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 Py_INCREF(Py_None
); resultobj
= Py_None
;
28539 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxWindow
*arg1
= (wxWindow
*) 0 ;
28542 wxValidator
*result
;
28543 PyObject
* obj0
= 0 ;
28544 char *kwnames
[] = {
28545 (char *) "self", NULL
28548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28550 if (SWIG_arg_fail(1)) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (wxValidator
*)(arg1
)->GetValidator();
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= wxPyMake_wxObject(result
, 0);
28567 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
;
28569 wxWindow
*arg1
= (wxWindow
*) 0 ;
28571 PyObject
* obj0
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= (bool)(arg1
)->Validate();
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28595 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxWindow
*arg1
= (wxWindow
*) 0 ;
28599 PyObject
* obj0
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28606 if (SWIG_arg_fail(1)) SWIG_fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= (bool)(arg1
)->TransferDataToWindow();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28623 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
;
28625 wxWindow
*arg1
= (wxWindow
*) 0 ;
28627 PyObject
* obj0
= 0 ;
28628 char *kwnames
[] = {
28629 (char *) "self", NULL
28632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28634 if (SWIG_arg_fail(1)) SWIG_fail
;
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= (bool)(arg1
)->TransferDataFromWindow();
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28651 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
;
28653 wxWindow
*arg1
= (wxWindow
*) 0 ;
28654 PyObject
* obj0
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28661 if (SWIG_arg_fail(1)) SWIG_fail
;
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 (arg1
)->InitDialog();
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 Py_INCREF(Py_None
); resultobj
= Py_None
;
28676 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
;
28678 wxWindow
*arg1
= (wxWindow
*) 0 ;
28679 wxAcceleratorTable
*arg2
= 0 ;
28680 PyObject
* obj0
= 0 ;
28681 PyObject
* obj1
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "self",(char *) "accel", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28688 if (SWIG_arg_fail(1)) SWIG_fail
;
28690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28691 if (SWIG_arg_fail(2)) SWIG_fail
;
28692 if (arg2
== NULL
) {
28693 SWIG_null_ref("wxAcceleratorTable");
28695 if (SWIG_arg_fail(2)) SWIG_fail
;
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 Py_INCREF(Py_None
); resultobj
= Py_None
;
28711 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28712 PyObject
*resultobj
;
28713 wxWindow
*arg1
= (wxWindow
*) 0 ;
28714 wxAcceleratorTable
*result
;
28715 PyObject
* obj0
= 0 ;
28716 char *kwnames
[] = {
28717 (char *) "self", NULL
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28722 if (SWIG_arg_fail(1)) SWIG_fail
;
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28725 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28727 wxPyEndAllowThreads(__tstate
);
28728 if (PyErr_Occurred()) SWIG_fail
;
28730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28737 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28738 PyObject
*resultobj
;
28739 wxWindow
*arg1
= (wxWindow
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 PyObject
* obj1
= 0 ;
28746 PyObject
* obj2
= 0 ;
28747 PyObject
* obj3
= 0 ;
28748 char *kwnames
[] = {
28749 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28754 if (SWIG_arg_fail(1)) SWIG_fail
;
28756 arg2
= (int)(SWIG_As_int(obj1
));
28757 if (SWIG_arg_fail(2)) SWIG_fail
;
28760 arg3
= (int)(SWIG_As_int(obj2
));
28761 if (SWIG_arg_fail(3)) SWIG_fail
;
28764 arg4
= (int)(SWIG_As_int(obj3
));
28765 if (SWIG_arg_fail(4)) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28783 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxWindow
*arg1
= (wxWindow
*) 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 char *kwnames
[] = {
28791 (char *) "self",(char *) "hotkeyId", NULL
28794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28796 if (SWIG_arg_fail(1)) SWIG_fail
;
28798 arg2
= (int)(SWIG_As_int(obj1
));
28799 if (SWIG_arg_fail(2)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28817 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxWindow
*arg1
= (wxWindow
*) 0 ;
28820 wxPoint
*arg2
= 0 ;
28823 PyObject
* obj0
= 0 ;
28824 PyObject
* obj1
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self",(char *) "pt", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28831 if (SWIG_arg_fail(1)) SWIG_fail
;
28834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28844 wxPoint
* resultptr
;
28845 resultptr
= new wxPoint((wxPoint
&)(result
));
28846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28854 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxWindow
*arg1
= (wxWindow
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self",(char *) "sz", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28868 if (SWIG_arg_fail(1)) SWIG_fail
;
28871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 wxSize
* resultptr
;
28882 resultptr
= new wxSize((wxSize
&)(result
));
28883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28891 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxWindow
*arg1
= (wxWindow
*) 0 ;
28894 wxPoint
*arg2
= 0 ;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 char *kwnames
[] = {
28900 (char *) "self",(char *) "pt", NULL
28903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28905 if (SWIG_arg_fail(1)) SWIG_fail
;
28908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28918 wxPoint
* resultptr
;
28919 resultptr
= new wxPoint((wxPoint
&)(result
));
28920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28928 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28929 PyObject
*resultobj
;
28930 wxWindow
*arg1
= (wxWindow
*) 0 ;
28934 PyObject
* obj0
= 0 ;
28935 PyObject
* obj1
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self",(char *) "sz", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail
;
28945 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28955 wxSize
* resultptr
;
28956 resultptr
= new wxSize((wxSize
&)(result
));
28957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28965 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
;
28967 wxWindow
*arg1
= (wxWindow
*) 0 ;
28968 wxPoint
*arg2
= 0 ;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 char *kwnames
[] = {
28974 (char *) "self",(char *) "pt", NULL
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28979 if (SWIG_arg_fail(1)) SWIG_fail
;
28982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28992 wxPoint
* resultptr
;
28993 resultptr
= new wxPoint((wxPoint
&)(result
));
28994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29002 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxWindow
*arg1
= (wxWindow
*) 0 ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 char *kwnames
[] = {
29011 (char *) "self",(char *) "sz", NULL
29014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail
;
29019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29029 wxSize
* resultptr
;
29030 resultptr
= new wxSize((wxSize
&)(result
));
29031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29039 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
;
29041 wxWindow
*arg1
= (wxWindow
*) 0 ;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 PyObject
* obj2
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self",(char *) "x",(char *) "y", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29053 if (SWIG_arg_fail(1)) SWIG_fail
;
29055 arg2
= (int)(SWIG_As_int(obj1
));
29056 if (SWIG_arg_fail(2)) SWIG_fail
;
29059 arg3
= (int)(SWIG_As_int(obj2
));
29060 if (SWIG_arg_fail(3)) SWIG_fail
;
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 (arg1
)->WarpPointer(arg2
,arg3
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 Py_INCREF(Py_None
); resultobj
= Py_None
;
29076 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29077 PyObject
*resultobj
;
29078 wxWindow
*arg1
= (wxWindow
*) 0 ;
29079 PyObject
* obj0
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29086 if (SWIG_arg_fail(1)) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 (arg1
)->CaptureMouse();
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 Py_INCREF(Py_None
); resultobj
= Py_None
;
29101 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxWindow
*arg1
= (wxWindow
*) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29111 if (SWIG_arg_fail(1)) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 (arg1
)->ReleaseMouse();
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 Py_INCREF(Py_None
); resultobj
= Py_None
;
29126 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
;
29129 char *kwnames
[] = {
29133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29135 if (!wxPyCheckForApp()) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 result
= (wxWindow
*)wxWindow::GetCapture();
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= wxPyMake_wxObject(result
, 0);
29151 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29152 PyObject
*resultobj
;
29153 wxWindow
*arg1
= (wxWindow
*) 0 ;
29155 PyObject
* obj0
= 0 ;
29156 char *kwnames
[] = {
29157 (char *) "self", NULL
29160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29179 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
;
29181 wxWindow
*arg1
= (wxWindow
*) 0 ;
29182 bool arg2
= (bool) true ;
29183 wxRect
*arg3
= (wxRect
*) NULL
;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 PyObject
* obj2
= 0 ;
29187 char *kwnames
[] = {
29188 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29193 if (SWIG_arg_fail(1)) SWIG_fail
;
29196 arg2
= (bool)(SWIG_As_bool(obj1
));
29197 if (SWIG_arg_fail(2)) SWIG_fail
;
29201 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29202 if (SWIG_arg_fail(3)) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 Py_INCREF(Py_None
); resultobj
= Py_None
;
29218 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
;
29220 wxWindow
*arg1
= (wxWindow
*) 0 ;
29222 bool arg3
= (bool) true ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 PyObject
* obj2
= 0 ;
29227 char *kwnames
[] = {
29228 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29233 if (SWIG_arg_fail(1)) SWIG_fail
;
29236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29240 arg3
= (bool)(SWIG_As_bool(obj2
));
29241 if (SWIG_arg_fail(3)) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxWindow
*arg1
= (wxWindow
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29268 if (SWIG_arg_fail(1)) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 Py_INCREF(Py_None
); resultobj
= Py_None
;
29283 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
;
29285 wxWindow
*arg1
= (wxWindow
*) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 char *kwnames
[] = {
29288 (char *) "self", NULL
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29293 if (SWIG_arg_fail(1)) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 (arg1
)->ClearBackground();
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 Py_INCREF(Py_None
); resultobj
= Py_None
;
29308 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
;
29310 wxWindow
*arg1
= (wxWindow
*) 0 ;
29311 PyObject
* obj0
= 0 ;
29312 char *kwnames
[] = {
29313 (char *) "self", NULL
29316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29318 if (SWIG_arg_fail(1)) SWIG_fail
;
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29326 Py_INCREF(Py_None
); resultobj
= Py_None
;
29333 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29334 PyObject
*resultobj
;
29335 wxWindow
*arg1
= (wxWindow
*) 0 ;
29336 PyObject
* obj0
= 0 ;
29337 char *kwnames
[] = {
29338 (char *) "self", NULL
29341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29343 if (SWIG_arg_fail(1)) SWIG_fail
;
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29351 Py_INCREF(Py_None
); resultobj
= Py_None
;
29358 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
;
29360 wxWindow
*arg1
= (wxWindow
*) 0 ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "self",(char *) "dc", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29370 if (SWIG_arg_fail(1)) SWIG_fail
;
29372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29373 if (SWIG_arg_fail(2)) SWIG_fail
;
29374 if (arg2
== NULL
) {
29375 SWIG_null_ref("wxDC");
29377 if (SWIG_arg_fail(2)) SWIG_fail
;
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 (arg1
)->PrepareDC(*arg2
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 Py_INCREF(Py_None
); resultobj
= Py_None
;
29393 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
;
29395 wxWindow
*arg1
= (wxWindow
*) 0 ;
29397 PyObject
* obj0
= 0 ;
29398 char *kwnames
[] = {
29399 (char *) "self", NULL
29402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29404 if (SWIG_arg_fail(1)) SWIG_fail
;
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29409 result
= (wxRegion
*) &_result_ref
;
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29422 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29423 PyObject
*resultobj
;
29424 wxWindow
*arg1
= (wxWindow
*) 0 ;
29426 PyObject
* obj0
= 0 ;
29427 char *kwnames
[] = {
29428 (char *) "self", NULL
29431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29433 if (SWIG_arg_fail(1)) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 wxRect
* resultptr
;
29443 resultptr
= new wxRect((wxRect
&)(result
));
29444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29452 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxWindow
*arg1
= (wxWindow
*) 0 ;
29457 int arg4
= (int) 1 ;
29458 int arg5
= (int) 1 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 PyObject
* obj2
= 0 ;
29463 PyObject
* obj3
= 0 ;
29464 PyObject
* obj4
= 0 ;
29465 char *kwnames
[] = {
29466 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29471 if (SWIG_arg_fail(1)) SWIG_fail
;
29473 arg2
= (int)(SWIG_As_int(obj1
));
29474 if (SWIG_arg_fail(2)) SWIG_fail
;
29477 arg3
= (int)(SWIG_As_int(obj2
));
29478 if (SWIG_arg_fail(3)) SWIG_fail
;
29482 arg4
= (int)(SWIG_As_int(obj3
));
29483 if (SWIG_arg_fail(4)) SWIG_fail
;
29488 arg5
= (int)(SWIG_As_int(obj4
));
29489 if (SWIG_arg_fail(5)) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29508 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
;
29510 wxWindow
*arg1
= (wxWindow
*) 0 ;
29511 wxPoint
*arg2
= 0 ;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj1
= 0 ;
29516 char *kwnames
[] = {
29517 (char *) "self",(char *) "pt", NULL
29520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29522 if (SWIG_arg_fail(1)) SWIG_fail
;
29525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29543 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29544 PyObject
*resultobj
;
29545 wxWindow
*arg1
= (wxWindow
*) 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 char *kwnames
[] = {
29552 (char *) "self",(char *) "rect", NULL
29555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29557 if (SWIG_arg_fail(1)) SWIG_fail
;
29560 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29578 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29579 PyObject
*resultobj
;
29580 wxWindow
*arg1
= (wxWindow
*) 0 ;
29581 wxVisualAttributes result
;
29582 PyObject
* obj0
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 wxVisualAttributes
* resultptr
;
29599 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29608 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29611 wxVisualAttributes result
;
29612 PyObject
* obj0
= 0 ;
29613 char *kwnames
[] = {
29614 (char *) "variant", NULL
29617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29620 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29621 if (SWIG_arg_fail(1)) SWIG_fail
;
29625 if (!wxPyCheckForApp()) SWIG_fail
;
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29627 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29633 wxVisualAttributes
* resultptr
;
29634 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29643 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxWindow
*arg1
= (wxWindow
*) 0 ;
29646 wxColour
*arg2
= 0 ;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self",(char *) "colour", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29657 if (SWIG_arg_fail(1)) SWIG_fail
;
29660 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29678 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
;
29680 wxWindow
*arg1
= (wxWindow
*) 0 ;
29681 wxColour
*arg2
= 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "self",(char *) "colour", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29691 if (SWIG_arg_fail(1)) SWIG_fail
;
29694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 Py_INCREF(Py_None
); resultobj
= Py_None
;
29710 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
;
29712 wxWindow
*arg1
= (wxWindow
*) 0 ;
29713 wxColour
*arg2
= 0 ;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self",(char *) "colour", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29724 if (SWIG_arg_fail(1)) SWIG_fail
;
29727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29745 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29746 PyObject
*resultobj
;
29747 wxWindow
*arg1
= (wxWindow
*) 0 ;
29748 wxColour
*arg2
= 0 ;
29750 PyObject
* obj0
= 0 ;
29751 PyObject
* obj1
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "self",(char *) "colour", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29758 if (SWIG_arg_fail(1)) SWIG_fail
;
29761 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 Py_INCREF(Py_None
); resultobj
= Py_None
;
29777 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxWindow
*arg1
= (wxWindow
*) 0 ;
29781 PyObject
* obj0
= 0 ;
29782 char *kwnames
[] = {
29783 (char *) "self", NULL
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29788 if (SWIG_arg_fail(1)) SWIG_fail
;
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29797 wxColour
* resultptr
;
29798 resultptr
= new wxColour((wxColour
&)(result
));
29799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29807 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
;
29809 wxWindow
*arg1
= (wxWindow
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 char *kwnames
[] = {
29813 (char *) "self", NULL
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29818 if (SWIG_arg_fail(1)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29827 wxColour
* resultptr
;
29828 resultptr
= new wxColour((wxColour
&)(result
));
29829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29837 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29838 PyObject
*resultobj
;
29839 wxWindow
*arg1
= (wxWindow
*) 0 ;
29841 PyObject
* obj0
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29848 if (SWIG_arg_fail(1)) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29865 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
;
29867 wxWindow
*arg1
= (wxWindow
*) 0 ;
29869 PyObject
* obj0
= 0 ;
29870 char *kwnames
[] = {
29871 (char *) "self", NULL
29874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29876 if (SWIG_arg_fail(1)) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29893 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29894 PyObject
*resultobj
;
29895 wxWindow
*arg1
= (wxWindow
*) 0 ;
29896 wxBackgroundStyle arg2
;
29898 PyObject
* obj0
= 0 ;
29899 PyObject
* obj1
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "style", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29906 if (SWIG_arg_fail(1)) SWIG_fail
;
29908 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29909 if (SWIG_arg_fail(2)) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29927 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
;
29929 wxWindow
*arg1
= (wxWindow
*) 0 ;
29930 wxBackgroundStyle result
;
29931 PyObject
* obj0
= 0 ;
29932 char *kwnames
[] = {
29933 (char *) "self", NULL
29936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29938 if (SWIG_arg_fail(1)) SWIG_fail
;
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_From_int((result
));
29953 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
;
29955 wxWindow
*arg1
= (wxWindow
*) 0 ;
29957 PyObject
* obj0
= 0 ;
29958 char *kwnames
[] = {
29959 (char *) "self", NULL
29962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29964 if (SWIG_arg_fail(1)) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (bool)(arg1
)->HasTransparentBackground();
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29981 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
;
29983 wxWindow
*arg1
= (wxWindow
*) 0 ;
29984 wxCursor
*arg2
= 0 ;
29986 PyObject
* obj0
= 0 ;
29987 PyObject
* obj1
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "self",(char *) "cursor", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29994 if (SWIG_arg_fail(1)) SWIG_fail
;
29996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29997 if (SWIG_arg_fail(2)) SWIG_fail
;
29998 if (arg2
== NULL
) {
29999 SWIG_null_ref("wxCursor");
30001 if (SWIG_arg_fail(2)) SWIG_fail
;
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30019 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
;
30021 wxWindow
*arg1
= (wxWindow
*) 0 ;
30023 PyObject
* obj0
= 0 ;
30024 char *kwnames
[] = {
30025 (char *) "self", NULL
30028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30030 if (SWIG_arg_fail(1)) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (arg1
)->GetCursor();
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30039 wxCursor
* resultptr
;
30040 resultptr
= new wxCursor((wxCursor
&)(result
));
30041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30049 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxWindow
*arg1
= (wxWindow
*) 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "font", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",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_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30065 if (SWIG_arg_fail(2)) SWIG_fail
;
30066 if (arg2
== NULL
) {
30067 SWIG_null_ref("wxFont");
30069 if (SWIG_arg_fail(2)) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= (bool)(arg1
)->SetFont((wxFont
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_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxWindow
*arg1
= (wxWindow
*) 0 ;
30091 PyObject
* obj0
= 0 ;
30092 PyObject
* obj1
= 0 ;
30093 char *kwnames
[] = {
30094 (char *) "self",(char *) "font", NULL
30097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30099 if (SWIG_arg_fail(1)) SWIG_fail
;
30101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30102 if (SWIG_arg_fail(2)) SWIG_fail
;
30103 if (arg2
== NULL
) {
30104 SWIG_null_ref("wxFont");
30106 if (SWIG_arg_fail(2)) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 Py_INCREF(Py_None
); resultobj
= Py_None
;
30122 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxWindow
*arg1
= (wxWindow
*) 0 ;
30126 PyObject
* obj0
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30133 if (SWIG_arg_fail(1)) SWIG_fail
;
30135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30136 result
= (arg1
)->GetFont();
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30142 wxFont
* resultptr
;
30143 resultptr
= new wxFont((wxFont
&)(result
));
30144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30152 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
;
30154 wxWindow
*arg1
= (wxWindow
*) 0 ;
30155 wxCaret
*arg2
= (wxCaret
*) 0 ;
30156 PyObject
* obj0
= 0 ;
30157 PyObject
* obj1
= 0 ;
30158 char *kwnames
[] = {
30159 (char *) "self",(char *) "caret", NULL
30162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30164 if (SWIG_arg_fail(1)) SWIG_fail
;
30165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30166 if (SWIG_arg_fail(2)) SWIG_fail
;
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 (arg1
)->SetCaret(arg2
);
30171 wxPyEndAllowThreads(__tstate
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30174 Py_INCREF(Py_None
); resultobj
= Py_None
;
30181 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30182 PyObject
*resultobj
;
30183 wxWindow
*arg1
= (wxWindow
*) 0 ;
30185 PyObject
* obj0
= 0 ;
30186 char *kwnames
[] = {
30187 (char *) "self", NULL
30190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30192 if (SWIG_arg_fail(1)) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30207 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
;
30209 wxWindow
*arg1
= (wxWindow
*) 0 ;
30211 PyObject
* obj0
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(1)) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_From_int((int)(result
));
30235 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxWindow
*arg1
= (wxWindow
*) 0 ;
30239 PyObject
* obj0
= 0 ;
30240 char *kwnames
[] = {
30241 (char *) "self", NULL
30244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30246 if (SWIG_arg_fail(1)) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_From_int((int)(result
));
30263 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxWindow
*arg1
= (wxWindow
*) 0 ;
30266 wxString
*arg2
= 0 ;
30267 int *arg3
= (int *) 0 ;
30268 int *arg4
= (int *) 0 ;
30269 bool temp2
= false ;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 char *kwnames
[] = {
30277 (char *) "self",(char *) "string", NULL
30280 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30281 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30284 if (SWIG_arg_fail(1)) SWIG_fail
;
30286 arg2
= wxString_in_helper(obj1
);
30287 if (arg2
== NULL
) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 Py_INCREF(Py_None
); resultobj
= Py_None
;
30298 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30299 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30300 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30301 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30316 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
;
30318 wxWindow
*arg1
= (wxWindow
*) 0 ;
30319 wxString
*arg2
= 0 ;
30320 int *arg3
= (int *) 0 ;
30321 int *arg4
= (int *) 0 ;
30322 int *arg5
= (int *) 0 ;
30323 int *arg6
= (int *) 0 ;
30324 wxFont
*arg7
= (wxFont
*) NULL
;
30325 bool temp2
= false ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 PyObject
* obj2
= 0 ;
30337 char *kwnames
[] = {
30338 (char *) "self",(char *) "string",(char *) "font", NULL
30341 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30342 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30343 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30344 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30347 if (SWIG_arg_fail(1)) SWIG_fail
;
30349 arg2
= wxString_in_helper(obj1
);
30350 if (arg2
== NULL
) SWIG_fail
;
30354 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30355 if (SWIG_arg_fail(7)) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 Py_INCREF(Py_None
); resultobj
= Py_None
;
30365 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30366 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30367 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30368 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30369 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30370 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30371 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30372 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30387 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30388 PyObject
*resultobj
;
30389 wxWindow
*arg1
= (wxWindow
*) 0 ;
30390 int *arg2
= (int *) 0 ;
30391 int *arg3
= (int *) 0 ;
30396 PyObject
* obj0
= 0 ;
30397 PyObject
* obj1
= 0 ;
30398 PyObject
* obj2
= 0 ;
30399 char *kwnames
[] = {
30400 (char *) "self",(char *) "x",(char *) "y", NULL
30403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30405 if (SWIG_arg_fail(1)) SWIG_fail
;
30407 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30408 temp2
= SWIG_As_int(obj1
);
30409 if (SWIG_arg_fail(2)) SWIG_fail
;
30411 res2
= SWIG_NEWOBJ
;
30415 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30416 temp3
= SWIG_As_int(obj2
);
30417 if (SWIG_arg_fail(3)) SWIG_fail
;
30419 res3
= SWIG_NEWOBJ
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 Py_INCREF(Py_None
); resultobj
= Py_None
;
30430 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30431 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30432 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30433 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30440 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxWindow
*arg1
= (wxWindow
*) 0 ;
30443 int *arg2
= (int *) 0 ;
30444 int *arg3
= (int *) 0 ;
30449 PyObject
* obj0
= 0 ;
30450 PyObject
* obj1
= 0 ;
30451 PyObject
* obj2
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self",(char *) "x",(char *) "y", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30458 if (SWIG_arg_fail(1)) SWIG_fail
;
30460 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30461 temp2
= SWIG_As_int(obj1
);
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30464 res2
= SWIG_NEWOBJ
;
30468 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30469 temp3
= SWIG_As_int(obj2
);
30470 if (SWIG_arg_fail(3)) SWIG_fail
;
30472 res3
= SWIG_NEWOBJ
;
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 Py_INCREF(Py_None
); resultobj
= Py_None
;
30483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30484 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30486 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30493 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxWindow
*arg1
= (wxWindow
*) 0 ;
30496 wxPoint
*arg2
= 0 ;
30499 PyObject
* obj0
= 0 ;
30500 PyObject
* obj1
= 0 ;
30501 char *kwnames
[] = {
30502 (char *) "self",(char *) "pt", NULL
30505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail
;
30510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 wxPoint
* resultptr
;
30521 resultptr
= new wxPoint((wxPoint
&)(result
));
30522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30530 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxWindow
*arg1
= (wxWindow
*) 0 ;
30533 wxPoint
*arg2
= 0 ;
30536 PyObject
* obj0
= 0 ;
30537 PyObject
* obj1
= 0 ;
30538 char *kwnames
[] = {
30539 (char *) "self",(char *) "pt", NULL
30542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30544 if (SWIG_arg_fail(1)) SWIG_fail
;
30547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30557 wxPoint
* resultptr
;
30558 resultptr
= new wxPoint((wxPoint
&)(result
));
30559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30567 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30568 PyObject
*resultobj
;
30569 wxWindow
*arg1
= (wxWindow
*) 0 ;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 PyObject
* obj2
= 0 ;
30576 char *kwnames
[] = {
30577 (char *) "self",(char *) "x",(char *) "y", NULL
30580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30582 if (SWIG_arg_fail(1)) SWIG_fail
;
30584 arg2
= (int)(SWIG_As_int(obj1
));
30585 if (SWIG_arg_fail(2)) SWIG_fail
;
30588 arg3
= (int)(SWIG_As_int(obj2
));
30589 if (SWIG_arg_fail(3)) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= SWIG_From_int((result
));
30605 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
;
30607 wxWindow
*arg1
= (wxWindow
*) 0 ;
30608 wxPoint
*arg2
= 0 ;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self",(char *) "pt", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail
;
30622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= SWIG_From_int((result
));
30638 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30639 PyObject
*resultobj
;
30640 wxWindow
*arg1
= (wxWindow
*) 0 ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30646 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30648 if (SWIG_arg_fail(1)) SWIG_fail
;
30650 arg2
= (long)(SWIG_As_long(obj1
));
30651 if (SWIG_arg_fail(2)) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= SWIG_From_int((result
));
30667 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30668 PyObject
*resultobj
;
30669 wxWindow
*arg1
= (wxWindow
*) 0 ;
30671 PyObject
* obj0
= 0 ;
30673 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30675 if (SWIG_arg_fail(1)) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= SWIG_From_int((result
));
30690 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30695 argc
= PyObject_Length(args
);
30696 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30697 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30703 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30711 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30718 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30726 _v
= SWIG_Check_long(argv
[1]);
30728 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30733 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30738 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
;
30740 wxWindow
*arg1
= (wxWindow
*) 0 ;
30741 long arg2
= (long) wxUPDATE_UI_NONE
;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 char *kwnames
[] = {
30745 (char *) "self",(char *) "flags", NULL
30748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30750 if (SWIG_arg_fail(1)) SWIG_fail
;
30753 arg2
= (long)(SWIG_As_long(obj1
));
30754 if (SWIG_arg_fail(2)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 (arg1
)->UpdateWindowUI(arg2
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30764 Py_INCREF(Py_None
); resultobj
= Py_None
;
30771 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
;
30773 wxWindow
*arg1
= (wxWindow
*) 0 ;
30774 wxMenu
*arg2
= (wxMenu
*) 0 ;
30775 int arg3
= (int) -1 ;
30776 int arg4
= (int) -1 ;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 PyObject
* obj2
= 0 ;
30781 PyObject
* obj3
= 0 ;
30782 char *kwnames
[] = {
30783 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30788 if (SWIG_arg_fail(1)) SWIG_fail
;
30789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30790 if (SWIG_arg_fail(2)) SWIG_fail
;
30793 arg3
= (int)(SWIG_As_int(obj2
));
30794 if (SWIG_arg_fail(3)) SWIG_fail
;
30799 arg4
= (int)(SWIG_As_int(obj3
));
30800 if (SWIG_arg_fail(4)) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30819 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxWindow
*arg1
= (wxWindow
*) 0 ;
30822 wxMenu
*arg2
= (wxMenu
*) 0 ;
30823 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30824 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 PyObject
* obj2
= 0 ;
30830 char *kwnames
[] = {
30831 (char *) "self",(char *) "menu",(char *) "pos", NULL
30834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30836 if (SWIG_arg_fail(1)) SWIG_fail
;
30837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30838 if (SWIG_arg_fail(2)) SWIG_fail
;
30842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30847 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30861 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30862 PyObject
*resultobj
;
30863 wxWindow
*arg1
= (wxWindow
*) 0 ;
30865 PyObject
* obj0
= 0 ;
30866 char *kwnames
[] = {
30867 (char *) "self", NULL
30870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30872 if (SWIG_arg_fail(1)) SWIG_fail
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 result
= (long)wxWindow_GetHandle(arg1
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_From_long((long)(result
));
30889 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
;
30891 wxWindow
*arg1
= (wxWindow
*) 0 ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "handle", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30901 if (SWIG_arg_fail(1)) SWIG_fail
;
30903 arg2
= (long)(SWIG_As_long(obj1
));
30904 if (SWIG_arg_fail(2)) SWIG_fail
;
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 wxWindow_AssociateHandle(arg1
,arg2
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 Py_INCREF(Py_None
); resultobj
= Py_None
;
30920 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
;
30922 wxWindow
*arg1
= (wxWindow
*) 0 ;
30923 PyObject
* obj0
= 0 ;
30924 char *kwnames
[] = {
30925 (char *) "self", NULL
30928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30930 if (SWIG_arg_fail(1)) SWIG_fail
;
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 (arg1
)->DissociateHandle();
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 Py_INCREF(Py_None
); resultobj
= Py_None
;
30945 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
;
30947 wxWindow
*arg1
= (wxWindow
*) 0 ;
30950 PyObject
* obj0
= 0 ;
30951 PyObject
* obj1
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self",(char *) "orient", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail
;
30960 arg2
= (int)(SWIG_As_int(obj1
));
30961 if (SWIG_arg_fail(2)) SWIG_fail
;
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30979 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
;
30981 wxWindow
*arg1
= (wxWindow
*) 0 ;
30986 bool arg6
= (bool) true ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 PyObject
* obj2
= 0 ;
30990 PyObject
* obj3
= 0 ;
30991 PyObject
* obj4
= 0 ;
30992 PyObject
* obj5
= 0 ;
30993 char *kwnames
[] = {
30994 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30999 if (SWIG_arg_fail(1)) SWIG_fail
;
31001 arg2
= (int)(SWIG_As_int(obj1
));
31002 if (SWIG_arg_fail(2)) SWIG_fail
;
31005 arg3
= (int)(SWIG_As_int(obj2
));
31006 if (SWIG_arg_fail(3)) SWIG_fail
;
31009 arg4
= (int)(SWIG_As_int(obj3
));
31010 if (SWIG_arg_fail(4)) SWIG_fail
;
31013 arg5
= (int)(SWIG_As_int(obj4
));
31014 if (SWIG_arg_fail(5)) SWIG_fail
;
31018 arg6
= (bool)(SWIG_As_bool(obj5
));
31019 if (SWIG_arg_fail(6)) SWIG_fail
;
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 Py_INCREF(Py_None
); resultobj
= Py_None
;
31036 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
;
31038 wxWindow
*arg1
= (wxWindow
*) 0 ;
31041 bool arg4
= (bool) true ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 PyObject
* obj2
= 0 ;
31045 PyObject
* obj3
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31052 if (SWIG_arg_fail(1)) SWIG_fail
;
31054 arg2
= (int)(SWIG_As_int(obj1
));
31055 if (SWIG_arg_fail(2)) SWIG_fail
;
31058 arg3
= (int)(SWIG_As_int(obj2
));
31059 if (SWIG_arg_fail(3)) SWIG_fail
;
31063 arg4
= (bool)(SWIG_As_bool(obj3
));
31064 if (SWIG_arg_fail(4)) SWIG_fail
;
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 Py_INCREF(Py_None
); resultobj
= Py_None
;
31081 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxWindow
*arg1
= (wxWindow
*) 0 ;
31086 PyObject
* obj0
= 0 ;
31087 PyObject
* obj1
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self",(char *) "orientation", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(1)) SWIG_fail
;
31096 arg2
= (int)(SWIG_As_int(obj1
));
31097 if (SWIG_arg_fail(2)) SWIG_fail
;
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= SWIG_From_int((int)(result
));
31115 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31116 PyObject
*resultobj
;
31117 wxWindow
*arg1
= (wxWindow
*) 0 ;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 char *kwnames
[] = {
31123 (char *) "self",(char *) "orientation", NULL
31126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31128 if (SWIG_arg_fail(1)) SWIG_fail
;
31130 arg2
= (int)(SWIG_As_int(obj1
));
31131 if (SWIG_arg_fail(2)) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= SWIG_From_int((int)(result
));
31149 static PyObject
*_wrap_Window_GetScrollRange(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_GetScrollRange",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
)->GetScrollRange(arg2
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_From_int((int)(result
));
31183 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
;
31185 wxWindow
*arg1
= (wxWindow
*) 0 ;
31188 wxRect
*arg4
= (wxRect
*) NULL
;
31189 PyObject
* obj0
= 0 ;
31190 PyObject
* obj1
= 0 ;
31191 PyObject
* obj2
= 0 ;
31192 PyObject
* obj3
= 0 ;
31193 char *kwnames
[] = {
31194 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31199 if (SWIG_arg_fail(1)) SWIG_fail
;
31201 arg2
= (int)(SWIG_As_int(obj1
));
31202 if (SWIG_arg_fail(2)) SWIG_fail
;
31205 arg3
= (int)(SWIG_As_int(obj2
));
31206 if (SWIG_arg_fail(3)) SWIG_fail
;
31209 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31210 if (SWIG_arg_fail(4)) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31219 Py_INCREF(Py_None
); resultobj
= Py_None
;
31226 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31227 PyObject
*resultobj
;
31228 wxWindow
*arg1
= (wxWindow
*) 0 ;
31231 PyObject
* obj0
= 0 ;
31232 PyObject
* obj1
= 0 ;
31233 char *kwnames
[] = {
31234 (char *) "self",(char *) "lines", NULL
31237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31239 if (SWIG_arg_fail(1)) SWIG_fail
;
31241 arg2
= (int)(SWIG_As_int(obj1
));
31242 if (SWIG_arg_fail(2)) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= (bool)(arg1
)->ScrollLines(arg2
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31260 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
;
31262 wxWindow
*arg1
= (wxWindow
*) 0 ;
31265 PyObject
* obj0
= 0 ;
31266 PyObject
* obj1
= 0 ;
31267 char *kwnames
[] = {
31268 (char *) "self",(char *) "pages", NULL
31271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31273 if (SWIG_arg_fail(1)) SWIG_fail
;
31275 arg2
= (int)(SWIG_As_int(obj1
));
31276 if (SWIG_arg_fail(2)) SWIG_fail
;
31279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31280 result
= (bool)(arg1
)->ScrollPages(arg2
);
31282 wxPyEndAllowThreads(__tstate
);
31283 if (PyErr_Occurred()) SWIG_fail
;
31286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31294 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
;
31296 wxWindow
*arg1
= (wxWindow
*) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 char *kwnames
[] = {
31300 (char *) "self", NULL
31303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31305 if (SWIG_arg_fail(1)) SWIG_fail
;
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= (bool)(arg1
)->LineUp();
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31322 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
;
31324 wxWindow
*arg1
= (wxWindow
*) 0 ;
31326 PyObject
* obj0
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31333 if (SWIG_arg_fail(1)) SWIG_fail
;
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 result
= (bool)(arg1
)->LineDown();
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31350 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
;
31352 wxWindow
*arg1
= (wxWindow
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 char *kwnames
[] = {
31356 (char *) "self", NULL
31359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31361 if (SWIG_arg_fail(1)) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (bool)(arg1
)->PageUp();
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31378 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxWindow
*arg1
= (wxWindow
*) 0 ;
31382 PyObject
* obj0
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31389 if (SWIG_arg_fail(1)) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 result
= (bool)(arg1
)->PageDown();
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31406 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
;
31408 wxWindow
*arg1
= (wxWindow
*) 0 ;
31409 wxString
*arg2
= 0 ;
31410 bool temp2
= false ;
31411 PyObject
* obj0
= 0 ;
31412 PyObject
* obj1
= 0 ;
31413 char *kwnames
[] = {
31414 (char *) "self",(char *) "text", NULL
31417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31419 if (SWIG_arg_fail(1)) SWIG_fail
;
31421 arg2
= wxString_in_helper(obj1
);
31422 if (arg2
== NULL
) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 Py_INCREF(Py_None
); resultobj
= Py_None
;
31447 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
;
31449 wxWindow
*arg1
= (wxWindow
*) 0 ;
31450 wxString
*arg2
= 0 ;
31451 bool temp2
= false ;
31452 PyObject
* obj0
= 0 ;
31453 PyObject
* obj1
= 0 ;
31454 char *kwnames
[] = {
31455 (char *) "self",(char *) "text", NULL
31458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31460 if (SWIG_arg_fail(1)) SWIG_fail
;
31462 arg2
= wxString_in_helper(obj1
);
31463 if (arg2
== NULL
) SWIG_fail
;
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 Py_INCREF(Py_None
); resultobj
= Py_None
;
31488 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31489 PyObject
*resultobj
;
31490 wxWindow
*arg1
= (wxWindow
*) 0 ;
31492 PyObject
* obj0
= 0 ;
31493 char *kwnames
[] = {
31494 (char *) "self", NULL
31497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31499 if (SWIG_arg_fail(1)) SWIG_fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31520 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
;
31522 wxWindow
*arg1
= (wxWindow
*) 0 ;
31523 wxString
*arg2
= 0 ;
31524 bool temp2
= false ;
31525 PyObject
* obj0
= 0 ;
31526 PyObject
* obj1
= 0 ;
31527 char *kwnames
[] = {
31528 (char *) "self",(char *) "tip", NULL
31531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31533 if (SWIG_arg_fail(1)) SWIG_fail
;
31535 arg2
= wxString_in_helper(obj1
);
31536 if (arg2
== NULL
) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 Py_INCREF(Py_None
); resultobj
= Py_None
;
31561 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
;
31563 wxWindow
*arg1
= (wxWindow
*) 0 ;
31564 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31565 PyObject
* obj0
= 0 ;
31566 PyObject
* obj1
= 0 ;
31567 char *kwnames
[] = {
31568 (char *) "self",(char *) "tip", NULL
31571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31573 if (SWIG_arg_fail(1)) SWIG_fail
;
31574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31575 if (SWIG_arg_fail(2)) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 (arg1
)->SetToolTip(arg2
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 Py_INCREF(Py_None
); resultobj
= Py_None
;
31590 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxWindow
*arg1
= (wxWindow
*) 0 ;
31594 PyObject
* obj0
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "self", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31610 resultobj
= wxPyMake_wxObject(result
, 0);
31618 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31619 PyObject
*resultobj
;
31620 wxWindow
*arg1
= (wxWindow
*) 0 ;
31621 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31622 PyObject
* obj0
= 0 ;
31623 PyObject
* obj1
= 0 ;
31624 char *kwnames
[] = {
31625 (char *) "self",(char *) "dropTarget", NULL
31628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31630 if (SWIG_arg_fail(1)) SWIG_fail
;
31631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31632 if (SWIG_arg_fail(2)) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 (arg1
)->SetDropTarget(arg2
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 Py_INCREF(Py_None
); resultobj
= Py_None
;
31647 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31648 PyObject
*resultobj
;
31649 wxWindow
*arg1
= (wxWindow
*) 0 ;
31650 wxPyDropTarget
*result
;
31651 PyObject
* obj0
= 0 ;
31652 char *kwnames
[] = {
31653 (char *) "self", NULL
31656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31658 if (SWIG_arg_fail(1)) SWIG_fail
;
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31673 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
;
31675 wxWindow
*arg1
= (wxWindow
*) 0 ;
31676 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31677 PyObject
* obj0
= 0 ;
31678 PyObject
* obj1
= 0 ;
31679 char *kwnames
[] = {
31680 (char *) "self",(char *) "constraints", NULL
31683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31685 if (SWIG_arg_fail(1)) SWIG_fail
;
31686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31687 if (SWIG_arg_fail(2)) SWIG_fail
;
31689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31690 (arg1
)->SetConstraints(arg2
);
31692 wxPyEndAllowThreads(__tstate
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31695 Py_INCREF(Py_None
); resultobj
= Py_None
;
31702 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31703 PyObject
*resultobj
;
31704 wxWindow
*arg1
= (wxWindow
*) 0 ;
31705 wxLayoutConstraints
*result
;
31706 PyObject
* obj0
= 0 ;
31707 char *kwnames
[] = {
31708 (char *) "self", NULL
31711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31713 if (SWIG_arg_fail(1)) SWIG_fail
;
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31728 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31729 PyObject
*resultobj
;
31730 wxWindow
*arg1
= (wxWindow
*) 0 ;
31732 PyObject
* obj0
= 0 ;
31733 PyObject
* obj1
= 0 ;
31734 char *kwnames
[] = {
31735 (char *) "self",(char *) "autoLayout", NULL
31738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31740 if (SWIG_arg_fail(1)) SWIG_fail
;
31742 arg2
= (bool)(SWIG_As_bool(obj1
));
31743 if (SWIG_arg_fail(2)) SWIG_fail
;
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 (arg1
)->SetAutoLayout(arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 Py_INCREF(Py_None
); resultobj
= Py_None
;
31759 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
;
31761 wxWindow
*arg1
= (wxWindow
*) 0 ;
31763 PyObject
* obj0
= 0 ;
31764 char *kwnames
[] = {
31765 (char *) "self", NULL
31768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31770 if (SWIG_arg_fail(1)) SWIG_fail
;
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31787 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
;
31789 wxWindow
*arg1
= (wxWindow
*) 0 ;
31791 PyObject
* obj0
= 0 ;
31792 char *kwnames
[] = {
31793 (char *) "self", NULL
31796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31798 if (SWIG_arg_fail(1)) SWIG_fail
;
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 result
= (bool)(arg1
)->Layout();
31803 wxPyEndAllowThreads(__tstate
);
31804 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31815 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31816 PyObject
*resultobj
;
31817 wxWindow
*arg1
= (wxWindow
*) 0 ;
31818 wxSizer
*arg2
= (wxSizer
*) 0 ;
31819 bool arg3
= (bool) true ;
31820 PyObject
* obj0
= 0 ;
31821 PyObject
* obj1
= 0 ;
31822 PyObject
* obj2
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31829 if (SWIG_arg_fail(1)) SWIG_fail
;
31830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31831 if (SWIG_arg_fail(2)) SWIG_fail
;
31834 arg3
= (bool)(SWIG_As_bool(obj2
));
31835 if (SWIG_arg_fail(3)) SWIG_fail
;
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 (arg1
)->SetSizer(arg2
,arg3
);
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31845 Py_INCREF(Py_None
); resultobj
= Py_None
;
31852 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31853 PyObject
*resultobj
;
31854 wxWindow
*arg1
= (wxWindow
*) 0 ;
31855 wxSizer
*arg2
= (wxSizer
*) 0 ;
31856 bool arg3
= (bool) true ;
31857 PyObject
* obj0
= 0 ;
31858 PyObject
* obj1
= 0 ;
31859 PyObject
* obj2
= 0 ;
31860 char *kwnames
[] = {
31861 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31866 if (SWIG_arg_fail(1)) SWIG_fail
;
31867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31868 if (SWIG_arg_fail(2)) SWIG_fail
;
31871 arg3
= (bool)(SWIG_As_bool(obj2
));
31872 if (SWIG_arg_fail(3)) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 Py_INCREF(Py_None
); resultobj
= Py_None
;
31889 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
;
31891 wxWindow
*arg1
= (wxWindow
*) 0 ;
31893 PyObject
* obj0
= 0 ;
31894 char *kwnames
[] = {
31895 (char *) "self", NULL
31898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31900 if (SWIG_arg_fail(1)) SWIG_fail
;
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= wxPyMake_wxSizer(result
, 0);
31917 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31918 PyObject
*resultobj
;
31919 wxWindow
*arg1
= (wxWindow
*) 0 ;
31920 wxSizer
*arg2
= (wxSizer
*) 0 ;
31921 PyObject
* obj0
= 0 ;
31922 PyObject
* obj1
= 0 ;
31923 char *kwnames
[] = {
31924 (char *) "self",(char *) "sizer", NULL
31927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31929 if (SWIG_arg_fail(1)) SWIG_fail
;
31930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31931 if (SWIG_arg_fail(2)) SWIG_fail
;
31933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31934 (arg1
)->SetContainingSizer(arg2
);
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31939 Py_INCREF(Py_None
); resultobj
= Py_None
;
31946 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
;
31948 wxWindow
*arg1
= (wxWindow
*) 0 ;
31950 PyObject
* obj0
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= wxPyMake_wxSizer(result
, 0);
31974 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
;
31976 wxWindow
*arg1
= (wxWindow
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail
;
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 (arg1
)->InheritAttributes();
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 Py_INCREF(Py_None
); resultobj
= Py_None
;
31999 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
;
32001 wxWindow
*arg1
= (wxWindow
*) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 char *kwnames
[] = {
32005 (char *) "self", NULL
32008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32010 if (SWIG_arg_fail(1)) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32027 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32030 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32032 return Py_BuildValue((char *)"");
32034 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32037 wxWindow
*arg2
= (wxWindow
*) NULL
;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 char *kwnames
[] = {
32042 (char *) "id",(char *) "parent", NULL
32045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32047 arg1
= (long)(SWIG_As_long(obj0
));
32048 if (SWIG_arg_fail(1)) SWIG_fail
;
32051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32052 if (SWIG_arg_fail(2)) SWIG_fail
;
32055 if (!wxPyCheckForApp()) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= wxPyMake_wxObject(result
, 0);
32071 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
;
32073 wxString
*arg1
= 0 ;
32074 wxWindow
*arg2
= (wxWindow
*) NULL
;
32076 bool temp1
= false ;
32077 PyObject
* obj0
= 0 ;
32078 PyObject
* obj1
= 0 ;
32079 char *kwnames
[] = {
32080 (char *) "name",(char *) "parent", NULL
32083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32085 arg1
= wxString_in_helper(obj0
);
32086 if (arg1
== NULL
) SWIG_fail
;
32090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32091 if (SWIG_arg_fail(2)) SWIG_fail
;
32094 if (!wxPyCheckForApp()) SWIG_fail
;
32095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32098 wxPyEndAllowThreads(__tstate
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32102 resultobj
= wxPyMake_wxObject(result
, 0);
32118 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
;
32120 wxString
*arg1
= 0 ;
32121 wxWindow
*arg2
= (wxWindow
*) NULL
;
32123 bool temp1
= false ;
32124 PyObject
* obj0
= 0 ;
32125 PyObject
* obj1
= 0 ;
32126 char *kwnames
[] = {
32127 (char *) "label",(char *) "parent", NULL
32130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32132 arg1
= wxString_in_helper(obj0
);
32133 if (arg1
== NULL
) SWIG_fail
;
32137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32138 if (SWIG_arg_fail(2)) SWIG_fail
;
32141 if (!wxPyCheckForApp()) SWIG_fail
;
32142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32143 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= wxPyMake_wxObject(result
, 0);
32165 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32166 PyObject
*resultobj
;
32167 wxWindow
*arg1
= (wxWindow
*) 0 ;
32168 unsigned long arg2
;
32170 PyObject
* obj0
= 0 ;
32171 PyObject
* obj1
= 0 ;
32172 char *kwnames
[] = {
32173 (char *) "parent",(char *) "_hWnd", NULL
32176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32178 if (SWIG_arg_fail(1)) SWIG_fail
;
32180 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32181 if (SWIG_arg_fail(2)) SWIG_fail
;
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32185 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= wxPyMake_wxObject(result
, 0);
32199 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32200 PyObject
*resultobj
;
32201 wxValidator
*result
;
32202 char *kwnames
[] = {
32206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 result
= (wxValidator
*)new wxValidator();
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32221 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32222 PyObject
*resultobj
;
32223 wxValidator
*arg1
= (wxValidator
*) 0 ;
32224 wxValidator
*result
;
32225 PyObject
* obj0
= 0 ;
32226 char *kwnames
[] = {
32227 (char *) "self", NULL
32230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32232 if (SWIG_arg_fail(1)) SWIG_fail
;
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32235 result
= (wxValidator
*)(arg1
)->Clone();
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= wxPyMake_wxObject(result
, 0);
32249 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32250 PyObject
*resultobj
;
32251 wxValidator
*arg1
= (wxValidator
*) 0 ;
32252 wxWindow
*arg2
= (wxWindow
*) 0 ;
32254 PyObject
* obj0
= 0 ;
32255 PyObject
* obj1
= 0 ;
32256 char *kwnames
[] = {
32257 (char *) "self",(char *) "parent", NULL
32260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32262 if (SWIG_arg_fail(1)) SWIG_fail
;
32263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32264 if (SWIG_arg_fail(2)) SWIG_fail
;
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 result
= (bool)(arg1
)->Validate(arg2
);
32269 wxPyEndAllowThreads(__tstate
);
32270 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32281 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
;
32283 wxValidator
*arg1
= (wxValidator
*) 0 ;
32285 PyObject
* obj0
= 0 ;
32286 char *kwnames
[] = {
32287 (char *) "self", NULL
32290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32292 if (SWIG_arg_fail(1)) SWIG_fail
;
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (bool)(arg1
)->TransferToWindow();
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32309 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32310 PyObject
*resultobj
;
32311 wxValidator
*arg1
= (wxValidator
*) 0 ;
32313 PyObject
* obj0
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32320 if (SWIG_arg_fail(1)) SWIG_fail
;
32322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32323 result
= (bool)(arg1
)->TransferFromWindow();
32325 wxPyEndAllowThreads(__tstate
);
32326 if (PyErr_Occurred()) SWIG_fail
;
32329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32337 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32338 PyObject
*resultobj
;
32339 wxValidator
*arg1
= (wxValidator
*) 0 ;
32341 PyObject
* obj0
= 0 ;
32342 char *kwnames
[] = {
32343 (char *) "self", NULL
32346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32348 if (SWIG_arg_fail(1)) SWIG_fail
;
32350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32351 result
= (wxWindow
*)(arg1
)->GetWindow();
32353 wxPyEndAllowThreads(__tstate
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32357 resultobj
= wxPyMake_wxObject(result
, 0);
32365 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
;
32367 wxValidator
*arg1
= (wxValidator
*) 0 ;
32368 wxWindow
*arg2
= (wxWindow
*) 0 ;
32369 PyObject
* obj0
= 0 ;
32370 PyObject
* obj1
= 0 ;
32371 char *kwnames
[] = {
32372 (char *) "self",(char *) "window", NULL
32375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32377 if (SWIG_arg_fail(1)) SWIG_fail
;
32378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32379 if (SWIG_arg_fail(2)) SWIG_fail
;
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 (arg1
)->SetWindow(arg2
);
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 Py_INCREF(Py_None
); resultobj
= Py_None
;
32394 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32395 PyObject
*resultobj
;
32397 char *kwnames
[] = {
32401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 result
= (bool)wxValidator::IsSilent();
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32418 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
;
32420 int arg1
= (int) true ;
32421 PyObject
* obj0
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "doIt", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32429 arg1
= (int)(SWIG_As_int(obj0
));
32430 if (SWIG_arg_fail(1)) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 wxValidator::SetBellOnError(arg1
);
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32440 Py_INCREF(Py_None
); resultobj
= Py_None
;
32447 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32450 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32452 return Py_BuildValue((char *)"");
32454 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
;
32456 wxPyValidator
*result
;
32457 char *kwnames
[] = {
32461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 result
= (wxPyValidator
*)new wxPyValidator();
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32476 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
;
32478 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32479 PyObject
*arg2
= (PyObject
*) 0 ;
32480 PyObject
*arg3
= (PyObject
*) 0 ;
32481 int arg4
= (int) true ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 PyObject
* obj2
= 0 ;
32485 PyObject
* obj3
= 0 ;
32486 char *kwnames
[] = {
32487 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32492 if (SWIG_arg_fail(1)) SWIG_fail
;
32497 arg4
= (int)(SWIG_As_int(obj3
));
32498 if (SWIG_arg_fail(4)) SWIG_fail
;
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32508 Py_INCREF(Py_None
); resultobj
= Py_None
;
32515 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32518 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32520 return Py_BuildValue((char *)"");
32522 static int _wrap_DefaultValidator_set(PyObject
*) {
32523 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32528 static PyObject
*_wrap_DefaultValidator_get(void) {
32531 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32536 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32537 PyObject
*resultobj
;
32538 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32539 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32540 long arg2
= (long) 0 ;
32542 bool temp1
= false ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 char *kwnames
[] = {
32546 (char *) "title",(char *) "style", NULL
32549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32552 arg1
= wxString_in_helper(obj0
);
32553 if (arg1
== NULL
) SWIG_fail
;
32559 arg2
= (long)(SWIG_As_long(obj1
));
32560 if (SWIG_arg_fail(2)) SWIG_fail
;
32564 if (!wxPyCheckForApp()) SWIG_fail
;
32565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32566 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32586 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
;
32588 wxMenu
*arg1
= (wxMenu
*) 0 ;
32590 wxString
*arg3
= 0 ;
32591 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32592 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32593 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32594 wxMenuItem
*result
;
32595 bool temp3
= false ;
32596 bool temp4
= false ;
32597 PyObject
* obj0
= 0 ;
32598 PyObject
* obj1
= 0 ;
32599 PyObject
* obj2
= 0 ;
32600 PyObject
* obj3
= 0 ;
32601 PyObject
* obj4
= 0 ;
32602 char *kwnames
[] = {
32603 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32608 if (SWIG_arg_fail(1)) SWIG_fail
;
32610 arg2
= (int)(SWIG_As_int(obj1
));
32611 if (SWIG_arg_fail(2)) SWIG_fail
;
32614 arg3
= wxString_in_helper(obj2
);
32615 if (arg3
== NULL
) SWIG_fail
;
32620 arg4
= wxString_in_helper(obj3
);
32621 if (arg4
== NULL
) SWIG_fail
;
32627 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32628 if (SWIG_arg_fail(5)) SWIG_fail
;
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32639 resultobj
= wxPyMake_wxObject(result
, 0);
32663 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32664 PyObject
*resultobj
;
32665 wxMenu
*arg1
= (wxMenu
*) 0 ;
32666 wxMenuItem
*result
;
32667 PyObject
* obj0
= 0 ;
32668 char *kwnames
[] = {
32669 (char *) "self", NULL
32672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32674 if (SWIG_arg_fail(1)) SWIG_fail
;
32676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32677 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32679 wxPyEndAllowThreads(__tstate
);
32680 if (PyErr_Occurred()) SWIG_fail
;
32683 resultobj
= wxPyMake_wxObject(result
, 0);
32691 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32692 PyObject
*resultobj
;
32693 wxMenu
*arg1
= (wxMenu
*) 0 ;
32695 wxString
*arg3
= 0 ;
32696 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32697 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32698 wxMenuItem
*result
;
32699 bool temp3
= false ;
32700 bool temp4
= false ;
32701 PyObject
* obj0
= 0 ;
32702 PyObject
* obj1
= 0 ;
32703 PyObject
* obj2
= 0 ;
32704 PyObject
* obj3
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32711 if (SWIG_arg_fail(1)) SWIG_fail
;
32713 arg2
= (int)(SWIG_As_int(obj1
));
32714 if (SWIG_arg_fail(2)) SWIG_fail
;
32717 arg3
= wxString_in_helper(obj2
);
32718 if (arg3
== NULL
) SWIG_fail
;
32723 arg4
= wxString_in_helper(obj3
);
32724 if (arg4
== NULL
) SWIG_fail
;
32729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32730 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= wxPyMake_wxObject(result
, 0);
32760 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32761 PyObject
*resultobj
;
32762 wxMenu
*arg1
= (wxMenu
*) 0 ;
32764 wxString
*arg3
= 0 ;
32765 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32766 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32767 wxMenuItem
*result
;
32768 bool temp3
= false ;
32769 bool temp4
= false ;
32770 PyObject
* obj0
= 0 ;
32771 PyObject
* obj1
= 0 ;
32772 PyObject
* obj2
= 0 ;
32773 PyObject
* obj3
= 0 ;
32774 char *kwnames
[] = {
32775 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32780 if (SWIG_arg_fail(1)) SWIG_fail
;
32782 arg2
= (int)(SWIG_As_int(obj1
));
32783 if (SWIG_arg_fail(2)) SWIG_fail
;
32786 arg3
= wxString_in_helper(obj2
);
32787 if (arg3
== NULL
) SWIG_fail
;
32792 arg4
= wxString_in_helper(obj3
);
32793 if (arg4
== NULL
) SWIG_fail
;
32798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32801 wxPyEndAllowThreads(__tstate
);
32802 if (PyErr_Occurred()) SWIG_fail
;
32805 resultobj
= wxPyMake_wxObject(result
, 0);
32829 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32830 PyObject
*resultobj
;
32831 wxMenu
*arg1
= (wxMenu
*) 0 ;
32833 wxString
*arg3
= 0 ;
32834 wxMenu
*arg4
= (wxMenu
*) 0 ;
32835 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32836 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32837 wxMenuItem
*result
;
32838 bool temp3
= false ;
32839 bool temp5
= false ;
32840 PyObject
* obj0
= 0 ;
32841 PyObject
* obj1
= 0 ;
32842 PyObject
* obj2
= 0 ;
32843 PyObject
* obj3
= 0 ;
32844 PyObject
* obj4
= 0 ;
32845 char *kwnames
[] = {
32846 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail
;
32853 arg2
= (int)(SWIG_As_int(obj1
));
32854 if (SWIG_arg_fail(2)) SWIG_fail
;
32857 arg3
= wxString_in_helper(obj2
);
32858 if (arg3
== NULL
) SWIG_fail
;
32861 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32862 if (SWIG_arg_fail(4)) SWIG_fail
;
32865 arg5
= wxString_in_helper(obj4
);
32866 if (arg5
== NULL
) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= wxPyMake_wxObject(result
, 0);
32902 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
;
32904 wxMenu
*arg1
= (wxMenu
*) 0 ;
32905 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32906 wxMenuItem
*result
;
32907 PyObject
* obj0
= 0 ;
32908 PyObject
* obj1
= 0 ;
32909 char *kwnames
[] = {
32910 (char *) "self",(char *) "item", NULL
32913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32915 if (SWIG_arg_fail(1)) SWIG_fail
;
32916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32917 if (SWIG_arg_fail(2)) SWIG_fail
;
32919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32920 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= wxPyMake_wxObject(result
, 0);
32934 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
;
32936 wxMenu
*arg1
= (wxMenu
*) 0 ;
32937 PyObject
* obj0
= 0 ;
32938 char *kwnames
[] = {
32939 (char *) "self", NULL
32942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32944 if (SWIG_arg_fail(1)) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32952 Py_INCREF(Py_None
); resultobj
= Py_None
;
32959 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32960 PyObject
*resultobj
;
32961 wxMenu
*arg1
= (wxMenu
*) 0 ;
32963 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32964 wxMenuItem
*result
;
32965 PyObject
* obj0
= 0 ;
32966 PyObject
* obj1
= 0 ;
32967 PyObject
* obj2
= 0 ;
32968 char *kwnames
[] = {
32969 (char *) "self",(char *) "pos",(char *) "item", NULL
32972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32974 if (SWIG_arg_fail(1)) SWIG_fail
;
32976 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32977 if (SWIG_arg_fail(2)) SWIG_fail
;
32979 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32980 if (SWIG_arg_fail(3)) SWIG_fail
;
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32989 resultobj
= wxPyMake_wxObject(result
, 0);
32997 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
;
32999 wxMenu
*arg1
= (wxMenu
*) 0 ;
33002 wxString
*arg4
= 0 ;
33003 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33004 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33005 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33006 wxMenuItem
*result
;
33007 bool temp4
= false ;
33008 bool temp5
= false ;
33009 PyObject
* obj0
= 0 ;
33010 PyObject
* obj1
= 0 ;
33011 PyObject
* obj2
= 0 ;
33012 PyObject
* obj3
= 0 ;
33013 PyObject
* obj4
= 0 ;
33014 PyObject
* obj5
= 0 ;
33015 char *kwnames
[] = {
33016 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33021 if (SWIG_arg_fail(1)) SWIG_fail
;
33023 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33024 if (SWIG_arg_fail(2)) SWIG_fail
;
33027 arg3
= (int)(SWIG_As_int(obj2
));
33028 if (SWIG_arg_fail(3)) SWIG_fail
;
33031 arg4
= wxString_in_helper(obj3
);
33032 if (arg4
== NULL
) SWIG_fail
;
33037 arg5
= wxString_in_helper(obj4
);
33038 if (arg5
== NULL
) SWIG_fail
;
33044 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33045 if (SWIG_arg_fail(6)) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33056 resultobj
= wxPyMake_wxObject(result
, 0);
33080 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
;
33082 wxMenu
*arg1
= (wxMenu
*) 0 ;
33084 wxMenuItem
*result
;
33085 PyObject
* obj0
= 0 ;
33086 PyObject
* obj1
= 0 ;
33087 char *kwnames
[] = {
33088 (char *) "self",(char *) "pos", NULL
33091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33093 if (SWIG_arg_fail(1)) SWIG_fail
;
33095 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33096 if (SWIG_arg_fail(2)) SWIG_fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= wxPyMake_wxObject(result
, 0);
33114 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33115 PyObject
*resultobj
;
33116 wxMenu
*arg1
= (wxMenu
*) 0 ;
33119 wxString
*arg4
= 0 ;
33120 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33121 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33122 wxMenuItem
*result
;
33123 bool temp4
= false ;
33124 bool temp5
= false ;
33125 PyObject
* obj0
= 0 ;
33126 PyObject
* obj1
= 0 ;
33127 PyObject
* obj2
= 0 ;
33128 PyObject
* obj3
= 0 ;
33129 PyObject
* obj4
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33136 if (SWIG_arg_fail(1)) SWIG_fail
;
33138 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33139 if (SWIG_arg_fail(2)) SWIG_fail
;
33142 arg3
= (int)(SWIG_As_int(obj2
));
33143 if (SWIG_arg_fail(3)) SWIG_fail
;
33146 arg4
= wxString_in_helper(obj3
);
33147 if (arg4
== NULL
) SWIG_fail
;
33152 arg5
= wxString_in_helper(obj4
);
33153 if (arg5
== NULL
) SWIG_fail
;
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33165 resultobj
= wxPyMake_wxObject(result
, 0);
33189 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33190 PyObject
*resultobj
;
33191 wxMenu
*arg1
= (wxMenu
*) 0 ;
33194 wxString
*arg4
= 0 ;
33195 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33196 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33197 wxMenuItem
*result
;
33198 bool temp4
= false ;
33199 bool temp5
= false ;
33200 PyObject
* obj0
= 0 ;
33201 PyObject
* obj1
= 0 ;
33202 PyObject
* obj2
= 0 ;
33203 PyObject
* obj3
= 0 ;
33204 PyObject
* obj4
= 0 ;
33205 char *kwnames
[] = {
33206 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33211 if (SWIG_arg_fail(1)) SWIG_fail
;
33213 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33214 if (SWIG_arg_fail(2)) SWIG_fail
;
33217 arg3
= (int)(SWIG_As_int(obj2
));
33218 if (SWIG_arg_fail(3)) SWIG_fail
;
33221 arg4
= wxString_in_helper(obj3
);
33222 if (arg4
== NULL
) SWIG_fail
;
33227 arg5
= wxString_in_helper(obj4
);
33228 if (arg5
== NULL
) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= wxPyMake_wxObject(result
, 0);
33264 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33265 PyObject
*resultobj
;
33266 wxMenu
*arg1
= (wxMenu
*) 0 ;
33269 wxString
*arg4
= 0 ;
33270 wxMenu
*arg5
= (wxMenu
*) 0 ;
33271 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33273 wxMenuItem
*result
;
33274 bool temp4
= false ;
33275 bool temp6
= false ;
33276 PyObject
* obj0
= 0 ;
33277 PyObject
* obj1
= 0 ;
33278 PyObject
* obj2
= 0 ;
33279 PyObject
* obj3
= 0 ;
33280 PyObject
* obj4
= 0 ;
33281 PyObject
* obj5
= 0 ;
33282 char *kwnames
[] = {
33283 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33288 if (SWIG_arg_fail(1)) SWIG_fail
;
33290 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33291 if (SWIG_arg_fail(2)) SWIG_fail
;
33294 arg3
= (int)(SWIG_As_int(obj2
));
33295 if (SWIG_arg_fail(3)) SWIG_fail
;
33298 arg4
= wxString_in_helper(obj3
);
33299 if (arg4
== NULL
) SWIG_fail
;
33302 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33303 if (SWIG_arg_fail(5)) SWIG_fail
;
33306 arg6
= wxString_in_helper(obj5
);
33307 if (arg6
== NULL
) SWIG_fail
;
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= wxPyMake_wxObject(result
, 0);
33343 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
;
33345 wxMenu
*arg1
= (wxMenu
*) 0 ;
33346 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33347 wxMenuItem
*result
;
33348 PyObject
* obj0
= 0 ;
33349 PyObject
* obj1
= 0 ;
33350 char *kwnames
[] = {
33351 (char *) "self",(char *) "item", NULL
33354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33356 if (SWIG_arg_fail(1)) SWIG_fail
;
33357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33358 if (SWIG_arg_fail(2)) SWIG_fail
;
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= wxPyMake_wxObject(result
, 0);
33375 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
;
33377 wxMenu
*arg1
= (wxMenu
*) 0 ;
33379 wxString
*arg3
= 0 ;
33380 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33381 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33382 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33383 wxMenuItem
*result
;
33384 bool temp3
= false ;
33385 bool temp4
= false ;
33386 PyObject
* obj0
= 0 ;
33387 PyObject
* obj1
= 0 ;
33388 PyObject
* obj2
= 0 ;
33389 PyObject
* obj3
= 0 ;
33390 PyObject
* obj4
= 0 ;
33391 char *kwnames
[] = {
33392 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33397 if (SWIG_arg_fail(1)) SWIG_fail
;
33399 arg2
= (int)(SWIG_As_int(obj1
));
33400 if (SWIG_arg_fail(2)) SWIG_fail
;
33403 arg3
= wxString_in_helper(obj2
);
33404 if (arg3
== NULL
) SWIG_fail
;
33409 arg4
= wxString_in_helper(obj3
);
33410 if (arg4
== NULL
) SWIG_fail
;
33416 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33417 if (SWIG_arg_fail(5)) SWIG_fail
;
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33424 wxPyEndAllowThreads(__tstate
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= wxPyMake_wxObject(result
, 0);
33452 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33453 PyObject
*resultobj
;
33454 wxMenu
*arg1
= (wxMenu
*) 0 ;
33455 wxMenuItem
*result
;
33456 PyObject
* obj0
= 0 ;
33457 char *kwnames
[] = {
33458 (char *) "self", NULL
33461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33463 if (SWIG_arg_fail(1)) SWIG_fail
;
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33466 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33468 wxPyEndAllowThreads(__tstate
);
33469 if (PyErr_Occurred()) SWIG_fail
;
33472 resultobj
= wxPyMake_wxObject(result
, 0);
33480 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33481 PyObject
*resultobj
;
33482 wxMenu
*arg1
= (wxMenu
*) 0 ;
33484 wxString
*arg3
= 0 ;
33485 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33486 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33487 wxMenuItem
*result
;
33488 bool temp3
= false ;
33489 bool temp4
= false ;
33490 PyObject
* obj0
= 0 ;
33491 PyObject
* obj1
= 0 ;
33492 PyObject
* obj2
= 0 ;
33493 PyObject
* obj3
= 0 ;
33494 char *kwnames
[] = {
33495 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33500 if (SWIG_arg_fail(1)) SWIG_fail
;
33502 arg2
= (int)(SWIG_As_int(obj1
));
33503 if (SWIG_arg_fail(2)) SWIG_fail
;
33506 arg3
= wxString_in_helper(obj2
);
33507 if (arg3
== NULL
) SWIG_fail
;
33512 arg4
= wxString_in_helper(obj3
);
33513 if (arg4
== NULL
) SWIG_fail
;
33518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33519 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33521 wxPyEndAllowThreads(__tstate
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33525 resultobj
= wxPyMake_wxObject(result
, 0);
33549 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33550 PyObject
*resultobj
;
33551 wxMenu
*arg1
= (wxMenu
*) 0 ;
33553 wxString
*arg3
= 0 ;
33554 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33555 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33556 wxMenuItem
*result
;
33557 bool temp3
= false ;
33558 bool temp4
= false ;
33559 PyObject
* obj0
= 0 ;
33560 PyObject
* obj1
= 0 ;
33561 PyObject
* obj2
= 0 ;
33562 PyObject
* obj3
= 0 ;
33563 char *kwnames
[] = {
33564 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33569 if (SWIG_arg_fail(1)) SWIG_fail
;
33571 arg2
= (int)(SWIG_As_int(obj1
));
33572 if (SWIG_arg_fail(2)) SWIG_fail
;
33575 arg3
= wxString_in_helper(obj2
);
33576 if (arg3
== NULL
) SWIG_fail
;
33581 arg4
= wxString_in_helper(obj3
);
33582 if (arg4
== NULL
) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= wxPyMake_wxObject(result
, 0);
33618 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33619 PyObject
*resultobj
;
33620 wxMenu
*arg1
= (wxMenu
*) 0 ;
33622 wxString
*arg3
= 0 ;
33623 wxMenu
*arg4
= (wxMenu
*) 0 ;
33624 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33625 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33626 wxMenuItem
*result
;
33627 bool temp3
= false ;
33628 bool temp5
= false ;
33629 PyObject
* obj0
= 0 ;
33630 PyObject
* obj1
= 0 ;
33631 PyObject
* obj2
= 0 ;
33632 PyObject
* obj3
= 0 ;
33633 PyObject
* obj4
= 0 ;
33634 char *kwnames
[] = {
33635 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33640 if (SWIG_arg_fail(1)) SWIG_fail
;
33642 arg2
= (int)(SWIG_As_int(obj1
));
33643 if (SWIG_arg_fail(2)) SWIG_fail
;
33646 arg3
= wxString_in_helper(obj2
);
33647 if (arg3
== NULL
) SWIG_fail
;
33650 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33651 if (SWIG_arg_fail(4)) SWIG_fail
;
33654 arg5
= wxString_in_helper(obj4
);
33655 if (arg5
== NULL
) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33667 resultobj
= wxPyMake_wxObject(result
, 0);
33691 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
;
33693 wxMenu
*arg1
= (wxMenu
*) 0 ;
33695 wxMenuItem
*result
;
33696 PyObject
* obj0
= 0 ;
33697 PyObject
* obj1
= 0 ;
33698 char *kwnames
[] = {
33699 (char *) "self",(char *) "id", NULL
33702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33704 if (SWIG_arg_fail(1)) SWIG_fail
;
33706 arg2
= (int)(SWIG_As_int(obj1
));
33707 if (SWIG_arg_fail(2)) SWIG_fail
;
33710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33711 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= wxPyMake_wxObject(result
, 0);
33725 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33726 PyObject
*resultobj
;
33727 wxMenu
*arg1
= (wxMenu
*) 0 ;
33728 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33729 wxMenuItem
*result
;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 char *kwnames
[] = {
33733 (char *) "self",(char *) "item", NULL
33736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33738 if (SWIG_arg_fail(1)) SWIG_fail
;
33739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33740 if (SWIG_arg_fail(2)) SWIG_fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= wxPyMake_wxObject(result
, 0);
33757 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
;
33759 wxMenu
*arg1
= (wxMenu
*) 0 ;
33762 PyObject
* obj0
= 0 ;
33763 PyObject
* obj1
= 0 ;
33764 char *kwnames
[] = {
33765 (char *) "self",(char *) "id", NULL
33768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33770 if (SWIG_arg_fail(1)) SWIG_fail
;
33772 arg2
= (int)(SWIG_As_int(obj1
));
33773 if (SWIG_arg_fail(2)) SWIG_fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 result
= (bool)(arg1
)->Delete(arg2
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33791 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
;
33793 wxMenu
*arg1
= (wxMenu
*) 0 ;
33794 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33796 PyObject
* obj0
= 0 ;
33797 PyObject
* obj1
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self",(char *) "item", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33804 if (SWIG_arg_fail(1)) SWIG_fail
;
33805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33806 if (SWIG_arg_fail(2)) SWIG_fail
;
33808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33809 result
= (bool)(arg1
)->Delete(arg2
);
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33823 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
;
33825 wxMenu
*arg1
= (wxMenu
*) 0 ;
33826 PyObject
* obj0
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33833 if (SWIG_arg_fail(1)) SWIG_fail
;
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 wxMenu_Destroy(arg1
);
33838 wxPyEndAllowThreads(__tstate
);
33839 if (PyErr_Occurred()) SWIG_fail
;
33841 Py_INCREF(Py_None
); resultobj
= Py_None
;
33848 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
;
33850 wxMenu
*arg1
= (wxMenu
*) 0 ;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 char *kwnames
[] = {
33856 (char *) "self",(char *) "id", NULL
33859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33861 if (SWIG_arg_fail(1)) SWIG_fail
;
33863 arg2
= (int)(SWIG_As_int(obj1
));
33864 if (SWIG_arg_fail(2)) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (bool)(arg1
)->Destroy(arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33882 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
;
33884 wxMenu
*arg1
= (wxMenu
*) 0 ;
33885 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char *kwnames
[] = {
33890 (char *) "self",(char *) "item", NULL
33893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33895 if (SWIG_arg_fail(1)) SWIG_fail
;
33896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33897 if (SWIG_arg_fail(2)) SWIG_fail
;
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 result
= (bool)(arg1
)->Destroy(arg2
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33914 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
;
33916 wxMenu
*arg1
= (wxMenu
*) 0 ;
33918 PyObject
* obj0
= 0 ;
33919 char *kwnames
[] = {
33920 (char *) "self", NULL
33923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33925 if (SWIG_arg_fail(1)) SWIG_fail
;
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33934 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33942 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33943 PyObject
*resultobj
;
33944 wxMenu
*arg1
= (wxMenu
*) 0 ;
33946 PyObject
* obj0
= 0 ;
33947 char *kwnames
[] = {
33948 (char *) "self", NULL
33951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33953 if (SWIG_arg_fail(1)) SWIG_fail
;
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= result
;
33968 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
;
33970 wxMenu
*arg1
= (wxMenu
*) 0 ;
33971 wxString
*arg2
= 0 ;
33973 bool temp2
= false ;
33974 PyObject
* obj0
= 0 ;
33975 PyObject
* obj1
= 0 ;
33976 char *kwnames
[] = {
33977 (char *) "self",(char *) "item", NULL
33980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33982 if (SWIG_arg_fail(1)) SWIG_fail
;
33984 arg2
= wxString_in_helper(obj1
);
33985 if (arg2
== NULL
) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33996 resultobj
= SWIG_From_int((int)(result
));
34012 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34013 PyObject
*resultobj
;
34014 wxMenu
*arg1
= (wxMenu
*) 0 ;
34016 wxMenuItem
*result
;
34017 PyObject
* obj0
= 0 ;
34018 PyObject
* obj1
= 0 ;
34019 char *kwnames
[] = {
34020 (char *) "self",(char *) "id", NULL
34023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34025 if (SWIG_arg_fail(1)) SWIG_fail
;
34027 arg2
= (int)(SWIG_As_int(obj1
));
34028 if (SWIG_arg_fail(2)) SWIG_fail
;
34031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34032 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34034 wxPyEndAllowThreads(__tstate
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= wxPyMake_wxObject(result
, 0);
34046 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
;
34048 wxMenu
*arg1
= (wxMenu
*) 0 ;
34050 wxMenuItem
*result
;
34051 PyObject
* obj0
= 0 ;
34052 PyObject
* obj1
= 0 ;
34053 char *kwnames
[] = {
34054 (char *) "self",(char *) "position", NULL
34057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34059 if (SWIG_arg_fail(1)) SWIG_fail
;
34061 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34062 if (SWIG_arg_fail(2)) SWIG_fail
;
34065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34066 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= wxPyMake_wxObject(result
, 0);
34080 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
;
34082 wxMenu
*arg1
= (wxMenu
*) 0 ;
34085 PyObject
* obj0
= 0 ;
34086 PyObject
* obj1
= 0 ;
34087 PyObject
* obj2
= 0 ;
34088 char *kwnames
[] = {
34089 (char *) "self",(char *) "id",(char *) "enable", NULL
34092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34094 if (SWIG_arg_fail(1)) SWIG_fail
;
34096 arg2
= (int)(SWIG_As_int(obj1
));
34097 if (SWIG_arg_fail(2)) SWIG_fail
;
34100 arg3
= (bool)(SWIG_As_bool(obj2
));
34101 if (SWIG_arg_fail(3)) SWIG_fail
;
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->Enable(arg2
,arg3
);
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34110 Py_INCREF(Py_None
); resultobj
= Py_None
;
34117 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxMenu
*arg1
= (wxMenu
*) 0 ;
34122 PyObject
* obj0
= 0 ;
34123 PyObject
* obj1
= 0 ;
34124 char *kwnames
[] = {
34125 (char *) "self",(char *) "id", NULL
34128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34130 if (SWIG_arg_fail(1)) SWIG_fail
;
34132 arg2
= (int)(SWIG_As_int(obj1
));
34133 if (SWIG_arg_fail(2)) SWIG_fail
;
34136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34137 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34139 wxPyEndAllowThreads(__tstate
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34151 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34152 PyObject
*resultobj
;
34153 wxMenu
*arg1
= (wxMenu
*) 0 ;
34156 PyObject
* obj0
= 0 ;
34157 PyObject
* obj1
= 0 ;
34158 PyObject
* obj2
= 0 ;
34159 char *kwnames
[] = {
34160 (char *) "self",(char *) "id",(char *) "check", NULL
34163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34165 if (SWIG_arg_fail(1)) SWIG_fail
;
34167 arg2
= (int)(SWIG_As_int(obj1
));
34168 if (SWIG_arg_fail(2)) SWIG_fail
;
34171 arg3
= (bool)(SWIG_As_bool(obj2
));
34172 if (SWIG_arg_fail(3)) SWIG_fail
;
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 (arg1
)->Check(arg2
,arg3
);
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 Py_INCREF(Py_None
); resultobj
= Py_None
;
34188 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
;
34190 wxMenu
*arg1
= (wxMenu
*) 0 ;
34193 PyObject
* obj0
= 0 ;
34194 PyObject
* obj1
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self",(char *) "id", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34201 if (SWIG_arg_fail(1)) SWIG_fail
;
34203 arg2
= (int)(SWIG_As_int(obj1
));
34204 if (SWIG_arg_fail(2)) SWIG_fail
;
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34222 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
;
34224 wxMenu
*arg1
= (wxMenu
*) 0 ;
34226 wxString
*arg3
= 0 ;
34227 bool temp3
= false ;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 PyObject
* obj2
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self",(char *) "id",(char *) "label", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34237 if (SWIG_arg_fail(1)) SWIG_fail
;
34239 arg2
= (int)(SWIG_As_int(obj1
));
34240 if (SWIG_arg_fail(2)) SWIG_fail
;
34243 arg3
= wxString_in_helper(obj2
);
34244 if (arg3
== NULL
) SWIG_fail
;
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 Py_INCREF(Py_None
); resultobj
= Py_None
;
34269 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
;
34271 wxMenu
*arg1
= (wxMenu
*) 0 ;
34274 PyObject
* obj0
= 0 ;
34275 PyObject
* obj1
= 0 ;
34276 char *kwnames
[] = {
34277 (char *) "self",(char *) "id", NULL
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34282 if (SWIG_arg_fail(1)) SWIG_fail
;
34284 arg2
= (int)(SWIG_As_int(obj1
));
34285 if (SWIG_arg_fail(2)) SWIG_fail
;
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34307 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34308 PyObject
*resultobj
;
34309 wxMenu
*arg1
= (wxMenu
*) 0 ;
34311 wxString
*arg3
= 0 ;
34312 bool temp3
= false ;
34313 PyObject
* obj0
= 0 ;
34314 PyObject
* obj1
= 0 ;
34315 PyObject
* obj2
= 0 ;
34316 char *kwnames
[] = {
34317 (char *) "self",(char *) "id",(char *) "helpString", NULL
34320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34322 if (SWIG_arg_fail(1)) SWIG_fail
;
34324 arg2
= (int)(SWIG_As_int(obj1
));
34325 if (SWIG_arg_fail(2)) SWIG_fail
;
34328 arg3
= wxString_in_helper(obj2
);
34329 if (arg3
== NULL
) SWIG_fail
;
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34336 wxPyEndAllowThreads(__tstate
);
34337 if (PyErr_Occurred()) SWIG_fail
;
34339 Py_INCREF(Py_None
); resultobj
= Py_None
;
34354 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
;
34356 wxMenu
*arg1
= (wxMenu
*) 0 ;
34359 PyObject
* obj0
= 0 ;
34360 PyObject
* obj1
= 0 ;
34361 char *kwnames
[] = {
34362 (char *) "self",(char *) "id", NULL
34365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34367 if (SWIG_arg_fail(1)) SWIG_fail
;
34369 arg2
= (int)(SWIG_As_int(obj1
));
34370 if (SWIG_arg_fail(2)) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34392 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
;
34394 wxMenu
*arg1
= (wxMenu
*) 0 ;
34395 wxString
*arg2
= 0 ;
34396 bool temp2
= false ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "title", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail
;
34407 arg2
= wxString_in_helper(obj1
);
34408 if (arg2
== NULL
) SWIG_fail
;
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34413 (arg1
)->SetTitle((wxString
const &)*arg2
);
34415 wxPyEndAllowThreads(__tstate
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34418 Py_INCREF(Py_None
); resultobj
= Py_None
;
34433 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34434 PyObject
*resultobj
;
34435 wxMenu
*arg1
= (wxMenu
*) 0 ;
34437 PyObject
* obj0
= 0 ;
34438 char *kwnames
[] = {
34439 (char *) "self", NULL
34442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34444 if (SWIG_arg_fail(1)) SWIG_fail
;
34446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34447 result
= ((wxMenu
const *)arg1
)->GetTitle();
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34465 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
;
34467 wxMenu
*arg1
= (wxMenu
*) 0 ;
34468 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34469 PyObject
* obj0
= 0 ;
34470 PyObject
* obj1
= 0 ;
34471 char *kwnames
[] = {
34472 (char *) "self",(char *) "handler", NULL
34475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34477 if (SWIG_arg_fail(1)) SWIG_fail
;
34478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34479 if (SWIG_arg_fail(2)) SWIG_fail
;
34481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34482 (arg1
)->SetEventHandler(arg2
);
34484 wxPyEndAllowThreads(__tstate
);
34485 if (PyErr_Occurred()) SWIG_fail
;
34487 Py_INCREF(Py_None
); resultobj
= Py_None
;
34494 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34495 PyObject
*resultobj
;
34496 wxMenu
*arg1
= (wxMenu
*) 0 ;
34497 wxEvtHandler
*result
;
34498 PyObject
* obj0
= 0 ;
34499 char *kwnames
[] = {
34500 (char *) "self", NULL
34503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34505 if (SWIG_arg_fail(1)) SWIG_fail
;
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= wxPyMake_wxObject(result
, 0);
34522 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34523 PyObject
*resultobj
;
34524 wxMenu
*arg1
= (wxMenu
*) 0 ;
34525 wxWindow
*arg2
= (wxWindow
*) 0 ;
34526 PyObject
* obj0
= 0 ;
34527 PyObject
* obj1
= 0 ;
34528 char *kwnames
[] = {
34529 (char *) "self",(char *) "win", NULL
34532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34534 if (SWIG_arg_fail(1)) SWIG_fail
;
34535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34536 if (SWIG_arg_fail(2)) SWIG_fail
;
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34539 (arg1
)->SetInvokingWindow(arg2
);
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34544 Py_INCREF(Py_None
); resultobj
= Py_None
;
34551 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
;
34553 wxMenu
*arg1
= (wxMenu
*) 0 ;
34555 PyObject
* obj0
= 0 ;
34556 char *kwnames
[] = {
34557 (char *) "self", NULL
34560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34562 if (SWIG_arg_fail(1)) SWIG_fail
;
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= wxPyMake_wxObject(result
, 0);
34579 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34580 PyObject
*resultobj
;
34581 wxMenu
*arg1
= (wxMenu
*) 0 ;
34583 PyObject
* obj0
= 0 ;
34584 char *kwnames
[] = {
34585 (char *) "self", NULL
34588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34590 if (SWIG_arg_fail(1)) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_From_long((long)(result
));
34607 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34608 PyObject
*resultobj
;
34609 wxMenu
*arg1
= (wxMenu
*) 0 ;
34610 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 char *kwnames
[] = {
34614 (char *) "self",(char *) "source", NULL
34617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34619 if (SWIG_arg_fail(1)) SWIG_fail
;
34621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34622 if (SWIG_arg_fail(2)) SWIG_fail
;
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 (arg1
)->UpdateUI(arg2
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34631 Py_INCREF(Py_None
); resultobj
= Py_None
;
34638 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34639 PyObject
*resultobj
;
34640 wxMenu
*arg1
= (wxMenu
*) 0 ;
34642 PyObject
* obj0
= 0 ;
34643 char *kwnames
[] = {
34644 (char *) "self", NULL
34647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34649 if (SWIG_arg_fail(1)) SWIG_fail
;
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34658 resultobj
= wxPyMake_wxObject(result
, 0);
34666 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34667 PyObject
*resultobj
;
34668 wxMenu
*arg1
= (wxMenu
*) 0 ;
34669 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34670 PyObject
* obj0
= 0 ;
34671 PyObject
* obj1
= 0 ;
34672 char *kwnames
[] = {
34673 (char *) "self",(char *) "menubar", NULL
34676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34678 if (SWIG_arg_fail(1)) SWIG_fail
;
34679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34680 if (SWIG_arg_fail(2)) SWIG_fail
;
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34683 (arg1
)->Attach(arg2
);
34685 wxPyEndAllowThreads(__tstate
);
34686 if (PyErr_Occurred()) SWIG_fail
;
34688 Py_INCREF(Py_None
); resultobj
= Py_None
;
34695 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34696 PyObject
*resultobj
;
34697 wxMenu
*arg1
= (wxMenu
*) 0 ;
34698 PyObject
* obj0
= 0 ;
34699 char *kwnames
[] = {
34700 (char *) "self", NULL
34703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34705 if (SWIG_arg_fail(1)) SWIG_fail
;
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34713 Py_INCREF(Py_None
); resultobj
= Py_None
;
34720 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
;
34722 wxMenu
*arg1
= (wxMenu
*) 0 ;
34724 PyObject
* obj0
= 0 ;
34725 char *kwnames
[] = {
34726 (char *) "self", NULL
34729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34731 if (SWIG_arg_fail(1)) SWIG_fail
;
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34734 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34748 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxMenu
*arg1
= (wxMenu
*) 0 ;
34751 wxMenu
*arg2
= (wxMenu
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "parent", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34760 if (SWIG_arg_fail(1)) SWIG_fail
;
34761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34762 if (SWIG_arg_fail(2)) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 (arg1
)->SetParent(arg2
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 Py_INCREF(Py_None
); resultobj
= Py_None
;
34777 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
;
34779 wxMenu
*arg1
= (wxMenu
*) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 char *kwnames
[] = {
34783 (char *) "self", NULL
34786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34788 if (SWIG_arg_fail(1)) SWIG_fail
;
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34791 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= wxPyMake_wxObject(result
, 0);
34805 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34808 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34810 return Py_BuildValue((char *)"");
34812 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34813 PyObject
*resultobj
;
34814 long arg1
= (long) 0 ;
34816 PyObject
* obj0
= 0 ;
34817 char *kwnames
[] = {
34818 (char *) "style", NULL
34821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34824 arg1
= (long)(SWIG_As_long(obj0
));
34825 if (SWIG_arg_fail(1)) SWIG_fail
;
34829 if (!wxPyCheckForApp()) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34843 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34846 wxMenu
*arg2
= (wxMenu
*) 0 ;
34847 wxString
*arg3
= 0 ;
34849 bool temp3
= false ;
34850 PyObject
* obj0
= 0 ;
34851 PyObject
* obj1
= 0 ;
34852 PyObject
* obj2
= 0 ;
34853 char *kwnames
[] = {
34854 (char *) "self",(char *) "menu",(char *) "title", NULL
34857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34859 if (SWIG_arg_fail(1)) SWIG_fail
;
34860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34861 if (SWIG_arg_fail(2)) SWIG_fail
;
34863 arg3
= wxString_in_helper(obj2
);
34864 if (arg3
== NULL
) SWIG_fail
;
34868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34869 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34871 wxPyEndAllowThreads(__tstate
);
34872 if (PyErr_Occurred()) SWIG_fail
;
34875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34891 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
;
34893 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34895 wxMenu
*arg3
= (wxMenu
*) 0 ;
34896 wxString
*arg4
= 0 ;
34898 bool temp4
= false ;
34899 PyObject
* obj0
= 0 ;
34900 PyObject
* obj1
= 0 ;
34901 PyObject
* obj2
= 0 ;
34902 PyObject
* obj3
= 0 ;
34903 char *kwnames
[] = {
34904 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34909 if (SWIG_arg_fail(1)) SWIG_fail
;
34911 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34912 if (SWIG_arg_fail(2)) SWIG_fail
;
34914 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34915 if (SWIG_arg_fail(3)) SWIG_fail
;
34917 arg4
= wxString_in_helper(obj3
);
34918 if (arg4
== NULL
) SWIG_fail
;
34922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34923 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34925 wxPyEndAllowThreads(__tstate
);
34926 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34945 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
;
34947 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34949 PyObject
* obj0
= 0 ;
34950 char *kwnames
[] = {
34951 (char *) "self", NULL
34954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34956 if (SWIG_arg_fail(1)) SWIG_fail
;
34958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34959 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34965 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34973 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34974 PyObject
*resultobj
;
34975 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 char *kwnames
[] = {
34981 (char *) "self",(char *) "pos", NULL
34984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34986 if (SWIG_arg_fail(1)) SWIG_fail
;
34988 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34989 if (SWIG_arg_fail(2)) SWIG_fail
;
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34995 wxPyEndAllowThreads(__tstate
);
34996 if (PyErr_Occurred()) SWIG_fail
;
34999 resultobj
= wxPyMake_wxObject(result
, 0);
35007 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35008 PyObject
*resultobj
;
35009 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35011 wxMenu
*arg3
= (wxMenu
*) 0 ;
35012 wxString
*arg4
= 0 ;
35014 bool temp4
= false ;
35015 PyObject
* obj0
= 0 ;
35016 PyObject
* obj1
= 0 ;
35017 PyObject
* obj2
= 0 ;
35018 PyObject
* obj3
= 0 ;
35019 char *kwnames
[] = {
35020 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35025 if (SWIG_arg_fail(1)) SWIG_fail
;
35027 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35028 if (SWIG_arg_fail(2)) SWIG_fail
;
35030 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35031 if (SWIG_arg_fail(3)) SWIG_fail
;
35033 arg4
= wxString_in_helper(obj3
);
35034 if (arg4
== NULL
) SWIG_fail
;
35038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35039 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35041 wxPyEndAllowThreads(__tstate
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35045 resultobj
= wxPyMake_wxObject(result
, 0);
35061 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35062 PyObject
*resultobj
;
35063 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35066 PyObject
* obj0
= 0 ;
35067 PyObject
* obj1
= 0 ;
35068 char *kwnames
[] = {
35069 (char *) "self",(char *) "pos", NULL
35072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35074 if (SWIG_arg_fail(1)) SWIG_fail
;
35076 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35077 if (SWIG_arg_fail(2)) SWIG_fail
;
35080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35081 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35083 wxPyEndAllowThreads(__tstate
);
35084 if (PyErr_Occurred()) SWIG_fail
;
35087 resultobj
= wxPyMake_wxObject(result
, 0);
35095 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
;
35097 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35100 PyObject
* obj0
= 0 ;
35101 PyObject
* obj1
= 0 ;
35102 PyObject
* obj2
= 0 ;
35103 char *kwnames
[] = {
35104 (char *) "self",(char *) "pos",(char *) "enable", NULL
35107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35109 if (SWIG_arg_fail(1)) SWIG_fail
;
35111 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35112 if (SWIG_arg_fail(2)) SWIG_fail
;
35115 arg3
= (bool)(SWIG_As_bool(obj2
));
35116 if (SWIG_arg_fail(3)) SWIG_fail
;
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 (arg1
)->EnableTop(arg2
,arg3
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35125 Py_INCREF(Py_None
); resultobj
= Py_None
;
35132 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35133 PyObject
*resultobj
;
35134 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35137 PyObject
* obj0
= 0 ;
35138 PyObject
* obj1
= 0 ;
35139 char *kwnames
[] = {
35140 (char *) "self",(char *) "pos", NULL
35143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35145 if (SWIG_arg_fail(1)) SWIG_fail
;
35147 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35148 if (SWIG_arg_fail(2)) SWIG_fail
;
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35166 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
;
35168 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35170 wxString
*arg3
= 0 ;
35171 bool temp3
= false ;
35172 PyObject
* obj0
= 0 ;
35173 PyObject
* obj1
= 0 ;
35174 PyObject
* obj2
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self",(char *) "pos",(char *) "label", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35181 if (SWIG_arg_fail(1)) SWIG_fail
;
35183 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35184 if (SWIG_arg_fail(2)) SWIG_fail
;
35187 arg3
= wxString_in_helper(obj2
);
35188 if (arg3
== NULL
) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 Py_INCREF(Py_None
); resultobj
= Py_None
;
35213 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35214 PyObject
*resultobj
;
35215 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35218 PyObject
* obj0
= 0 ;
35219 PyObject
* obj1
= 0 ;
35220 char *kwnames
[] = {
35221 (char *) "self",(char *) "pos", NULL
35224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35226 if (SWIG_arg_fail(1)) SWIG_fail
;
35228 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35229 if (SWIG_arg_fail(2)) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35251 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
;
35253 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35254 wxString
*arg2
= 0 ;
35255 wxString
*arg3
= 0 ;
35257 bool temp2
= false ;
35258 bool temp3
= false ;
35259 PyObject
* obj0
= 0 ;
35260 PyObject
* obj1
= 0 ;
35261 PyObject
* obj2
= 0 ;
35262 char *kwnames
[] = {
35263 (char *) "self",(char *) "menu",(char *) "item", NULL
35266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35268 if (SWIG_arg_fail(1)) SWIG_fail
;
35270 arg2
= wxString_in_helper(obj1
);
35271 if (arg2
== NULL
) SWIG_fail
;
35275 arg3
= wxString_in_helper(obj2
);
35276 if (arg3
== NULL
) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35287 resultobj
= SWIG_From_int((int)(result
));
35311 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35312 PyObject
*resultobj
;
35313 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35315 wxMenuItem
*result
;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 char *kwnames
[] = {
35319 (char *) "self",(char *) "id", NULL
35322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35324 if (SWIG_arg_fail(1)) SWIG_fail
;
35326 arg2
= (int)(SWIG_As_int(obj1
));
35327 if (SWIG_arg_fail(2)) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35337 resultobj
= wxPyMake_wxObject(result
, 0);
35345 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35348 wxString
*arg2
= 0 ;
35350 bool temp2
= false ;
35351 PyObject
* obj0
= 0 ;
35352 PyObject
* obj1
= 0 ;
35353 char *kwnames
[] = {
35354 (char *) "self",(char *) "title", NULL
35357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35359 if (SWIG_arg_fail(1)) SWIG_fail
;
35361 arg2
= wxString_in_helper(obj1
);
35362 if (arg2
== NULL
) SWIG_fail
;
35366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35367 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35373 resultobj
= SWIG_From_int((int)(result
));
35389 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35390 PyObject
*resultobj
;
35391 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35394 PyObject
* obj0
= 0 ;
35395 PyObject
* obj1
= 0 ;
35396 PyObject
* obj2
= 0 ;
35397 char *kwnames
[] = {
35398 (char *) "self",(char *) "id",(char *) "enable", NULL
35401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35403 if (SWIG_arg_fail(1)) SWIG_fail
;
35405 arg2
= (int)(SWIG_As_int(obj1
));
35406 if (SWIG_arg_fail(2)) SWIG_fail
;
35409 arg3
= (bool)(SWIG_As_bool(obj2
));
35410 if (SWIG_arg_fail(3)) SWIG_fail
;
35413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35414 (arg1
)->Enable(arg2
,arg3
);
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35419 Py_INCREF(Py_None
); resultobj
= Py_None
;
35426 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35427 PyObject
*resultobj
;
35428 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35431 PyObject
* obj0
= 0 ;
35432 PyObject
* obj1
= 0 ;
35433 PyObject
* obj2
= 0 ;
35434 char *kwnames
[] = {
35435 (char *) "self",(char *) "id",(char *) "check", NULL
35438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35440 if (SWIG_arg_fail(1)) SWIG_fail
;
35442 arg2
= (int)(SWIG_As_int(obj1
));
35443 if (SWIG_arg_fail(2)) SWIG_fail
;
35446 arg3
= (bool)(SWIG_As_bool(obj2
));
35447 if (SWIG_arg_fail(3)) SWIG_fail
;
35450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35451 (arg1
)->Check(arg2
,arg3
);
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35456 Py_INCREF(Py_None
); resultobj
= Py_None
;
35463 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
;
35465 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35468 PyObject
* obj0
= 0 ;
35469 PyObject
* obj1
= 0 ;
35470 char *kwnames
[] = {
35471 (char *) "self",(char *) "id", NULL
35474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35476 if (SWIG_arg_fail(1)) SWIG_fail
;
35478 arg2
= (int)(SWIG_As_int(obj1
));
35479 if (SWIG_arg_fail(2)) SWIG_fail
;
35482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35483 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35485 wxPyEndAllowThreads(__tstate
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35497 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35498 PyObject
*resultobj
;
35499 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35502 PyObject
* obj0
= 0 ;
35503 PyObject
* obj1
= 0 ;
35504 char *kwnames
[] = {
35505 (char *) "self",(char *) "id", NULL
35508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35510 if (SWIG_arg_fail(1)) SWIG_fail
;
35512 arg2
= (int)(SWIG_As_int(obj1
));
35513 if (SWIG_arg_fail(2)) SWIG_fail
;
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35519 wxPyEndAllowThreads(__tstate
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35531 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35532 PyObject
*resultobj
;
35533 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35535 wxString
*arg3
= 0 ;
35536 bool temp3
= false ;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 PyObject
* obj2
= 0 ;
35540 char *kwnames
[] = {
35541 (char *) "self",(char *) "id",(char *) "label", NULL
35544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35546 if (SWIG_arg_fail(1)) SWIG_fail
;
35548 arg2
= (int)(SWIG_As_int(obj1
));
35549 if (SWIG_arg_fail(2)) SWIG_fail
;
35552 arg3
= wxString_in_helper(obj2
);
35553 if (arg3
== NULL
) SWIG_fail
;
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35563 Py_INCREF(Py_None
); resultobj
= Py_None
;
35578 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35579 PyObject
*resultobj
;
35580 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35583 PyObject
* obj0
= 0 ;
35584 PyObject
* obj1
= 0 ;
35585 char *kwnames
[] = {
35586 (char *) "self",(char *) "id", NULL
35589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35591 if (SWIG_arg_fail(1)) SWIG_fail
;
35593 arg2
= (int)(SWIG_As_int(obj1
));
35594 if (SWIG_arg_fail(2)) SWIG_fail
;
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35616 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35617 PyObject
*resultobj
;
35618 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35620 wxString
*arg3
= 0 ;
35621 bool temp3
= false ;
35622 PyObject
* obj0
= 0 ;
35623 PyObject
* obj1
= 0 ;
35624 PyObject
* obj2
= 0 ;
35625 char *kwnames
[] = {
35626 (char *) "self",(char *) "id",(char *) "helpString", NULL
35629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35631 if (SWIG_arg_fail(1)) SWIG_fail
;
35633 arg2
= (int)(SWIG_As_int(obj1
));
35634 if (SWIG_arg_fail(2)) SWIG_fail
;
35637 arg3
= wxString_in_helper(obj2
);
35638 if (arg3
== NULL
) SWIG_fail
;
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35645 wxPyEndAllowThreads(__tstate
);
35646 if (PyErr_Occurred()) SWIG_fail
;
35648 Py_INCREF(Py_None
); resultobj
= Py_None
;
35663 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
;
35665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35668 PyObject
* obj0
= 0 ;
35669 PyObject
* obj1
= 0 ;
35670 char *kwnames
[] = {
35671 (char *) "self",(char *) "id", NULL
35674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35676 if (SWIG_arg_fail(1)) SWIG_fail
;
35678 arg2
= (int)(SWIG_As_int(obj1
));
35679 if (SWIG_arg_fail(2)) SWIG_fail
;
35682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35683 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35701 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35702 PyObject
*resultobj
;
35703 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35705 PyObject
* obj0
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35712 if (SWIG_arg_fail(1)) SWIG_fail
;
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35721 resultobj
= wxPyMake_wxObject(result
, 0);
35729 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
;
35731 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35733 PyObject
* obj0
= 0 ;
35734 char *kwnames
[] = {
35735 (char *) "self", NULL
35738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35740 if (SWIG_arg_fail(1)) SWIG_fail
;
35742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35743 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35745 wxPyEndAllowThreads(__tstate
);
35746 if (PyErr_Occurred()) SWIG_fail
;
35749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35757 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35758 PyObject
*resultobj
;
35759 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35760 wxFrame
*arg2
= (wxFrame
*) 0 ;
35761 PyObject
* obj0
= 0 ;
35762 PyObject
* obj1
= 0 ;
35763 char *kwnames
[] = {
35764 (char *) "self",(char *) "frame", NULL
35767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35769 if (SWIG_arg_fail(1)) SWIG_fail
;
35770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35771 if (SWIG_arg_fail(2)) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 (arg1
)->Attach(arg2
);
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 Py_INCREF(Py_None
); resultobj
= Py_None
;
35786 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35787 PyObject
*resultobj
;
35788 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35789 PyObject
* obj0
= 0 ;
35790 char *kwnames
[] = {
35791 (char *) "self", NULL
35794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35796 if (SWIG_arg_fail(1)) SWIG_fail
;
35798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35801 wxPyEndAllowThreads(__tstate
);
35802 if (PyErr_Occurred()) SWIG_fail
;
35804 Py_INCREF(Py_None
); resultobj
= Py_None
;
35811 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35814 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35816 return Py_BuildValue((char *)"");
35818 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35819 PyObject
*resultobj
;
35820 wxMenu
*arg1
= (wxMenu
*) NULL
;
35821 int arg2
= (int) wxID_ANY
;
35822 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35823 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35824 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35825 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35826 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35827 wxMenu
*arg6
= (wxMenu
*) NULL
;
35828 wxMenuItem
*result
;
35829 bool temp3
= false ;
35830 bool temp4
= false ;
35831 PyObject
* obj0
= 0 ;
35832 PyObject
* obj1
= 0 ;
35833 PyObject
* obj2
= 0 ;
35834 PyObject
* obj3
= 0 ;
35835 PyObject
* obj4
= 0 ;
35836 PyObject
* obj5
= 0 ;
35837 char *kwnames
[] = {
35838 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35844 if (SWIG_arg_fail(1)) SWIG_fail
;
35848 arg2
= (int)(SWIG_As_int(obj1
));
35849 if (SWIG_arg_fail(2)) SWIG_fail
;
35854 arg3
= wxString_in_helper(obj2
);
35855 if (arg3
== NULL
) SWIG_fail
;
35861 arg4
= wxString_in_helper(obj3
);
35862 if (arg4
== NULL
) SWIG_fail
;
35868 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35869 if (SWIG_arg_fail(5)) SWIG_fail
;
35873 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35874 if (SWIG_arg_fail(6)) SWIG_fail
;
35877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35878 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35880 wxPyEndAllowThreads(__tstate
);
35881 if (PyErr_Occurred()) SWIG_fail
;
35884 resultobj
= wxPyMake_wxObject(result
, 1);
35908 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35909 PyObject
*resultobj
;
35910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35912 PyObject
* obj0
= 0 ;
35913 char *kwnames
[] = {
35914 (char *) "self", NULL
35917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35919 if (SWIG_arg_fail(1)) SWIG_fail
;
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35928 resultobj
= wxPyMake_wxObject(result
, 0);
35936 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35937 PyObject
*resultobj
;
35938 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35939 wxMenu
*arg2
= (wxMenu
*) 0 ;
35940 PyObject
* obj0
= 0 ;
35941 PyObject
* obj1
= 0 ;
35942 char *kwnames
[] = {
35943 (char *) "self",(char *) "menu", NULL
35946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35948 if (SWIG_arg_fail(1)) SWIG_fail
;
35949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35950 if (SWIG_arg_fail(2)) SWIG_fail
;
35952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35953 (arg1
)->SetMenu(arg2
);
35955 wxPyEndAllowThreads(__tstate
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35958 Py_INCREF(Py_None
); resultobj
= Py_None
;
35965 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35966 PyObject
*resultobj
;
35967 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35969 PyObject
* obj0
= 0 ;
35970 PyObject
* obj1
= 0 ;
35971 char *kwnames
[] = {
35972 (char *) "self",(char *) "id", NULL
35975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35977 if (SWIG_arg_fail(1)) SWIG_fail
;
35979 arg2
= (int)(SWIG_As_int(obj1
));
35980 if (SWIG_arg_fail(2)) SWIG_fail
;
35983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35984 (arg1
)->SetId(arg2
);
35986 wxPyEndAllowThreads(__tstate
);
35987 if (PyErr_Occurred()) SWIG_fail
;
35989 Py_INCREF(Py_None
); resultobj
= Py_None
;
35996 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35997 PyObject
*resultobj
;
35998 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36000 PyObject
* obj0
= 0 ;
36001 char *kwnames
[] = {
36002 (char *) "self", NULL
36005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36007 if (SWIG_arg_fail(1)) SWIG_fail
;
36009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36010 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36012 wxPyEndAllowThreads(__tstate
);
36013 if (PyErr_Occurred()) SWIG_fail
;
36016 resultobj
= SWIG_From_int((int)(result
));
36024 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36025 PyObject
*resultobj
;
36026 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36028 PyObject
* obj0
= 0 ;
36029 char *kwnames
[] = {
36030 (char *) "self", NULL
36033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36035 if (SWIG_arg_fail(1)) SWIG_fail
;
36037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36038 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36052 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36053 PyObject
*resultobj
;
36054 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36055 wxString
*arg2
= 0 ;
36056 bool temp2
= false ;
36057 PyObject
* obj0
= 0 ;
36058 PyObject
* obj1
= 0 ;
36059 char *kwnames
[] = {
36060 (char *) "self",(char *) "str", NULL
36063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36065 if (SWIG_arg_fail(1)) SWIG_fail
;
36067 arg2
= wxString_in_helper(obj1
);
36068 if (arg2
== NULL
) SWIG_fail
;
36072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36073 (arg1
)->SetText((wxString
const &)*arg2
);
36075 wxPyEndAllowThreads(__tstate
);
36076 if (PyErr_Occurred()) SWIG_fail
;
36078 Py_INCREF(Py_None
); resultobj
= Py_None
;
36093 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36094 PyObject
*resultobj
;
36095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36097 PyObject
* obj0
= 0 ;
36098 char *kwnames
[] = {
36099 (char *) "self", NULL
36102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36104 if (SWIG_arg_fail(1)) SWIG_fail
;
36106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36107 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36125 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36126 PyObject
*resultobj
;
36127 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36129 PyObject
* obj0
= 0 ;
36130 char *kwnames
[] = {
36131 (char *) "self", NULL
36134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36136 if (SWIG_arg_fail(1)) SWIG_fail
;
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36140 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36141 result
= (wxString
*) &_result_ref
;
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36160 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36161 PyObject
*resultobj
;
36162 wxString
*arg1
= 0 ;
36164 bool temp1
= false ;
36165 PyObject
* obj0
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "text", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36172 arg1
= wxString_in_helper(obj0
);
36173 if (arg1
== NULL
) SWIG_fail
;
36177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36204 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
;
36206 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36208 PyObject
* obj0
= 0 ;
36209 char *kwnames
[] = {
36210 (char *) "self", NULL
36213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36215 if (SWIG_arg_fail(1)) SWIG_fail
;
36217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36218 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36220 wxPyEndAllowThreads(__tstate
);
36221 if (PyErr_Occurred()) SWIG_fail
;
36223 resultobj
= SWIG_From_int((result
));
36230 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36231 PyObject
*resultobj
;
36232 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36234 PyObject
* obj0
= 0 ;
36235 PyObject
* obj1
= 0 ;
36236 char *kwnames
[] = {
36237 (char *) "self",(char *) "kind", NULL
36240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36242 if (SWIG_arg_fail(1)) SWIG_fail
;
36244 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36245 if (SWIG_arg_fail(2)) SWIG_fail
;
36248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36249 (arg1
)->SetKind((wxItemKind
)arg2
);
36251 wxPyEndAllowThreads(__tstate
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36254 Py_INCREF(Py_None
); resultobj
= Py_None
;
36261 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36262 PyObject
*resultobj
;
36263 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36265 PyObject
* obj0
= 0 ;
36266 PyObject
* obj1
= 0 ;
36267 char *kwnames
[] = {
36268 (char *) "self",(char *) "checkable", NULL
36271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36273 if (SWIG_arg_fail(1)) SWIG_fail
;
36275 arg2
= (bool)(SWIG_As_bool(obj1
));
36276 if (SWIG_arg_fail(2)) SWIG_fail
;
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 (arg1
)->SetCheckable(arg2
);
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 Py_INCREF(Py_None
); resultobj
= Py_None
;
36292 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
;
36294 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36296 PyObject
* obj0
= 0 ;
36297 char *kwnames
[] = {
36298 (char *) "self", NULL
36301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36303 if (SWIG_arg_fail(1)) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36320 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
;
36322 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36324 PyObject
* obj0
= 0 ;
36325 char *kwnames
[] = {
36326 (char *) "self", NULL
36329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36331 if (SWIG_arg_fail(1)) SWIG_fail
;
36333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36334 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36336 wxPyEndAllowThreads(__tstate
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36348 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36349 PyObject
*resultobj
;
36350 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36351 wxMenu
*arg2
= (wxMenu
*) 0 ;
36352 PyObject
* obj0
= 0 ;
36353 PyObject
* obj1
= 0 ;
36354 char *kwnames
[] = {
36355 (char *) "self",(char *) "menu", NULL
36358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36360 if (SWIG_arg_fail(1)) SWIG_fail
;
36361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36362 if (SWIG_arg_fail(2)) SWIG_fail
;
36364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36365 (arg1
)->SetSubMenu(arg2
);
36367 wxPyEndAllowThreads(__tstate
);
36368 if (PyErr_Occurred()) SWIG_fail
;
36370 Py_INCREF(Py_None
); resultobj
= Py_None
;
36377 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36378 PyObject
*resultobj
;
36379 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36381 PyObject
* obj0
= 0 ;
36382 char *kwnames
[] = {
36383 (char *) "self", NULL
36386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36388 if (SWIG_arg_fail(1)) SWIG_fail
;
36390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36391 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36397 resultobj
= wxPyMake_wxObject(result
, 0);
36405 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36406 PyObject
*resultobj
;
36407 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36408 bool arg2
= (bool) true ;
36409 PyObject
* obj0
= 0 ;
36410 PyObject
* obj1
= 0 ;
36411 char *kwnames
[] = {
36412 (char *) "self",(char *) "enable", NULL
36415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36417 if (SWIG_arg_fail(1)) SWIG_fail
;
36420 arg2
= (bool)(SWIG_As_bool(obj1
));
36421 if (SWIG_arg_fail(2)) SWIG_fail
;
36425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36426 (arg1
)->Enable(arg2
);
36428 wxPyEndAllowThreads(__tstate
);
36429 if (PyErr_Occurred()) SWIG_fail
;
36431 Py_INCREF(Py_None
); resultobj
= Py_None
;
36438 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36439 PyObject
*resultobj
;
36440 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36442 PyObject
* obj0
= 0 ;
36443 char *kwnames
[] = {
36444 (char *) "self", NULL
36447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36449 if (SWIG_arg_fail(1)) SWIG_fail
;
36451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36452 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36454 wxPyEndAllowThreads(__tstate
);
36455 if (PyErr_Occurred()) SWIG_fail
;
36458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36466 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36467 PyObject
*resultobj
;
36468 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36469 bool arg2
= (bool) true ;
36470 PyObject
* obj0
= 0 ;
36471 PyObject
* obj1
= 0 ;
36472 char *kwnames
[] = {
36473 (char *) "self",(char *) "check", NULL
36476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36478 if (SWIG_arg_fail(1)) SWIG_fail
;
36481 arg2
= (bool)(SWIG_As_bool(obj1
));
36482 if (SWIG_arg_fail(2)) SWIG_fail
;
36486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36487 (arg1
)->Check(arg2
);
36489 wxPyEndAllowThreads(__tstate
);
36490 if (PyErr_Occurred()) SWIG_fail
;
36492 Py_INCREF(Py_None
); resultobj
= Py_None
;
36499 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36500 PyObject
*resultobj
;
36501 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36503 PyObject
* obj0
= 0 ;
36504 char *kwnames
[] = {
36505 (char *) "self", NULL
36508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36510 if (SWIG_arg_fail(1)) SWIG_fail
;
36512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36513 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36515 wxPyEndAllowThreads(__tstate
);
36516 if (PyErr_Occurred()) SWIG_fail
;
36519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36527 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36528 PyObject
*resultobj
;
36529 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36530 PyObject
* obj0
= 0 ;
36531 char *kwnames
[] = {
36532 (char *) "self", NULL
36535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36537 if (SWIG_arg_fail(1)) SWIG_fail
;
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36542 wxPyEndAllowThreads(__tstate
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 Py_INCREF(Py_None
); resultobj
= Py_None
;
36552 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
;
36554 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36555 wxString
*arg2
= 0 ;
36556 bool temp2
= false ;
36557 PyObject
* obj0
= 0 ;
36558 PyObject
* obj1
= 0 ;
36559 char *kwnames
[] = {
36560 (char *) "self",(char *) "str", NULL
36563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36565 if (SWIG_arg_fail(1)) SWIG_fail
;
36567 arg2
= wxString_in_helper(obj1
);
36568 if (arg2
== NULL
) SWIG_fail
;
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 (arg1
)->SetHelp((wxString
const &)*arg2
);
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 Py_INCREF(Py_None
); resultobj
= Py_None
;
36593 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36594 PyObject
*resultobj
;
36595 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36597 PyObject
* obj0
= 0 ;
36598 char *kwnames
[] = {
36599 (char *) "self", NULL
36602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36604 if (SWIG_arg_fail(1)) SWIG_fail
;
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36609 result
= (wxString
*) &_result_ref
;
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36619 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36628 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36629 PyObject
*resultobj
;
36630 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36631 wxAcceleratorEntry
*result
;
36632 PyObject
* obj0
= 0 ;
36633 char *kwnames
[] = {
36634 (char *) "self", NULL
36637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36639 if (SWIG_arg_fail(1)) SWIG_fail
;
36641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36642 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36644 wxPyEndAllowThreads(__tstate
);
36645 if (PyErr_Occurred()) SWIG_fail
;
36647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36654 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36655 PyObject
*resultobj
;
36656 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36657 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36658 PyObject
* obj0
= 0 ;
36659 PyObject
* obj1
= 0 ;
36660 char *kwnames
[] = {
36661 (char *) "self",(char *) "accel", NULL
36664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36666 if (SWIG_arg_fail(1)) SWIG_fail
;
36667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36668 if (SWIG_arg_fail(2)) SWIG_fail
;
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 (arg1
)->SetAccel(arg2
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 Py_INCREF(Py_None
); resultobj
= Py_None
;
36683 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
;
36685 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36687 PyObject
* obj0
= 0 ;
36688 PyObject
* obj1
= 0 ;
36689 char *kwnames
[] = {
36690 (char *) "self",(char *) "font", NULL
36693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36695 if (SWIG_arg_fail(1)) SWIG_fail
;
36697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36698 if (SWIG_arg_fail(2)) SWIG_fail
;
36699 if (arg2
== NULL
) {
36700 SWIG_null_ref("wxFont");
36702 if (SWIG_arg_fail(2)) SWIG_fail
;
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 Py_INCREF(Py_None
); resultobj
= Py_None
;
36718 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
;
36720 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36722 PyObject
* obj0
= 0 ;
36723 char *kwnames
[] = {
36724 (char *) "self", NULL
36727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",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
= wxMenuItem_GetFont(arg1
);
36734 wxPyEndAllowThreads(__tstate
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36738 wxFont
* resultptr
;
36739 resultptr
= new wxFont((wxFont
&)(result
));
36740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36748 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
;
36750 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36751 wxColour
*arg2
= 0 ;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 char *kwnames
[] = {
36756 (char *) "self",(char *) "colText", NULL
36759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36761 if (SWIG_arg_fail(1)) SWIG_fail
;
36764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36768 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36770 wxPyEndAllowThreads(__tstate
);
36771 if (PyErr_Occurred()) SWIG_fail
;
36773 Py_INCREF(Py_None
); resultobj
= Py_None
;
36780 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36781 PyObject
*resultobj
;
36782 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36784 PyObject
* obj0
= 0 ;
36785 char *kwnames
[] = {
36786 (char *) "self", NULL
36789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36791 if (SWIG_arg_fail(1)) SWIG_fail
;
36793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36794 result
= wxMenuItem_GetTextColour(arg1
);
36796 wxPyEndAllowThreads(__tstate
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36800 wxColour
* resultptr
;
36801 resultptr
= new wxColour((wxColour
&)(result
));
36802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36810 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36811 PyObject
*resultobj
;
36812 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36813 wxColour
*arg2
= 0 ;
36815 PyObject
* obj0
= 0 ;
36816 PyObject
* obj1
= 0 ;
36817 char *kwnames
[] = {
36818 (char *) "self",(char *) "colBack", NULL
36821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36823 if (SWIG_arg_fail(1)) SWIG_fail
;
36826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36830 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36835 Py_INCREF(Py_None
); resultobj
= Py_None
;
36842 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36843 PyObject
*resultobj
;
36844 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36846 PyObject
* obj0
= 0 ;
36847 char *kwnames
[] = {
36848 (char *) "self", NULL
36851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36853 if (SWIG_arg_fail(1)) SWIG_fail
;
36855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36856 result
= wxMenuItem_GetBackgroundColour(arg1
);
36858 wxPyEndAllowThreads(__tstate
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36862 wxColour
* resultptr
;
36863 resultptr
= new wxColour((wxColour
&)(result
));
36864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36872 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
;
36874 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36875 wxBitmap
*arg2
= 0 ;
36876 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36877 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36878 PyObject
* obj0
= 0 ;
36879 PyObject
* obj1
= 0 ;
36880 PyObject
* obj2
= 0 ;
36881 char *kwnames
[] = {
36882 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36887 if (SWIG_arg_fail(1)) SWIG_fail
;
36889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36890 if (SWIG_arg_fail(2)) SWIG_fail
;
36891 if (arg2
== NULL
) {
36892 SWIG_null_ref("wxBitmap");
36894 if (SWIG_arg_fail(2)) SWIG_fail
;
36898 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36899 if (SWIG_arg_fail(3)) SWIG_fail
;
36900 if (arg3
== NULL
) {
36901 SWIG_null_ref("wxBitmap");
36903 if (SWIG_arg_fail(3)) SWIG_fail
;
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36913 Py_INCREF(Py_None
); resultobj
= Py_None
;
36920 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36921 PyObject
*resultobj
;
36922 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36923 wxBitmap
*arg2
= 0 ;
36924 PyObject
* obj0
= 0 ;
36925 PyObject
* obj1
= 0 ;
36926 char *kwnames
[] = {
36927 (char *) "self",(char *) "bmpDisabled", NULL
36930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36932 if (SWIG_arg_fail(1)) SWIG_fail
;
36934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36935 if (SWIG_arg_fail(2)) SWIG_fail
;
36936 if (arg2
== NULL
) {
36937 SWIG_null_ref("wxBitmap");
36939 if (SWIG_arg_fail(2)) SWIG_fail
;
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 Py_INCREF(Py_None
); resultobj
= Py_None
;
36955 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
;
36957 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36959 PyObject
* obj0
= 0 ;
36960 char *kwnames
[] = {
36961 (char *) "self", NULL
36964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36966 if (SWIG_arg_fail(1)) SWIG_fail
;
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
36971 result
= (wxBitmap
*) &_result_ref
;
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36978 wxBitmap
* resultptr
= new wxBitmap(*result
);
36979 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36987 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36988 PyObject
*resultobj
;
36989 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36991 PyObject
* obj0
= 0 ;
36992 PyObject
* obj1
= 0 ;
36993 char *kwnames
[] = {
36994 (char *) "self",(char *) "nWidth", NULL
36997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36999 if (SWIG_arg_fail(1)) SWIG_fail
;
37001 arg2
= (int)(SWIG_As_int(obj1
));
37002 if (SWIG_arg_fail(2)) SWIG_fail
;
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37011 Py_INCREF(Py_None
); resultobj
= Py_None
;
37018 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37019 PyObject
*resultobj
;
37020 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37022 PyObject
* obj0
= 0 ;
37023 char *kwnames
[] = {
37024 (char *) "self", NULL
37027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37029 if (SWIG_arg_fail(1)) SWIG_fail
;
37031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37032 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37034 wxPyEndAllowThreads(__tstate
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= SWIG_From_int((int)(result
));
37046 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37047 PyObject
*resultobj
;
37049 char *kwnames
[] = {
37053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37056 result
= (int)MenuItem_GetDefaultMarginWidth();
37058 wxPyEndAllowThreads(__tstate
);
37059 if (PyErr_Occurred()) SWIG_fail
;
37062 resultobj
= SWIG_From_int((int)(result
));
37070 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
;
37072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37074 PyObject
* obj0
= 0 ;
37075 char *kwnames
[] = {
37076 (char *) "self", NULL
37079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37081 if (SWIG_arg_fail(1)) SWIG_fail
;
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37098 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37099 PyObject
*resultobj
;
37100 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37101 bool arg2
= (bool) true ;
37102 PyObject
* obj0
= 0 ;
37103 PyObject
* obj1
= 0 ;
37104 char *kwnames
[] = {
37105 (char *) "self",(char *) "ownerDrawn", NULL
37108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37110 if (SWIG_arg_fail(1)) SWIG_fail
;
37113 arg2
= (bool)(SWIG_As_bool(obj1
));
37114 if (SWIG_arg_fail(2)) SWIG_fail
;
37118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37119 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37121 wxPyEndAllowThreads(__tstate
);
37122 if (PyErr_Occurred()) SWIG_fail
;
37124 Py_INCREF(Py_None
); resultobj
= Py_None
;
37131 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37132 PyObject
*resultobj
;
37133 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37134 PyObject
* obj0
= 0 ;
37135 char *kwnames
[] = {
37136 (char *) "self", NULL
37139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37141 if (SWIG_arg_fail(1)) SWIG_fail
;
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 wxMenuItem_ResetOwnerDrawn(arg1
);
37146 wxPyEndAllowThreads(__tstate
);
37147 if (PyErr_Occurred()) SWIG_fail
;
37149 Py_INCREF(Py_None
); resultobj
= Py_None
;
37156 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37157 PyObject
*resultobj
;
37158 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37159 wxBitmap
*arg2
= 0 ;
37160 PyObject
* obj0
= 0 ;
37161 PyObject
* obj1
= 0 ;
37162 char *kwnames
[] = {
37163 (char *) "self",(char *) "bitmap", NULL
37166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37168 if (SWIG_arg_fail(1)) SWIG_fail
;
37170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37171 if (SWIG_arg_fail(2)) SWIG_fail
;
37172 if (arg2
== NULL
) {
37173 SWIG_null_ref("wxBitmap");
37175 if (SWIG_arg_fail(2)) SWIG_fail
;
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37179 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 Py_INCREF(Py_None
); resultobj
= Py_None
;
37191 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
;
37193 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37195 PyObject
* obj0
= 0 ;
37196 char *kwnames
[] = {
37197 (char *) "self", NULL
37200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37202 if (SWIG_arg_fail(1)) SWIG_fail
;
37204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37206 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37207 result
= (wxBitmap
*) &_result_ref
;
37210 wxPyEndAllowThreads(__tstate
);
37211 if (PyErr_Occurred()) SWIG_fail
;
37214 wxBitmap
* resultptr
= new wxBitmap(*result
);
37215 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37223 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37226 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37228 return Py_BuildValue((char *)"");
37230 static int _wrap_ControlNameStr_set(PyObject
*) {
37231 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37236 static PyObject
*_wrap_ControlNameStr_get(void) {
37241 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37243 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37250 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
;
37252 wxWindow
*arg1
= (wxWindow
*) 0 ;
37253 int arg2
= (int) -1 ;
37254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37256 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37257 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37258 long arg5
= (long) 0 ;
37259 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37260 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37261 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37266 bool temp7
= false ;
37267 PyObject
* obj0
= 0 ;
37268 PyObject
* obj1
= 0 ;
37269 PyObject
* obj2
= 0 ;
37270 PyObject
* obj3
= 0 ;
37271 PyObject
* obj4
= 0 ;
37272 PyObject
* obj5
= 0 ;
37273 PyObject
* obj6
= 0 ;
37274 char *kwnames
[] = {
37275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37280 if (SWIG_arg_fail(1)) SWIG_fail
;
37283 arg2
= (int)(SWIG_As_int(obj1
));
37284 if (SWIG_arg_fail(2)) SWIG_fail
;
37290 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37296 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37301 arg5
= (long)(SWIG_As_long(obj4
));
37302 if (SWIG_arg_fail(5)) SWIG_fail
;
37307 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37308 if (SWIG_arg_fail(6)) SWIG_fail
;
37309 if (arg6
== NULL
) {
37310 SWIG_null_ref("wxValidator");
37312 if (SWIG_arg_fail(6)) SWIG_fail
;
37317 arg7
= wxString_in_helper(obj6
);
37318 if (arg7
== NULL
) SWIG_fail
;
37323 if (!wxPyCheckForApp()) SWIG_fail
;
37324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37325 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37327 wxPyEndAllowThreads(__tstate
);
37328 if (PyErr_Occurred()) SWIG_fail
;
37330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37345 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37346 PyObject
*resultobj
;
37348 char *kwnames
[] = {
37352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37354 if (!wxPyCheckForApp()) SWIG_fail
;
37355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37356 result
= (wxControl
*)new wxControl();
37358 wxPyEndAllowThreads(__tstate
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37368 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37369 PyObject
*resultobj
;
37370 wxControl
*arg1
= (wxControl
*) 0 ;
37371 wxWindow
*arg2
= (wxWindow
*) 0 ;
37372 int arg3
= (int) -1 ;
37373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37377 long arg6
= (long) 0 ;
37378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37380 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37385 bool temp8
= false ;
37386 PyObject
* obj0
= 0 ;
37387 PyObject
* obj1
= 0 ;
37388 PyObject
* obj2
= 0 ;
37389 PyObject
* obj3
= 0 ;
37390 PyObject
* obj4
= 0 ;
37391 PyObject
* obj5
= 0 ;
37392 PyObject
* obj6
= 0 ;
37393 PyObject
* obj7
= 0 ;
37394 char *kwnames
[] = {
37395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37400 if (SWIG_arg_fail(1)) SWIG_fail
;
37401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37402 if (SWIG_arg_fail(2)) SWIG_fail
;
37405 arg3
= (int)(SWIG_As_int(obj2
));
37406 if (SWIG_arg_fail(3)) SWIG_fail
;
37412 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37418 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37423 arg6
= (long)(SWIG_As_long(obj5
));
37424 if (SWIG_arg_fail(6)) SWIG_fail
;
37429 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37430 if (SWIG_arg_fail(7)) SWIG_fail
;
37431 if (arg7
== NULL
) {
37432 SWIG_null_ref("wxValidator");
37434 if (SWIG_arg_fail(7)) SWIG_fail
;
37439 arg8
= wxString_in_helper(obj7
);
37440 if (arg8
== NULL
) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37468 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37469 PyObject
*resultobj
;
37470 wxControl
*arg1
= (wxControl
*) 0 ;
37471 wxCommandEvent
*arg2
= 0 ;
37472 PyObject
* obj0
= 0 ;
37473 PyObject
* obj1
= 0 ;
37474 char *kwnames
[] = {
37475 (char *) "self",(char *) "event", NULL
37478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37480 if (SWIG_arg_fail(1)) SWIG_fail
;
37482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37483 if (SWIG_arg_fail(2)) SWIG_fail
;
37484 if (arg2
== NULL
) {
37485 SWIG_null_ref("wxCommandEvent");
37487 if (SWIG_arg_fail(2)) SWIG_fail
;
37490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37491 (arg1
)->Command(*arg2
);
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 Py_INCREF(Py_None
); resultobj
= Py_None
;
37503 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37504 PyObject
*resultobj
;
37505 wxControl
*arg1
= (wxControl
*) 0 ;
37507 PyObject
* obj0
= 0 ;
37508 char *kwnames
[] = {
37509 (char *) "self", NULL
37512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37514 if (SWIG_arg_fail(1)) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 result
= (arg1
)->GetLabel();
37519 wxPyEndAllowThreads(__tstate
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37535 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37536 PyObject
*resultobj
;
37537 wxControl
*arg1
= (wxControl
*) 0 ;
37538 wxString
*arg2
= 0 ;
37539 bool temp2
= false ;
37540 PyObject
* obj0
= 0 ;
37541 PyObject
* obj1
= 0 ;
37542 char *kwnames
[] = {
37543 (char *) "self",(char *) "label", NULL
37546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37548 if (SWIG_arg_fail(1)) SWIG_fail
;
37550 arg2
= wxString_in_helper(obj1
);
37551 if (arg2
== NULL
) SWIG_fail
;
37555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37556 (arg1
)->SetLabel((wxString
const &)*arg2
);
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37561 Py_INCREF(Py_None
); resultobj
= Py_None
;
37576 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37577 PyObject
*resultobj
;
37578 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37579 wxVisualAttributes result
;
37580 PyObject
* obj0
= 0 ;
37581 char *kwnames
[] = {
37582 (char *) "variant", NULL
37585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37588 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37589 if (SWIG_arg_fail(1)) SWIG_fail
;
37593 if (!wxPyCheckForApp()) SWIG_fail
;
37594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37595 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37597 wxPyEndAllowThreads(__tstate
);
37598 if (PyErr_Occurred()) SWIG_fail
;
37601 wxVisualAttributes
* resultptr
;
37602 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37611 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37614 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37616 return Py_BuildValue((char *)"");
37618 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37619 PyObject
*resultobj
;
37620 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37621 wxString
*arg2
= 0 ;
37622 PyObject
*arg3
= (PyObject
*) NULL
;
37624 bool temp2
= false ;
37625 PyObject
* obj0
= 0 ;
37626 PyObject
* obj1
= 0 ;
37627 PyObject
* obj2
= 0 ;
37628 char *kwnames
[] = {
37629 (char *) "self",(char *) "item",(char *) "clientData", NULL
37632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37634 if (SWIG_arg_fail(1)) SWIG_fail
;
37636 arg2
= wxString_in_helper(obj1
);
37637 if (arg2
== NULL
) SWIG_fail
;
37644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37645 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37647 wxPyEndAllowThreads(__tstate
);
37648 if (PyErr_Occurred()) SWIG_fail
;
37651 resultobj
= SWIG_From_int((int)(result
));
37667 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37668 PyObject
*resultobj
;
37669 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37670 wxArrayString
*arg2
= 0 ;
37671 bool temp2
= false ;
37672 PyObject
* obj0
= 0 ;
37673 PyObject
* obj1
= 0 ;
37674 char *kwnames
[] = {
37675 (char *) "self",(char *) "strings", NULL
37678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37680 if (SWIG_arg_fail(1)) SWIG_fail
;
37682 if (! PySequence_Check(obj1
)) {
37683 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37686 arg2
= new wxArrayString
;
37688 int i
, len
=PySequence_Length(obj1
);
37689 for (i
=0; i
<len
; i
++) {
37690 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37692 PyObject
* str
= PyObject_Unicode(item
);
37694 PyObject
* str
= PyObject_Str(item
);
37696 if (PyErr_Occurred()) SWIG_fail
;
37697 arg2
->Add(Py2wxString(str
));
37703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37704 (arg1
)->Append((wxArrayString
const &)*arg2
);
37706 wxPyEndAllowThreads(__tstate
);
37707 if (PyErr_Occurred()) SWIG_fail
;
37709 Py_INCREF(Py_None
); resultobj
= Py_None
;
37711 if (temp2
) delete arg2
;
37716 if (temp2
) delete arg2
;
37722 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37723 PyObject
*resultobj
;
37724 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37725 wxString
*arg2
= 0 ;
37727 PyObject
*arg4
= (PyObject
*) NULL
;
37729 bool temp2
= false ;
37730 PyObject
* obj0
= 0 ;
37731 PyObject
* obj1
= 0 ;
37732 PyObject
* obj2
= 0 ;
37733 PyObject
* obj3
= 0 ;
37734 char *kwnames
[] = {
37735 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37740 if (SWIG_arg_fail(1)) SWIG_fail
;
37742 arg2
= wxString_in_helper(obj1
);
37743 if (arg2
== NULL
) SWIG_fail
;
37747 arg3
= (int)(SWIG_As_int(obj2
));
37748 if (SWIG_arg_fail(3)) SWIG_fail
;
37754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37755 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37757 wxPyEndAllowThreads(__tstate
);
37758 if (PyErr_Occurred()) SWIG_fail
;
37761 resultobj
= SWIG_From_int((int)(result
));
37777 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37778 PyObject
*resultobj
;
37779 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37780 PyObject
* obj0
= 0 ;
37781 char *kwnames
[] = {
37782 (char *) "self", NULL
37785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37787 if (SWIG_arg_fail(1)) SWIG_fail
;
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37792 wxPyEndAllowThreads(__tstate
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37795 Py_INCREF(Py_None
); resultobj
= Py_None
;
37802 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37803 PyObject
*resultobj
;
37804 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37806 PyObject
* obj0
= 0 ;
37807 PyObject
* obj1
= 0 ;
37808 char *kwnames
[] = {
37809 (char *) "self",(char *) "n", NULL
37812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37814 if (SWIG_arg_fail(1)) SWIG_fail
;
37816 arg2
= (int)(SWIG_As_int(obj1
));
37817 if (SWIG_arg_fail(2)) SWIG_fail
;
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 (arg1
)->Delete(arg2
);
37823 wxPyEndAllowThreads(__tstate
);
37824 if (PyErr_Occurred()) SWIG_fail
;
37826 Py_INCREF(Py_None
); resultobj
= Py_None
;
37833 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37834 PyObject
*resultobj
;
37835 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37838 PyObject
* obj0
= 0 ;
37839 PyObject
* obj1
= 0 ;
37840 char *kwnames
[] = {
37841 (char *) "self",(char *) "n", NULL
37844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37846 if (SWIG_arg_fail(1)) SWIG_fail
;
37848 arg2
= (int)(SWIG_As_int(obj1
));
37849 if (SWIG_arg_fail(2)) SWIG_fail
;
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37855 wxPyEndAllowThreads(__tstate
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37858 resultobj
= result
;
37865 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37866 PyObject
*resultobj
;
37867 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37869 PyObject
*arg3
= (PyObject
*) 0 ;
37870 PyObject
* obj0
= 0 ;
37871 PyObject
* obj1
= 0 ;
37872 PyObject
* obj2
= 0 ;
37873 char *kwnames
[] = {
37874 (char *) "self",(char *) "n",(char *) "clientData", NULL
37877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37879 if (SWIG_arg_fail(1)) SWIG_fail
;
37881 arg2
= (int)(SWIG_As_int(obj1
));
37882 if (SWIG_arg_fail(2)) SWIG_fail
;
37886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37887 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37889 wxPyEndAllowThreads(__tstate
);
37890 if (PyErr_Occurred()) SWIG_fail
;
37892 Py_INCREF(Py_None
); resultobj
= Py_None
;
37899 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37900 PyObject
*resultobj
;
37901 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37903 PyObject
* obj0
= 0 ;
37904 char *kwnames
[] = {
37905 (char *) "self", NULL
37908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37910 if (SWIG_arg_fail(1)) SWIG_fail
;
37912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37919 resultobj
= SWIG_From_int((int)(result
));
37927 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37928 PyObject
*resultobj
;
37929 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37931 PyObject
* obj0
= 0 ;
37932 char *kwnames
[] = {
37933 (char *) "self", NULL
37936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37938 if (SWIG_arg_fail(1)) SWIG_fail
;
37940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37941 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37943 wxPyEndAllowThreads(__tstate
);
37944 if (PyErr_Occurred()) SWIG_fail
;
37947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37955 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
;
37957 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 char *kwnames
[] = {
37963 (char *) "self",(char *) "n", NULL
37966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37968 if (SWIG_arg_fail(1)) SWIG_fail
;
37970 arg2
= (int)(SWIG_As_int(obj1
));
37971 if (SWIG_arg_fail(2)) SWIG_fail
;
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37993 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
;
37995 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37996 wxArrayString result
;
37997 PyObject
* obj0
= 0 ;
37998 char *kwnames
[] = {
37999 (char *) "self", NULL
38002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38004 if (SWIG_arg_fail(1)) SWIG_fail
;
38006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38007 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38009 wxPyEndAllowThreads(__tstate
);
38010 if (PyErr_Occurred()) SWIG_fail
;
38013 resultobj
= wxArrayString2PyList_helper(result
);
38021 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38022 PyObject
*resultobj
;
38023 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38025 wxString
*arg3
= 0 ;
38026 bool temp3
= false ;
38027 PyObject
* obj0
= 0 ;
38028 PyObject
* obj1
= 0 ;
38029 PyObject
* obj2
= 0 ;
38030 char *kwnames
[] = {
38031 (char *) "self",(char *) "n",(char *) "s", NULL
38034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38036 if (SWIG_arg_fail(1)) SWIG_fail
;
38038 arg2
= (int)(SWIG_As_int(obj1
));
38039 if (SWIG_arg_fail(2)) SWIG_fail
;
38042 arg3
= wxString_in_helper(obj2
);
38043 if (arg3
== NULL
) SWIG_fail
;
38047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38048 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38050 wxPyEndAllowThreads(__tstate
);
38051 if (PyErr_Occurred()) SWIG_fail
;
38053 Py_INCREF(Py_None
); resultobj
= Py_None
;
38068 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38069 PyObject
*resultobj
;
38070 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38071 wxString
*arg2
= 0 ;
38073 bool temp2
= false ;
38074 PyObject
* obj0
= 0 ;
38075 PyObject
* obj1
= 0 ;
38076 char *kwnames
[] = {
38077 (char *) "self",(char *) "s", NULL
38080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38082 if (SWIG_arg_fail(1)) SWIG_fail
;
38084 arg2
= wxString_in_helper(obj1
);
38085 if (arg2
== NULL
) SWIG_fail
;
38089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38090 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38092 wxPyEndAllowThreads(__tstate
);
38093 if (PyErr_Occurred()) SWIG_fail
;
38096 resultobj
= SWIG_From_int((int)(result
));
38112 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38113 PyObject
*resultobj
;
38114 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38116 PyObject
* obj0
= 0 ;
38117 PyObject
* obj1
= 0 ;
38118 char *kwnames
[] = {
38119 (char *) "self",(char *) "n", NULL
38122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38124 if (SWIG_arg_fail(1)) SWIG_fail
;
38126 arg2
= (int)(SWIG_As_int(obj1
));
38127 if (SWIG_arg_fail(2)) SWIG_fail
;
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 (arg1
)->SetSelection(arg2
);
38133 wxPyEndAllowThreads(__tstate
);
38134 if (PyErr_Occurred()) SWIG_fail
;
38136 Py_INCREF(Py_None
); resultobj
= Py_None
;
38143 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38144 PyObject
*resultobj
;
38145 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38147 PyObject
* obj0
= 0 ;
38148 char *kwnames
[] = {
38149 (char *) "self", NULL
38152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38154 if (SWIG_arg_fail(1)) SWIG_fail
;
38156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38157 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38163 resultobj
= SWIG_From_int((int)(result
));
38171 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38172 PyObject
*resultobj
;
38173 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38174 wxString
*arg2
= 0 ;
38176 bool temp2
= false ;
38177 PyObject
* obj0
= 0 ;
38178 PyObject
* obj1
= 0 ;
38179 char *kwnames
[] = {
38180 (char *) "self",(char *) "s", NULL
38183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38185 if (SWIG_arg_fail(1)) SWIG_fail
;
38187 arg2
= wxString_in_helper(obj1
);
38188 if (arg2
== NULL
) SWIG_fail
;
38192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38193 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38195 wxPyEndAllowThreads(__tstate
);
38196 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38215 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38216 PyObject
*resultobj
;
38217 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38219 PyObject
* obj0
= 0 ;
38220 char *kwnames
[] = {
38221 (char *) "self", NULL
38224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38226 if (SWIG_arg_fail(1)) SWIG_fail
;
38228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38229 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38247 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38248 PyObject
*resultobj
;
38249 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38251 PyObject
* obj0
= 0 ;
38252 PyObject
* obj1
= 0 ;
38253 char *kwnames
[] = {
38254 (char *) "self",(char *) "n", NULL
38257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38259 if (SWIG_arg_fail(1)) SWIG_fail
;
38261 arg2
= (int)(SWIG_As_int(obj1
));
38262 if (SWIG_arg_fail(2)) SWIG_fail
;
38265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38266 (arg1
)->Select(arg2
);
38268 wxPyEndAllowThreads(__tstate
);
38269 if (PyErr_Occurred()) SWIG_fail
;
38271 Py_INCREF(Py_None
); resultobj
= Py_None
;
38278 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38281 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38283 return Py_BuildValue((char *)"");
38285 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38288 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38290 return Py_BuildValue((char *)"");
38292 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38293 PyObject
*resultobj
;
38294 wxSizerItem
*result
;
38295 char *kwnames
[] = {
38299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38302 result
= (wxSizerItem
*)new wxSizerItem();
38304 wxPyEndAllowThreads(__tstate
);
38305 if (PyErr_Occurred()) SWIG_fail
;
38307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38314 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38315 PyObject
*resultobj
;
38316 wxWindow
*arg1
= (wxWindow
*) 0 ;
38320 PyObject
*arg5
= (PyObject
*) NULL
;
38321 wxSizerItem
*result
;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38324 PyObject
* obj2
= 0 ;
38325 PyObject
* obj3
= 0 ;
38326 PyObject
* obj4
= 0 ;
38327 char *kwnames
[] = {
38328 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38333 if (SWIG_arg_fail(1)) SWIG_fail
;
38335 arg2
= (int)(SWIG_As_int(obj1
));
38336 if (SWIG_arg_fail(2)) SWIG_fail
;
38339 arg3
= (int)(SWIG_As_int(obj2
));
38340 if (SWIG_arg_fail(3)) SWIG_fail
;
38343 arg4
= (int)(SWIG_As_int(obj3
));
38344 if (SWIG_arg_fail(4)) SWIG_fail
;
38350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38351 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38353 wxPyEndAllowThreads(__tstate
);
38354 if (PyErr_Occurred()) SWIG_fail
;
38356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38363 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38364 PyObject
*resultobj
;
38370 PyObject
*arg6
= (PyObject
*) NULL
;
38371 wxSizerItem
*result
;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 PyObject
* obj2
= 0 ;
38375 PyObject
* obj3
= 0 ;
38376 PyObject
* obj4
= 0 ;
38377 PyObject
* obj5
= 0 ;
38378 char *kwnames
[] = {
38379 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38384 arg1
= (int)(SWIG_As_int(obj0
));
38385 if (SWIG_arg_fail(1)) SWIG_fail
;
38388 arg2
= (int)(SWIG_As_int(obj1
));
38389 if (SWIG_arg_fail(2)) SWIG_fail
;
38392 arg3
= (int)(SWIG_As_int(obj2
));
38393 if (SWIG_arg_fail(3)) SWIG_fail
;
38396 arg4
= (int)(SWIG_As_int(obj3
));
38397 if (SWIG_arg_fail(4)) SWIG_fail
;
38400 arg5
= (int)(SWIG_As_int(obj4
));
38401 if (SWIG_arg_fail(5)) SWIG_fail
;
38407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38408 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38410 wxPyEndAllowThreads(__tstate
);
38411 if (PyErr_Occurred()) SWIG_fail
;
38413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38420 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38421 PyObject
*resultobj
;
38422 wxSizer
*arg1
= (wxSizer
*) 0 ;
38426 PyObject
*arg5
= (PyObject
*) NULL
;
38427 wxSizerItem
*result
;
38428 PyObject
* obj0
= 0 ;
38429 PyObject
* obj1
= 0 ;
38430 PyObject
* obj2
= 0 ;
38431 PyObject
* obj3
= 0 ;
38432 PyObject
* obj4
= 0 ;
38433 char *kwnames
[] = {
38434 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38439 if (SWIG_arg_fail(1)) SWIG_fail
;
38441 arg2
= (int)(SWIG_As_int(obj1
));
38442 if (SWIG_arg_fail(2)) SWIG_fail
;
38445 arg3
= (int)(SWIG_As_int(obj2
));
38446 if (SWIG_arg_fail(3)) SWIG_fail
;
38449 arg4
= (int)(SWIG_As_int(obj3
));
38450 if (SWIG_arg_fail(4)) SWIG_fail
;
38456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38457 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38459 wxPyEndAllowThreads(__tstate
);
38460 if (PyErr_Occurred()) SWIG_fail
;
38462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38469 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38470 PyObject
*resultobj
;
38471 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38472 PyObject
* obj0
= 0 ;
38473 char *kwnames
[] = {
38474 (char *) "self", NULL
38477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38479 if (SWIG_arg_fail(1)) SWIG_fail
;
38481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38482 (arg1
)->DeleteWindows();
38484 wxPyEndAllowThreads(__tstate
);
38485 if (PyErr_Occurred()) SWIG_fail
;
38487 Py_INCREF(Py_None
); resultobj
= Py_None
;
38494 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38495 PyObject
*resultobj
;
38496 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38497 PyObject
* obj0
= 0 ;
38498 char *kwnames
[] = {
38499 (char *) "self", NULL
38502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38504 if (SWIG_arg_fail(1)) SWIG_fail
;
38506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38507 (arg1
)->DetachSizer();
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38512 Py_INCREF(Py_None
); resultobj
= Py_None
;
38519 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38520 PyObject
*resultobj
;
38521 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38523 PyObject
* obj0
= 0 ;
38524 char *kwnames
[] = {
38525 (char *) "self", NULL
38528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38530 if (SWIG_arg_fail(1)) SWIG_fail
;
38532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38533 result
= (arg1
)->GetSize();
38535 wxPyEndAllowThreads(__tstate
);
38536 if (PyErr_Occurred()) SWIG_fail
;
38539 wxSize
* resultptr
;
38540 resultptr
= new wxSize((wxSize
&)(result
));
38541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38549 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38550 PyObject
*resultobj
;
38551 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38553 PyObject
* obj0
= 0 ;
38554 char *kwnames
[] = {
38555 (char *) "self", NULL
38558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38560 if (SWIG_arg_fail(1)) SWIG_fail
;
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 result
= (arg1
)->CalcMin();
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38569 wxSize
* resultptr
;
38570 resultptr
= new wxSize((wxSize
&)(result
));
38571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38579 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38580 PyObject
*resultobj
;
38581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38584 PyObject
* obj0
= 0 ;
38585 PyObject
* obj1
= 0 ;
38586 PyObject
* obj2
= 0 ;
38587 char *kwnames
[] = {
38588 (char *) "self",(char *) "pos",(char *) "size", NULL
38591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38593 if (SWIG_arg_fail(1)) SWIG_fail
;
38596 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38597 if (SWIG_arg_fail(2)) SWIG_fail
;
38598 if (argp
== NULL
) {
38599 SWIG_null_ref("wxPoint");
38601 if (SWIG_arg_fail(2)) SWIG_fail
;
38606 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38607 if (SWIG_arg_fail(3)) SWIG_fail
;
38608 if (argp
== NULL
) {
38609 SWIG_null_ref("wxSize");
38611 if (SWIG_arg_fail(3)) SWIG_fail
;
38615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38616 (arg1
)->SetDimension(arg2
,arg3
);
38618 wxPyEndAllowThreads(__tstate
);
38619 if (PyErr_Occurred()) SWIG_fail
;
38621 Py_INCREF(Py_None
); resultobj
= Py_None
;
38628 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38629 PyObject
*resultobj
;
38630 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38632 PyObject
* obj0
= 0 ;
38633 char *kwnames
[] = {
38634 (char *) "self", NULL
38637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38639 if (SWIG_arg_fail(1)) SWIG_fail
;
38641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38642 result
= (arg1
)->GetMinSize();
38644 wxPyEndAllowThreads(__tstate
);
38645 if (PyErr_Occurred()) SWIG_fail
;
38648 wxSize
* resultptr
;
38649 resultptr
= new wxSize((wxSize
&)(result
));
38650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38658 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38659 PyObject
*resultobj
;
38660 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38662 PyObject
* obj0
= 0 ;
38663 char *kwnames
[] = {
38664 (char *) "self", NULL
38667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38669 if (SWIG_arg_fail(1)) SWIG_fail
;
38671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38672 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38674 wxPyEndAllowThreads(__tstate
);
38675 if (PyErr_Occurred()) SWIG_fail
;
38678 wxSize
* resultptr
;
38679 resultptr
= new wxSize((wxSize
&)(result
));
38680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38688 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38689 PyObject
*resultobj
;
38690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38693 PyObject
* obj0
= 0 ;
38694 PyObject
* obj1
= 0 ;
38695 PyObject
* obj2
= 0 ;
38696 char *kwnames
[] = {
38697 (char *) "self",(char *) "x",(char *) "y", NULL
38700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38702 if (SWIG_arg_fail(1)) SWIG_fail
;
38704 arg2
= (int)(SWIG_As_int(obj1
));
38705 if (SWIG_arg_fail(2)) SWIG_fail
;
38708 arg3
= (int)(SWIG_As_int(obj2
));
38709 if (SWIG_arg_fail(3)) SWIG_fail
;
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 (arg1
)->SetInitSize(arg2
,arg3
);
38715 wxPyEndAllowThreads(__tstate
);
38716 if (PyErr_Occurred()) SWIG_fail
;
38718 Py_INCREF(Py_None
); resultobj
= Py_None
;
38725 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38726 PyObject
*resultobj
;
38727 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38730 PyObject
* obj0
= 0 ;
38731 PyObject
* obj1
= 0 ;
38732 PyObject
* obj2
= 0 ;
38733 char *kwnames
[] = {
38734 (char *) "self",(char *) "width",(char *) "height", NULL
38737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38739 if (SWIG_arg_fail(1)) SWIG_fail
;
38741 arg2
= (int)(SWIG_As_int(obj1
));
38742 if (SWIG_arg_fail(2)) SWIG_fail
;
38745 arg3
= (int)(SWIG_As_int(obj2
));
38746 if (SWIG_arg_fail(3)) SWIG_fail
;
38749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38750 (arg1
)->SetRatio(arg2
,arg3
);
38752 wxPyEndAllowThreads(__tstate
);
38753 if (PyErr_Occurred()) SWIG_fail
;
38755 Py_INCREF(Py_None
); resultobj
= Py_None
;
38762 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38763 PyObject
*resultobj
;
38764 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38767 PyObject
* obj0
= 0 ;
38768 PyObject
* obj1
= 0 ;
38769 char *kwnames
[] = {
38770 (char *) "self",(char *) "size", NULL
38773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38775 if (SWIG_arg_fail(1)) SWIG_fail
;
38778 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38782 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38784 wxPyEndAllowThreads(__tstate
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38787 Py_INCREF(Py_None
); resultobj
= Py_None
;
38794 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38795 PyObject
*resultobj
;
38796 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38798 PyObject
* obj0
= 0 ;
38799 PyObject
* obj1
= 0 ;
38800 char *kwnames
[] = {
38801 (char *) "self",(char *) "ratio", NULL
38804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38806 if (SWIG_arg_fail(1)) SWIG_fail
;
38808 arg2
= (float)(SWIG_As_float(obj1
));
38809 if (SWIG_arg_fail(2)) SWIG_fail
;
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38813 (arg1
)->SetRatio(arg2
);
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38818 Py_INCREF(Py_None
); resultobj
= Py_None
;
38825 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38826 PyObject
*resultobj
;
38827 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38829 PyObject
* obj0
= 0 ;
38830 char *kwnames
[] = {
38831 (char *) "self", NULL
38834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38836 if (SWIG_arg_fail(1)) SWIG_fail
;
38838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38839 result
= (float)(arg1
)->GetRatio();
38841 wxPyEndAllowThreads(__tstate
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38845 resultobj
= SWIG_From_float((float)(result
));
38853 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38854 PyObject
*resultobj
;
38855 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38857 PyObject
* obj0
= 0 ;
38858 char *kwnames
[] = {
38859 (char *) "self", NULL
38862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38864 if (SWIG_arg_fail(1)) SWIG_fail
;
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 result
= (arg1
)->GetRect();
38869 wxPyEndAllowThreads(__tstate
);
38870 if (PyErr_Occurred()) SWIG_fail
;
38873 wxRect
* resultptr
;
38874 resultptr
= new wxRect((wxRect
&)(result
));
38875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38883 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38884 PyObject
*resultobj
;
38885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38887 PyObject
* obj0
= 0 ;
38888 char *kwnames
[] = {
38889 (char *) "self", NULL
38892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38894 if (SWIG_arg_fail(1)) SWIG_fail
;
38896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38897 result
= (bool)(arg1
)->IsWindow();
38899 wxPyEndAllowThreads(__tstate
);
38900 if (PyErr_Occurred()) SWIG_fail
;
38903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38911 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38912 PyObject
*resultobj
;
38913 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38915 PyObject
* obj0
= 0 ;
38916 char *kwnames
[] = {
38917 (char *) "self", NULL
38920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38922 if (SWIG_arg_fail(1)) SWIG_fail
;
38924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38925 result
= (bool)(arg1
)->IsSizer();
38927 wxPyEndAllowThreads(__tstate
);
38928 if (PyErr_Occurred()) SWIG_fail
;
38931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38939 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38940 PyObject
*resultobj
;
38941 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38943 PyObject
* obj0
= 0 ;
38944 char *kwnames
[] = {
38945 (char *) "self", NULL
38948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38950 if (SWIG_arg_fail(1)) SWIG_fail
;
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 result
= (bool)(arg1
)->IsSpacer();
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38967 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38968 PyObject
*resultobj
;
38969 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38971 PyObject
* obj0
= 0 ;
38972 PyObject
* obj1
= 0 ;
38973 char *kwnames
[] = {
38974 (char *) "self",(char *) "proportion", NULL
38977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38979 if (SWIG_arg_fail(1)) SWIG_fail
;
38981 arg2
= (int)(SWIG_As_int(obj1
));
38982 if (SWIG_arg_fail(2)) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 (arg1
)->SetProportion(arg2
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38991 Py_INCREF(Py_None
); resultobj
= Py_None
;
38998 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38999 PyObject
*resultobj
;
39000 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39002 PyObject
* obj0
= 0 ;
39003 char *kwnames
[] = {
39004 (char *) "self", NULL
39007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39009 if (SWIG_arg_fail(1)) SWIG_fail
;
39011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39012 result
= (int)(arg1
)->GetProportion();
39014 wxPyEndAllowThreads(__tstate
);
39015 if (PyErr_Occurred()) SWIG_fail
;
39018 resultobj
= SWIG_From_int((int)(result
));
39026 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39027 PyObject
*resultobj
;
39028 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39030 PyObject
* obj0
= 0 ;
39031 PyObject
* obj1
= 0 ;
39032 char *kwnames
[] = {
39033 (char *) "self",(char *) "flag", NULL
39036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39038 if (SWIG_arg_fail(1)) SWIG_fail
;
39040 arg2
= (int)(SWIG_As_int(obj1
));
39041 if (SWIG_arg_fail(2)) SWIG_fail
;
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 (arg1
)->SetFlag(arg2
);
39047 wxPyEndAllowThreads(__tstate
);
39048 if (PyErr_Occurred()) SWIG_fail
;
39050 Py_INCREF(Py_None
); resultobj
= Py_None
;
39057 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39058 PyObject
*resultobj
;
39059 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39061 PyObject
* obj0
= 0 ;
39062 char *kwnames
[] = {
39063 (char *) "self", NULL
39066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39068 if (SWIG_arg_fail(1)) SWIG_fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 result
= (int)(arg1
)->GetFlag();
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39077 resultobj
= SWIG_From_int((int)(result
));
39085 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39086 PyObject
*resultobj
;
39087 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39089 PyObject
* obj0
= 0 ;
39090 PyObject
* obj1
= 0 ;
39091 char *kwnames
[] = {
39092 (char *) "self",(char *) "border", NULL
39095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39097 if (SWIG_arg_fail(1)) SWIG_fail
;
39099 arg2
= (int)(SWIG_As_int(obj1
));
39100 if (SWIG_arg_fail(2)) SWIG_fail
;
39103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39104 (arg1
)->SetBorder(arg2
);
39106 wxPyEndAllowThreads(__tstate
);
39107 if (PyErr_Occurred()) SWIG_fail
;
39109 Py_INCREF(Py_None
); resultobj
= Py_None
;
39116 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39117 PyObject
*resultobj
;
39118 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39120 PyObject
* obj0
= 0 ;
39121 char *kwnames
[] = {
39122 (char *) "self", NULL
39125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39127 if (SWIG_arg_fail(1)) SWIG_fail
;
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 result
= (int)(arg1
)->GetBorder();
39132 wxPyEndAllowThreads(__tstate
);
39133 if (PyErr_Occurred()) SWIG_fail
;
39136 resultobj
= SWIG_From_int((int)(result
));
39144 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39145 PyObject
*resultobj
;
39146 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39148 PyObject
* obj0
= 0 ;
39149 char *kwnames
[] = {
39150 (char *) "self", NULL
39153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39155 if (SWIG_arg_fail(1)) SWIG_fail
;
39157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39158 result
= (wxWindow
*)(arg1
)->GetWindow();
39160 wxPyEndAllowThreads(__tstate
);
39161 if (PyErr_Occurred()) SWIG_fail
;
39164 resultobj
= wxPyMake_wxObject(result
, 0);
39172 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39173 PyObject
*resultobj
;
39174 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39175 wxWindow
*arg2
= (wxWindow
*) 0 ;
39176 PyObject
* obj0
= 0 ;
39177 PyObject
* obj1
= 0 ;
39178 char *kwnames
[] = {
39179 (char *) "self",(char *) "window", NULL
39182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39184 if (SWIG_arg_fail(1)) SWIG_fail
;
39185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39186 if (SWIG_arg_fail(2)) SWIG_fail
;
39188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39189 (arg1
)->SetWindow(arg2
);
39191 wxPyEndAllowThreads(__tstate
);
39192 if (PyErr_Occurred()) SWIG_fail
;
39194 Py_INCREF(Py_None
); resultobj
= Py_None
;
39201 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39202 PyObject
*resultobj
;
39203 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39205 PyObject
* obj0
= 0 ;
39206 char *kwnames
[] = {
39207 (char *) "self", NULL
39210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39212 if (SWIG_arg_fail(1)) SWIG_fail
;
39214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39215 result
= (wxSizer
*)(arg1
)->GetSizer();
39217 wxPyEndAllowThreads(__tstate
);
39218 if (PyErr_Occurred()) SWIG_fail
;
39221 resultobj
= wxPyMake_wxSizer(result
, 0);
39229 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39230 PyObject
*resultobj
;
39231 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39232 wxSizer
*arg2
= (wxSizer
*) 0 ;
39233 PyObject
* obj0
= 0 ;
39234 PyObject
* obj1
= 0 ;
39235 char *kwnames
[] = {
39236 (char *) "self",(char *) "sizer", NULL
39239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39241 if (SWIG_arg_fail(1)) SWIG_fail
;
39242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39243 if (SWIG_arg_fail(2)) SWIG_fail
;
39245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39246 (arg1
)->SetSizer(arg2
);
39248 wxPyEndAllowThreads(__tstate
);
39249 if (PyErr_Occurred()) SWIG_fail
;
39251 Py_INCREF(Py_None
); resultobj
= Py_None
;
39258 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39259 PyObject
*resultobj
;
39260 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39262 PyObject
* obj0
= 0 ;
39263 char *kwnames
[] = {
39264 (char *) "self", NULL
39267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39269 if (SWIG_arg_fail(1)) SWIG_fail
;
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39273 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39274 result
= (wxSize
*) &_result_ref
;
39277 wxPyEndAllowThreads(__tstate
);
39278 if (PyErr_Occurred()) SWIG_fail
;
39280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39287 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39288 PyObject
*resultobj
;
39289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39292 PyObject
* obj0
= 0 ;
39293 PyObject
* obj1
= 0 ;
39294 char *kwnames
[] = {
39295 (char *) "self",(char *) "size", NULL
39298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39300 if (SWIG_arg_fail(1)) SWIG_fail
;
39303 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39307 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39309 wxPyEndAllowThreads(__tstate
);
39310 if (PyErr_Occurred()) SWIG_fail
;
39312 Py_INCREF(Py_None
); resultobj
= Py_None
;
39319 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39320 PyObject
*resultobj
;
39321 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39323 PyObject
* obj0
= 0 ;
39324 PyObject
* obj1
= 0 ;
39325 char *kwnames
[] = {
39326 (char *) "self",(char *) "show", NULL
39329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",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
;
39333 arg2
= (bool)(SWIG_As_bool(obj1
));
39334 if (SWIG_arg_fail(2)) SWIG_fail
;
39337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39338 (arg1
)->Show(arg2
);
39340 wxPyEndAllowThreads(__tstate
);
39341 if (PyErr_Occurred()) SWIG_fail
;
39343 Py_INCREF(Py_None
); resultobj
= Py_None
;
39350 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
;
39352 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39354 PyObject
* obj0
= 0 ;
39355 char *kwnames
[] = {
39356 (char *) "self", NULL
39359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39361 if (SWIG_arg_fail(1)) SWIG_fail
;
39363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39364 result
= (bool)(arg1
)->IsShown();
39366 wxPyEndAllowThreads(__tstate
);
39367 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39378 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39379 PyObject
*resultobj
;
39380 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39382 PyObject
* obj0
= 0 ;
39383 char *kwnames
[] = {
39384 (char *) "self", NULL
39387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39389 if (SWIG_arg_fail(1)) SWIG_fail
;
39391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39392 result
= (arg1
)->GetPosition();
39394 wxPyEndAllowThreads(__tstate
);
39395 if (PyErr_Occurred()) SWIG_fail
;
39398 wxPoint
* resultptr
;
39399 resultptr
= new wxPoint((wxPoint
&)(result
));
39400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39408 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39409 PyObject
*resultobj
;
39410 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39412 PyObject
* obj0
= 0 ;
39413 char *kwnames
[] = {
39414 (char *) "self", NULL
39417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39419 if (SWIG_arg_fail(1)) SWIG_fail
;
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39422 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39424 wxPyEndAllowThreads(__tstate
);
39425 if (PyErr_Occurred()) SWIG_fail
;
39427 resultobj
= result
;
39434 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39437 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39439 return Py_BuildValue((char *)"");
39441 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39442 PyObject
*resultobj
;
39443 wxSizer
*arg1
= (wxSizer
*) 0 ;
39444 PyObject
*arg2
= (PyObject
*) 0 ;
39445 PyObject
* obj0
= 0 ;
39446 PyObject
* obj1
= 0 ;
39447 char *kwnames
[] = {
39448 (char *) "self",(char *) "_self", NULL
39451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39453 if (SWIG_arg_fail(1)) SWIG_fail
;
39456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39457 wxSizer__setOORInfo(arg1
,arg2
);
39459 wxPyEndAllowThreads(__tstate
);
39460 if (PyErr_Occurred()) SWIG_fail
;
39462 Py_INCREF(Py_None
); resultobj
= Py_None
;
39469 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39470 PyObject
*resultobj
;
39471 wxSizer
*arg1
= (wxSizer
*) 0 ;
39472 PyObject
*arg2
= (PyObject
*) 0 ;
39473 int arg3
= (int) 0 ;
39474 int arg4
= (int) 0 ;
39475 int arg5
= (int) 0 ;
39476 PyObject
*arg6
= (PyObject
*) NULL
;
39477 wxSizerItem
*result
;
39478 PyObject
* obj0
= 0 ;
39479 PyObject
* obj1
= 0 ;
39480 PyObject
* obj2
= 0 ;
39481 PyObject
* obj3
= 0 ;
39482 PyObject
* obj4
= 0 ;
39483 PyObject
* obj5
= 0 ;
39484 char *kwnames
[] = {
39485 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39490 if (SWIG_arg_fail(1)) SWIG_fail
;
39494 arg3
= (int)(SWIG_As_int(obj2
));
39495 if (SWIG_arg_fail(3)) SWIG_fail
;
39500 arg4
= (int)(SWIG_As_int(obj3
));
39501 if (SWIG_arg_fail(4)) SWIG_fail
;
39506 arg5
= (int)(SWIG_As_int(obj4
));
39507 if (SWIG_arg_fail(5)) SWIG_fail
;
39514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39515 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39517 wxPyEndAllowThreads(__tstate
);
39518 if (PyErr_Occurred()) SWIG_fail
;
39520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39527 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39528 PyObject
*resultobj
;
39529 wxSizer
*arg1
= (wxSizer
*) 0 ;
39531 PyObject
*arg3
= (PyObject
*) 0 ;
39532 int arg4
= (int) 0 ;
39533 int arg5
= (int) 0 ;
39534 int arg6
= (int) 0 ;
39535 PyObject
*arg7
= (PyObject
*) NULL
;
39536 wxSizerItem
*result
;
39537 PyObject
* obj0
= 0 ;
39538 PyObject
* obj1
= 0 ;
39539 PyObject
* obj2
= 0 ;
39540 PyObject
* obj3
= 0 ;
39541 PyObject
* obj4
= 0 ;
39542 PyObject
* obj5
= 0 ;
39543 PyObject
* obj6
= 0 ;
39544 char *kwnames
[] = {
39545 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39550 if (SWIG_arg_fail(1)) SWIG_fail
;
39552 arg2
= (int)(SWIG_As_int(obj1
));
39553 if (SWIG_arg_fail(2)) SWIG_fail
;
39558 arg4
= (int)(SWIG_As_int(obj3
));
39559 if (SWIG_arg_fail(4)) SWIG_fail
;
39564 arg5
= (int)(SWIG_As_int(obj4
));
39565 if (SWIG_arg_fail(5)) SWIG_fail
;
39570 arg6
= (int)(SWIG_As_int(obj5
));
39571 if (SWIG_arg_fail(6)) SWIG_fail
;
39578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39579 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39581 wxPyEndAllowThreads(__tstate
);
39582 if (PyErr_Occurred()) SWIG_fail
;
39584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39591 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39592 PyObject
*resultobj
;
39593 wxSizer
*arg1
= (wxSizer
*) 0 ;
39594 PyObject
*arg2
= (PyObject
*) 0 ;
39595 int arg3
= (int) 0 ;
39596 int arg4
= (int) 0 ;
39597 int arg5
= (int) 0 ;
39598 PyObject
*arg6
= (PyObject
*) NULL
;
39599 wxSizerItem
*result
;
39600 PyObject
* obj0
= 0 ;
39601 PyObject
* obj1
= 0 ;
39602 PyObject
* obj2
= 0 ;
39603 PyObject
* obj3
= 0 ;
39604 PyObject
* obj4
= 0 ;
39605 PyObject
* obj5
= 0 ;
39606 char *kwnames
[] = {
39607 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39612 if (SWIG_arg_fail(1)) SWIG_fail
;
39616 arg3
= (int)(SWIG_As_int(obj2
));
39617 if (SWIG_arg_fail(3)) SWIG_fail
;
39622 arg4
= (int)(SWIG_As_int(obj3
));
39623 if (SWIG_arg_fail(4)) SWIG_fail
;
39628 arg5
= (int)(SWIG_As_int(obj4
));
39629 if (SWIG_arg_fail(5)) SWIG_fail
;
39636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39637 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39639 wxPyEndAllowThreads(__tstate
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39649 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39650 PyObject
*resultobj
;
39651 wxSizer
*arg1
= (wxSizer
*) 0 ;
39652 PyObject
*arg2
= (PyObject
*) 0 ;
39654 PyObject
* obj0
= 0 ;
39655 PyObject
* obj1
= 0 ;
39656 char *kwnames
[] = {
39657 (char *) "self",(char *) "item", NULL
39660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39662 if (SWIG_arg_fail(1)) SWIG_fail
;
39665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39666 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39668 wxPyEndAllowThreads(__tstate
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39680 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39681 PyObject
*resultobj
;
39682 wxSizer
*arg1
= (wxSizer
*) 0 ;
39683 PyObject
*arg2
= (PyObject
*) 0 ;
39685 PyObject
* obj0
= 0 ;
39686 PyObject
* obj1
= 0 ;
39687 char *kwnames
[] = {
39688 (char *) "self",(char *) "item", NULL
39691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39693 if (SWIG_arg_fail(1)) SWIG_fail
;
39696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39697 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39699 wxPyEndAllowThreads(__tstate
);
39700 if (PyErr_Occurred()) SWIG_fail
;
39703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39711 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39712 PyObject
*resultobj
;
39713 wxSizer
*arg1
= (wxSizer
*) 0 ;
39714 PyObject
*arg2
= (PyObject
*) 0 ;
39715 wxSizerItem
*result
;
39716 PyObject
* obj0
= 0 ;
39717 PyObject
* obj1
= 0 ;
39718 char *kwnames
[] = {
39719 (char *) "self",(char *) "item", NULL
39722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39724 if (SWIG_arg_fail(1)) SWIG_fail
;
39727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39728 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39730 wxPyEndAllowThreads(__tstate
);
39731 if (PyErr_Occurred()) SWIG_fail
;
39733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39740 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39741 PyObject
*resultobj
;
39742 wxSizer
*arg1
= (wxSizer
*) 0 ;
39743 PyObject
*arg2
= (PyObject
*) 0 ;
39746 PyObject
* obj0
= 0 ;
39747 PyObject
* obj1
= 0 ;
39748 PyObject
* obj2
= 0 ;
39749 char *kwnames
[] = {
39750 (char *) "self",(char *) "item",(char *) "size", NULL
39753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39755 if (SWIG_arg_fail(1)) SWIG_fail
;
39759 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39763 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39765 wxPyEndAllowThreads(__tstate
);
39766 if (PyErr_Occurred()) SWIG_fail
;
39768 Py_INCREF(Py_None
); resultobj
= Py_None
;
39775 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39776 PyObject
*resultobj
;
39777 wxSizer
*arg1
= (wxSizer
*) 0 ;
39778 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39779 wxSizerItem
*result
;
39780 PyObject
* obj0
= 0 ;
39781 PyObject
* obj1
= 0 ;
39782 char *kwnames
[] = {
39783 (char *) "self",(char *) "item", NULL
39786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39788 if (SWIG_arg_fail(1)) SWIG_fail
;
39789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39790 if (SWIG_arg_fail(2)) SWIG_fail
;
39792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39793 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39795 wxPyEndAllowThreads(__tstate
);
39796 if (PyErr_Occurred()) SWIG_fail
;
39798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39805 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39806 PyObject
*resultobj
;
39807 wxSizer
*arg1
= (wxSizer
*) 0 ;
39809 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39810 wxSizerItem
*result
;
39811 PyObject
* obj0
= 0 ;
39812 PyObject
* obj1
= 0 ;
39813 PyObject
* obj2
= 0 ;
39814 char *kwnames
[] = {
39815 (char *) "self",(char *) "index",(char *) "item", NULL
39818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39820 if (SWIG_arg_fail(1)) SWIG_fail
;
39822 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39823 if (SWIG_arg_fail(2)) SWIG_fail
;
39825 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39826 if (SWIG_arg_fail(3)) SWIG_fail
;
39828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39829 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39831 wxPyEndAllowThreads(__tstate
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39841 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39842 PyObject
*resultobj
;
39843 wxSizer
*arg1
= (wxSizer
*) 0 ;
39844 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39845 wxSizerItem
*result
;
39846 PyObject
* obj0
= 0 ;
39847 PyObject
* obj1
= 0 ;
39848 char *kwnames
[] = {
39849 (char *) "self",(char *) "item", NULL
39852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39854 if (SWIG_arg_fail(1)) SWIG_fail
;
39855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39856 if (SWIG_arg_fail(2)) SWIG_fail
;
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39861 wxPyEndAllowThreads(__tstate
);
39862 if (PyErr_Occurred()) SWIG_fail
;
39864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39871 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39872 PyObject
*resultobj
;
39873 wxSizer
*arg1
= (wxSizer
*) 0 ;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 PyObject
* obj2
= 0 ;
39881 PyObject
* obj3
= 0 ;
39882 PyObject
* obj4
= 0 ;
39883 char *kwnames
[] = {
39884 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39889 if (SWIG_arg_fail(1)) SWIG_fail
;
39891 arg2
= (int)(SWIG_As_int(obj1
));
39892 if (SWIG_arg_fail(2)) SWIG_fail
;
39895 arg3
= (int)(SWIG_As_int(obj2
));
39896 if (SWIG_arg_fail(3)) SWIG_fail
;
39899 arg4
= (int)(SWIG_As_int(obj3
));
39900 if (SWIG_arg_fail(4)) SWIG_fail
;
39903 arg5
= (int)(SWIG_As_int(obj4
));
39904 if (SWIG_arg_fail(5)) SWIG_fail
;
39907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39908 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39910 wxPyEndAllowThreads(__tstate
);
39911 if (PyErr_Occurred()) SWIG_fail
;
39913 Py_INCREF(Py_None
); resultobj
= Py_None
;
39920 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39921 PyObject
*resultobj
;
39922 wxSizer
*arg1
= (wxSizer
*) 0 ;
39925 PyObject
* obj0
= 0 ;
39926 PyObject
* obj1
= 0 ;
39927 char *kwnames
[] = {
39928 (char *) "self",(char *) "size", NULL
39931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39933 if (SWIG_arg_fail(1)) SWIG_fail
;
39936 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39940 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39942 wxPyEndAllowThreads(__tstate
);
39943 if (PyErr_Occurred()) SWIG_fail
;
39945 Py_INCREF(Py_None
); resultobj
= Py_None
;
39952 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39953 PyObject
*resultobj
;
39954 wxSizer
*arg1
= (wxSizer
*) 0 ;
39956 PyObject
* obj0
= 0 ;
39957 char *kwnames
[] = {
39958 (char *) "self", NULL
39961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39963 if (SWIG_arg_fail(1)) SWIG_fail
;
39965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39966 result
= (arg1
)->GetSize();
39968 wxPyEndAllowThreads(__tstate
);
39969 if (PyErr_Occurred()) SWIG_fail
;
39972 wxSize
* resultptr
;
39973 resultptr
= new wxSize((wxSize
&)(result
));
39974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39982 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39983 PyObject
*resultobj
;
39984 wxSizer
*arg1
= (wxSizer
*) 0 ;
39986 PyObject
* obj0
= 0 ;
39987 char *kwnames
[] = {
39988 (char *) "self", NULL
39991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39993 if (SWIG_arg_fail(1)) SWIG_fail
;
39995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 result
= (arg1
)->GetPosition();
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40002 wxPoint
* resultptr
;
40003 resultptr
= new wxPoint((wxPoint
&)(result
));
40004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40012 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40013 PyObject
*resultobj
;
40014 wxSizer
*arg1
= (wxSizer
*) 0 ;
40016 PyObject
* obj0
= 0 ;
40017 char *kwnames
[] = {
40018 (char *) "self", NULL
40021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40023 if (SWIG_arg_fail(1)) SWIG_fail
;
40025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40026 result
= (arg1
)->GetMinSize();
40028 wxPyEndAllowThreads(__tstate
);
40029 if (PyErr_Occurred()) SWIG_fail
;
40032 wxSize
* resultptr
;
40033 resultptr
= new wxSize((wxSize
&)(result
));
40034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40042 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxSizer
*arg1
= (wxSizer
*) 0 ;
40045 PyObject
* obj0
= 0 ;
40046 char *kwnames
[] = {
40047 (char *) "self", NULL
40050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40052 if (SWIG_arg_fail(1)) SWIG_fail
;
40054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40055 (arg1
)->RecalcSizes();
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40060 Py_INCREF(Py_None
); resultobj
= Py_None
;
40067 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40068 PyObject
*resultobj
;
40069 wxSizer
*arg1
= (wxSizer
*) 0 ;
40071 PyObject
* obj0
= 0 ;
40072 char *kwnames
[] = {
40073 (char *) "self", NULL
40076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40078 if (SWIG_arg_fail(1)) SWIG_fail
;
40080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40081 result
= (arg1
)->CalcMin();
40083 wxPyEndAllowThreads(__tstate
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40087 wxSize
* resultptr
;
40088 resultptr
= new wxSize((wxSize
&)(result
));
40089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40097 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40098 PyObject
*resultobj
;
40099 wxSizer
*arg1
= (wxSizer
*) 0 ;
40100 PyObject
* obj0
= 0 ;
40101 char *kwnames
[] = {
40102 (char *) "self", NULL
40105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40107 if (SWIG_arg_fail(1)) SWIG_fail
;
40109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40112 wxPyEndAllowThreads(__tstate
);
40113 if (PyErr_Occurred()) SWIG_fail
;
40115 Py_INCREF(Py_None
); resultobj
= Py_None
;
40122 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40123 PyObject
*resultobj
;
40124 wxSizer
*arg1
= (wxSizer
*) 0 ;
40125 wxWindow
*arg2
= (wxWindow
*) 0 ;
40127 PyObject
* obj0
= 0 ;
40128 PyObject
* obj1
= 0 ;
40129 char *kwnames
[] = {
40130 (char *) "self",(char *) "window", NULL
40133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40135 if (SWIG_arg_fail(1)) SWIG_fail
;
40136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40137 if (SWIG_arg_fail(2)) SWIG_fail
;
40139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40140 result
= (arg1
)->Fit(arg2
);
40142 wxPyEndAllowThreads(__tstate
);
40143 if (PyErr_Occurred()) SWIG_fail
;
40146 wxSize
* resultptr
;
40147 resultptr
= new wxSize((wxSize
&)(result
));
40148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40156 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40157 PyObject
*resultobj
;
40158 wxSizer
*arg1
= (wxSizer
*) 0 ;
40159 wxWindow
*arg2
= (wxWindow
*) 0 ;
40160 PyObject
* obj0
= 0 ;
40161 PyObject
* obj1
= 0 ;
40162 char *kwnames
[] = {
40163 (char *) "self",(char *) "window", NULL
40166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40168 if (SWIG_arg_fail(1)) SWIG_fail
;
40169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40170 if (SWIG_arg_fail(2)) SWIG_fail
;
40172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40173 (arg1
)->FitInside(arg2
);
40175 wxPyEndAllowThreads(__tstate
);
40176 if (PyErr_Occurred()) SWIG_fail
;
40178 Py_INCREF(Py_None
); resultobj
= Py_None
;
40185 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40186 PyObject
*resultobj
;
40187 wxSizer
*arg1
= (wxSizer
*) 0 ;
40188 wxWindow
*arg2
= (wxWindow
*) 0 ;
40189 PyObject
* obj0
= 0 ;
40190 PyObject
* obj1
= 0 ;
40191 char *kwnames
[] = {
40192 (char *) "self",(char *) "window", NULL
40195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40197 if (SWIG_arg_fail(1)) SWIG_fail
;
40198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40199 if (SWIG_arg_fail(2)) SWIG_fail
;
40201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40202 (arg1
)->SetSizeHints(arg2
);
40204 wxPyEndAllowThreads(__tstate
);
40205 if (PyErr_Occurred()) SWIG_fail
;
40207 Py_INCREF(Py_None
); resultobj
= Py_None
;
40214 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40215 PyObject
*resultobj
;
40216 wxSizer
*arg1
= (wxSizer
*) 0 ;
40217 wxWindow
*arg2
= (wxWindow
*) 0 ;
40218 PyObject
* obj0
= 0 ;
40219 PyObject
* obj1
= 0 ;
40220 char *kwnames
[] = {
40221 (char *) "self",(char *) "window", NULL
40224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40226 if (SWIG_arg_fail(1)) SWIG_fail
;
40227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40228 if (SWIG_arg_fail(2)) SWIG_fail
;
40230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40231 (arg1
)->SetVirtualSizeHints(arg2
);
40233 wxPyEndAllowThreads(__tstate
);
40234 if (PyErr_Occurred()) SWIG_fail
;
40236 Py_INCREF(Py_None
); resultobj
= Py_None
;
40243 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40244 PyObject
*resultobj
;
40245 wxSizer
*arg1
= (wxSizer
*) 0 ;
40246 bool arg2
= (bool) false ;
40247 PyObject
* obj0
= 0 ;
40248 PyObject
* obj1
= 0 ;
40249 char *kwnames
[] = {
40250 (char *) "self",(char *) "deleteWindows", NULL
40253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40255 if (SWIG_arg_fail(1)) SWIG_fail
;
40258 arg2
= (bool)(SWIG_As_bool(obj1
));
40259 if (SWIG_arg_fail(2)) SWIG_fail
;
40263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40264 (arg1
)->Clear(arg2
);
40266 wxPyEndAllowThreads(__tstate
);
40267 if (PyErr_Occurred()) SWIG_fail
;
40269 Py_INCREF(Py_None
); resultobj
= Py_None
;
40276 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40277 PyObject
*resultobj
;
40278 wxSizer
*arg1
= (wxSizer
*) 0 ;
40279 PyObject
* obj0
= 0 ;
40280 char *kwnames
[] = {
40281 (char *) "self", NULL
40284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40286 if (SWIG_arg_fail(1)) SWIG_fail
;
40288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40289 (arg1
)->DeleteWindows();
40291 wxPyEndAllowThreads(__tstate
);
40292 if (PyErr_Occurred()) SWIG_fail
;
40294 Py_INCREF(Py_None
); resultobj
= Py_None
;
40301 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40302 PyObject
*resultobj
;
40303 wxSizer
*arg1
= (wxSizer
*) 0 ;
40305 PyObject
* obj0
= 0 ;
40306 char *kwnames
[] = {
40307 (char *) "self", NULL
40310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40312 if (SWIG_arg_fail(1)) SWIG_fail
;
40314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40315 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40317 wxPyEndAllowThreads(__tstate
);
40318 if (PyErr_Occurred()) SWIG_fail
;
40320 resultobj
= result
;
40327 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40328 PyObject
*resultobj
;
40329 wxSizer
*arg1
= (wxSizer
*) 0 ;
40330 PyObject
*arg2
= (PyObject
*) 0 ;
40331 bool arg3
= (bool) true ;
40332 bool arg4
= (bool) false ;
40334 PyObject
* obj0
= 0 ;
40335 PyObject
* obj1
= 0 ;
40336 PyObject
* obj2
= 0 ;
40337 PyObject
* obj3
= 0 ;
40338 char *kwnames
[] = {
40339 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40344 if (SWIG_arg_fail(1)) SWIG_fail
;
40348 arg3
= (bool)(SWIG_As_bool(obj2
));
40349 if (SWIG_arg_fail(3)) SWIG_fail
;
40354 arg4
= (bool)(SWIG_As_bool(obj3
));
40355 if (SWIG_arg_fail(4)) SWIG_fail
;
40359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40360 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40362 wxPyEndAllowThreads(__tstate
);
40363 if (PyErr_Occurred()) SWIG_fail
;
40366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40374 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40375 PyObject
*resultobj
;
40376 wxSizer
*arg1
= (wxSizer
*) 0 ;
40377 PyObject
*arg2
= (PyObject
*) 0 ;
40379 PyObject
* obj0
= 0 ;
40380 PyObject
* obj1
= 0 ;
40381 char *kwnames
[] = {
40382 (char *) "self",(char *) "item", NULL
40385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40387 if (SWIG_arg_fail(1)) SWIG_fail
;
40390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40391 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40393 wxPyEndAllowThreads(__tstate
);
40394 if (PyErr_Occurred()) SWIG_fail
;
40397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40405 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40406 PyObject
*resultobj
;
40407 wxSizer
*arg1
= (wxSizer
*) 0 ;
40409 PyObject
* obj0
= 0 ;
40410 PyObject
* obj1
= 0 ;
40411 char *kwnames
[] = {
40412 (char *) "self",(char *) "show", NULL
40415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40417 if (SWIG_arg_fail(1)) SWIG_fail
;
40419 arg2
= (bool)(SWIG_As_bool(obj1
));
40420 if (SWIG_arg_fail(2)) SWIG_fail
;
40423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40424 (arg1
)->ShowItems(arg2
);
40426 wxPyEndAllowThreads(__tstate
);
40427 if (PyErr_Occurred()) SWIG_fail
;
40429 Py_INCREF(Py_None
); resultobj
= Py_None
;
40436 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40439 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40441 return Py_BuildValue((char *)"");
40443 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40444 PyObject
*resultobj
;
40446 char *kwnames
[] = {
40450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 result
= (wxPySizer
*)new wxPySizer();
40455 wxPyEndAllowThreads(__tstate
);
40456 if (PyErr_Occurred()) SWIG_fail
;
40458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40465 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40466 PyObject
*resultobj
;
40467 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40468 PyObject
*arg2
= (PyObject
*) 0 ;
40469 PyObject
*arg3
= (PyObject
*) 0 ;
40470 PyObject
* obj0
= 0 ;
40471 PyObject
* obj1
= 0 ;
40472 PyObject
* obj2
= 0 ;
40473 char *kwnames
[] = {
40474 (char *) "self",(char *) "self",(char *) "_class", NULL
40477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40479 if (SWIG_arg_fail(1)) SWIG_fail
;
40483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40484 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40486 wxPyEndAllowThreads(__tstate
);
40487 if (PyErr_Occurred()) SWIG_fail
;
40489 Py_INCREF(Py_None
); resultobj
= Py_None
;
40496 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40499 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40501 return Py_BuildValue((char *)"");
40503 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40504 PyObject
*resultobj
;
40505 int arg1
= (int) wxHORIZONTAL
;
40506 wxBoxSizer
*result
;
40507 PyObject
* obj0
= 0 ;
40508 char *kwnames
[] = {
40509 (char *) "orient", NULL
40512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40515 arg1
= (int)(SWIG_As_int(obj0
));
40516 if (SWIG_arg_fail(1)) SWIG_fail
;
40520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40521 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40523 wxPyEndAllowThreads(__tstate
);
40524 if (PyErr_Occurred()) SWIG_fail
;
40526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40533 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40534 PyObject
*resultobj
;
40535 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40537 PyObject
* obj0
= 0 ;
40538 char *kwnames
[] = {
40539 (char *) "self", NULL
40542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40544 if (SWIG_arg_fail(1)) SWIG_fail
;
40546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40547 result
= (int)(arg1
)->GetOrientation();
40549 wxPyEndAllowThreads(__tstate
);
40550 if (PyErr_Occurred()) SWIG_fail
;
40553 resultobj
= SWIG_From_int((int)(result
));
40561 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
;
40563 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40565 PyObject
* obj0
= 0 ;
40566 PyObject
* obj1
= 0 ;
40567 char *kwnames
[] = {
40568 (char *) "self",(char *) "orient", NULL
40571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40573 if (SWIG_arg_fail(1)) SWIG_fail
;
40575 arg2
= (int)(SWIG_As_int(obj1
));
40576 if (SWIG_arg_fail(2)) SWIG_fail
;
40579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40580 (arg1
)->SetOrientation(arg2
);
40582 wxPyEndAllowThreads(__tstate
);
40583 if (PyErr_Occurred()) SWIG_fail
;
40585 Py_INCREF(Py_None
); resultobj
= Py_None
;
40592 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40595 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40597 return Py_BuildValue((char *)"");
40599 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40600 PyObject
*resultobj
;
40601 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40602 int arg2
= (int) wxHORIZONTAL
;
40603 wxStaticBoxSizer
*result
;
40604 PyObject
* obj0
= 0 ;
40605 PyObject
* obj1
= 0 ;
40606 char *kwnames
[] = {
40607 (char *) "box",(char *) "orient", NULL
40610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40612 if (SWIG_arg_fail(1)) SWIG_fail
;
40615 arg2
= (int)(SWIG_As_int(obj1
));
40616 if (SWIG_arg_fail(2)) SWIG_fail
;
40620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40621 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40623 wxPyEndAllowThreads(__tstate
);
40624 if (PyErr_Occurred()) SWIG_fail
;
40626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40633 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40634 PyObject
*resultobj
;
40635 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40636 wxStaticBox
*result
;
40637 PyObject
* obj0
= 0 ;
40638 char *kwnames
[] = {
40639 (char *) "self", NULL
40642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40644 if (SWIG_arg_fail(1)) SWIG_fail
;
40646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40647 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40649 wxPyEndAllowThreads(__tstate
);
40650 if (PyErr_Occurred()) SWIG_fail
;
40653 resultobj
= wxPyMake_wxObject(result
, 0);
40661 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40664 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40666 return Py_BuildValue((char *)"");
40668 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40669 PyObject
*resultobj
;
40670 int arg1
= (int) 1 ;
40671 int arg2
= (int) 0 ;
40672 int arg3
= (int) 0 ;
40673 int arg4
= (int) 0 ;
40674 wxGridSizer
*result
;
40675 PyObject
* obj0
= 0 ;
40676 PyObject
* obj1
= 0 ;
40677 PyObject
* obj2
= 0 ;
40678 PyObject
* obj3
= 0 ;
40679 char *kwnames
[] = {
40680 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40686 arg1
= (int)(SWIG_As_int(obj0
));
40687 if (SWIG_arg_fail(1)) SWIG_fail
;
40692 arg2
= (int)(SWIG_As_int(obj1
));
40693 if (SWIG_arg_fail(2)) SWIG_fail
;
40698 arg3
= (int)(SWIG_As_int(obj2
));
40699 if (SWIG_arg_fail(3)) SWIG_fail
;
40704 arg4
= (int)(SWIG_As_int(obj3
));
40705 if (SWIG_arg_fail(4)) SWIG_fail
;
40709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40710 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40712 wxPyEndAllowThreads(__tstate
);
40713 if (PyErr_Occurred()) SWIG_fail
;
40715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40722 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40723 PyObject
*resultobj
;
40724 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40726 PyObject
* obj0
= 0 ;
40727 PyObject
* obj1
= 0 ;
40728 char *kwnames
[] = {
40729 (char *) "self",(char *) "cols", NULL
40732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40734 if (SWIG_arg_fail(1)) SWIG_fail
;
40736 arg2
= (int)(SWIG_As_int(obj1
));
40737 if (SWIG_arg_fail(2)) SWIG_fail
;
40740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40741 (arg1
)->SetCols(arg2
);
40743 wxPyEndAllowThreads(__tstate
);
40744 if (PyErr_Occurred()) SWIG_fail
;
40746 Py_INCREF(Py_None
); resultobj
= Py_None
;
40753 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40754 PyObject
*resultobj
;
40755 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40757 PyObject
* obj0
= 0 ;
40758 PyObject
* obj1
= 0 ;
40759 char *kwnames
[] = {
40760 (char *) "self",(char *) "rows", NULL
40763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40765 if (SWIG_arg_fail(1)) SWIG_fail
;
40767 arg2
= (int)(SWIG_As_int(obj1
));
40768 if (SWIG_arg_fail(2)) SWIG_fail
;
40771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40772 (arg1
)->SetRows(arg2
);
40774 wxPyEndAllowThreads(__tstate
);
40775 if (PyErr_Occurred()) SWIG_fail
;
40777 Py_INCREF(Py_None
); resultobj
= Py_None
;
40784 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40785 PyObject
*resultobj
;
40786 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40788 PyObject
* obj0
= 0 ;
40789 PyObject
* obj1
= 0 ;
40790 char *kwnames
[] = {
40791 (char *) "self",(char *) "gap", NULL
40794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40796 if (SWIG_arg_fail(1)) SWIG_fail
;
40798 arg2
= (int)(SWIG_As_int(obj1
));
40799 if (SWIG_arg_fail(2)) SWIG_fail
;
40802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40803 (arg1
)->SetVGap(arg2
);
40805 wxPyEndAllowThreads(__tstate
);
40806 if (PyErr_Occurred()) SWIG_fail
;
40808 Py_INCREF(Py_None
); resultobj
= Py_None
;
40815 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40816 PyObject
*resultobj
;
40817 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40819 PyObject
* obj0
= 0 ;
40820 PyObject
* obj1
= 0 ;
40821 char *kwnames
[] = {
40822 (char *) "self",(char *) "gap", NULL
40825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40827 if (SWIG_arg_fail(1)) SWIG_fail
;
40829 arg2
= (int)(SWIG_As_int(obj1
));
40830 if (SWIG_arg_fail(2)) SWIG_fail
;
40833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40834 (arg1
)->SetHGap(arg2
);
40836 wxPyEndAllowThreads(__tstate
);
40837 if (PyErr_Occurred()) SWIG_fail
;
40839 Py_INCREF(Py_None
); resultobj
= Py_None
;
40846 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40847 PyObject
*resultobj
;
40848 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40850 PyObject
* obj0
= 0 ;
40851 char *kwnames
[] = {
40852 (char *) "self", NULL
40855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40857 if (SWIG_arg_fail(1)) SWIG_fail
;
40859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40860 result
= (int)(arg1
)->GetCols();
40862 wxPyEndAllowThreads(__tstate
);
40863 if (PyErr_Occurred()) SWIG_fail
;
40866 resultobj
= SWIG_From_int((int)(result
));
40874 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40875 PyObject
*resultobj
;
40876 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40878 PyObject
* obj0
= 0 ;
40879 char *kwnames
[] = {
40880 (char *) "self", NULL
40883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40885 if (SWIG_arg_fail(1)) SWIG_fail
;
40887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40888 result
= (int)(arg1
)->GetRows();
40890 wxPyEndAllowThreads(__tstate
);
40891 if (PyErr_Occurred()) SWIG_fail
;
40894 resultobj
= SWIG_From_int((int)(result
));
40902 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40903 PyObject
*resultobj
;
40904 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40906 PyObject
* obj0
= 0 ;
40907 char *kwnames
[] = {
40908 (char *) "self", NULL
40911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40913 if (SWIG_arg_fail(1)) SWIG_fail
;
40915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40916 result
= (int)(arg1
)->GetVGap();
40918 wxPyEndAllowThreads(__tstate
);
40919 if (PyErr_Occurred()) SWIG_fail
;
40922 resultobj
= SWIG_From_int((int)(result
));
40930 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40931 PyObject
*resultobj
;
40932 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40934 PyObject
* obj0
= 0 ;
40935 char *kwnames
[] = {
40936 (char *) "self", NULL
40939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40941 if (SWIG_arg_fail(1)) SWIG_fail
;
40943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40944 result
= (int)(arg1
)->GetHGap();
40946 wxPyEndAllowThreads(__tstate
);
40947 if (PyErr_Occurred()) SWIG_fail
;
40950 resultobj
= SWIG_From_int((int)(result
));
40958 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40961 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40963 return Py_BuildValue((char *)"");
40965 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40966 PyObject
*resultobj
;
40967 int arg1
= (int) 1 ;
40968 int arg2
= (int) 0 ;
40969 int arg3
= (int) 0 ;
40970 int arg4
= (int) 0 ;
40971 wxFlexGridSizer
*result
;
40972 PyObject
* obj0
= 0 ;
40973 PyObject
* obj1
= 0 ;
40974 PyObject
* obj2
= 0 ;
40975 PyObject
* obj3
= 0 ;
40976 char *kwnames
[] = {
40977 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40983 arg1
= (int)(SWIG_As_int(obj0
));
40984 if (SWIG_arg_fail(1)) SWIG_fail
;
40989 arg2
= (int)(SWIG_As_int(obj1
));
40990 if (SWIG_arg_fail(2)) SWIG_fail
;
40995 arg3
= (int)(SWIG_As_int(obj2
));
40996 if (SWIG_arg_fail(3)) SWIG_fail
;
41001 arg4
= (int)(SWIG_As_int(obj3
));
41002 if (SWIG_arg_fail(4)) SWIG_fail
;
41006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41007 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41009 wxPyEndAllowThreads(__tstate
);
41010 if (PyErr_Occurred()) SWIG_fail
;
41012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41019 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41020 PyObject
*resultobj
;
41021 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41023 int arg3
= (int) 0 ;
41024 PyObject
* obj0
= 0 ;
41025 PyObject
* obj1
= 0 ;
41026 PyObject
* obj2
= 0 ;
41027 char *kwnames
[] = {
41028 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41033 if (SWIG_arg_fail(1)) SWIG_fail
;
41035 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41036 if (SWIG_arg_fail(2)) SWIG_fail
;
41040 arg3
= (int)(SWIG_As_int(obj2
));
41041 if (SWIG_arg_fail(3)) SWIG_fail
;
41045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41046 (arg1
)->AddGrowableRow(arg2
,arg3
);
41048 wxPyEndAllowThreads(__tstate
);
41049 if (PyErr_Occurred()) SWIG_fail
;
41051 Py_INCREF(Py_None
); resultobj
= Py_None
;
41058 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41059 PyObject
*resultobj
;
41060 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41062 PyObject
* obj0
= 0 ;
41063 PyObject
* obj1
= 0 ;
41064 char *kwnames
[] = {
41065 (char *) "self",(char *) "idx", NULL
41068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41070 if (SWIG_arg_fail(1)) SWIG_fail
;
41072 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41073 if (SWIG_arg_fail(2)) SWIG_fail
;
41076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41077 (arg1
)->RemoveGrowableRow(arg2
);
41079 wxPyEndAllowThreads(__tstate
);
41080 if (PyErr_Occurred()) SWIG_fail
;
41082 Py_INCREF(Py_None
); resultobj
= Py_None
;
41089 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41090 PyObject
*resultobj
;
41091 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41093 int arg3
= (int) 0 ;
41094 PyObject
* obj0
= 0 ;
41095 PyObject
* obj1
= 0 ;
41096 PyObject
* obj2
= 0 ;
41097 char *kwnames
[] = {
41098 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41103 if (SWIG_arg_fail(1)) SWIG_fail
;
41105 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41106 if (SWIG_arg_fail(2)) SWIG_fail
;
41110 arg3
= (int)(SWIG_As_int(obj2
));
41111 if (SWIG_arg_fail(3)) SWIG_fail
;
41115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41116 (arg1
)->AddGrowableCol(arg2
,arg3
);
41118 wxPyEndAllowThreads(__tstate
);
41119 if (PyErr_Occurred()) SWIG_fail
;
41121 Py_INCREF(Py_None
); resultobj
= Py_None
;
41128 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41129 PyObject
*resultobj
;
41130 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41132 PyObject
* obj0
= 0 ;
41133 PyObject
* obj1
= 0 ;
41134 char *kwnames
[] = {
41135 (char *) "self",(char *) "idx", NULL
41138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41140 if (SWIG_arg_fail(1)) SWIG_fail
;
41142 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41143 if (SWIG_arg_fail(2)) SWIG_fail
;
41146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41147 (arg1
)->RemoveGrowableCol(arg2
);
41149 wxPyEndAllowThreads(__tstate
);
41150 if (PyErr_Occurred()) SWIG_fail
;
41152 Py_INCREF(Py_None
); resultobj
= Py_None
;
41159 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41160 PyObject
*resultobj
;
41161 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41163 PyObject
* obj0
= 0 ;
41164 PyObject
* obj1
= 0 ;
41165 char *kwnames
[] = {
41166 (char *) "self",(char *) "direction", NULL
41169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41171 if (SWIG_arg_fail(1)) SWIG_fail
;
41173 arg2
= (int)(SWIG_As_int(obj1
));
41174 if (SWIG_arg_fail(2)) SWIG_fail
;
41177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41178 (arg1
)->SetFlexibleDirection(arg2
);
41180 wxPyEndAllowThreads(__tstate
);
41181 if (PyErr_Occurred()) SWIG_fail
;
41183 Py_INCREF(Py_None
); resultobj
= Py_None
;
41190 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41191 PyObject
*resultobj
;
41192 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41194 PyObject
* obj0
= 0 ;
41195 char *kwnames
[] = {
41196 (char *) "self", NULL
41199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41201 if (SWIG_arg_fail(1)) SWIG_fail
;
41203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41204 result
= (int)(arg1
)->GetFlexibleDirection();
41206 wxPyEndAllowThreads(__tstate
);
41207 if (PyErr_Occurred()) SWIG_fail
;
41210 resultobj
= SWIG_From_int((int)(result
));
41218 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41219 PyObject
*resultobj
;
41220 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41221 wxFlexSizerGrowMode arg2
;
41222 PyObject
* obj0
= 0 ;
41223 PyObject
* obj1
= 0 ;
41224 char *kwnames
[] = {
41225 (char *) "self",(char *) "mode", NULL
41228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",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
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41233 if (SWIG_arg_fail(2)) SWIG_fail
;
41236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41237 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41239 wxPyEndAllowThreads(__tstate
);
41240 if (PyErr_Occurred()) SWIG_fail
;
41242 Py_INCREF(Py_None
); resultobj
= Py_None
;
41249 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41250 PyObject
*resultobj
;
41251 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41252 wxFlexSizerGrowMode result
;
41253 PyObject
* obj0
= 0 ;
41254 char *kwnames
[] = {
41255 (char *) "self", NULL
41258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41260 if (SWIG_arg_fail(1)) SWIG_fail
;
41262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41263 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41265 wxPyEndAllowThreads(__tstate
);
41266 if (PyErr_Occurred()) SWIG_fail
;
41268 resultobj
= SWIG_From_int((result
));
41275 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41276 PyObject
*resultobj
;
41277 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41278 wxArrayInt
*result
;
41279 PyObject
* obj0
= 0 ;
41280 char *kwnames
[] = {
41281 (char *) "self", NULL
41284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41286 if (SWIG_arg_fail(1)) SWIG_fail
;
41288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41290 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41291 result
= (wxArrayInt
*) &_result_ref
;
41294 wxPyEndAllowThreads(__tstate
);
41295 if (PyErr_Occurred()) SWIG_fail
;
41298 resultobj
= PyList_New(0);
41300 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41301 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41302 PyList_Append(resultobj
, val
);
41312 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41313 PyObject
*resultobj
;
41314 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41315 wxArrayInt
*result
;
41316 PyObject
* obj0
= 0 ;
41317 char *kwnames
[] = {
41318 (char *) "self", NULL
41321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41323 if (SWIG_arg_fail(1)) SWIG_fail
;
41325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41327 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41328 result
= (wxArrayInt
*) &_result_ref
;
41331 wxPyEndAllowThreads(__tstate
);
41332 if (PyErr_Occurred()) SWIG_fail
;
41335 resultobj
= PyList_New(0);
41337 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41338 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41339 PyList_Append(resultobj
, val
);
41349 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41352 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41354 return Py_BuildValue((char *)"");
41356 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41357 PyObject
*resultobj
;
41358 wxStdDialogButtonSizer
*result
;
41359 char *kwnames
[] = {
41363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41366 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41368 wxPyEndAllowThreads(__tstate
);
41369 if (PyErr_Occurred()) SWIG_fail
;
41371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41378 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41379 PyObject
*resultobj
;
41380 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41381 wxButton
*arg2
= (wxButton
*) 0 ;
41382 PyObject
* obj0
= 0 ;
41383 PyObject
* obj1
= 0 ;
41384 char *kwnames
[] = {
41385 (char *) "self",(char *) "button", NULL
41388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41390 if (SWIG_arg_fail(1)) SWIG_fail
;
41391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41392 if (SWIG_arg_fail(2)) SWIG_fail
;
41394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41395 (arg1
)->AddButton(arg2
);
41397 wxPyEndAllowThreads(__tstate
);
41398 if (PyErr_Occurred()) SWIG_fail
;
41400 Py_INCREF(Py_None
); resultobj
= Py_None
;
41407 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41408 PyObject
*resultobj
;
41409 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41410 PyObject
* obj0
= 0 ;
41411 char *kwnames
[] = {
41412 (char *) "self", NULL
41415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41417 if (SWIG_arg_fail(1)) SWIG_fail
;
41419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41422 wxPyEndAllowThreads(__tstate
);
41423 if (PyErr_Occurred()) SWIG_fail
;
41425 Py_INCREF(Py_None
); resultobj
= Py_None
;
41432 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41433 PyObject
*resultobj
;
41434 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41435 wxButton
*arg2
= (wxButton
*) 0 ;
41436 PyObject
* obj0
= 0 ;
41437 PyObject
* obj1
= 0 ;
41438 char *kwnames
[] = {
41439 (char *) "self",(char *) "button", NULL
41442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41444 if (SWIG_arg_fail(1)) SWIG_fail
;
41445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41446 if (SWIG_arg_fail(2)) SWIG_fail
;
41448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41449 (arg1
)->SetAffirmativeButton(arg2
);
41451 wxPyEndAllowThreads(__tstate
);
41452 if (PyErr_Occurred()) SWIG_fail
;
41454 Py_INCREF(Py_None
); resultobj
= Py_None
;
41461 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41462 PyObject
*resultobj
;
41463 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41464 wxButton
*arg2
= (wxButton
*) 0 ;
41465 PyObject
* obj0
= 0 ;
41466 PyObject
* obj1
= 0 ;
41467 char *kwnames
[] = {
41468 (char *) "self",(char *) "button", NULL
41471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41473 if (SWIG_arg_fail(1)) SWIG_fail
;
41474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41475 if (SWIG_arg_fail(2)) SWIG_fail
;
41477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41478 (arg1
)->SetNegativeButton(arg2
);
41480 wxPyEndAllowThreads(__tstate
);
41481 if (PyErr_Occurred()) SWIG_fail
;
41483 Py_INCREF(Py_None
); resultobj
= Py_None
;
41490 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41491 PyObject
*resultobj
;
41492 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41493 wxButton
*arg2
= (wxButton
*) 0 ;
41494 PyObject
* obj0
= 0 ;
41495 PyObject
* obj1
= 0 ;
41496 char *kwnames
[] = {
41497 (char *) "self",(char *) "button", NULL
41500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41502 if (SWIG_arg_fail(1)) SWIG_fail
;
41503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41504 if (SWIG_arg_fail(2)) SWIG_fail
;
41506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41507 (arg1
)->SetCancelButton(arg2
);
41509 wxPyEndAllowThreads(__tstate
);
41510 if (PyErr_Occurred()) SWIG_fail
;
41512 Py_INCREF(Py_None
); resultobj
= Py_None
;
41519 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41520 PyObject
*resultobj
;
41521 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41523 PyObject
* obj0
= 0 ;
41524 char *kwnames
[] = {
41525 (char *) "self", NULL
41528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41530 if (SWIG_arg_fail(1)) SWIG_fail
;
41532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41533 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41535 wxPyEndAllowThreads(__tstate
);
41536 if (PyErr_Occurred()) SWIG_fail
;
41539 resultobj
= wxPyMake_wxObject(result
, 0);
41547 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41548 PyObject
*resultobj
;
41549 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41551 PyObject
* obj0
= 0 ;
41552 char *kwnames
[] = {
41553 (char *) "self", NULL
41556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41558 if (SWIG_arg_fail(1)) SWIG_fail
;
41560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41561 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41563 wxPyEndAllowThreads(__tstate
);
41564 if (PyErr_Occurred()) SWIG_fail
;
41567 resultobj
= wxPyMake_wxObject(result
, 0);
41575 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41576 PyObject
*resultobj
;
41577 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41579 PyObject
* obj0
= 0 ;
41580 char *kwnames
[] = {
41581 (char *) "self", NULL
41584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41586 if (SWIG_arg_fail(1)) SWIG_fail
;
41588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41589 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41591 wxPyEndAllowThreads(__tstate
);
41592 if (PyErr_Occurred()) SWIG_fail
;
41595 resultobj
= wxPyMake_wxObject(result
, 0);
41603 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41604 PyObject
*resultobj
;
41605 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41607 PyObject
* obj0
= 0 ;
41608 char *kwnames
[] = {
41609 (char *) "self", NULL
41612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41614 if (SWIG_arg_fail(1)) SWIG_fail
;
41616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41617 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41619 wxPyEndAllowThreads(__tstate
);
41620 if (PyErr_Occurred()) SWIG_fail
;
41623 resultobj
= wxPyMake_wxObject(result
, 0);
41631 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41632 PyObject
*resultobj
;
41633 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41635 PyObject
* obj0
= 0 ;
41636 char *kwnames
[] = {
41637 (char *) "self", NULL
41640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41642 if (SWIG_arg_fail(1)) SWIG_fail
;
41644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41645 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41647 wxPyEndAllowThreads(__tstate
);
41648 if (PyErr_Occurred()) SWIG_fail
;
41651 resultobj
= wxPyMake_wxObject(result
, 0);
41659 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41662 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41664 return Py_BuildValue((char *)"");
41666 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41667 PyObject
*resultobj
;
41668 int arg1
= (int) 0 ;
41669 int arg2
= (int) 0 ;
41670 wxGBPosition
*result
;
41671 PyObject
* obj0
= 0 ;
41672 PyObject
* obj1
= 0 ;
41673 char *kwnames
[] = {
41674 (char *) "row",(char *) "col", NULL
41677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41680 arg1
= (int)(SWIG_As_int(obj0
));
41681 if (SWIG_arg_fail(1)) SWIG_fail
;
41686 arg2
= (int)(SWIG_As_int(obj1
));
41687 if (SWIG_arg_fail(2)) SWIG_fail
;
41691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41692 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41694 wxPyEndAllowThreads(__tstate
);
41695 if (PyErr_Occurred()) SWIG_fail
;
41697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41704 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41705 PyObject
*resultobj
;
41706 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41708 PyObject
* obj0
= 0 ;
41709 char *kwnames
[] = {
41710 (char *) "self", NULL
41713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41715 if (SWIG_arg_fail(1)) SWIG_fail
;
41717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41718 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41720 wxPyEndAllowThreads(__tstate
);
41721 if (PyErr_Occurred()) SWIG_fail
;
41724 resultobj
= SWIG_From_int((int)(result
));
41732 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41733 PyObject
*resultobj
;
41734 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41736 PyObject
* obj0
= 0 ;
41737 char *kwnames
[] = {
41738 (char *) "self", NULL
41741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41743 if (SWIG_arg_fail(1)) SWIG_fail
;
41745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41746 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41748 wxPyEndAllowThreads(__tstate
);
41749 if (PyErr_Occurred()) SWIG_fail
;
41752 resultobj
= SWIG_From_int((int)(result
));
41760 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41761 PyObject
*resultobj
;
41762 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41764 PyObject
* obj0
= 0 ;
41765 PyObject
* obj1
= 0 ;
41766 char *kwnames
[] = {
41767 (char *) "self",(char *) "row", NULL
41770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41772 if (SWIG_arg_fail(1)) SWIG_fail
;
41774 arg2
= (int)(SWIG_As_int(obj1
));
41775 if (SWIG_arg_fail(2)) SWIG_fail
;
41778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41779 (arg1
)->SetRow(arg2
);
41781 wxPyEndAllowThreads(__tstate
);
41782 if (PyErr_Occurred()) SWIG_fail
;
41784 Py_INCREF(Py_None
); resultobj
= Py_None
;
41791 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41792 PyObject
*resultobj
;
41793 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41795 PyObject
* obj0
= 0 ;
41796 PyObject
* obj1
= 0 ;
41797 char *kwnames
[] = {
41798 (char *) "self",(char *) "col", NULL
41801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41803 if (SWIG_arg_fail(1)) SWIG_fail
;
41805 arg2
= (int)(SWIG_As_int(obj1
));
41806 if (SWIG_arg_fail(2)) SWIG_fail
;
41809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41810 (arg1
)->SetCol(arg2
);
41812 wxPyEndAllowThreads(__tstate
);
41813 if (PyErr_Occurred()) SWIG_fail
;
41815 Py_INCREF(Py_None
); resultobj
= Py_None
;
41822 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41823 PyObject
*resultobj
;
41824 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41825 wxGBPosition
*arg2
= 0 ;
41827 wxGBPosition temp2
;
41828 PyObject
* obj0
= 0 ;
41829 PyObject
* obj1
= 0 ;
41830 char *kwnames
[] = {
41831 (char *) "self",(char *) "other", NULL
41834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41836 if (SWIG_arg_fail(1)) SWIG_fail
;
41839 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41843 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41845 wxPyEndAllowThreads(__tstate
);
41846 if (PyErr_Occurred()) SWIG_fail
;
41849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41857 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41858 PyObject
*resultobj
;
41859 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41860 wxGBPosition
*arg2
= 0 ;
41862 wxGBPosition temp2
;
41863 PyObject
* obj0
= 0 ;
41864 PyObject
* obj1
= 0 ;
41865 char *kwnames
[] = {
41866 (char *) "self",(char *) "other", NULL
41869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41871 if (SWIG_arg_fail(1)) SWIG_fail
;
41874 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41878 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41880 wxPyEndAllowThreads(__tstate
);
41881 if (PyErr_Occurred()) SWIG_fail
;
41884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41892 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41893 PyObject
*resultobj
;
41894 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41895 int arg2
= (int) 0 ;
41896 int arg3
= (int) 0 ;
41897 PyObject
* obj0
= 0 ;
41898 PyObject
* obj1
= 0 ;
41899 PyObject
* obj2
= 0 ;
41900 char *kwnames
[] = {
41901 (char *) "self",(char *) "row",(char *) "col", NULL
41904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41906 if (SWIG_arg_fail(1)) SWIG_fail
;
41909 arg2
= (int)(SWIG_As_int(obj1
));
41910 if (SWIG_arg_fail(2)) SWIG_fail
;
41915 arg3
= (int)(SWIG_As_int(obj2
));
41916 if (SWIG_arg_fail(3)) SWIG_fail
;
41920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41921 wxGBPosition_Set(arg1
,arg2
,arg3
);
41923 wxPyEndAllowThreads(__tstate
);
41924 if (PyErr_Occurred()) SWIG_fail
;
41926 Py_INCREF(Py_None
); resultobj
= Py_None
;
41933 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41934 PyObject
*resultobj
;
41935 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41937 PyObject
* obj0
= 0 ;
41938 char *kwnames
[] = {
41939 (char *) "self", NULL
41942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41944 if (SWIG_arg_fail(1)) SWIG_fail
;
41946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41947 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41949 wxPyEndAllowThreads(__tstate
);
41950 if (PyErr_Occurred()) SWIG_fail
;
41952 resultobj
= result
;
41959 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41962 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41964 return Py_BuildValue((char *)"");
41966 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41967 PyObject
*resultobj
;
41968 int arg1
= (int) 1 ;
41969 int arg2
= (int) 1 ;
41971 PyObject
* obj0
= 0 ;
41972 PyObject
* obj1
= 0 ;
41973 char *kwnames
[] = {
41974 (char *) "rowspan",(char *) "colspan", NULL
41977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41980 arg1
= (int)(SWIG_As_int(obj0
));
41981 if (SWIG_arg_fail(1)) SWIG_fail
;
41986 arg2
= (int)(SWIG_As_int(obj1
));
41987 if (SWIG_arg_fail(2)) SWIG_fail
;
41991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41992 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41994 wxPyEndAllowThreads(__tstate
);
41995 if (PyErr_Occurred()) SWIG_fail
;
41997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42004 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42005 PyObject
*resultobj
;
42006 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42008 PyObject
* obj0
= 0 ;
42009 char *kwnames
[] = {
42010 (char *) "self", NULL
42013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42015 if (SWIG_arg_fail(1)) SWIG_fail
;
42017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42018 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42020 wxPyEndAllowThreads(__tstate
);
42021 if (PyErr_Occurred()) SWIG_fail
;
42024 resultobj
= SWIG_From_int((int)(result
));
42032 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42033 PyObject
*resultobj
;
42034 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42036 PyObject
* obj0
= 0 ;
42037 char *kwnames
[] = {
42038 (char *) "self", NULL
42041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42043 if (SWIG_arg_fail(1)) SWIG_fail
;
42045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42046 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42048 wxPyEndAllowThreads(__tstate
);
42049 if (PyErr_Occurred()) SWIG_fail
;
42052 resultobj
= SWIG_From_int((int)(result
));
42060 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42061 PyObject
*resultobj
;
42062 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42064 PyObject
* obj0
= 0 ;
42065 PyObject
* obj1
= 0 ;
42066 char *kwnames
[] = {
42067 (char *) "self",(char *) "rowspan", NULL
42070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42072 if (SWIG_arg_fail(1)) SWIG_fail
;
42074 arg2
= (int)(SWIG_As_int(obj1
));
42075 if (SWIG_arg_fail(2)) SWIG_fail
;
42078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42079 (arg1
)->SetRowspan(arg2
);
42081 wxPyEndAllowThreads(__tstate
);
42082 if (PyErr_Occurred()) SWIG_fail
;
42084 Py_INCREF(Py_None
); resultobj
= Py_None
;
42091 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42092 PyObject
*resultobj
;
42093 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42095 PyObject
* obj0
= 0 ;
42096 PyObject
* obj1
= 0 ;
42097 char *kwnames
[] = {
42098 (char *) "self",(char *) "colspan", NULL
42101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42103 if (SWIG_arg_fail(1)) SWIG_fail
;
42105 arg2
= (int)(SWIG_As_int(obj1
));
42106 if (SWIG_arg_fail(2)) SWIG_fail
;
42109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42110 (arg1
)->SetColspan(arg2
);
42112 wxPyEndAllowThreads(__tstate
);
42113 if (PyErr_Occurred()) SWIG_fail
;
42115 Py_INCREF(Py_None
); resultobj
= Py_None
;
42122 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42123 PyObject
*resultobj
;
42124 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42125 wxGBSpan
*arg2
= 0 ;
42128 PyObject
* obj0
= 0 ;
42129 PyObject
* obj1
= 0 ;
42130 char *kwnames
[] = {
42131 (char *) "self",(char *) "other", NULL
42134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42136 if (SWIG_arg_fail(1)) SWIG_fail
;
42139 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42143 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42157 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42158 PyObject
*resultobj
;
42159 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42160 wxGBSpan
*arg2
= 0 ;
42163 PyObject
* obj0
= 0 ;
42164 PyObject
* obj1
= 0 ;
42165 char *kwnames
[] = {
42166 (char *) "self",(char *) "other", NULL
42169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42171 if (SWIG_arg_fail(1)) SWIG_fail
;
42174 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42178 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42180 wxPyEndAllowThreads(__tstate
);
42181 if (PyErr_Occurred()) SWIG_fail
;
42184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42192 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42193 PyObject
*resultobj
;
42194 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42195 int arg2
= (int) 1 ;
42196 int arg3
= (int) 1 ;
42197 PyObject
* obj0
= 0 ;
42198 PyObject
* obj1
= 0 ;
42199 PyObject
* obj2
= 0 ;
42200 char *kwnames
[] = {
42201 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42206 if (SWIG_arg_fail(1)) SWIG_fail
;
42209 arg2
= (int)(SWIG_As_int(obj1
));
42210 if (SWIG_arg_fail(2)) SWIG_fail
;
42215 arg3
= (int)(SWIG_As_int(obj2
));
42216 if (SWIG_arg_fail(3)) SWIG_fail
;
42220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42221 wxGBSpan_Set(arg1
,arg2
,arg3
);
42223 wxPyEndAllowThreads(__tstate
);
42224 if (PyErr_Occurred()) SWIG_fail
;
42226 Py_INCREF(Py_None
); resultobj
= Py_None
;
42233 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42234 PyObject
*resultobj
;
42235 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42237 PyObject
* obj0
= 0 ;
42238 char *kwnames
[] = {
42239 (char *) "self", NULL
42242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42244 if (SWIG_arg_fail(1)) SWIG_fail
;
42246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42247 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42249 wxPyEndAllowThreads(__tstate
);
42250 if (PyErr_Occurred()) SWIG_fail
;
42252 resultobj
= result
;
42259 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42262 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42264 return Py_BuildValue((char *)"");
42266 static int _wrap_DefaultSpan_set(PyObject
*) {
42267 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42272 static PyObject
*_wrap_DefaultSpan_get(void) {
42275 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42280 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42281 PyObject
*resultobj
;
42282 wxGBSizerItem
*result
;
42283 char *kwnames
[] = {
42287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42290 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42292 wxPyEndAllowThreads(__tstate
);
42293 if (PyErr_Occurred()) SWIG_fail
;
42295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42302 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42303 PyObject
*resultobj
;
42304 wxWindow
*arg1
= (wxWindow
*) 0 ;
42305 wxGBPosition
*arg2
= 0 ;
42306 wxGBSpan
*arg3
= 0 ;
42309 PyObject
*arg6
= (PyObject
*) NULL
;
42310 wxGBSizerItem
*result
;
42311 wxGBPosition temp2
;
42313 PyObject
* obj0
= 0 ;
42314 PyObject
* obj1
= 0 ;
42315 PyObject
* obj2
= 0 ;
42316 PyObject
* obj3
= 0 ;
42317 PyObject
* obj4
= 0 ;
42318 PyObject
* obj5
= 0 ;
42319 char *kwnames
[] = {
42320 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42325 if (SWIG_arg_fail(1)) SWIG_fail
;
42328 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42332 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42335 arg4
= (int)(SWIG_As_int(obj3
));
42336 if (SWIG_arg_fail(4)) SWIG_fail
;
42339 arg5
= (int)(SWIG_As_int(obj4
));
42340 if (SWIG_arg_fail(5)) SWIG_fail
;
42346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42347 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42349 wxPyEndAllowThreads(__tstate
);
42350 if (PyErr_Occurred()) SWIG_fail
;
42352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42359 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42360 PyObject
*resultobj
;
42361 wxSizer
*arg1
= (wxSizer
*) 0 ;
42362 wxGBPosition
*arg2
= 0 ;
42363 wxGBSpan
*arg3
= 0 ;
42366 PyObject
*arg6
= (PyObject
*) NULL
;
42367 wxGBSizerItem
*result
;
42368 wxGBPosition temp2
;
42370 PyObject
* obj0
= 0 ;
42371 PyObject
* obj1
= 0 ;
42372 PyObject
* obj2
= 0 ;
42373 PyObject
* obj3
= 0 ;
42374 PyObject
* obj4
= 0 ;
42375 PyObject
* obj5
= 0 ;
42376 char *kwnames
[] = {
42377 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42382 if (SWIG_arg_fail(1)) SWIG_fail
;
42385 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42389 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42392 arg4
= (int)(SWIG_As_int(obj3
));
42393 if (SWIG_arg_fail(4)) SWIG_fail
;
42396 arg5
= (int)(SWIG_As_int(obj4
));
42397 if (SWIG_arg_fail(5)) SWIG_fail
;
42403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42404 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42406 wxPyEndAllowThreads(__tstate
);
42407 if (PyErr_Occurred()) SWIG_fail
;
42409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42416 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42417 PyObject
*resultobj
;
42420 wxGBPosition
*arg3
= 0 ;
42421 wxGBSpan
*arg4
= 0 ;
42424 PyObject
*arg7
= (PyObject
*) NULL
;
42425 wxGBSizerItem
*result
;
42426 wxGBPosition temp3
;
42428 PyObject
* obj0
= 0 ;
42429 PyObject
* obj1
= 0 ;
42430 PyObject
* obj2
= 0 ;
42431 PyObject
* obj3
= 0 ;
42432 PyObject
* obj4
= 0 ;
42433 PyObject
* obj5
= 0 ;
42434 PyObject
* obj6
= 0 ;
42435 char *kwnames
[] = {
42436 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42441 arg1
= (int)(SWIG_As_int(obj0
));
42442 if (SWIG_arg_fail(1)) SWIG_fail
;
42445 arg2
= (int)(SWIG_As_int(obj1
));
42446 if (SWIG_arg_fail(2)) SWIG_fail
;
42450 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42454 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42457 arg5
= (int)(SWIG_As_int(obj4
));
42458 if (SWIG_arg_fail(5)) SWIG_fail
;
42461 arg6
= (int)(SWIG_As_int(obj5
));
42462 if (SWIG_arg_fail(6)) SWIG_fail
;
42468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42469 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42471 wxPyEndAllowThreads(__tstate
);
42472 if (PyErr_Occurred()) SWIG_fail
;
42474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42481 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42482 PyObject
*resultobj
;
42483 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42484 wxGBPosition result
;
42485 PyObject
* obj0
= 0 ;
42486 char *kwnames
[] = {
42487 (char *) "self", NULL
42490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42492 if (SWIG_arg_fail(1)) SWIG_fail
;
42494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42495 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42497 wxPyEndAllowThreads(__tstate
);
42498 if (PyErr_Occurred()) SWIG_fail
;
42501 wxGBPosition
* resultptr
;
42502 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42511 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42512 PyObject
*resultobj
;
42513 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42515 PyObject
* obj0
= 0 ;
42516 char *kwnames
[] = {
42517 (char *) "self", NULL
42520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42522 if (SWIG_arg_fail(1)) SWIG_fail
;
42524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42525 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42527 wxPyEndAllowThreads(__tstate
);
42528 if (PyErr_Occurred()) SWIG_fail
;
42531 wxGBSpan
* resultptr
;
42532 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42541 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42542 PyObject
*resultobj
;
42543 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42544 wxGBPosition
*arg2
= 0 ;
42546 wxGBPosition temp2
;
42547 PyObject
* obj0
= 0 ;
42548 PyObject
* obj1
= 0 ;
42549 char *kwnames
[] = {
42550 (char *) "self",(char *) "pos", NULL
42553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42555 if (SWIG_arg_fail(1)) SWIG_fail
;
42558 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42562 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42564 wxPyEndAllowThreads(__tstate
);
42565 if (PyErr_Occurred()) SWIG_fail
;
42568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42576 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42577 PyObject
*resultobj
;
42578 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42579 wxGBSpan
*arg2
= 0 ;
42582 PyObject
* obj0
= 0 ;
42583 PyObject
* obj1
= 0 ;
42584 char *kwnames
[] = {
42585 (char *) "self",(char *) "span", NULL
42588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42590 if (SWIG_arg_fail(1)) SWIG_fail
;
42593 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42597 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42599 wxPyEndAllowThreads(__tstate
);
42600 if (PyErr_Occurred()) SWIG_fail
;
42603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42611 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42612 PyObject
*resultobj
;
42613 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42614 wxGBSizerItem
*arg2
= 0 ;
42616 PyObject
* obj0
= 0 ;
42617 PyObject
* obj1
= 0 ;
42618 char *kwnames
[] = {
42619 (char *) "self",(char *) "other", NULL
42622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42624 if (SWIG_arg_fail(1)) SWIG_fail
;
42626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42627 if (SWIG_arg_fail(2)) SWIG_fail
;
42628 if (arg2
== NULL
) {
42629 SWIG_null_ref("wxGBSizerItem");
42631 if (SWIG_arg_fail(2)) SWIG_fail
;
42634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42635 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42637 wxPyEndAllowThreads(__tstate
);
42638 if (PyErr_Occurred()) SWIG_fail
;
42641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42649 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42650 PyObject
*resultobj
;
42651 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42652 wxGBPosition
*arg2
= 0 ;
42653 wxGBSpan
*arg3
= 0 ;
42655 wxGBPosition temp2
;
42657 PyObject
* obj0
= 0 ;
42658 PyObject
* obj1
= 0 ;
42659 PyObject
* obj2
= 0 ;
42660 char *kwnames
[] = {
42661 (char *) "self",(char *) "pos",(char *) "span", NULL
42664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42666 if (SWIG_arg_fail(1)) SWIG_fail
;
42669 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42673 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42677 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42679 wxPyEndAllowThreads(__tstate
);
42680 if (PyErr_Occurred()) SWIG_fail
;
42683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42691 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42692 PyObject
*resultobj
;
42693 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42694 wxGBPosition result
;
42695 PyObject
* obj0
= 0 ;
42696 char *kwnames
[] = {
42697 (char *) "self", NULL
42700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42702 if (SWIG_arg_fail(1)) SWIG_fail
;
42704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42705 result
= wxGBSizerItem_GetEndPos(arg1
);
42707 wxPyEndAllowThreads(__tstate
);
42708 if (PyErr_Occurred()) SWIG_fail
;
42711 wxGBPosition
* resultptr
;
42712 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42721 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42722 PyObject
*resultobj
;
42723 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42724 wxGridBagSizer
*result
;
42725 PyObject
* obj0
= 0 ;
42726 char *kwnames
[] = {
42727 (char *) "self", NULL
42730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42732 if (SWIG_arg_fail(1)) SWIG_fail
;
42734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42735 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42737 wxPyEndAllowThreads(__tstate
);
42738 if (PyErr_Occurred()) SWIG_fail
;
42740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42747 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42748 PyObject
*resultobj
;
42749 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42750 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42751 PyObject
* obj0
= 0 ;
42752 PyObject
* obj1
= 0 ;
42753 char *kwnames
[] = {
42754 (char *) "self",(char *) "sizer", NULL
42757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42759 if (SWIG_arg_fail(1)) SWIG_fail
;
42760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42761 if (SWIG_arg_fail(2)) SWIG_fail
;
42763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42764 (arg1
)->SetGBSizer(arg2
);
42766 wxPyEndAllowThreads(__tstate
);
42767 if (PyErr_Occurred()) SWIG_fail
;
42769 Py_INCREF(Py_None
); resultobj
= Py_None
;
42776 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42779 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42781 return Py_BuildValue((char *)"");
42783 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42784 PyObject
*resultobj
;
42785 int arg1
= (int) 0 ;
42786 int arg2
= (int) 0 ;
42787 wxGridBagSizer
*result
;
42788 PyObject
* obj0
= 0 ;
42789 PyObject
* obj1
= 0 ;
42790 char *kwnames
[] = {
42791 (char *) "vgap",(char *) "hgap", NULL
42794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42797 arg1
= (int)(SWIG_As_int(obj0
));
42798 if (SWIG_arg_fail(1)) SWIG_fail
;
42803 arg2
= (int)(SWIG_As_int(obj1
));
42804 if (SWIG_arg_fail(2)) SWIG_fail
;
42808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42809 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42811 wxPyEndAllowThreads(__tstate
);
42812 if (PyErr_Occurred()) SWIG_fail
;
42814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42821 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42822 PyObject
*resultobj
;
42823 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42824 PyObject
*arg2
= (PyObject
*) 0 ;
42825 wxGBPosition
*arg3
= 0 ;
42826 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42827 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42828 int arg5
= (int) 0 ;
42829 int arg6
= (int) 0 ;
42830 PyObject
*arg7
= (PyObject
*) NULL
;
42831 wxGBSizerItem
*result
;
42832 wxGBPosition temp3
;
42834 PyObject
* obj0
= 0 ;
42835 PyObject
* obj1
= 0 ;
42836 PyObject
* obj2
= 0 ;
42837 PyObject
* obj3
= 0 ;
42838 PyObject
* obj4
= 0 ;
42839 PyObject
* obj5
= 0 ;
42840 PyObject
* obj6
= 0 ;
42841 char *kwnames
[] = {
42842 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42847 if (SWIG_arg_fail(1)) SWIG_fail
;
42851 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42856 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42861 arg5
= (int)(SWIG_As_int(obj4
));
42862 if (SWIG_arg_fail(5)) SWIG_fail
;
42867 arg6
= (int)(SWIG_As_int(obj5
));
42868 if (SWIG_arg_fail(6)) SWIG_fail
;
42875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42876 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42878 wxPyEndAllowThreads(__tstate
);
42879 if (PyErr_Occurred()) SWIG_fail
;
42881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42888 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42889 PyObject
*resultobj
;
42890 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42891 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42892 wxGBSizerItem
*result
;
42893 PyObject
* obj0
= 0 ;
42894 PyObject
* obj1
= 0 ;
42895 char *kwnames
[] = {
42896 (char *) "self",(char *) "item", NULL
42899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42901 if (SWIG_arg_fail(1)) SWIG_fail
;
42902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42903 if (SWIG_arg_fail(2)) SWIG_fail
;
42905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42906 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42908 wxPyEndAllowThreads(__tstate
);
42909 if (PyErr_Occurred()) SWIG_fail
;
42911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42918 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42919 PyObject
*resultobj
;
42920 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42924 PyObject
* obj0
= 0 ;
42925 PyObject
* obj1
= 0 ;
42926 PyObject
* obj2
= 0 ;
42927 char *kwnames
[] = {
42928 (char *) "self",(char *) "row",(char *) "col", NULL
42931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42933 if (SWIG_arg_fail(1)) SWIG_fail
;
42935 arg2
= (int)(SWIG_As_int(obj1
));
42936 if (SWIG_arg_fail(2)) SWIG_fail
;
42939 arg3
= (int)(SWIG_As_int(obj2
));
42940 if (SWIG_arg_fail(3)) SWIG_fail
;
42943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42944 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42946 wxPyEndAllowThreads(__tstate
);
42947 if (PyErr_Occurred()) SWIG_fail
;
42950 wxSize
* resultptr
;
42951 resultptr
= new wxSize((wxSize
&)(result
));
42952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42960 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42961 PyObject
*resultobj
;
42962 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42964 PyObject
* obj0
= 0 ;
42965 char *kwnames
[] = {
42966 (char *) "self", NULL
42969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42971 if (SWIG_arg_fail(1)) SWIG_fail
;
42973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42974 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42976 wxPyEndAllowThreads(__tstate
);
42977 if (PyErr_Occurred()) SWIG_fail
;
42980 wxSize
* resultptr
;
42981 resultptr
= new wxSize((wxSize
&)(result
));
42982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42990 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42991 PyObject
*resultobj
;
42992 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42995 PyObject
* obj0
= 0 ;
42996 PyObject
* obj1
= 0 ;
42997 char *kwnames
[] = {
42998 (char *) "self",(char *) "sz", NULL
43001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43003 if (SWIG_arg_fail(1)) SWIG_fail
;
43006 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43010 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43012 wxPyEndAllowThreads(__tstate
);
43013 if (PyErr_Occurred()) SWIG_fail
;
43015 Py_INCREF(Py_None
); resultobj
= Py_None
;
43022 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43023 PyObject
*resultobj
;
43024 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43025 wxWindow
*arg2
= (wxWindow
*) 0 ;
43026 wxGBPosition result
;
43027 PyObject
* obj0
= 0 ;
43028 PyObject
* obj1
= 0 ;
43030 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43032 if (SWIG_arg_fail(1)) SWIG_fail
;
43033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43034 if (SWIG_arg_fail(2)) SWIG_fail
;
43036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43037 result
= (arg1
)->GetItemPosition(arg2
);
43039 wxPyEndAllowThreads(__tstate
);
43040 if (PyErr_Occurred()) SWIG_fail
;
43043 wxGBPosition
* resultptr
;
43044 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43053 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43054 PyObject
*resultobj
;
43055 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43056 wxSizer
*arg2
= (wxSizer
*) 0 ;
43057 wxGBPosition result
;
43058 PyObject
* obj0
= 0 ;
43059 PyObject
* obj1
= 0 ;
43061 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43063 if (SWIG_arg_fail(1)) SWIG_fail
;
43064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43065 if (SWIG_arg_fail(2)) SWIG_fail
;
43067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43068 result
= (arg1
)->GetItemPosition(arg2
);
43070 wxPyEndAllowThreads(__tstate
);
43071 if (PyErr_Occurred()) SWIG_fail
;
43074 wxGBPosition
* resultptr
;
43075 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43084 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43085 PyObject
*resultobj
;
43086 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43088 wxGBPosition result
;
43089 PyObject
* obj0
= 0 ;
43090 PyObject
* obj1
= 0 ;
43092 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43094 if (SWIG_arg_fail(1)) SWIG_fail
;
43096 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43097 if (SWIG_arg_fail(2)) SWIG_fail
;
43100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43101 result
= (arg1
)->GetItemPosition(arg2
);
43103 wxPyEndAllowThreads(__tstate
);
43104 if (PyErr_Occurred()) SWIG_fail
;
43107 wxGBPosition
* resultptr
;
43108 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43117 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43122 argc
= PyObject_Length(args
);
43123 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43124 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43130 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43140 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43148 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43156 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43166 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43174 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43182 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43190 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43192 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43197 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43202 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43203 PyObject
*resultobj
;
43204 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43205 wxWindow
*arg2
= (wxWindow
*) 0 ;
43206 wxGBPosition
*arg3
= 0 ;
43208 wxGBPosition temp3
;
43209 PyObject
* obj0
= 0 ;
43210 PyObject
* obj1
= 0 ;
43211 PyObject
* obj2
= 0 ;
43213 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43215 if (SWIG_arg_fail(1)) SWIG_fail
;
43216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43217 if (SWIG_arg_fail(2)) SWIG_fail
;
43220 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43224 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43226 wxPyEndAllowThreads(__tstate
);
43227 if (PyErr_Occurred()) SWIG_fail
;
43230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43238 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43239 PyObject
*resultobj
;
43240 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43241 wxSizer
*arg2
= (wxSizer
*) 0 ;
43242 wxGBPosition
*arg3
= 0 ;
43244 wxGBPosition temp3
;
43245 PyObject
* obj0
= 0 ;
43246 PyObject
* obj1
= 0 ;
43247 PyObject
* obj2
= 0 ;
43249 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43251 if (SWIG_arg_fail(1)) SWIG_fail
;
43252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43253 if (SWIG_arg_fail(2)) SWIG_fail
;
43256 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43260 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43262 wxPyEndAllowThreads(__tstate
);
43263 if (PyErr_Occurred()) SWIG_fail
;
43266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43274 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43275 PyObject
*resultobj
;
43276 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43278 wxGBPosition
*arg3
= 0 ;
43280 wxGBPosition temp3
;
43281 PyObject
* obj0
= 0 ;
43282 PyObject
* obj1
= 0 ;
43283 PyObject
* obj2
= 0 ;
43285 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43287 if (SWIG_arg_fail(1)) SWIG_fail
;
43289 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43290 if (SWIG_arg_fail(2)) SWIG_fail
;
43294 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43298 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43300 wxPyEndAllowThreads(__tstate
);
43301 if (PyErr_Occurred()) SWIG_fail
;
43304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43312 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43317 argc
= PyObject_Length(args
);
43318 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43319 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43325 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43335 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43344 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43347 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43356 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43366 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43375 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43378 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43387 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43395 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43398 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43401 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43407 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43412 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43413 PyObject
*resultobj
;
43414 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43415 wxWindow
*arg2
= (wxWindow
*) 0 ;
43417 PyObject
* obj0
= 0 ;
43418 PyObject
* obj1
= 0 ;
43420 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43422 if (SWIG_arg_fail(1)) SWIG_fail
;
43423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43424 if (SWIG_arg_fail(2)) SWIG_fail
;
43426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43427 result
= (arg1
)->GetItemSpan(arg2
);
43429 wxPyEndAllowThreads(__tstate
);
43430 if (PyErr_Occurred()) SWIG_fail
;
43433 wxGBSpan
* resultptr
;
43434 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43443 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43444 PyObject
*resultobj
;
43445 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43446 wxSizer
*arg2
= (wxSizer
*) 0 ;
43448 PyObject
* obj0
= 0 ;
43449 PyObject
* obj1
= 0 ;
43451 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43453 if (SWIG_arg_fail(1)) SWIG_fail
;
43454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43455 if (SWIG_arg_fail(2)) SWIG_fail
;
43457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43458 result
= (arg1
)->GetItemSpan(arg2
);
43460 wxPyEndAllowThreads(__tstate
);
43461 if (PyErr_Occurred()) SWIG_fail
;
43464 wxGBSpan
* resultptr
;
43465 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43474 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43475 PyObject
*resultobj
;
43476 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43479 PyObject
* obj0
= 0 ;
43480 PyObject
* obj1
= 0 ;
43482 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43484 if (SWIG_arg_fail(1)) SWIG_fail
;
43486 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43487 if (SWIG_arg_fail(2)) SWIG_fail
;
43490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43491 result
= (arg1
)->GetItemSpan(arg2
);
43493 wxPyEndAllowThreads(__tstate
);
43494 if (PyErr_Occurred()) SWIG_fail
;
43497 wxGBSpan
* resultptr
;
43498 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43507 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43512 argc
= PyObject_Length(args
);
43513 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43514 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43520 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43530 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43538 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43546 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43556 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43564 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43580 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43582 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43587 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43592 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43593 PyObject
*resultobj
;
43594 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43595 wxWindow
*arg2
= (wxWindow
*) 0 ;
43596 wxGBSpan
*arg3
= 0 ;
43599 PyObject
* obj0
= 0 ;
43600 PyObject
* obj1
= 0 ;
43601 PyObject
* obj2
= 0 ;
43603 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43605 if (SWIG_arg_fail(1)) SWIG_fail
;
43606 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43607 if (SWIG_arg_fail(2)) SWIG_fail
;
43610 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43614 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43616 wxPyEndAllowThreads(__tstate
);
43617 if (PyErr_Occurred()) SWIG_fail
;
43620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43628 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43629 PyObject
*resultobj
;
43630 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43631 wxSizer
*arg2
= (wxSizer
*) 0 ;
43632 wxGBSpan
*arg3
= 0 ;
43635 PyObject
* obj0
= 0 ;
43636 PyObject
* obj1
= 0 ;
43637 PyObject
* obj2
= 0 ;
43639 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43641 if (SWIG_arg_fail(1)) SWIG_fail
;
43642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43643 if (SWIG_arg_fail(2)) SWIG_fail
;
43646 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43650 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43652 wxPyEndAllowThreads(__tstate
);
43653 if (PyErr_Occurred()) SWIG_fail
;
43656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43664 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43665 PyObject
*resultobj
;
43666 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43668 wxGBSpan
*arg3
= 0 ;
43671 PyObject
* obj0
= 0 ;
43672 PyObject
* obj1
= 0 ;
43673 PyObject
* obj2
= 0 ;
43675 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43677 if (SWIG_arg_fail(1)) SWIG_fail
;
43679 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43680 if (SWIG_arg_fail(2)) SWIG_fail
;
43684 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43688 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43690 wxPyEndAllowThreads(__tstate
);
43691 if (PyErr_Occurred()) SWIG_fail
;
43694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43702 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43707 argc
= PyObject_Length(args
);
43708 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43709 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43715 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43725 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43734 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43737 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43746 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43756 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43765 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43768 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43777 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43785 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43788 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43791 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43797 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43802 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43803 PyObject
*resultobj
;
43804 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43805 wxWindow
*arg2
= (wxWindow
*) 0 ;
43806 wxGBSizerItem
*result
;
43807 PyObject
* obj0
= 0 ;
43808 PyObject
* obj1
= 0 ;
43810 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43812 if (SWIG_arg_fail(1)) SWIG_fail
;
43813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43814 if (SWIG_arg_fail(2)) SWIG_fail
;
43816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43817 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43819 wxPyEndAllowThreads(__tstate
);
43820 if (PyErr_Occurred()) SWIG_fail
;
43822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43829 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43830 PyObject
*resultobj
;
43831 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43832 wxSizer
*arg2
= (wxSizer
*) 0 ;
43833 wxGBSizerItem
*result
;
43834 PyObject
* obj0
= 0 ;
43835 PyObject
* obj1
= 0 ;
43837 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43839 if (SWIG_arg_fail(1)) SWIG_fail
;
43840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43841 if (SWIG_arg_fail(2)) SWIG_fail
;
43843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43844 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43846 wxPyEndAllowThreads(__tstate
);
43847 if (PyErr_Occurred()) SWIG_fail
;
43849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43856 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43861 argc
= PyObject_Length(args
);
43862 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43863 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43869 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43879 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43887 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43895 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43905 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43913 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43918 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43923 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43924 PyObject
*resultobj
;
43925 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43926 wxGBPosition
*arg2
= 0 ;
43927 wxGBSizerItem
*result
;
43928 wxGBPosition temp2
;
43929 PyObject
* obj0
= 0 ;
43930 PyObject
* obj1
= 0 ;
43931 char *kwnames
[] = {
43932 (char *) "self",(char *) "pos", NULL
43935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43937 if (SWIG_arg_fail(1)) SWIG_fail
;
43940 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43944 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43946 wxPyEndAllowThreads(__tstate
);
43947 if (PyErr_Occurred()) SWIG_fail
;
43949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43956 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43957 PyObject
*resultobj
;
43958 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43959 wxPoint
*arg2
= 0 ;
43960 wxGBSizerItem
*result
;
43962 PyObject
* obj0
= 0 ;
43963 PyObject
* obj1
= 0 ;
43964 char *kwnames
[] = {
43965 (char *) "self",(char *) "pt", NULL
43968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43970 if (SWIG_arg_fail(1)) SWIG_fail
;
43973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43977 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43979 wxPyEndAllowThreads(__tstate
);
43980 if (PyErr_Occurred()) SWIG_fail
;
43982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43989 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43990 PyObject
*resultobj
;
43991 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43992 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43993 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43995 PyObject
* obj0
= 0 ;
43996 PyObject
* obj1
= 0 ;
43997 PyObject
* obj2
= 0 ;
43998 char *kwnames
[] = {
43999 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44004 if (SWIG_arg_fail(1)) SWIG_fail
;
44005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44006 if (SWIG_arg_fail(2)) SWIG_fail
;
44008 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44009 if (SWIG_arg_fail(3)) SWIG_fail
;
44012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44013 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44015 wxPyEndAllowThreads(__tstate
);
44016 if (PyErr_Occurred()) SWIG_fail
;
44019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44027 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44028 PyObject
*resultobj
;
44029 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44030 wxGBPosition
*arg2
= 0 ;
44031 wxGBSpan
*arg3
= 0 ;
44032 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44034 wxGBPosition temp2
;
44036 PyObject
* obj0
= 0 ;
44037 PyObject
* obj1
= 0 ;
44038 PyObject
* obj2
= 0 ;
44039 PyObject
* obj3
= 0 ;
44040 char *kwnames
[] = {
44041 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44046 if (SWIG_arg_fail(1)) SWIG_fail
;
44049 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44053 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44056 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44057 if (SWIG_arg_fail(4)) SWIG_fail
;
44060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44061 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44063 wxPyEndAllowThreads(__tstate
);
44064 if (PyErr_Occurred()) SWIG_fail
;
44067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44075 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44078 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44080 return Py_BuildValue((char *)"");
44082 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44083 PyObject
*resultobj
;
44084 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44085 wxRelationship arg2
;
44086 wxWindow
*arg3
= (wxWindow
*) 0 ;
44088 int arg5
= (int) 0 ;
44089 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44090 PyObject
* obj0
= 0 ;
44091 PyObject
* obj1
= 0 ;
44092 PyObject
* obj2
= 0 ;
44093 PyObject
* obj3
= 0 ;
44094 PyObject
* obj4
= 0 ;
44095 PyObject
* obj5
= 0 ;
44096 char *kwnames
[] = {
44097 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44102 if (SWIG_arg_fail(1)) SWIG_fail
;
44104 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44105 if (SWIG_arg_fail(2)) SWIG_fail
;
44107 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44108 if (SWIG_arg_fail(3)) SWIG_fail
;
44110 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44111 if (SWIG_arg_fail(4)) SWIG_fail
;
44115 arg5
= (int)(SWIG_As_int(obj4
));
44116 if (SWIG_arg_fail(5)) SWIG_fail
;
44121 arg6
= (int)(SWIG_As_int(obj5
));
44122 if (SWIG_arg_fail(6)) SWIG_fail
;
44126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44127 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44129 wxPyEndAllowThreads(__tstate
);
44130 if (PyErr_Occurred()) SWIG_fail
;
44132 Py_INCREF(Py_None
); resultobj
= Py_None
;
44139 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44140 PyObject
*resultobj
;
44141 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44142 wxWindow
*arg2
= (wxWindow
*) 0 ;
44143 int arg3
= (int) 0 ;
44144 PyObject
* obj0
= 0 ;
44145 PyObject
* obj1
= 0 ;
44146 PyObject
* obj2
= 0 ;
44147 char *kwnames
[] = {
44148 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44153 if (SWIG_arg_fail(1)) SWIG_fail
;
44154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44155 if (SWIG_arg_fail(2)) SWIG_fail
;
44158 arg3
= (int)(SWIG_As_int(obj2
));
44159 if (SWIG_arg_fail(3)) SWIG_fail
;
44163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44164 (arg1
)->LeftOf(arg2
,arg3
);
44166 wxPyEndAllowThreads(__tstate
);
44167 if (PyErr_Occurred()) SWIG_fail
;
44169 Py_INCREF(Py_None
); resultobj
= Py_None
;
44176 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44177 PyObject
*resultobj
;
44178 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44179 wxWindow
*arg2
= (wxWindow
*) 0 ;
44180 int arg3
= (int) 0 ;
44181 PyObject
* obj0
= 0 ;
44182 PyObject
* obj1
= 0 ;
44183 PyObject
* obj2
= 0 ;
44184 char *kwnames
[] = {
44185 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44190 if (SWIG_arg_fail(1)) SWIG_fail
;
44191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44192 if (SWIG_arg_fail(2)) SWIG_fail
;
44195 arg3
= (int)(SWIG_As_int(obj2
));
44196 if (SWIG_arg_fail(3)) SWIG_fail
;
44200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44201 (arg1
)->RightOf(arg2
,arg3
);
44203 wxPyEndAllowThreads(__tstate
);
44204 if (PyErr_Occurred()) SWIG_fail
;
44206 Py_INCREF(Py_None
); resultobj
= Py_None
;
44213 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44214 PyObject
*resultobj
;
44215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44216 wxWindow
*arg2
= (wxWindow
*) 0 ;
44217 int arg3
= (int) 0 ;
44218 PyObject
* obj0
= 0 ;
44219 PyObject
* obj1
= 0 ;
44220 PyObject
* obj2
= 0 ;
44221 char *kwnames
[] = {
44222 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44227 if (SWIG_arg_fail(1)) SWIG_fail
;
44228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44229 if (SWIG_arg_fail(2)) SWIG_fail
;
44232 arg3
= (int)(SWIG_As_int(obj2
));
44233 if (SWIG_arg_fail(3)) SWIG_fail
;
44237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44238 (arg1
)->Above(arg2
,arg3
);
44240 wxPyEndAllowThreads(__tstate
);
44241 if (PyErr_Occurred()) SWIG_fail
;
44243 Py_INCREF(Py_None
); resultobj
= Py_None
;
44250 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44251 PyObject
*resultobj
;
44252 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44253 wxWindow
*arg2
= (wxWindow
*) 0 ;
44254 int arg3
= (int) 0 ;
44255 PyObject
* obj0
= 0 ;
44256 PyObject
* obj1
= 0 ;
44257 PyObject
* obj2
= 0 ;
44258 char *kwnames
[] = {
44259 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44264 if (SWIG_arg_fail(1)) SWIG_fail
;
44265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44266 if (SWIG_arg_fail(2)) SWIG_fail
;
44269 arg3
= (int)(SWIG_As_int(obj2
));
44270 if (SWIG_arg_fail(3)) SWIG_fail
;
44274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44275 (arg1
)->Below(arg2
,arg3
);
44277 wxPyEndAllowThreads(__tstate
);
44278 if (PyErr_Occurred()) SWIG_fail
;
44280 Py_INCREF(Py_None
); resultobj
= Py_None
;
44287 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44288 PyObject
*resultobj
;
44289 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44290 wxWindow
*arg2
= (wxWindow
*) 0 ;
44292 int arg4
= (int) 0 ;
44293 PyObject
* obj0
= 0 ;
44294 PyObject
* obj1
= 0 ;
44295 PyObject
* obj2
= 0 ;
44296 PyObject
* obj3
= 0 ;
44297 char *kwnames
[] = {
44298 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44303 if (SWIG_arg_fail(1)) SWIG_fail
;
44304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44305 if (SWIG_arg_fail(2)) SWIG_fail
;
44307 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44308 if (SWIG_arg_fail(3)) SWIG_fail
;
44312 arg4
= (int)(SWIG_As_int(obj3
));
44313 if (SWIG_arg_fail(4)) SWIG_fail
;
44317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44318 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44320 wxPyEndAllowThreads(__tstate
);
44321 if (PyErr_Occurred()) SWIG_fail
;
44323 Py_INCREF(Py_None
); resultobj
= Py_None
;
44330 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44331 PyObject
*resultobj
;
44332 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44333 wxWindow
*arg2
= (wxWindow
*) 0 ;
44336 PyObject
* obj0
= 0 ;
44337 PyObject
* obj1
= 0 ;
44338 PyObject
* obj2
= 0 ;
44339 PyObject
* obj3
= 0 ;
44340 char *kwnames
[] = {
44341 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44346 if (SWIG_arg_fail(1)) SWIG_fail
;
44347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44348 if (SWIG_arg_fail(2)) SWIG_fail
;
44350 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44351 if (SWIG_arg_fail(3)) SWIG_fail
;
44354 arg4
= (int)(SWIG_As_int(obj3
));
44355 if (SWIG_arg_fail(4)) SWIG_fail
;
44358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44359 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44361 wxPyEndAllowThreads(__tstate
);
44362 if (PyErr_Occurred()) SWIG_fail
;
44364 Py_INCREF(Py_None
); resultobj
= Py_None
;
44371 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44372 PyObject
*resultobj
;
44373 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44375 PyObject
* obj0
= 0 ;
44376 PyObject
* obj1
= 0 ;
44377 char *kwnames
[] = {
44378 (char *) "self",(char *) "val", NULL
44381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44383 if (SWIG_arg_fail(1)) SWIG_fail
;
44385 arg2
= (int)(SWIG_As_int(obj1
));
44386 if (SWIG_arg_fail(2)) SWIG_fail
;
44389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44390 (arg1
)->Absolute(arg2
);
44392 wxPyEndAllowThreads(__tstate
);
44393 if (PyErr_Occurred()) SWIG_fail
;
44395 Py_INCREF(Py_None
); resultobj
= Py_None
;
44402 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44403 PyObject
*resultobj
;
44404 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44405 PyObject
* obj0
= 0 ;
44406 char *kwnames
[] = {
44407 (char *) "self", NULL
44410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44412 if (SWIG_arg_fail(1)) SWIG_fail
;
44414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44415 (arg1
)->Unconstrained();
44417 wxPyEndAllowThreads(__tstate
);
44418 if (PyErr_Occurred()) SWIG_fail
;
44420 Py_INCREF(Py_None
); resultobj
= Py_None
;
44427 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44428 PyObject
*resultobj
;
44429 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44430 PyObject
* obj0
= 0 ;
44431 char *kwnames
[] = {
44432 (char *) "self", NULL
44435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44437 if (SWIG_arg_fail(1)) SWIG_fail
;
44439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44442 wxPyEndAllowThreads(__tstate
);
44443 if (PyErr_Occurred()) SWIG_fail
;
44445 Py_INCREF(Py_None
); resultobj
= Py_None
;
44452 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44453 PyObject
*resultobj
;
44454 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44456 PyObject
* obj0
= 0 ;
44457 char *kwnames
[] = {
44458 (char *) "self", NULL
44461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44463 if (SWIG_arg_fail(1)) SWIG_fail
;
44465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44466 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44468 wxPyEndAllowThreads(__tstate
);
44469 if (PyErr_Occurred()) SWIG_fail
;
44472 resultobj
= wxPyMake_wxObject(result
, 0);
44480 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44481 PyObject
*resultobj
;
44482 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44484 PyObject
* obj0
= 0 ;
44485 char *kwnames
[] = {
44486 (char *) "self", NULL
44489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44491 if (SWIG_arg_fail(1)) SWIG_fail
;
44493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44494 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44496 wxPyEndAllowThreads(__tstate
);
44497 if (PyErr_Occurred()) SWIG_fail
;
44499 resultobj
= SWIG_From_int((result
));
44506 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44507 PyObject
*resultobj
;
44508 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44510 PyObject
* obj0
= 0 ;
44511 PyObject
* obj1
= 0 ;
44512 char *kwnames
[] = {
44513 (char *) "self",(char *) "which", NULL
44516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44518 if (SWIG_arg_fail(1)) SWIG_fail
;
44520 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44521 if (SWIG_arg_fail(2)) SWIG_fail
;
44524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44525 (arg1
)->SetEdge((wxEdge
)arg2
);
44527 wxPyEndAllowThreads(__tstate
);
44528 if (PyErr_Occurred()) SWIG_fail
;
44530 Py_INCREF(Py_None
); resultobj
= Py_None
;
44537 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44538 PyObject
*resultobj
;
44539 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44541 PyObject
* obj0
= 0 ;
44542 PyObject
* obj1
= 0 ;
44543 char *kwnames
[] = {
44544 (char *) "self",(char *) "v", NULL
44547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44549 if (SWIG_arg_fail(1)) SWIG_fail
;
44551 arg2
= (int)(SWIG_As_int(obj1
));
44552 if (SWIG_arg_fail(2)) SWIG_fail
;
44555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44556 (arg1
)->SetValue(arg2
);
44558 wxPyEndAllowThreads(__tstate
);
44559 if (PyErr_Occurred()) SWIG_fail
;
44561 Py_INCREF(Py_None
); resultobj
= Py_None
;
44568 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44569 PyObject
*resultobj
;
44570 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44572 PyObject
* obj0
= 0 ;
44573 char *kwnames
[] = {
44574 (char *) "self", NULL
44577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44579 if (SWIG_arg_fail(1)) SWIG_fail
;
44581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44582 result
= (int)(arg1
)->GetMargin();
44584 wxPyEndAllowThreads(__tstate
);
44585 if (PyErr_Occurred()) SWIG_fail
;
44588 resultobj
= SWIG_From_int((int)(result
));
44596 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(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 *) "m", NULL
44606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",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
= (int)(SWIG_As_int(obj1
));
44611 if (SWIG_arg_fail(2)) SWIG_fail
;
44614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44615 (arg1
)->SetMargin(arg2
);
44617 wxPyEndAllowThreads(__tstate
);
44618 if (PyErr_Occurred()) SWIG_fail
;
44620 Py_INCREF(Py_None
); resultobj
= Py_None
;
44627 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44628 PyObject
*resultobj
;
44629 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44631 PyObject
* obj0
= 0 ;
44632 char *kwnames
[] = {
44633 (char *) "self", NULL
44636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44638 if (SWIG_arg_fail(1)) SWIG_fail
;
44640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44641 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44643 wxPyEndAllowThreads(__tstate
);
44644 if (PyErr_Occurred()) SWIG_fail
;
44647 resultobj
= SWIG_From_int((int)(result
));
44655 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44656 PyObject
*resultobj
;
44657 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44659 PyObject
* obj0
= 0 ;
44660 char *kwnames
[] = {
44661 (char *) "self", NULL
44664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44666 if (SWIG_arg_fail(1)) SWIG_fail
;
44668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44669 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44671 wxPyEndAllowThreads(__tstate
);
44672 if (PyErr_Occurred()) SWIG_fail
;
44675 resultobj
= SWIG_From_int((int)(result
));
44683 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44684 PyObject
*resultobj
;
44685 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44687 PyObject
* obj0
= 0 ;
44688 char *kwnames
[] = {
44689 (char *) "self", NULL
44692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44694 if (SWIG_arg_fail(1)) SWIG_fail
;
44696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44697 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44699 wxPyEndAllowThreads(__tstate
);
44700 if (PyErr_Occurred()) SWIG_fail
;
44703 resultobj
= SWIG_From_int((int)(result
));
44711 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44712 PyObject
*resultobj
;
44713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44715 PyObject
* obj0
= 0 ;
44716 char *kwnames
[] = {
44717 (char *) "self", NULL
44720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44722 if (SWIG_arg_fail(1)) SWIG_fail
;
44724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44725 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44727 wxPyEndAllowThreads(__tstate
);
44728 if (PyErr_Occurred()) SWIG_fail
;
44731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44739 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44740 PyObject
*resultobj
;
44741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44743 PyObject
* obj0
= 0 ;
44744 PyObject
* obj1
= 0 ;
44745 char *kwnames
[] = {
44746 (char *) "self",(char *) "d", NULL
44749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44751 if (SWIG_arg_fail(1)) SWIG_fail
;
44753 arg2
= (bool)(SWIG_As_bool(obj1
));
44754 if (SWIG_arg_fail(2)) SWIG_fail
;
44757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44758 (arg1
)->SetDone(arg2
);
44760 wxPyEndAllowThreads(__tstate
);
44761 if (PyErr_Occurred()) SWIG_fail
;
44763 Py_INCREF(Py_None
); resultobj
= Py_None
;
44770 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44771 PyObject
*resultobj
;
44772 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44773 wxRelationship result
;
44774 PyObject
* obj0
= 0 ;
44775 char *kwnames
[] = {
44776 (char *) "self", NULL
44779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44781 if (SWIG_arg_fail(1)) SWIG_fail
;
44783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44784 result
= (wxRelationship
)(arg1
)->GetRelationship();
44786 wxPyEndAllowThreads(__tstate
);
44787 if (PyErr_Occurred()) SWIG_fail
;
44789 resultobj
= SWIG_From_int((result
));
44796 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44797 PyObject
*resultobj
;
44798 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44799 wxRelationship arg2
;
44800 PyObject
* obj0
= 0 ;
44801 PyObject
* obj1
= 0 ;
44802 char *kwnames
[] = {
44803 (char *) "self",(char *) "r", NULL
44806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44808 if (SWIG_arg_fail(1)) SWIG_fail
;
44810 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44811 if (SWIG_arg_fail(2)) SWIG_fail
;
44814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44815 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44817 wxPyEndAllowThreads(__tstate
);
44818 if (PyErr_Occurred()) SWIG_fail
;
44820 Py_INCREF(Py_None
); resultobj
= Py_None
;
44827 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44828 PyObject
*resultobj
;
44829 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44830 wxWindow
*arg2
= (wxWindow
*) 0 ;
44832 PyObject
* obj0
= 0 ;
44833 PyObject
* obj1
= 0 ;
44834 char *kwnames
[] = {
44835 (char *) "self",(char *) "otherW", NULL
44838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44840 if (SWIG_arg_fail(1)) SWIG_fail
;
44841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44842 if (SWIG_arg_fail(2)) SWIG_fail
;
44844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44845 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44847 wxPyEndAllowThreads(__tstate
);
44848 if (PyErr_Occurred()) SWIG_fail
;
44851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44859 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44860 PyObject
*resultobj
;
44861 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44862 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44863 wxWindow
*arg3
= (wxWindow
*) 0 ;
44865 PyObject
* obj0
= 0 ;
44866 PyObject
* obj1
= 0 ;
44867 PyObject
* obj2
= 0 ;
44868 char *kwnames
[] = {
44869 (char *) "self",(char *) "constraints",(char *) "win", NULL
44872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44874 if (SWIG_arg_fail(1)) SWIG_fail
;
44875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44876 if (SWIG_arg_fail(2)) SWIG_fail
;
44877 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44878 if (SWIG_arg_fail(3)) SWIG_fail
;
44880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44881 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44883 wxPyEndAllowThreads(__tstate
);
44884 if (PyErr_Occurred()) SWIG_fail
;
44887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44895 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44896 PyObject
*resultobj
;
44897 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44899 wxWindow
*arg3
= (wxWindow
*) 0 ;
44900 wxWindow
*arg4
= (wxWindow
*) 0 ;
44902 PyObject
* obj0
= 0 ;
44903 PyObject
* obj1
= 0 ;
44904 PyObject
* obj2
= 0 ;
44905 PyObject
* obj3
= 0 ;
44906 char *kwnames
[] = {
44907 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44912 if (SWIG_arg_fail(1)) SWIG_fail
;
44914 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44915 if (SWIG_arg_fail(2)) SWIG_fail
;
44917 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44918 if (SWIG_arg_fail(3)) SWIG_fail
;
44919 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44920 if (SWIG_arg_fail(4)) SWIG_fail
;
44922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44923 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44925 wxPyEndAllowThreads(__tstate
);
44926 if (PyErr_Occurred()) SWIG_fail
;
44929 resultobj
= SWIG_From_int((int)(result
));
44937 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44940 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44942 return Py_BuildValue((char *)"");
44944 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44945 PyObject
*resultobj
;
44946 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44947 wxIndividualLayoutConstraint
*result
;
44948 PyObject
* obj0
= 0 ;
44949 char *kwnames
[] = {
44950 (char *) "self", NULL
44953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44955 if (SWIG_arg_fail(1)) SWIG_fail
;
44956 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44965 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44966 PyObject
*resultobj
;
44967 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44968 wxIndividualLayoutConstraint
*result
;
44969 PyObject
* obj0
= 0 ;
44970 char *kwnames
[] = {
44971 (char *) "self", NULL
44974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44976 if (SWIG_arg_fail(1)) SWIG_fail
;
44977 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44986 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44987 PyObject
*resultobj
;
44988 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44989 wxIndividualLayoutConstraint
*result
;
44990 PyObject
* obj0
= 0 ;
44991 char *kwnames
[] = {
44992 (char *) "self", NULL
44995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44997 if (SWIG_arg_fail(1)) SWIG_fail
;
44998 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45007 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45008 PyObject
*resultobj
;
45009 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45010 wxIndividualLayoutConstraint
*result
;
45011 PyObject
* obj0
= 0 ;
45012 char *kwnames
[] = {
45013 (char *) "self", NULL
45016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45018 if (SWIG_arg_fail(1)) SWIG_fail
;
45019 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45028 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45029 PyObject
*resultobj
;
45030 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45031 wxIndividualLayoutConstraint
*result
;
45032 PyObject
* obj0
= 0 ;
45033 char *kwnames
[] = {
45034 (char *) "self", NULL
45037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45039 if (SWIG_arg_fail(1)) SWIG_fail
;
45040 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45049 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45050 PyObject
*resultobj
;
45051 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45052 wxIndividualLayoutConstraint
*result
;
45053 PyObject
* obj0
= 0 ;
45054 char *kwnames
[] = {
45055 (char *) "self", NULL
45058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45060 if (SWIG_arg_fail(1)) SWIG_fail
;
45061 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45070 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45071 PyObject
*resultobj
;
45072 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45073 wxIndividualLayoutConstraint
*result
;
45074 PyObject
* obj0
= 0 ;
45075 char *kwnames
[] = {
45076 (char *) "self", NULL
45079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45081 if (SWIG_arg_fail(1)) SWIG_fail
;
45082 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45091 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45092 PyObject
*resultobj
;
45093 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45094 wxIndividualLayoutConstraint
*result
;
45095 PyObject
* obj0
= 0 ;
45096 char *kwnames
[] = {
45097 (char *) "self", NULL
45100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45102 if (SWIG_arg_fail(1)) SWIG_fail
;
45103 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45112 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45113 PyObject
*resultobj
;
45114 wxLayoutConstraints
*result
;
45115 char *kwnames
[] = {
45119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45122 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45124 wxPyEndAllowThreads(__tstate
);
45125 if (PyErr_Occurred()) SWIG_fail
;
45127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45134 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45135 PyObject
*resultobj
;
45136 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45137 wxWindow
*arg2
= (wxWindow
*) 0 ;
45138 int *arg3
= (int *) 0 ;
45142 PyObject
* obj0
= 0 ;
45143 PyObject
* obj1
= 0 ;
45144 char *kwnames
[] = {
45145 (char *) "self",(char *) "win", NULL
45148 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45151 if (SWIG_arg_fail(1)) SWIG_fail
;
45152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45153 if (SWIG_arg_fail(2)) SWIG_fail
;
45155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45156 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45158 wxPyEndAllowThreads(__tstate
);
45159 if (PyErr_Occurred()) SWIG_fail
;
45162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45164 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45165 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45172 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45173 PyObject
*resultobj
;
45174 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45176 PyObject
* obj0
= 0 ;
45177 char *kwnames
[] = {
45178 (char *) "self", NULL
45181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45183 if (SWIG_arg_fail(1)) SWIG_fail
;
45185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45186 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45188 wxPyEndAllowThreads(__tstate
);
45189 if (PyErr_Occurred()) SWIG_fail
;
45192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45200 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45203 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45205 return Py_BuildValue((char *)"");
45207 static PyMethodDef SwigMethods
[] = {
45208 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45209 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45210 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45213 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45234 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45247 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45262 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45316 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45344 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45363 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45365 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45373 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45374 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45386 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45398 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45402 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45408 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45418 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45428 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45435 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45514 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45516 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45518 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45520 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45522 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45524 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45526 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45528 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45530 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45532 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45534 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45536 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45538 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45552 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45570 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45573 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45576 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45588 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45593 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45599 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45605 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45668 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45675 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45711 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45721 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45727 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45729 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45731 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45734 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45738 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45741 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45744 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45746 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45751 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45759 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45763 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45766 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45768 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45772 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45789 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45791 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45794 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45796 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45800 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45804 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45815 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45818 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45821 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45825 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45832 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45837 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45842 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45846 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45891 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45911 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45918 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45922 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45932 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46104 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46144 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46158 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46161 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46216 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46243 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46287 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46295 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46314 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46315 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46352 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46382 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46385 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46389 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46392 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46402 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46414 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46426 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46436 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46446 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46460 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46467 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46468 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46469 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46470 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46471 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46476 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46503 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46515 { NULL
, NULL
, 0, NULL
}
46519 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46521 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46522 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46524 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46525 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46527 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46528 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46530 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46531 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46533 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46534 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46536 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46537 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46539 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46540 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46542 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46543 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46545 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46546 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46548 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46549 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46551 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46552 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46554 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46555 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46557 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46558 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46560 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46561 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46563 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46564 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46566 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46567 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46569 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46570 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46572 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46573 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46575 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46576 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46578 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46579 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46581 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46582 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46584 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46585 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46587 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46588 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46590 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46591 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46593 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46594 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46596 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46597 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46599 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46600 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46602 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46603 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46605 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46608 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46609 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46611 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46612 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46614 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46615 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46617 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46618 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46620 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46621 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46623 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46624 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46626 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46627 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46629 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46630 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46632 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46633 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46635 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46638 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46639 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46641 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46642 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46644 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46647 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46650 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46651 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46653 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46654 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46656 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46657 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46659 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46660 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46662 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46663 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46665 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46666 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46668 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46669 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46671 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46672 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46674 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46675 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46677 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46678 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46680 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46683 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46684 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46686 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46687 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46689 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46690 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46692 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46693 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46695 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46696 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46698 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46699 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46701 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46702 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46704 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46705 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46707 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46708 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46710 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46711 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46713 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46714 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46716 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46717 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46719 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46720 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46722 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46723 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46725 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46726 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46728 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46729 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46731 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46732 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46734 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46735 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46737 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46738 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46740 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46741 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46743 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46744 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46746 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46747 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46749 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46750 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46752 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46753 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46755 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46756 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46758 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46759 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46761 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46762 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46764 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46765 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46767 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46768 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46770 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46773 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46774 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46776 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46777 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46779 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46780 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46782 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46783 return (void *)((wxObject
*) ((wxSizer
*) x
));
46785 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46786 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46788 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46791 static void *_p_wxEventTo_p_wxObject(void *x
) {
46792 return (void *)((wxObject
*) ((wxEvent
*) x
));
46794 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46795 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46797 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46798 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46800 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46801 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46803 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46804 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46806 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46807 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46809 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46810 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46812 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46813 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46815 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46816 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46818 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46819 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46821 static void *_p_wxControlTo_p_wxObject(void *x
) {
46822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46824 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46825 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46827 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46828 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46830 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46831 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46833 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46834 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46836 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46839 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46840 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46842 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46843 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46845 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46848 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46849 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46851 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46854 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46855 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46857 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46858 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46860 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46861 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46863 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46864 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46866 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46867 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46869 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46870 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46872 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46875 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46878 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46881 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46884 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46885 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46887 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46890 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46891 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46893 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46896 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46899 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46902 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46905 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46908 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46911 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46914 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46917 static void *_p_wxImageTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) ((wxImage
*) x
));
46920 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46923 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46926 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46929 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46932 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46935 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46938 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46941 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46944 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46947 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46950 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46953 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46956 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46959 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46962 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46965 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46968 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46971 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46974 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46977 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46980 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46983 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46986 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46987 return (void *)((wxWindow
*) ((wxControl
*) x
));
46989 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46990 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46992 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46993 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46995 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46996 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46998 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46999 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47001 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47002 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47004 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47005 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47007 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47008 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47010 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47011 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47013 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47014 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47016 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47017 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47019 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47020 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47022 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47023 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47025 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}};
47026 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}};
47027 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}};
47028 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}};
47029 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}};
47030 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}};
47031 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}};
47032 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}};
47033 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}};
47034 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}};
47035 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}};
47036 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}};
47037 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}};
47038 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}};
47039 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}};
47040 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}};
47041 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}};
47042 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}};
47043 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}};
47044 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}};
47045 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}};
47046 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}};
47047 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}};
47048 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}};
47049 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}};
47050 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}};
47051 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}};
47052 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}};
47053 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}};
47054 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}};
47055 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}};
47056 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}};
47057 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}};
47058 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}};
47059 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}};
47060 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}};
47061 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}};
47062 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}};
47063 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}};
47064 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}};
47065 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}};
47066 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}};
47067 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}};
47068 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}};
47069 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}};
47070 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}};
47071 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}};
47072 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}};
47073 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}};
47074 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}};
47075 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}};
47076 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}};
47077 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}};
47078 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}};
47079 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}};
47080 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}};
47081 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}};
47082 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}};
47083 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}};
47084 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}};
47085 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}};
47086 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}};
47087 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}};
47088 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}};
47089 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}};
47090 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}};
47091 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}};
47092 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}};
47093 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}};
47094 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}};
47095 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}};
47096 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}};
47097 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}};
47098 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}};
47099 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}};
47100 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}};
47101 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}};
47102 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}};
47103 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}};
47104 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}};
47105 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}};
47106 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}};
47107 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}};
47108 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}};
47109 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}};
47110 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}};
47111 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}};
47112 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}};
47113 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}};
47114 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}};
47115 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}};
47116 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}};
47117 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}};
47118 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}};
47119 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}};
47120 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}};
47121 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}};
47122 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}};
47123 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}};
47124 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}};
47125 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}};
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47154 static swig_type_info
*swig_types_initial
[] = {
47155 _swigt__p_wxLayoutConstraints
,
47156 _swigt__p_wxRealPoint
,
47157 _swigt__p_wxSizerItem
,
47158 _swigt__p_wxGBSizerItem
,
47159 _swigt__p_wxScrollEvent
,
47160 _swigt__p_wxEventLoop
,
47161 _swigt__p_wxIndividualLayoutConstraint
,
47163 _swigt__p_wxBoxSizer
,
47164 _swigt__p_wxStaticBoxSizer
,
47165 _swigt__p_wxGridBagSizer
,
47166 _swigt__p_wxAcceleratorEntry
,
47167 _swigt__p_wxUpdateUIEvent
,
47171 _swigt__p_wxGridSizer
,
47172 _swigt__p_wxFlexGridSizer
,
47173 _swigt__p_wxInitDialogEvent
,
47174 _swigt__p_wxItemContainer
,
47175 _swigt__p_wxNcPaintEvent
,
47176 _swigt__p_wxPaintEvent
,
47177 _swigt__p_wxSysColourChangedEvent
,
47178 _swigt__p_wxMouseCaptureChangedEvent
,
47179 _swigt__p_wxDisplayChangedEvent
,
47180 _swigt__p_wxPaletteChangedEvent
,
47181 _swigt__p_wxControl
,
47183 _swigt__p_wxMenuBarBase
,
47184 _swigt__p_wxSetCursorEvent
,
47185 _swigt__p_wxFSFile
,
47188 _swigt__std__ptrdiff_t
,
47189 _swigt__p_wxRegion
,
47190 _swigt__p_wxPoint2D
,
47194 _swigt__p_wxPySizer
,
47195 _swigt__p_wxVisualAttributes
,
47196 _swigt__p_wxNotifyEvent
,
47197 _swigt__p_wxPyEvent
,
47198 _swigt__p_wxPropagationDisabler
,
47199 _swigt__p_form_ops_t
,
47200 _swigt__p_wxAppTraits
,
47201 _swigt__p_wxArrayString
,
47202 _swigt__p_wxShowEvent
,
47203 _swigt__p_wxToolTip
,
47204 _swigt__p_wxMoveEvent
,
47205 _swigt__p_wxSizeEvent
,
47206 _swigt__p_wxActivateEvent
,
47207 _swigt__p_wxIconizeEvent
,
47208 _swigt__p_wxMaximizeEvent
,
47209 _swigt__p_wxQueryNewPaletteEvent
,
47210 _swigt__p_wxWindowCreateEvent
,
47211 _swigt__p_wxIdleEvent
,
47212 _swigt__p_wxDateEvent
,
47213 _swigt__p_wxMenuItem
,
47214 _swigt__p_wxStaticBox
,
47216 _swigt__p_wxDuplexMode
,
47217 _swigt__p_wxTIFFHandler
,
47218 _swigt__p_wxXPMHandler
,
47219 _swigt__p_wxPNMHandler
,
47220 _swigt__p_wxJPEGHandler
,
47221 _swigt__p_wxPCXHandler
,
47222 _swigt__p_wxGIFHandler
,
47223 _swigt__p_wxPNGHandler
,
47224 _swigt__p_wxANIHandler
,
47225 _swigt__p_wxMemoryFSHandler
,
47226 _swigt__p_wxZipFSHandler
,
47227 _swigt__p_wxInternetFSHandler
,
47228 _swigt__p_wxPyFileSystemHandler
,
47229 _swigt__p_wxEvtHandler
,
47230 _swigt__p_wxCURHandler
,
47231 _swigt__p_wxICOHandler
,
47232 _swigt__p_wxBMPHandler
,
47233 _swigt__p_wxImageHandler
,
47234 _swigt__p_wxFileSystemHandler
,
47236 _swigt__p_wxButton
,
47237 _swigt__p_wxGBSpan
,
47238 _swigt__p_wxPropagateOnce
,
47239 _swigt__p_wxAcceleratorTable
,
47240 _swigt__p_wxStdDialogButtonSizer
,
47242 _swigt__p_wxGBPosition
,
47245 _swigt__p_wxScrollWinEvent
,
47246 _swigt__p_wxPaperSize
,
47247 _swigt__p_wxImageHistogram
,
47249 _swigt__p_wxCursor
,
47250 _swigt__p_wxObject
,
47251 _swigt__p_wxInputStream
,
47252 _swigt__p_wxOutputStream
,
47253 _swigt__p_wxPyInputStream
,
47254 _swigt__p_wxDateTime
,
47255 _swigt__p_wxKeyEvent
,
47256 _swigt__p_wxNavigationKeyEvent
,
47257 _swigt__p_wxWindowDestroyEvent
,
47258 _swigt__p_unsigned_long
,
47259 _swigt__p_wxWindow
,
47260 _swigt__p_wxMenuBar
,
47261 _swigt__p_wxFileSystem
,
47262 _swigt__p_wxBitmap
,
47263 _swigt__unsigned_int
,
47264 _swigt__p_unsigned_int
,
47265 _swigt__p_wxMenuEvent
,
47266 _swigt__p_wxContextMenuEvent
,
47267 _swigt__p_unsigned_char
,
47268 _swigt__p_wxEraseEvent
,
47269 _swigt__p_wxMouseEvent
,
47270 _swigt__p_wxCloseEvent
,
47272 _swigt__p_wxCommandEvent
,
47273 _swigt__p_wxPyCommandEvent
,
47274 _swigt__p_wxPyDropTarget
,
47275 _swigt__p_wxQuantize
,
47276 _swigt__p_wxFocusEvent
,
47277 _swigt__p_wxChildFocusEvent
,
47278 _swigt__p_wxDropFilesEvent
,
47279 _swigt__p_wxControlWithItems
,
47280 _swigt__p_wxColour
,
47281 _swigt__p_wxValidator
,
47282 _swigt__p_wxPyValidator
,
47287 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47289 static swig_const_info swig_const_table
[] = {
47290 {0, 0, 0, 0.0, 0, 0}};
47301 /* Python-specific SWIG API */
47302 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47303 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47304 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47306 /* -----------------------------------------------------------------------------
47307 * global variable support code.
47308 * ----------------------------------------------------------------------------- */
47310 typedef struct swig_globalvar
{
47311 char *name
; /* Name of global variable */
47312 PyObject
*(*get_attr
)(); /* Return the current value */
47313 int (*set_attr
)(PyObject
*); /* Set the value */
47314 struct swig_globalvar
*next
;
47317 typedef struct swig_varlinkobject
{
47319 swig_globalvar
*vars
;
47320 } swig_varlinkobject
;
47323 swig_varlink_repr(swig_varlinkobject
*v
) {
47325 return PyString_FromString("<Swig global variables>");
47329 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47330 swig_globalvar
*var
;
47332 fprintf(fp
,"Swig global variables { ");
47333 for (var
= v
->vars
; var
; var
=var
->next
) {
47334 fprintf(fp
,"%s", var
->name
);
47335 if (var
->next
) fprintf(fp
,", ");
47337 fprintf(fp
," }\n");
47342 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47343 swig_globalvar
*var
= v
->vars
;
47345 if (strcmp(var
->name
,n
) == 0) {
47346 return (*var
->get_attr
)();
47350 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47355 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47356 swig_globalvar
*var
= v
->vars
;
47358 if (strcmp(var
->name
,n
) == 0) {
47359 return (*var
->set_attr
)(p
);
47363 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47367 static PyTypeObject varlinktype
= {
47368 PyObject_HEAD_INIT(0)
47369 0, /* Number of items in variable part (ob_size) */
47370 (char *)"swigvarlink", /* Type name (tp_name) */
47371 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47372 0, /* Itemsize (tp_itemsize) */
47373 0, /* Deallocator (tp_dealloc) */
47374 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47375 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47376 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47377 0, /* tp_compare */
47378 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47379 0, /* tp_as_number */
47380 0, /* tp_as_sequence */
47381 0, /* tp_as_mapping */
47385 0, /* tp_getattro */
47386 0, /* tp_setattro */
47387 0, /* tp_as_buffer */
47390 #if PY_VERSION_HEX >= 0x02000000
47391 0, /* tp_traverse */
47394 #if PY_VERSION_HEX >= 0x02010000
47395 0, /* tp_richcompare */
47396 0, /* tp_weaklistoffset */
47398 #if PY_VERSION_HEX >= 0x02020000
47399 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47401 #if PY_VERSION_HEX >= 0x02030000
47404 #ifdef COUNT_ALLOCS
47405 0,0,0,0 /* tp_alloc -> tp_next */
47409 /* Create a variable linking object for use later */
47411 SWIG_Python_newvarlink(void) {
47412 swig_varlinkobject
*result
= 0;
47413 result
= PyMem_NEW(swig_varlinkobject
,1);
47414 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47415 result
->ob_type
= &varlinktype
;
47417 result
->ob_refcnt
= 0;
47418 Py_XINCREF((PyObject
*) result
);
47419 return ((PyObject
*) result
);
47423 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47424 swig_varlinkobject
*v
;
47425 swig_globalvar
*gv
;
47426 v
= (swig_varlinkobject
*) p
;
47427 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47428 gv
->name
= (char *) malloc(strlen(name
)+1);
47429 strcpy(gv
->name
,name
);
47430 gv
->get_attr
= get_attr
;
47431 gv
->set_attr
= set_attr
;
47432 gv
->next
= v
->vars
;
47436 /* -----------------------------------------------------------------------------
47437 * constants/methods manipulation
47438 * ----------------------------------------------------------------------------- */
47440 /* Install Constants */
47442 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47445 for (i
= 0; constants
[i
].type
; i
++) {
47446 switch(constants
[i
].type
) {
47448 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47450 case SWIG_PY_FLOAT
:
47451 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47453 case SWIG_PY_STRING
:
47454 if (constants
[i
].pvalue
) {
47455 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47457 Py_INCREF(Py_None
);
47461 case SWIG_PY_POINTER
:
47462 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47464 case SWIG_PY_BINARY
:
47465 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47472 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47478 /* -----------------------------------------------------------------------------*/
47479 /* Fix SwigMethods to carry the callback ptrs when needed */
47480 /* -----------------------------------------------------------------------------*/
47483 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47484 swig_const_info
*const_table
,
47485 swig_type_info
**types
,
47486 swig_type_info
**types_initial
) {
47488 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47489 char *c
= methods
[i
].ml_doc
;
47490 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47492 swig_const_info
*ci
= 0;
47493 char *name
= c
+ 10;
47494 for (j
= 0; const_table
[j
].type
; j
++) {
47495 if (strncmp(const_table
[j
].name
, name
,
47496 strlen(const_table
[j
].name
)) == 0) {
47497 ci
= &(const_table
[j
]);
47502 size_t shift
= (ci
->ptype
) - types
;
47503 swig_type_info
*ty
= types_initial
[shift
];
47504 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47505 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47506 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47508 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47509 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47511 strncpy(buff
, "swig_ptr: ", 10);
47513 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47514 methods
[i
].ml_doc
= ndoc
;
47520 /* -----------------------------------------------------------------------------*
47521 * Initialize type list
47522 * -----------------------------------------------------------------------------*/
47524 #if PY_MAJOR_VERSION < 2
47525 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47526 is copied out of Python/modsupport.c in python version 2.3.4 */
47528 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47531 if (!PyModule_Check(m
)) {
47532 PyErr_SetString(PyExc_TypeError
,
47533 "PyModule_AddObject() needs module as first arg");
47537 PyErr_SetString(PyExc_TypeError
,
47538 "PyModule_AddObject() needs non-NULL value");
47542 dict
= PyModule_GetDict(m
);
47543 if (dict
== NULL
) {
47544 /* Internal error -- modules must have a dict! */
47545 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47546 PyModule_GetName(m
));
47549 if (PyDict_SetItemString(dict
, name
, o
))
47556 static swig_type_info
**
47557 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47558 static PyMethodDef swig_empty_runtime_method_table
[] = {
47560 NULL
, NULL
, 0, NULL
47564 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47565 swig_empty_runtime_method_table
);
47566 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47567 if (pointer
&& module) {
47568 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47570 return type_list_handle
;
47573 static swig_type_info
**
47574 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47575 swig_type_info
**type_pointer
;
47577 /* first check if module already created */
47578 type_pointer
= SWIG_Python_GetTypeListHandle();
47579 if (type_pointer
) {
47580 return type_pointer
;
47582 /* create a new module and variable */
47583 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47591 /* -----------------------------------------------------------------------------*
47592 * Partial Init method
47593 * -----------------------------------------------------------------------------*/
47595 #ifdef SWIG_LINK_RUNTIME
47599 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47605 SWIGEXPORT(void) SWIG_init(void) {
47606 static PyObject
*SWIG_globals
= 0;
47607 static int typeinit
= 0;
47610 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47612 /* Fix SwigMethods to carry the callback ptrs when needed */
47613 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47615 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47616 d
= PyModule_GetDict(m
);
47619 #ifdef SWIG_LINK_RUNTIME
47620 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47622 # ifndef SWIG_STATIC_RUNTIME
47623 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47626 for (i
= 0; swig_types_initial
[i
]; i
++) {
47627 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47631 SWIG_InstallConstants(d
,swig_const_table
);
47634 #ifndef wxPyUSE_EXPORT
47635 // Make our API structure a CObject so other modules can import it
47636 // from this module.
47637 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47638 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47643 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47646 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47649 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47652 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47655 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47658 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47661 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47664 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47667 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47670 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47673 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47676 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47679 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47682 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47685 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47688 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47691 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47694 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47697 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47700 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47703 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47706 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47709 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47712 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47715 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47718 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47721 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47724 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47727 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47730 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47733 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47736 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47739 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47742 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47745 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47748 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47751 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47754 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47757 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47760 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47763 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47766 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47769 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47772 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47775 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47778 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47781 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47784 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47787 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47790 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47793 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47796 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47799 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47802 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47805 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47808 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47811 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47814 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47817 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47820 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47823 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47826 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47829 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47832 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47835 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47838 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47841 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47844 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47847 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47850 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47853 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47856 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47859 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47862 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47865 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47868 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47871 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47874 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47877 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47880 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47883 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47886 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47889 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47892 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47895 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47898 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47901 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47904 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47907 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47910 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47913 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47916 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47919 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47922 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47925 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47928 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47931 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47934 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47937 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47940 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47943 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47946 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47949 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47952 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47955 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47958 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47961 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47964 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47967 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47970 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47973 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47976 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47979 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47982 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47985 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47988 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47991 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47994 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47997 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48000 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48003 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48006 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48009 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48012 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48015 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48018 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48021 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48024 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48027 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48030 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48033 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48036 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48039 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48042 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48045 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48048 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48051 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48054 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48057 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48060 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48063 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48066 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48069 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48072 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48075 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48078 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48081 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48084 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48087 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48090 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48093 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48096 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48099 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48102 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48105 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48108 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48111 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48114 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48117 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48120 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48123 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48126 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48129 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48132 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48135 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48138 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48141 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48144 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48147 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48150 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48153 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48156 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48159 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48162 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48165 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48168 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48171 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48174 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48177 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48180 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48183 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48186 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48189 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48192 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48195 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48198 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48201 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48204 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48207 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48210 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48213 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48216 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48219 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48222 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48225 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48228 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48231 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48234 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48237 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48240 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48243 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48246 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48249 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48252 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48255 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48258 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48261 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48264 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48267 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48270 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48273 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48276 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48279 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48282 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48285 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48288 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48291 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48294 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48297 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48300 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48303 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48306 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48309 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48312 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48315 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48318 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48321 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48324 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48327 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48330 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48333 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48336 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48339 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48342 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48345 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48348 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48351 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48354 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48357 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48360 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48363 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48366 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48369 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48372 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48375 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48378 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48381 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48384 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48387 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48390 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48393 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48396 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48399 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48402 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48405 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48408 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48411 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48414 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48417 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48420 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48423 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48426 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48429 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48432 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48435 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48438 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48441 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48444 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48447 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48450 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48453 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48456 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48459 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48462 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48465 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48468 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48471 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48474 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48477 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48480 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48483 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48486 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48489 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48492 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48495 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48498 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48501 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48504 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48507 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48510 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48513 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48516 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48519 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48522 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48525 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48528 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48531 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48534 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48537 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48540 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48543 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48546 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48549 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48552 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48555 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48558 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48561 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48564 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48567 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48570 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48573 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48576 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48579 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48582 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48585 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48588 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48591 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48594 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48597 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48600 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48603 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48606 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48609 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48612 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48615 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48618 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48621 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48624 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48627 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48630 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48633 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48636 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48639 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48642 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48645 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48648 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48651 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48654 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48657 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48660 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48663 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48666 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48669 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48672 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48675 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48678 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48681 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48684 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48687 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48690 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48693 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48696 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48699 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48702 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48705 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48708 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48711 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48714 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48717 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48720 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48723 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48726 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48729 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48732 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48735 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48738 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48741 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48744 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48747 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48750 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48753 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48756 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48759 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48762 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48765 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48768 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48771 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48774 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48777 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48780 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48783 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48786 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48789 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48792 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48795 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48798 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48801 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48804 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48807 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48810 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48813 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48816 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48819 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48822 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48825 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48828 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48831 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48834 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48837 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48840 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48843 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48846 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48849 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48852 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48855 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48858 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48861 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48864 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48867 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48870 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48873 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48876 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48879 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48882 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48885 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48888 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48891 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48894 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48897 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48900 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48903 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48906 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48909 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48912 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48915 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48918 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48921 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48924 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48927 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48930 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48933 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48936 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
48939 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
48942 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
48945 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
48948 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
48951 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
48954 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
48957 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
48960 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
48963 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
48966 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
48969 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
48972 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
48975 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
48978 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
48981 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
48984 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
48987 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
48990 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
48993 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
48996 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
48999 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49002 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49005 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49008 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49011 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49014 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49017 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49020 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49023 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49026 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49029 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49032 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49035 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49038 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49041 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49044 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49047 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49050 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49053 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49056 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49059 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49062 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49065 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49068 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49071 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49074 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49077 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49080 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49083 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49086 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49089 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49092 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49095 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49098 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49101 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49104 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49107 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49110 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49113 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49116 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49119 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49122 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49125 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49128 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49131 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49134 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49137 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49140 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49143 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49146 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49149 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49152 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49155 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49158 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49161 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49164 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49167 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49170 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49173 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49176 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49179 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49182 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49185 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49188 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49191 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49194 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49197 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49200 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49203 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49206 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49209 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49212 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49215 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49218 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49221 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49224 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49227 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49230 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49233 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49236 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49239 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49242 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49245 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49248 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49251 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49254 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49257 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49260 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49263 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49266 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49269 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49272 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49275 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49278 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49281 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49284 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49287 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49290 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49293 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49295 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49296 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49298 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49301 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49304 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49307 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49310 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49313 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49316 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49319 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49322 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49325 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49328 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49331 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49334 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49337 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49340 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49343 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49346 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49349 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49352 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49355 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49358 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49361 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49364 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49367 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49370 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49373 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49376 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49379 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49382 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49385 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49388 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49391 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49394 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49397 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49400 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49403 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49406 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49409 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49412 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49415 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49418 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49421 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49424 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49427 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49430 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49433 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49436 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49439 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49442 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49445 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49448 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49450 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49451 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49453 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49456 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49459 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49462 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49465 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49467 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49468 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49469 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49470 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49471 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49472 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49473 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49474 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49475 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49476 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49478 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49481 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49483 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49484 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49485 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49486 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49487 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49488 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49490 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49493 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49496 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49499 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49502 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49505 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49508 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49511 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49514 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49517 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49520 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49523 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49526 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49529 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49532 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49535 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49537 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49538 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49539 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49540 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49541 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49542 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49543 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49544 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49545 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49546 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49547 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49548 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49549 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49550 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49551 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49552 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49553 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49554 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49555 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49556 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49557 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49558 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49559 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49560 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49561 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49562 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49563 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49564 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49565 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49566 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49567 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49568 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49569 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49570 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49571 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49572 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49573 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49574 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49575 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49576 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49577 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49578 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49579 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49580 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49581 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49582 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49583 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49584 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49585 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49586 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49587 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49588 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49589 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49590 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49591 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49592 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49593 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49594 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49595 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49596 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49597 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49598 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49599 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49600 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49601 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49602 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49603 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49604 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49605 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49606 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49607 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49608 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49609 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49610 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49611 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49612 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49613 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49614 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49615 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49616 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49617 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49618 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49619 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49620 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49621 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49622 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49623 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49624 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49625 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49626 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49627 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49628 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49629 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49630 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49631 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49632 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49633 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49634 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49635 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49636 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49637 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49638 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49639 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49640 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49641 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49642 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49643 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49644 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49645 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49646 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49647 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49648 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49649 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49650 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49651 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49653 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49656 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49659 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49662 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49665 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49668 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49671 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49674 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49677 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49680 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49683 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49686 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49689 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49691 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49693 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49696 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49699 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49702 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49705 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49708 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49710 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49711 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49713 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49716 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49719 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49722 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49725 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49727 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49728 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49730 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49733 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49736 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49738 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49740 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49743 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49746 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49749 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49752 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49755 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49758 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49761 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49764 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49767 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49770 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49773 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49776 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49779 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49782 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49785 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49788 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49791 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49794 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49797 // Initialize threading, some globals and such
49801 // Although these are defined in __version__ they need to be here too so
49802 // that an assert can be done to ensure that the wxPython and the wxWindows
49804 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49805 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49806 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));