1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1654 wxPySwigInstance_Check
,
1663 #if !WXWIN_COMPATIBILITY_2_4
1664 #define wxHIDE_READONLY 0
1668 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1669 #define SWIG_From_int PyInt_FromLong
1674 enum wxHotkeyModifier
1682 #define wxEVT_HOTKEY 9999
1685 static const wxString
wxPyEmptyString(wxEmptyString
);
1686 static wxString
wxObject_GetClassName(wxObject
*self
){
1687 return self
->GetClassInfo()->GetClassName();
1689 static void wxObject_Destroy(wxObject
*self
){
1694 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1702 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1705 if (value
< min_value
) {
1707 PyErr_Format(PyExc_OverflowError
,
1708 "value %ld is less than '%s' minimum %ld",
1709 value
, errmsg
, min_value
);
1712 } else if (value
> max_value
) {
1714 PyErr_Format(PyExc_OverflowError
,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value
, errmsg
, max_value
);
1725 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1727 if (PyNumber_Check(obj
)) {
1728 if (val
) *val
= PyInt_AsLong(obj
);
1732 SWIG_type_error("number", obj
);
1738 #if INT_MAX != LONG_MAX
1740 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1742 const char* errmsg
= val
? "int" : (char*)0;
1744 if (SWIG_AsVal_long(obj
, &v
)) {
1745 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1746 if (val
) *val
= (int)(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 return SWIG_AsVal_long(obj
,(long*)val
);
1769 SWIG_As_int(PyObject
* obj
)
1772 if (!SWIG_AsVal_int(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier.
1776 memset((void*)&v
, 0, sizeof(int));
1783 SWIG_Check_int(PyObject
* obj
)
1785 return SWIG_AsVal_int(obj
, (int*)0);
1788 static PyObject
*wxSize_Get(wxSize
*self
){
1789 bool blocked
= wxPyBeginBlockThreads();
1790 PyObject
* tup
= PyTuple_New(2);
1791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1793 wxPyEndBlockThreads(blocked
);
1798 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1800 if (PyNumber_Check(obj
)) {
1801 if (val
) *val
= PyFloat_AsDouble(obj
);
1805 SWIG_type_error("number", obj
);
1811 SWIGINTERNSHORT
double
1812 SWIG_As_double(PyObject
* obj
)
1815 if (!SWIG_AsVal_double(obj
, &v
)) {
1817 this is needed to make valgrind/purify happier.
1819 memset((void*)&v
, 0, sizeof(double));
1826 SWIG_Check_double(PyObject
* obj
)
1828 return SWIG_AsVal_double(obj
, (double*)0);
1832 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1833 #define SWIG_From_double PyFloat_FromDouble
1836 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1840 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1841 bool blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1844 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1845 wxPyEndBlockThreads(blocked
);
1849 SWIGINTERNSHORT
long
1850 SWIG_As_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(long));
1864 SWIG_Check_long(PyObject
* obj
)
1866 return SWIG_AsVal_long(obj
, (long*)0);
1869 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1873 static PyObject
*wxPoint_Get(wxPoint
*self
){
1874 bool blocked
= wxPyBeginBlockThreads();
1875 PyObject
* tup
= PyTuple_New(2);
1876 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1877 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1878 wxPyEndBlockThreads(blocked
);
1881 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1884 self
->width
= width
;
1885 self
->height
= height
;
1887 static PyObject
*wxRect_Get(wxRect
*self
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 PyObject
* tup
= PyTuple_New(4);
1890 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1891 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1892 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1893 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1894 wxPyEndBlockThreads(blocked
);
1898 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1901 wxRect
dest(0,0,0,0);
1904 reg1
.Intersect(reg2
);
1905 dest
= reg1
.GetBox();
1907 if (dest
!= wxRect(0,0,0,0)) {
1908 bool blocked
= wxPyBeginBlockThreads();
1909 wxRect
* newRect
= new wxRect(dest
);
1910 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1911 wxPyEndBlockThreads(blocked
);
1919 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1925 } else if (target
== Py_None
) {
1929 if (!PyTuple_Check(target
)) {
1931 target
= PyTuple_New(1);
1932 PyTuple_SetItem(target
, 0, o2
);
1934 o3
= PyTuple_New(1);
1935 PyTuple_SetItem(o3
, 0, o
);
1938 target
= PySequence_Concat(o2
, o3
);
1946 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1950 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 PyObject
* tup
= PyTuple_New(2);
1953 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1954 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1955 wxPyEndBlockThreads(blocked
);
1959 #include "wx/wxPython/pyistream.h"
1961 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1962 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1964 return new wxPyInputStream(wxis
);
1969 SWIGINTERNSHORT PyObject
*
1970 SWIG_From_char(char c
)
1972 return PyString_FromStringAndSize(&c
,1);
1976 SWIGINTERNSHORT PyObject
*
1977 SWIG_From_unsigned_SS_long(unsigned long value
)
1979 return (value
> LONG_MAX
) ?
1980 PyLong_FromUnsignedLong(value
)
1981 : PyInt_FromLong((long)(value
));
1985 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1987 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1989 static swig_type_info
* pchar_info
= 0;
1991 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1992 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1993 if (cptr
) *cptr
= vptr
;
1994 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1998 if (PyString_Check(obj
)) {
2000 *cptr
= PyString_AS_STRING(obj
);
2002 *psize
= PyString_GET_SIZE(obj
) + 1;
2009 SWIG_type_error("char *", obj
);
2016 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2018 char* cptr
; size_t csize
;
2019 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2022 char x[5] = "hello";
2024 ie, assing the array using an extra '0' char.
2026 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2027 if (csize
<= size
) {
2029 if (csize
) memcpy(val
, cptr
, csize
);
2030 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2036 PyErr_Format(PyExc_TypeError
,
2037 "a char array of maximum size %lu is expected",
2038 (unsigned long) size
);
2045 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2047 const char* errmsg
= val
? "char" : (char*)0;
2049 if (SWIG_AsVal_long(obj
, &v
)) {
2050 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2051 if (val
) *val
= (char)(v
);
2058 return SWIG_AsCharArray(obj
, val
, 1);
2063 SWIGINTERNSHORT
char
2064 SWIG_As_char(PyObject
* obj
)
2067 if (!SWIG_AsVal_char(obj
, &v
)) {
2069 this is needed to make valgrind/purify happier.
2071 memset((void*)&v
, 0, sizeof(char));
2078 SWIG_Check_char(PyObject
* obj
)
2080 return SWIG_AsVal_char(obj
, (char*)0);
2084 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2085 #define SWIG_From_long PyInt_FromLong
2088 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2089 // We use only strings for the streams, not unicode
2090 PyObject
* str
= PyObject_Str(obj
);
2092 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2095 self
->Write(PyString_AS_STRING(str
),
2096 PyString_GET_SIZE(str
));
2100 #include "wx/wxPython/pyistream.h"
2103 class wxPyFileSystemHandler
: public wxFileSystemHandler
2106 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2108 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2109 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2110 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2111 DEC_PYCALLBACK_STRING__pure(FindNext
);
2113 wxString
GetProtocol(const wxString
& location
) {
2114 return wxFileSystemHandler::GetProtocol(location
);
2117 wxString
GetLeftLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetLeftLocation(location
);
2121 wxString
GetAnchor(const wxString
& location
) {
2122 return wxFileSystemHandler::GetAnchor(location
);
2125 wxString
GetRightLocation(const wxString
& location
) {
2126 return wxFileSystemHandler::GetRightLocation(location
);
2129 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2130 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2137 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2138 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2139 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2140 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2144 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2146 if (obj
== Py_True
) {
2147 if (val
) *val
= true;
2150 if (obj
== Py_False
) {
2151 if (val
) *val
= false;
2155 if (SWIG_AsVal_int(obj
, &res
)) {
2156 if (val
) *val
= res
? true : false;
2162 SWIG_type_error("bool", obj
);
2168 SWIGINTERNSHORT
bool
2169 SWIG_As_bool(PyObject
* obj
)
2172 if (!SWIG_AsVal_bool(obj
, &v
)) {
2174 this is needed to make valgrind/purify happier.
2176 memset((void*)&v
, 0, sizeof(bool));
2183 SWIG_Check_bool(PyObject
* obj
)
2185 return SWIG_AsVal_bool(obj
, (bool*)0);
2188 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2189 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2190 return fname
.GetFullPath();
2193 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2196 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2199 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2200 const wxBitmap
& bitmap
,
2202 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2205 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2207 if (! PyString_Check(data
)) {
2208 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2209 "Expected string object"));
2213 bool blocked
= wxPyBeginBlockThreads();
2214 void* ptr
= (void*)PyString_AsString(data
);
2215 size_t size
= PyString_Size(data
);
2216 wxPyEndBlockThreads(blocked
);
2218 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2222 #include "wx/wxPython/pyistream.h"
2226 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2229 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2230 SWIG_type_error("unsigned number", obj
);
2233 *val
= (unsigned long)v
;
2239 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2240 unsigned long max_value
,
2243 if (value
> max_value
) {
2245 PyErr_Format(PyExc_OverflowError
,
2246 "value %lu is greater than '%s' minimum %lu",
2247 value
, errmsg
, max_value
);
2256 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2258 const char* errmsg
= val
? "unsigned char" : (char*)0;
2260 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2261 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2262 if (val
) *val
= (unsigned char)(v
);
2271 SWIG_type_error(errmsg
, obj
);
2277 SWIGINTERNSHORT
unsigned char
2278 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2281 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2283 this is needed to make valgrind/purify happier.
2285 memset((void*)&v
, 0, sizeof(unsigned char));
2292 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2294 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2298 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2299 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2304 if (width
> 0 && height
> 0)
2305 return new wxImage(width
, height
, clear
);
2309 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2310 return new wxImage(bitmap
.ConvertToImage());
2312 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2313 // Copy the source data so the wxImage can clean it up later
2314 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2319 memcpy(copy
, data
, width
*height
*3);
2320 return new wxImage(width
, height
, copy
, false);
2322 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2323 // Copy the source data so the wxImage can clean it up later
2324 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2325 if (dcopy
== NULL
) {
2329 memcpy(dcopy
, data
, width
*height
*3);
2330 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2331 if (acopy
== NULL
) {
2335 memcpy(acopy
, alpha
, width
*height
);
2337 return new wxImage(width
, height
, dcopy
, acopy
, false);
2339 static wxSize
wxImage_GetSize(wxImage
*self
){
2340 wxSize
size(self
->GetWidth(), self
->GetHeight());
2343 static PyObject
*wxImage_GetData(wxImage
*self
){
2344 unsigned char* data
= self
->GetData();
2345 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2347 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2350 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2351 unsigned char* dataPtr
;
2353 if (! PyString_Check(data
)) {
2354 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2355 "Expected string object"));
2359 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2360 dataPtr
= (unsigned char*) malloc(len
);
2361 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2362 self
->SetData(dataPtr
);
2363 // wxImage takes ownership of dataPtr...
2365 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2366 unsigned char* data
= self
->GetData();
2367 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2369 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2372 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2373 unsigned char* buffer
;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2380 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2381 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2384 self
->SetData(buffer
);
2386 wxPyEndBlockThreads(blocked
);
2388 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2389 unsigned char* data
= self
->GetAlpha();
2393 int len
= self
->GetWidth() * self
->GetHeight();
2395 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2399 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2400 unsigned char* dataPtr
;
2402 if (! PyString_Check(data
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2407 size_t len
= self
->GetWidth() * self
->GetHeight();
2408 dataPtr
= (unsigned char*) malloc(len
);
2409 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2410 self
->SetAlpha(dataPtr
);
2411 // wxImage takes ownership of dataPtr...
2413 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2414 unsigned char* data
= self
->GetAlpha();
2415 int len
= self
->GetWidth() * self
->GetHeight();
2417 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2420 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2421 unsigned char* buffer
;
2424 bool blocked
= wxPyBeginBlockThreads();
2425 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2428 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2429 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2432 self
->SetAlpha(buffer
);
2434 wxPyEndBlockThreads(blocked
);
2437 SWIGINTERNSHORT
unsigned long
2438 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2441 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2443 this is needed to make valgrind/purify happier.
2445 memset((void*)&v
, 0, sizeof(unsigned long));
2452 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2454 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2457 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2458 wxBitmap
bitmap(*self
, depth
);
2461 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2462 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2463 wxBitmap
bitmap( mono
, 1 );
2466 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2467 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2468 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2470 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2474 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2475 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2476 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2477 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2478 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2479 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2480 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2482 #include <wx/quantize.h>
2484 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2485 return wxQuantize::Quantize(src
, dest
,
2488 NULL
, // eightBitData
2491 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2492 if (PyCallable_Check(func
)) {
2493 self
->Connect(id
, lastId
, eventType
,
2494 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2495 new wxPyCallback(func
));
2497 else if (func
== Py_None
) {
2498 self
->Disconnect(id
, lastId
, eventType
,
2499 (wxObjectEventFunction
)
2500 &wxPyCallback::EventThunker
);
2504 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2507 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2508 return self
->Disconnect(id
, lastId
, eventType
,
2509 (wxObjectEventFunction
)
2510 &wxPyCallback::EventThunker
);
2512 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2513 if (_self
&& _self
!= Py_None
) {
2514 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2517 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2519 self
->SetClientObject(NULL
); // This will delete it too
2524 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2526 return self
->GetUnicodeKey();
2532 #if UINT_MAX < LONG_MAX
2533 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2534 #define SWIG_From_unsigned_SS_int SWIG_From_long
2537 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2538 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2543 #if UINT_MAX != ULONG_MAX
2545 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2547 const char* errmsg
= val
? "unsigned int" : (char*)0;
2549 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2550 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2551 if (val
) *val
= (unsigned int)(v
);
2558 SWIG_type_error(errmsg
, obj
);
2563 SWIGINTERNSHORT
unsigned int
2564 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2566 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2571 SWIGINTERNSHORT
unsigned int
2572 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2575 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2577 this is needed to make valgrind/purify happier.
2579 memset((void*)&v
, 0, sizeof(unsigned int));
2586 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2588 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2591 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2592 self
->m_size
= size
;
2594 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2595 int count
= self
->GetNumberOfFiles();
2596 wxString
* files
= self
->GetFiles();
2597 PyObject
* list
= PyList_New(count
);
2600 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2604 for (int i
=0; i
<count
; i
++) {
2605 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2611 static wxPyApp
*new_wxPyApp(){
2612 wxPythonApp
= new wxPyApp();
2615 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2617 void wxApp_CleanUp() {
2622 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2626 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2628 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2633 SWIG_type_error("char *", obj
);
2639 SWIGINTERN PyObject
*
2640 SWIG_FromCharPtr(const char* cptr
)
2643 size_t size
= strlen(cptr
);
2644 if (size
> INT_MAX
) {
2645 return SWIG_NewPointerObj((char*)(cptr
),
2646 SWIG_TypeQuery("char *"), 0);
2649 return PyString_FromStringAndSize(cptr
, size
);
2651 return PyString_FromString(cptr
);
2662 // A dummy class that raises an exception if used...
2666 wxEventLoop() { wxPyRaiseNotImplemented(); }
2667 int Run() { return 0; }
2668 void Exit(int rc
= 0) {}
2669 bool Pending() const { return false; }
2670 bool Dispatch() { return false; }
2671 bool IsRunning() const { return false; }
2672 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2673 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2678 #include <wx/evtloop.h>
2684 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2685 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2686 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2687 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2688 wxWindowList
& list
= self
->GetChildren();
2689 return wxPy_ConvertList(&list
);
2691 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2693 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2698 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2705 static long wxWindow_GetHandle(wxWindow
*self
){
2706 return wxPyGetWinHandle(self
);
2708 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2709 self
->AssociateHandle((WXWidget
)handle
);
2712 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2713 return wxWindow::FindWindowById(id
, parent
);
2716 wxWindow
* wxFindWindowByName( const wxString
& name
,
2717 const wxWindow
*parent
= NULL
) {
2718 return wxWindow::FindWindowByName(name
, parent
);
2721 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2722 const wxWindow
*parent
= NULL
) {
2723 return wxWindow::FindWindowByLabel(label
, parent
);
2728 #include <wx/msw/private.h> // to get wxGetWindowId
2732 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2734 WXHWND hWnd
= (WXHWND
)_hWnd
;
2735 long id
= wxGetWindowId(hWnd
);
2736 wxWindow
* win
= new wxWindow
;
2737 parent
->AddChild(win
);
2738 win
->SetEventHandler(win
);
2741 win
->SubclassWin(hWnd
);
2742 win
->AdoptAttributesFromHWND();
2743 win
->SetupColours();
2746 wxPyRaiseNotImplemented();
2752 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2753 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2754 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2756 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2758 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2759 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2760 wxMenuItemList
& list
= self
->GetMenuItems();
2761 return wxPy_ConvertList(&list
);
2763 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2764 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2765 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2766 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2767 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2768 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2769 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2770 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2771 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2772 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2773 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2774 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2775 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2776 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2777 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2778 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2779 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2781 wxPyClientData
* data
= new wxPyClientData(clientData
);
2782 return self
->Append(item
, data
);
2784 return self
->Append(item
);
2786 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2788 wxPyClientData
* data
= new wxPyClientData(clientData
);
2789 return self
->Insert(item
, pos
, data
);
2791 return self
->Insert(item
, pos
);
2793 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2794 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2796 Py_INCREF(data
->m_obj
);
2803 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2804 wxPyClientData
* data
= new wxPyClientData(clientData
);
2805 self
->SetClientObject(n
, data
);
2809 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2810 wxPyUserData
* data
= NULL
;
2812 bool blocked
= wxPyBeginBlockThreads();
2813 data
= new wxPyUserData(userData
);
2814 wxPyEndBlockThreads(blocked
);
2816 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2818 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2819 wxPyUserData
* data
= NULL
;
2821 bool blocked
= wxPyBeginBlockThreads();
2822 data
= new wxPyUserData(userData
);
2823 wxPyEndBlockThreads(blocked
);
2825 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2827 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2828 wxPyUserData
* data
= NULL
;
2830 bool blocked
= wxPyBeginBlockThreads();
2831 data
= new wxPyUserData(userData
);
2832 wxPyEndBlockThreads(blocked
);
2834 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2839 SWIG_CheckDoubleInRange(double value
, double min_value
,
2840 double max_value
, const char* errmsg
)
2842 if (value
< min_value
) {
2844 PyErr_Format(PyExc_OverflowError
,
2845 "value %g is less than %s minimum %g",
2846 value
, errmsg
, min_value
);
2849 } else if (value
> max_value
) {
2851 PyErr_Format(PyExc_OverflowError
,
2852 "value %g is greater than %s maximum %g",
2853 value
, errmsg
, max_value
);
2862 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2864 const char* errmsg
= val
? "float" : (char*)0;
2866 if (SWIG_AsVal_double(obj
, &v
)) {
2867 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2868 if (val
) *val
= (float)(v
);
2877 SWIG_type_error(errmsg
, obj
);
2883 SWIGINTERNSHORT
float
2884 SWIG_As_float(PyObject
* obj
)
2887 if (!SWIG_AsVal_float(obj
, &v
)) {
2889 this is needed to make valgrind/purify happier.
2891 memset((void*)&v
, 0, sizeof(float));
2898 SWIG_Check_float(PyObject
* obj
)
2900 return SWIG_AsVal_float(obj
, (float*)0);
2904 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2905 #define SWIG_From_float PyFloat_FromDouble
2908 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2909 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2911 Py_INCREF(data
->m_obj
);
2919 // Figure out the type of the sizer item
2921 struct wxPySizerItemInfo
{
2923 : window(NULL
), sizer(NULL
), gotSize(false),
2924 size(wxDefaultSize
), gotPos(false), pos(-1)
2935 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2937 wxPySizerItemInfo info
;
2939 wxSize
* sizePtr
= &size
;
2941 // Find out what the type of the item is
2943 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2948 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2952 // try wxSize or (w,h)
2953 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2954 info
.size
= *sizePtr
;
2955 info
.gotSize
= true;
2959 if (checkIdx
&& PyInt_Check(item
)) {
2960 info
.pos
= PyInt_AsLong(item
);
2966 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2967 // no expected type, figure out what kind of error message to generate
2968 if ( !checkSize
&& !checkIdx
)
2969 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2970 else if ( checkSize
&& !checkIdx
)
2971 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2972 else if ( !checkSize
&& checkIdx
)
2973 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2975 // can this one happen?
2976 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2982 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2983 if (!self
->GetClientObject())
2984 self
->SetClientObject(new wxPyOORClientData(_self
));
2986 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2988 wxPyUserData
* data
= NULL
;
2989 bool blocked
= wxPyBeginBlockThreads();
2990 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2991 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2992 data
= new wxPyUserData(userData
);
2993 wxPyEndBlockThreads(blocked
);
2995 // Now call the real Add method if a valid item type was found
2997 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2998 else if ( info
.sizer
)
2999 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3000 else if (info
.gotSize
)
3001 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3002 proportion
, flag
, border
, data
);
3006 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3008 wxPyUserData
* data
= NULL
;
3009 bool blocked
= wxPyBeginBlockThreads();
3010 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3011 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3012 data
= new wxPyUserData(userData
);
3013 wxPyEndBlockThreads(blocked
);
3015 // Now call the real Insert method if a valid item type was found
3017 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3018 else if ( info
.sizer
)
3019 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3020 else if (info
.gotSize
)
3021 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3022 proportion
, flag
, border
, data
);
3026 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3028 wxPyUserData
* data
= NULL
;
3029 bool blocked
= wxPyBeginBlockThreads();
3030 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3031 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3032 data
= new wxPyUserData(userData
);
3033 wxPyEndBlockThreads(blocked
);
3035 // Now call the real Prepend method if a valid item type was found
3037 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3038 else if ( info
.sizer
)
3039 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3040 else if (info
.gotSize
)
3041 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3042 proportion
, flag
, border
, data
);
3046 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3047 bool blocked
= wxPyBeginBlockThreads();
3048 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3049 wxPyEndBlockThreads(blocked
);
3051 return self
->Remove(info
.window
);
3052 else if ( info
.sizer
)
3053 return self
->Remove(info
.sizer
);
3054 else if ( info
.gotPos
)
3055 return self
->Remove(info
.pos
);
3059 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3060 bool blocked
= wxPyBeginBlockThreads();
3061 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3062 wxPyEndBlockThreads(blocked
);
3064 return self
->Detach(info
.window
);
3065 else if ( info
.sizer
)
3066 return self
->Detach(info
.sizer
);
3067 else if ( info
.gotPos
)
3068 return self
->Detach(info
.pos
);
3072 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3073 bool blocked
= wxPyBeginBlockThreads();
3074 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3075 wxPyEndBlockThreads(blocked
);
3077 return self
->GetItem(info
.window
);
3078 else if ( info
.sizer
)
3079 return self
->GetItem(info
.sizer
);
3080 else if ( info
.gotPos
)
3081 return self
->GetItem(info
.pos
);
3085 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3086 bool blocked
= wxPyBeginBlockThreads();
3087 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3088 wxPyEndBlockThreads(blocked
);
3090 self
->SetItemMinSize(info
.window
, size
);
3091 else if ( info
.sizer
)
3092 self
->SetItemMinSize(info
.sizer
, size
);
3093 else if ( info
.gotPos
)
3094 self
->SetItemMinSize(info
.pos
, size
);
3096 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3097 wxSizerItemList
& list
= self
->GetChildren();
3098 return wxPy_ConvertList(&list
);
3100 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3101 bool blocked
= wxPyBeginBlockThreads();
3102 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3103 wxPyEndBlockThreads(blocked
);
3105 return self
->Show(info
.window
, show
, recursive
);
3106 else if ( info
.sizer
)
3107 return self
->Show(info
.sizer
, show
, recursive
);
3108 else if ( info
.gotPos
)
3109 return self
->Show(info
.pos
, show
);
3113 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3114 bool blocked
= wxPyBeginBlockThreads();
3115 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3116 wxPyEndBlockThreads(blocked
);
3118 return self
->IsShown(info
.window
);
3119 else if ( info
.sizer
)
3120 return self
->IsShown(info
.sizer
);
3121 else if ( info
.gotPos
)
3122 return self
->IsShown(info
.pos
);
3128 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3129 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3130 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3135 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3137 if (source
== Py_None
) {
3138 **obj
= wxGBPosition(-1,-1);
3141 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3144 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3146 if (source
== Py_None
) {
3147 **obj
= wxGBSpan(-1,-1);
3150 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3154 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3158 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3159 bool blocked
= wxPyBeginBlockThreads();
3160 PyObject
* tup
= PyTuple_New(2);
3161 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3162 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3163 wxPyEndBlockThreads(blocked
);
3166 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3167 self
->SetRowspan(rowspan
);
3168 self
->SetColspan(colspan
);
3170 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3171 bool blocked
= wxPyBeginBlockThreads();
3172 PyObject
* tup
= PyTuple_New(2);
3173 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3174 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3175 wxPyEndBlockThreads(blocked
);
3178 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3179 wxPyUserData
* data
= NULL
;
3181 bool blocked
= wxPyBeginBlockThreads();
3182 data
= new wxPyUserData(userData
);
3183 wxPyEndBlockThreads(blocked
);
3185 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3187 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3188 wxPyUserData
* data
= NULL
;
3190 bool blocked
= wxPyBeginBlockThreads();
3191 data
= new wxPyUserData(userData
);
3192 wxPyEndBlockThreads(blocked
);
3194 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3196 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3197 wxPyUserData
* data
= NULL
;
3199 bool blocked
= wxPyBeginBlockThreads();
3200 data
= new wxPyUserData(userData
);
3201 wxPyEndBlockThreads(blocked
);
3203 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3205 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3207 self
->GetEndPos(row
, col
);
3208 return wxGBPosition(row
, col
);
3210 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3212 wxPyUserData
* data
= NULL
;
3213 bool blocked
= wxPyBeginBlockThreads();
3214 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3215 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3216 data
= new wxPyUserData(userData
);
3217 wxPyEndBlockThreads(blocked
);
3219 // Now call the real Add method if a valid item type was found
3221 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3222 else if ( info
.sizer
)
3223 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3224 else if (info
.gotSize
)
3225 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3226 pos
, span
, flag
, border
, data
);
3234 static int _wrap_EmptyString_set(PyObject
*) {
3235 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3240 static PyObject
*_wrap_EmptyString_get(void) {
3245 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3247 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3254 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxObject
*arg1
= (wxObject
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3260 (char *) "self", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3265 if (SWIG_arg_fail(1)) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= wxObject_GetClassName(arg1
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3286 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxObject
*arg1
= (wxObject
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3296 if (SWIG_arg_fail(1)) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 wxObject_Destroy(arg1
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 Py_INCREF(Py_None
); resultobj
= Py_None
;
3311 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3314 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3316 return Py_BuildValue((char *)"");
3318 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxSize
*arg1
= (wxSize
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3325 (char *) "self",(char *) "x", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3330 if (SWIG_arg_fail(1)) SWIG_fail
;
3332 arg2
= (int)(SWIG_As_int(obj1
));
3333 if (SWIG_arg_fail(2)) SWIG_fail
;
3335 if (arg1
) (arg1
)->x
= arg2
;
3337 Py_INCREF(Py_None
); resultobj
= Py_None
;
3344 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 wxSize
*arg1
= (wxSize
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3350 (char *) "self", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3355 if (SWIG_arg_fail(1)) SWIG_fail
;
3356 result
= (int) ((arg1
)->x
);
3359 resultobj
= SWIG_From_int((int)(result
));
3367 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxSize
*arg1
= (wxSize
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3372 PyObject
* obj1
= 0 ;
3374 (char *) "self",(char *) "y", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail
;
3381 arg2
= (int)(SWIG_As_int(obj1
));
3382 if (SWIG_arg_fail(2)) SWIG_fail
;
3384 if (arg1
) (arg1
)->y
= arg2
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxSize
*arg1
= (wxSize
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3399 (char *) "self", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3404 if (SWIG_arg_fail(1)) SWIG_fail
;
3405 result
= (int) ((arg1
)->y
);
3408 resultobj
= SWIG_From_int((int)(result
));
3416 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 int arg1
= (int) 0 ;
3419 int arg2
= (int) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "w",(char *) "h", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3430 arg1
= (int)(SWIG_As_int(obj0
));
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3436 arg2
= (int)(SWIG_As_int(obj1
));
3437 if (SWIG_arg_fail(2)) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3454 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxSize
*arg1
= (wxSize
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(1)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxSize
*arg1
= (wxSize
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "self",(char *) "sz", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3493 if (SWIG_arg_fail(1)) SWIG_fail
;
3496 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3514 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxSize
*arg1
= (wxSize
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3523 (char *) "self",(char *) "sz", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3528 if (SWIG_arg_fail(1)) SWIG_fail
;
3531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3549 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxSize
*arg1
= (wxSize
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "sz", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail
;
3566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3577 resultptr
= new wxSize((wxSize
&)(result
));
3578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3586 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxSize
*arg1
= (wxSize
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3595 (char *) "self",(char *) "sz", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3600 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3614 resultptr
= new wxSize((wxSize
&)(result
));
3615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3623 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxSize
*arg1
= (wxSize
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3631 (char *) "self",(char *) "sz", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3636 if (SWIG_arg_fail(1)) SWIG_fail
;
3639 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 (arg1
)->IncTo((wxSize
const &)*arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 Py_INCREF(Py_None
); resultobj
= Py_None
;
3655 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxSize
*arg1
= (wxSize
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3663 (char *) "self",(char *) "sz", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3668 if (SWIG_arg_fail(1)) SWIG_fail
;
3671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->DecTo((wxSize
const &)*arg2
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3687 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxSize
*arg1
= (wxSize
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3693 PyObject
* obj1
= 0 ;
3694 PyObject
* obj2
= 0 ;
3696 (char *) "self",(char *) "w",(char *) "h", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3703 arg2
= (int)(SWIG_As_int(obj1
));
3704 if (SWIG_arg_fail(2)) SWIG_fail
;
3707 arg3
= (int)(SWIG_As_int(obj2
));
3708 if (SWIG_arg_fail(3)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->Set(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxSize
*arg1
= (wxSize
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3729 PyObject
* obj1
= 0 ;
3731 (char *) "self",(char *) "w", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3736 if (SWIG_arg_fail(1)) SWIG_fail
;
3738 arg2
= (int)(SWIG_As_int(obj1
));
3739 if (SWIG_arg_fail(2)) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 (arg1
)->SetWidth(arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxSize
*arg1
= (wxSize
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3762 (char *) "self",(char *) "h", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3767 if (SWIG_arg_fail(1)) SWIG_fail
;
3769 arg2
= (int)(SWIG_As_int(obj1
));
3770 if (SWIG_arg_fail(2)) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 (arg1
)->SetHeight(arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 Py_INCREF(Py_None
); resultobj
= Py_None
;
3786 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxSize
*arg1
= (wxSize
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "self", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_From_int((int)(result
));
3814 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxSize
*arg1
= (wxSize
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3820 (char *) "self", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3825 if (SWIG_arg_fail(1)) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_From_int((int)(result
));
3842 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxSize
*arg1
= (wxSize
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3848 (char *) "self", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3853 if (SWIG_arg_fail(1)) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3870 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxSize
*arg1
= (wxSize
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "size", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3883 if (SWIG_arg_fail(1)) SWIG_fail
;
3886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 Py_INCREF(Py_None
); resultobj
= Py_None
;
3902 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxSize
*arg1
= (wxSize
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3908 (char *) "self", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3913 if (SWIG_arg_fail(1)) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (PyObject
*)wxSize_Get(arg1
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3928 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3931 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3933 return Py_BuildValue((char *)"");
3935 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3939 PyObject
* obj0
= 0 ;
3940 PyObject
* obj1
= 0 ;
3942 (char *) "self",(char *) "x", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3947 if (SWIG_arg_fail(1)) SWIG_fail
;
3949 arg2
= (double)(SWIG_As_double(obj1
));
3950 if (SWIG_arg_fail(2)) SWIG_fail
;
3952 if (arg1
) (arg1
)->x
= arg2
;
3954 Py_INCREF(Py_None
); resultobj
= Py_None
;
3961 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3967 (char *) "self", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3972 if (SWIG_arg_fail(1)) SWIG_fail
;
3973 result
= (double) ((arg1
)->x
);
3976 resultobj
= SWIG_From_double((double)(result
));
3984 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3989 PyObject
* obj1
= 0 ;
3991 (char *) "self",(char *) "y", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3996 if (SWIG_arg_fail(1)) SWIG_fail
;
3998 arg2
= (double)(SWIG_As_double(obj1
));
3999 if (SWIG_arg_fail(2)) SWIG_fail
;
4001 if (arg1
) (arg1
)->y
= arg2
;
4003 Py_INCREF(Py_None
); resultobj
= Py_None
;
4010 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4016 (char *) "self", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4021 if (SWIG_arg_fail(1)) SWIG_fail
;
4022 result
= (double) ((arg1
)->y
);
4025 resultobj
= SWIG_From_double((double)(result
));
4033 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 double arg1
= (double) 0.0 ;
4036 double arg2
= (double) 0.0 ;
4037 wxRealPoint
*result
;
4038 PyObject
* obj0
= 0 ;
4039 PyObject
* obj1
= 0 ;
4041 (char *) "x",(char *) "y", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4047 arg1
= (double)(SWIG_As_double(obj0
));
4048 if (SWIG_arg_fail(1)) SWIG_fail
;
4053 arg2
= (double)(SWIG_As_double(obj1
));
4054 if (SWIG_arg_fail(2)) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4071 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4074 PyObject
* obj0
= 0 ;
4076 (char *) "self", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4081 if (SWIG_arg_fail(1)) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 Py_INCREF(Py_None
); resultobj
= Py_None
;
4096 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4099 wxRealPoint
*arg2
= 0 ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4105 (char *) "self",(char *) "pt", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4110 if (SWIG_arg_fail(1)) SWIG_fail
;
4113 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4131 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4134 wxRealPoint
*arg2
= 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 (char *) "self",(char *) "pt", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4145 if (SWIG_arg_fail(1)) SWIG_fail
;
4148 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4166 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4169 wxRealPoint
*arg2
= 0 ;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4175 (char *) "self",(char *) "pt", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4180 if (SWIG_arg_fail(1)) SWIG_fail
;
4183 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4193 wxRealPoint
* resultptr
;
4194 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4203 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4206 wxRealPoint
*arg2
= 0 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4212 (char *) "self",(char *) "pt", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail
;
4220 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 wxRealPoint
* resultptr
;
4231 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4240 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 PyObject
* obj2
= 0 ;
4249 (char *) "self",(char *) "x",(char *) "y", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4254 if (SWIG_arg_fail(1)) SWIG_fail
;
4256 arg2
= (double)(SWIG_As_double(obj1
));
4257 if (SWIG_arg_fail(2)) SWIG_fail
;
4260 arg3
= (double)(SWIG_As_double(obj2
));
4261 if (SWIG_arg_fail(3)) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 wxRealPoint_Set(arg1
,arg2
,arg3
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 Py_INCREF(Py_None
); resultobj
= Py_None
;
4277 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4283 (char *) "self", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4303 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4306 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4308 return Py_BuildValue((char *)"");
4310 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxPoint
*arg1
= (wxPoint
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "x", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail
;
4324 arg2
= (int)(SWIG_As_int(obj1
));
4325 if (SWIG_arg_fail(2)) SWIG_fail
;
4327 if (arg1
) (arg1
)->x
= arg2
;
4329 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxPoint
*arg1
= (wxPoint
*) 0 ;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail
;
4348 result
= (int) ((arg1
)->x
);
4351 resultobj
= SWIG_From_int((int)(result
));
4359 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxPoint
*arg1
= (wxPoint
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4366 (char *) "self",(char *) "y", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4371 if (SWIG_arg_fail(1)) SWIG_fail
;
4373 arg2
= (int)(SWIG_As_int(obj1
));
4374 if (SWIG_arg_fail(2)) SWIG_fail
;
4376 if (arg1
) (arg1
)->y
= arg2
;
4378 Py_INCREF(Py_None
); resultobj
= Py_None
;
4385 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxPoint
*arg1
= (wxPoint
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4391 (char *) "self", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4396 if (SWIG_arg_fail(1)) SWIG_fail
;
4397 result
= (int) ((arg1
)->y
);
4400 resultobj
= SWIG_From_int((int)(result
));
4408 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 int arg1
= (int) 0 ;
4411 int arg2
= (int) 0 ;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4416 (char *) "x",(char *) "y", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4422 arg1
= (int)(SWIG_As_int(obj0
));
4423 if (SWIG_arg_fail(1)) SWIG_fail
;
4428 arg2
= (int)(SWIG_As_int(obj1
));
4429 if (SWIG_arg_fail(2)) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4446 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxPoint
*arg1
= (wxPoint
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4451 (char *) "self", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4456 if (SWIG_arg_fail(1)) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 Py_INCREF(Py_None
); resultobj
= Py_None
;
4471 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxPoint
*arg1
= (wxPoint
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4480 (char *) "self",(char *) "pt", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4485 if (SWIG_arg_fail(1)) SWIG_fail
;
4488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4506 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxPoint
*arg1
= (wxPoint
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4513 PyObject
* obj1
= 0 ;
4515 (char *) "self",(char *) "pt", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail
;
4523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4541 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4543 wxPoint
*arg1
= (wxPoint
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4550 (char *) "self",(char *) "pt", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4555 if (SWIG_arg_fail(1)) SWIG_fail
;
4558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4568 wxPoint
* resultptr
;
4569 resultptr
= new wxPoint((wxPoint
&)(result
));
4570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4578 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxPoint
*arg1
= (wxPoint
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "pt", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4592 if (SWIG_arg_fail(1)) SWIG_fail
;
4595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 wxPoint
* resultptr
;
4606 resultptr
= new wxPoint((wxPoint
&)(result
));
4607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4615 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxPoint
*arg1
= (wxPoint
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4624 (char *) "self",(char *) "pt", NULL
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4629 if (SWIG_arg_fail(1)) SWIG_fail
;
4632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4638 result
= (wxPoint
*) &_result_ref
;
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4651 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxPoint
*arg1
= (wxPoint
*) 0 ;
4657 PyObject
* obj0
= 0 ;
4658 PyObject
* obj1
= 0 ;
4660 (char *) "self",(char *) "pt", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4665 if (SWIG_arg_fail(1)) SWIG_fail
;
4668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4674 result
= (wxPoint
*) &_result_ref
;
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4687 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxPoint
*arg1
= (wxPoint
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4696 (char *) "self",(char *) "x",(char *) "y", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4701 if (SWIG_arg_fail(1)) SWIG_fail
;
4703 arg2
= (long)(SWIG_As_long(obj1
));
4704 if (SWIG_arg_fail(2)) SWIG_fail
;
4707 arg3
= (long)(SWIG_As_long(obj2
));
4708 if (SWIG_arg_fail(3)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 wxPoint_Set(arg1
,arg2
,arg3
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 Py_INCREF(Py_None
); resultobj
= Py_None
;
4724 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxPoint
*arg1
= (wxPoint
*) 0 ;
4728 PyObject
* obj0
= 0 ;
4730 (char *) "self", NULL
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4735 if (SWIG_arg_fail(1)) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (PyObject
*)wxPoint_Get(arg1
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4750 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4753 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4755 return Py_BuildValue((char *)"");
4757 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 int arg1
= (int) 0 ;
4760 int arg2
= (int) 0 ;
4761 int arg3
= (int) 0 ;
4762 int arg4
= (int) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 PyObject
* obj3
= 0 ;
4769 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4775 arg1
= (int)(SWIG_As_int(obj0
));
4776 if (SWIG_arg_fail(1)) SWIG_fail
;
4781 arg2
= (int)(SWIG_As_int(obj1
));
4782 if (SWIG_arg_fail(2)) SWIG_fail
;
4787 arg3
= (int)(SWIG_As_int(obj2
));
4788 if (SWIG_arg_fail(3)) SWIG_fail
;
4793 arg4
= (int)(SWIG_As_int(obj3
));
4794 if (SWIG_arg_fail(4)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4811 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4821 (char *) "topLeft",(char *) "bottomRight", NULL
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4827 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4847 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "pos",(char *) "size", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4863 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4883 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4888 PyObject
* obj0
= 0 ;
4890 (char *) "size", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4896 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4912 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxRect
*arg1
= (wxRect
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4917 (char *) "self", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4922 if (SWIG_arg_fail(1)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 Py_INCREF(Py_None
); resultobj
= Py_None
;
4937 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxRect
*arg1
= (wxRect
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4943 (char *) "self", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4948 if (SWIG_arg_fail(1)) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (int)((wxRect
const *)arg1
)->GetX();
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_From_int((int)(result
));
4965 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxRect
*arg1
= (wxRect
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4972 (char *) "self",(char *) "x", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail
;
4979 arg2
= (int)(SWIG_As_int(obj1
));
4980 if (SWIG_arg_fail(2)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 Py_INCREF(Py_None
); resultobj
= Py_None
;
4996 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxRect
*arg1
= (wxRect
*) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5007 if (SWIG_arg_fail(1)) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)(arg1
)->GetY();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_From_int((int)(result
));
5024 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxRect
*arg1
= (wxRect
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "y", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5036 if (SWIG_arg_fail(1)) SWIG_fail
;
5038 arg2
= (int)(SWIG_As_int(obj1
));
5039 if (SWIG_arg_fail(2)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxRect
*arg1
= (wxRect
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5061 (char *) "self", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5066 if (SWIG_arg_fail(1)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= SWIG_From_int((int)(result
));
5083 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxRect
*arg1
= (wxRect
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5090 (char *) "self",(char *) "w", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5097 arg2
= (int)(SWIG_As_int(obj1
));
5098 if (SWIG_arg_fail(2)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->SetWidth(arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5114 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxRect
*arg1
= (wxRect
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "self", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_From_int((int)(result
));
5142 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxRect
*arg1
= (wxRect
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5149 (char *) "self",(char *) "h", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5154 if (SWIG_arg_fail(1)) SWIG_fail
;
5156 arg2
= (int)(SWIG_As_int(obj1
));
5157 if (SWIG_arg_fail(2)) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 (arg1
)->SetHeight(arg2
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 Py_INCREF(Py_None
); resultobj
= Py_None
;
5173 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxRect
*arg1
= (wxRect
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5179 (char *) "self", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5184 if (SWIG_arg_fail(1)) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= ((wxRect
const *)arg1
)->GetPosition();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5193 wxPoint
* resultptr
;
5194 resultptr
= new wxPoint((wxPoint
&)(result
));
5195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5203 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxRect
*arg1
= (wxRect
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5211 (char *) "self",(char *) "p", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5216 if (SWIG_arg_fail(1)) SWIG_fail
;
5219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxRect
*arg1
= (wxRect
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5246 if (SWIG_arg_fail(1)) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= ((wxRect
const *)arg1
)->GetSize();
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5256 resultptr
= new wxSize((wxSize
&)(result
));
5257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5265 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxRect
*arg1
= (wxRect
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 (char *) "self",(char *) "s", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5278 if (SWIG_arg_fail(1)) SWIG_fail
;
5281 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 (arg1
)->SetSize((wxSize
const &)*arg2
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxRect
*arg1
= (wxRect
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "self", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 wxPoint
* resultptr
;
5318 resultptr
= new wxPoint((wxPoint
&)(result
));
5319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5327 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxRect
*arg1
= (wxRect
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5335 (char *) "self",(char *) "p", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail
;
5343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 Py_INCREF(Py_None
); resultobj
= Py_None
;
5359 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxRect
*arg1
= (wxRect
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5365 (char *) "self", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5370 if (SWIG_arg_fail(1)) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5379 wxPoint
* resultptr
;
5380 resultptr
= new wxPoint((wxPoint
&)(result
));
5381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5389 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxRect
*arg1
= (wxRect
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5397 (char *) "self",(char *) "p", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5402 if (SWIG_arg_fail(1)) SWIG_fail
;
5405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxRect
*arg1
= (wxRect
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5427 (char *) "self", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5432 if (SWIG_arg_fail(1)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= SWIG_From_int((int)(result
));
5449 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxRect
*arg1
= (wxRect
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5460 if (SWIG_arg_fail(1)) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)((wxRect
const *)arg1
)->GetTop();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_From_int((int)(result
));
5477 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxRect
*arg1
= (wxRect
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(1)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_From_int((int)(result
));
5505 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxRect
*arg1
= (wxRect
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5516 if (SWIG_arg_fail(1)) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 result
= (int)((wxRect
const *)arg1
)->GetRight();
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_From_int((int)(result
));
5533 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxRect
*arg1
= (wxRect
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5540 (char *) "self",(char *) "left", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5547 arg2
= (int)(SWIG_As_int(obj1
));
5548 if (SWIG_arg_fail(2)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 (arg1
)->SetLeft(arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxRect
*arg1
= (wxRect
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5571 (char *) "self",(char *) "right", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5576 if (SWIG_arg_fail(1)) SWIG_fail
;
5578 arg2
= (int)(SWIG_As_int(obj1
));
5579 if (SWIG_arg_fail(2)) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 (arg1
)->SetRight(arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxRect
*arg1
= (wxRect
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5602 (char *) "self",(char *) "top", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail
;
5609 arg2
= (int)(SWIG_As_int(obj1
));
5610 if (SWIG_arg_fail(2)) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetTop(arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxRect
*arg1
= (wxRect
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5633 (char *) "self",(char *) "bottom", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5638 if (SWIG_arg_fail(1)) SWIG_fail
;
5640 arg2
= (int)(SWIG_As_int(obj1
));
5641 if (SWIG_arg_fail(2)) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 (arg1
)->SetBottom(arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxRect
*arg1
= (wxRect
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5667 (char *) "self",(char *) "dx",(char *) "dy", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail
;
5674 arg2
= (int)(SWIG_As_int(obj1
));
5675 if (SWIG_arg_fail(2)) SWIG_fail
;
5678 arg3
= (int)(SWIG_As_int(obj2
));
5679 if (SWIG_arg_fail(3)) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5685 result
= (wxRect
*) &_result_ref
;
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5698 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxRect
*arg1
= (wxRect
*) 0 ;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5706 PyObject
* obj2
= 0 ;
5708 (char *) "self",(char *) "dx",(char *) "dy", NULL
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5713 if (SWIG_arg_fail(1)) SWIG_fail
;
5715 arg2
= (int)(SWIG_As_int(obj1
));
5716 if (SWIG_arg_fail(2)) SWIG_fail
;
5719 arg3
= (int)(SWIG_As_int(obj2
));
5720 if (SWIG_arg_fail(3)) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5726 result
= (wxRect
*) &_result_ref
;
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5739 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxRect
*arg1
= (wxRect
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5748 (char *) "self",(char *) "dx",(char *) "dy", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 arg2
= (int)(SWIG_As_int(obj1
));
5756 if (SWIG_arg_fail(2)) SWIG_fail
;
5759 arg3
= (int)(SWIG_As_int(obj2
));
5760 if (SWIG_arg_fail(3)) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 (arg1
)->Offset(arg2
,arg3
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 Py_INCREF(Py_None
); resultobj
= Py_None
;
5776 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxRect
*arg1
= (wxRect
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5784 (char *) "self",(char *) "pt", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5789 if (SWIG_arg_fail(1)) SWIG_fail
;
5792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 (arg1
)->Offset((wxPoint
const &)*arg2
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 Py_INCREF(Py_None
); resultobj
= Py_None
;
5808 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxRect
*arg1
= (wxRect
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5817 (char *) "self",(char *) "rect", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5822 if (SWIG_arg_fail(1)) SWIG_fail
;
5825 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5836 resultptr
= new wxRect((wxRect
&)(result
));
5837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5845 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxRect
*arg1
= (wxRect
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5854 (char *) "self",(char *) "rect", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5859 if (SWIG_arg_fail(1)) SWIG_fail
;
5862 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5873 resultptr
= new wxRect((wxRect
&)(result
));
5874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5882 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxRect
*arg1
= (wxRect
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5891 (char *) "self",(char *) "rect", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5896 if (SWIG_arg_fail(1)) SWIG_fail
;
5899 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5910 resultptr
= new wxRect((wxRect
&)(result
));
5911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5919 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxRect
*arg1
= (wxRect
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5928 (char *) "self",(char *) "rect", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5933 if (SWIG_arg_fail(1)) SWIG_fail
;
5936 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5942 result
= (wxRect
*) &_result_ref
;
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5955 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxRect
*arg1
= (wxRect
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5964 (char *) "self",(char *) "rect", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail
;
5972 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5990 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxRect
*arg1
= (wxRect
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "rect", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail
;
6007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6025 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxRect
*arg1
= (wxRect
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6032 PyObject
* obj1
= 0 ;
6033 PyObject
* obj2
= 0 ;
6035 (char *) "self",(char *) "x",(char *) "y", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6040 if (SWIG_arg_fail(1)) SWIG_fail
;
6042 arg2
= (int)(SWIG_As_int(obj1
));
6043 if (SWIG_arg_fail(2)) SWIG_fail
;
6046 arg3
= (int)(SWIG_As_int(obj2
));
6047 if (SWIG_arg_fail(3)) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxRect
*arg1
= (wxRect
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6074 (char *) "self",(char *) "pt", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail
;
6082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxRect
*arg1
= (wxRect
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "self",(char *) "rect", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6114 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6135 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxRect
*arg1
= (wxRect
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6142 (char *) "self",(char *) "x", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6147 if (SWIG_arg_fail(1)) SWIG_fail
;
6149 arg2
= (int)(SWIG_As_int(obj1
));
6150 if (SWIG_arg_fail(2)) SWIG_fail
;
6152 if (arg1
) (arg1
)->x
= arg2
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxRect
*arg1
= (wxRect
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6172 if (SWIG_arg_fail(1)) SWIG_fail
;
6173 result
= (int) ((arg1
)->x
);
6176 resultobj
= SWIG_From_int((int)(result
));
6184 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxRect
*arg1
= (wxRect
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6191 (char *) "self",(char *) "y", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6196 if (SWIG_arg_fail(1)) SWIG_fail
;
6198 arg2
= (int)(SWIG_As_int(obj1
));
6199 if (SWIG_arg_fail(2)) SWIG_fail
;
6201 if (arg1
) (arg1
)->y
= arg2
;
6203 Py_INCREF(Py_None
); resultobj
= Py_None
;
6210 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxRect
*arg1
= (wxRect
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6221 if (SWIG_arg_fail(1)) SWIG_fail
;
6222 result
= (int) ((arg1
)->y
);
6225 resultobj
= SWIG_From_int((int)(result
));
6233 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxRect
*arg1
= (wxRect
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "width", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6245 if (SWIG_arg_fail(1)) SWIG_fail
;
6247 arg2
= (int)(SWIG_As_int(obj1
));
6248 if (SWIG_arg_fail(2)) SWIG_fail
;
6250 if (arg1
) (arg1
)->width
= arg2
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxRect
*arg1
= (wxRect
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6270 if (SWIG_arg_fail(1)) SWIG_fail
;
6271 result
= (int) ((arg1
)->width
);
6274 resultobj
= SWIG_From_int((int)(result
));
6282 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxRect
*arg1
= (wxRect
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6289 (char *) "self",(char *) "height", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6294 if (SWIG_arg_fail(1)) SWIG_fail
;
6296 arg2
= (int)(SWIG_As_int(obj1
));
6297 if (SWIG_arg_fail(2)) SWIG_fail
;
6299 if (arg1
) (arg1
)->height
= arg2
;
6301 Py_INCREF(Py_None
); resultobj
= Py_None
;
6308 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxRect
*arg1
= (wxRect
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail
;
6320 result
= (int) ((arg1
)->height
);
6323 resultobj
= SWIG_From_int((int)(result
));
6331 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxRect
*arg1
= (wxRect
*) 0 ;
6334 int arg2
= (int) 0 ;
6335 int arg3
= (int) 0 ;
6336 int arg4
= (int) 0 ;
6337 int arg5
= (int) 0 ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6342 PyObject
* obj4
= 0 ;
6344 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6349 if (SWIG_arg_fail(1)) SWIG_fail
;
6352 arg2
= (int)(SWIG_As_int(obj1
));
6353 if (SWIG_arg_fail(2)) SWIG_fail
;
6358 arg3
= (int)(SWIG_As_int(obj2
));
6359 if (SWIG_arg_fail(3)) SWIG_fail
;
6364 arg4
= (int)(SWIG_As_int(obj3
));
6365 if (SWIG_arg_fail(4)) SWIG_fail
;
6370 arg5
= (int)(SWIG_As_int(obj4
));
6371 if (SWIG_arg_fail(5)) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxRect
*arg1
= (wxRect
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6399 if (SWIG_arg_fail(1)) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (PyObject
*)wxRect_Get(arg1
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6414 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6417 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6419 return Py_BuildValue((char *)"");
6421 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxRect
*arg1
= (wxRect
*) 0 ;
6424 wxRect
*arg2
= (wxRect
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6429 (char *) "r1",(char *) "r2", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6434 if (SWIG_arg_fail(1)) SWIG_fail
;
6435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6436 if (SWIG_arg_fail(2)) SWIG_fail
;
6438 if (!wxPyCheckForApp()) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6452 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 double arg1
= (double) 0.0 ;
6455 double arg2
= (double) 0.0 ;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6460 (char *) "x",(char *) "y", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6466 arg1
= (double)(SWIG_As_double(obj0
));
6467 if (SWIG_arg_fail(1)) SWIG_fail
;
6472 arg2
= (double)(SWIG_As_double(obj1
));
6473 if (SWIG_arg_fail(2)) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6490 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxPoint2D
*arg1
= 0 ;
6495 PyObject
* obj0
= 0 ;
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6503 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6519 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6524 PyObject
* obj0
= 0 ;
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6532 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6548 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6551 int *arg2
= (int *) 0 ;
6552 int *arg3
= (int *) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6563 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6566 if (SWIG_arg_fail(1)) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 Py_INCREF(Py_None
); resultobj
= Py_None
;
6575 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6576 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6577 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6578 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6585 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6588 int *arg2
= (int *) 0 ;
6589 int *arg3
= (int *) 0 ;
6594 PyObject
* obj0
= 0 ;
6596 (char *) "self", NULL
6599 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6600 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6612 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6613 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6614 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6615 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6622 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6628 (char *) "self", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6633 if (SWIG_arg_fail(1)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= SWIG_From_double((double)(result
));
6650 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6656 (char *) "self", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6661 if (SWIG_arg_fail(1)) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_From_double((double)(result
));
6678 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 (char *) "self",(char *) "length", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6690 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 arg2
= (double)(SWIG_As_double(obj1
));
6693 if (SWIG_arg_fail(2)) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 (arg1
)->SetVectorLength(arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 Py_INCREF(Py_None
); resultobj
= Py_None
;
6709 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6716 (char *) "self",(char *) "degrees", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6721 if (SWIG_arg_fail(1)) SWIG_fail
;
6723 arg2
= (double)(SWIG_As_double(obj1
));
6724 if (SWIG_arg_fail(2)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 (arg1
)->SetVectorAngle(arg2
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6743 wxPoint2D
*arg2
= 0 ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6749 (char *) "self",(char *) "pt", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6754 if (SWIG_arg_fail(1)) SWIG_fail
;
6757 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_From_double((double)(result
));
6775 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6778 wxPoint2D
*arg2
= 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "pt", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6792 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_From_double((double)(result
));
6810 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6813 wxPoint2D
*arg2
= 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "vec", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6824 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_From_double((double)(result
));
6845 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6848 wxPoint2D
*arg2
= 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "vec", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_From_double((double)(result
));
6880 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "self", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (arg1
)->operator -();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 wxPoint2D
* resultptr
;
6901 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6910 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6913 wxPoint2D
*arg2
= 0 ;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6919 (char *) "self",(char *) "pt", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6924 if (SWIG_arg_fail(1)) SWIG_fail
;
6927 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6933 result
= (wxPoint2D
*) &_result_ref
;
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6946 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6949 wxPoint2D
*arg2
= 0 ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6955 (char *) "self",(char *) "pt", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6960 if (SWIG_arg_fail(1)) SWIG_fail
;
6963 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6969 result
= (wxPoint2D
*) &_result_ref
;
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6982 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6985 wxPoint2D
*arg2
= 0 ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6991 (char *) "self",(char *) "pt", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6996 if (SWIG_arg_fail(1)) SWIG_fail
;
6999 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7005 result
= (wxPoint2D
*) &_result_ref
;
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7018 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7021 wxPoint2D
*arg2
= 0 ;
7024 PyObject
* obj0
= 0 ;
7025 PyObject
* obj1
= 0 ;
7027 (char *) "self",(char *) "pt", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7032 if (SWIG_arg_fail(1)) SWIG_fail
;
7035 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7041 result
= (wxPoint2D
*) &_result_ref
;
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7054 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7057 wxPoint2D
*arg2
= 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7063 (char *) "self",(char *) "pt", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7068 if (SWIG_arg_fail(1)) SWIG_fail
;
7071 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7089 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7092 wxPoint2D
*arg2
= 0 ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7098 (char *) "self",(char *) "pt", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7103 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7124 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "m_x", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail
;
7138 arg2
= (double)(SWIG_As_double(obj1
));
7139 if (SWIG_arg_fail(2)) SWIG_fail
;
7141 if (arg1
) (arg1
)->m_x
= arg2
;
7143 Py_INCREF(Py_None
); resultobj
= Py_None
;
7150 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7156 (char *) "self", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 result
= (double) ((arg1
)->m_x
);
7165 resultobj
= SWIG_From_double((double)(result
));
7173 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "m_y", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7185 if (SWIG_arg_fail(1)) SWIG_fail
;
7187 arg2
= (double)(SWIG_As_double(obj1
));
7188 if (SWIG_arg_fail(2)) SWIG_fail
;
7190 if (arg1
) (arg1
)->m_y
= arg2
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "self", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7211 result
= (double) ((arg1
)->m_y
);
7214 resultobj
= SWIG_From_double((double)(result
));
7222 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7225 double arg2
= (double) 0 ;
7226 double arg3
= (double) 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 PyObject
* obj2
= 0 ;
7231 (char *) "self",(char *) "x",(char *) "y", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7239 arg2
= (double)(SWIG_As_double(obj1
));
7240 if (SWIG_arg_fail(2)) SWIG_fail
;
7245 arg3
= (double)(SWIG_As_double(obj2
));
7246 if (SWIG_arg_fail(3)) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 wxPoint2D_Set(arg1
,arg2
,arg3
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7269 (char *) "self", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7274 if (SWIG_arg_fail(1)) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7289 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7292 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7294 return Py_BuildValue((char *)"");
7296 static int _wrap_DefaultPosition_set(PyObject
*) {
7297 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7302 static PyObject
*_wrap_DefaultPosition_get(void) {
7305 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7310 static int _wrap_DefaultSize_set(PyObject
*) {
7311 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7316 static PyObject
*_wrap_DefaultSize_get(void) {
7319 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7324 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 PyObject
*arg1
= (PyObject
*) 0 ;
7327 wxPyInputStream
*result
;
7328 PyObject
* obj0
= 0 ;
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7349 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7359 if (SWIG_arg_fail(1)) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7430 (char *) "self", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (bool)(arg1
)->eof();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7452 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7455 int arg2
= (int) -1 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7460 (char *) "self",(char *) "size", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7465 if (SWIG_arg_fail(1)) SWIG_fail
;
7468 arg2
= (int)(SWIG_As_int(obj1
));
7469 if (SWIG_arg_fail(2)) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (PyObject
*)(arg1
)->read(arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7486 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7489 int arg2
= (int) -1 ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7494 (char *) "self",(char *) "size", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7499 if (SWIG_arg_fail(1)) SWIG_fail
;
7502 arg2
= (int)(SWIG_As_int(obj1
));
7503 if (SWIG_arg_fail(2)) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (PyObject
*)(arg1
)->readline(arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7520 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7523 int arg2
= (int) -1 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "sizehint", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7536 arg2
= (int)(SWIG_As_int(obj1
));
7537 if (SWIG_arg_fail(2)) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7554 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7558 int arg3
= (int) 0 ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7563 (char *) "self",(char *) "offset",(char *) "whence", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7568 if (SWIG_arg_fail(1)) SWIG_fail
;
7570 arg2
= (int)(SWIG_As_int(obj1
));
7571 if (SWIG_arg_fail(2)) SWIG_fail
;
7575 arg3
= (int)(SWIG_As_int(obj2
));
7576 if (SWIG_arg_fail(3)) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 (arg1
)->seek(arg2
,arg3
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 Py_INCREF(Py_None
); resultobj
= Py_None
;
7593 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (int)(arg1
)->tell();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_From_int((int)(result
));
7621 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7632 if (SWIG_arg_fail(1)) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (char)(arg1
)->Peek();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_From_char((char)(result
));
7649 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (char)(arg1
)->GetC();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_From_char((char)(result
));
7677 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (size_t)(arg1
)->LastRead();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7705 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7711 (char *) "self", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7716 if (SWIG_arg_fail(1)) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (bool)(arg1
)->CanRead();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7733 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 result
= (bool)(arg1
)->Eof();
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7761 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7769 (char *) "self",(char *) "c", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7774 if (SWIG_arg_fail(1)) SWIG_fail
;
7776 arg2
= (char)(SWIG_As_char(obj1
));
7777 if (SWIG_arg_fail(2)) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (bool)(arg1
)->Ungetch(arg2
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7795 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7799 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7803 PyObject
* obj2
= 0 ;
7805 (char *) "self",(char *) "pos",(char *) "mode", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7810 if (SWIG_arg_fail(1)) SWIG_fail
;
7812 arg2
= (long)(SWIG_As_long(obj1
));
7813 if (SWIG_arg_fail(2)) SWIG_fail
;
7817 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7818 if (SWIG_arg_fail(3)) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= SWIG_From_long((long)(result
));
7837 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7843 (char *) "self", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (long)(arg1
)->TellI();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_From_long((long)(result
));
7865 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7868 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7870 return Py_BuildValue((char *)"");
7872 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7875 PyObject
*arg2
= (PyObject
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7877 PyObject
* obj1
= 0 ;
7879 (char *) "self",(char *) "obj", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7884 if (SWIG_arg_fail(1)) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 wxOutputStream_write(arg1
,arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7903 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7905 return Py_BuildValue((char *)"");
7907 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7910 wxString
*arg2
= 0 ;
7911 wxString
*arg3
= 0 ;
7912 wxString
*arg4
= 0 ;
7915 wxPyInputStream
*temp1
;
7917 bool temp2
= false ;
7918 bool temp3
= false ;
7919 bool temp4
= false ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7922 PyObject
* obj2
= 0 ;
7923 PyObject
* obj3
= 0 ;
7924 PyObject
* obj4
= 0 ;
7926 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7931 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7932 arg1
= temp1
->m_wxis
;
7935 PyErr_Clear(); // clear the failure of the wxPyConvert above
7936 arg1
= wxPyCBInputStream_create(obj0
, false);
7938 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7945 arg2
= wxString_in_helper(obj1
);
7946 if (arg2
== NULL
) SWIG_fail
;
7950 arg3
= wxString_in_helper(obj2
);
7951 if (arg3
== NULL
) SWIG_fail
;
7955 arg4
= wxString_in_helper(obj3
);
7956 if (arg4
== NULL
) SWIG_fail
;
7961 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7962 if (SWIG_arg_fail(5)) SWIG_fail
;
7964 SWIG_null_ref("wxDateTime");
7966 if (SWIG_arg_fail(5)) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= wxPyMake_wxObject(result
, 1);
8017 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "self", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 Py_INCREF(Py_None
); resultobj
= Py_None
;
8042 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8045 wxInputStream
*result
;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (wxInputStream
*)(arg1
)->GetStream();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8062 wxPyInputStream
* _ptr
= NULL
;
8065 _ptr
= new wxPyInputStream(result
);
8067 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8075 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8081 (char *) "self", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8091 result
= (wxString
*) &_result_ref
;
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8101 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8110 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 wxString
const &_result_ref
= (arg1
)->GetLocation();
8126 result
= (wxString
*) &_result_ref
;
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8145 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8156 if (SWIG_arg_fail(1)) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8161 result
= (wxString
*) &_result_ref
;
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8180 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8191 if (SWIG_arg_fail(1)) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (arg1
)->GetModificationTime();
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8200 wxDateTime
* resultptr
;
8201 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8210 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8213 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8215 return Py_BuildValue((char *)"");
8217 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8220 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8222 return Py_BuildValue((char *)"");
8224 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxPyFileSystemHandler
*result
;
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8246 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8249 PyObject
*arg2
= (PyObject
*) 0 ;
8250 PyObject
*arg3
= (PyObject
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8255 (char *) "self",(char *) "self",(char *) "_class", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8277 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8280 wxString
*arg2
= 0 ;
8282 bool temp2
= false ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "location", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8293 arg2
= wxString_in_helper(obj1
);
8294 if (arg2
== NULL
) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8321 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8324 wxFileSystem
*arg2
= 0 ;
8325 wxString
*arg3
= 0 ;
8327 bool temp3
= false ;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8330 PyObject
* obj2
= 0 ;
8332 (char *) "self",(char *) "fs",(char *) "location", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8337 if (SWIG_arg_fail(1)) SWIG_fail
;
8339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8340 if (SWIG_arg_fail(2)) SWIG_fail
;
8342 SWIG_null_ref("wxFileSystem");
8344 if (SWIG_arg_fail(2)) SWIG_fail
;
8347 arg3
= wxString_in_helper(obj2
);
8348 if (arg3
== NULL
) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= wxPyMake_wxObject(result
, 1);
8375 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8378 wxString
*arg2
= 0 ;
8379 int arg3
= (int) 0 ;
8381 bool temp2
= false ;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8384 PyObject
* obj2
= 0 ;
8386 (char *) "self",(char *) "spec",(char *) "flags", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8391 if (SWIG_arg_fail(1)) SWIG_fail
;
8393 arg2
= wxString_in_helper(obj1
);
8394 if (arg2
== NULL
) SWIG_fail
;
8399 arg3
= (int)(SWIG_As_int(obj2
));
8400 if (SWIG_arg_fail(3)) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8431 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "self", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8442 if (SWIG_arg_fail(1)) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (arg1
)->FindNext();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8463 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8466 wxString
*arg2
= 0 ;
8468 bool temp2
= false ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "self",(char *) "location", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8477 if (SWIG_arg_fail(1)) SWIG_fail
;
8479 arg2
= wxString_in_helper(obj1
);
8480 if (arg2
== NULL
) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8511 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8514 wxString
*arg2
= 0 ;
8516 bool temp2
= false ;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8520 (char *) "self",(char *) "location", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8525 if (SWIG_arg_fail(1)) SWIG_fail
;
8527 arg2
= wxString_in_helper(obj1
);
8528 if (arg2
== NULL
) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8559 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8562 wxString
*arg2
= 0 ;
8564 bool temp2
= false ;
8565 PyObject
* obj0
= 0 ;
8566 PyObject
* obj1
= 0 ;
8568 (char *) "self",(char *) "location", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8573 if (SWIG_arg_fail(1)) SWIG_fail
;
8575 arg2
= wxString_in_helper(obj1
);
8576 if (arg2
== NULL
) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8607 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8610 wxString
*arg2
= 0 ;
8612 bool temp2
= false ;
8613 PyObject
* obj0
= 0 ;
8614 PyObject
* obj1
= 0 ;
8616 (char *) "self",(char *) "location", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8621 if (SWIG_arg_fail(1)) SWIG_fail
;
8623 arg2
= wxString_in_helper(obj1
);
8624 if (arg2
== NULL
) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8655 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8658 wxString
*arg2
= 0 ;
8660 bool temp2
= false ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8664 (char *) "self",(char *) "location", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8669 if (SWIG_arg_fail(1)) SWIG_fail
;
8671 arg2
= wxString_in_helper(obj1
);
8672 if (arg2
== NULL
) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8703 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8706 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8708 return Py_BuildValue((char *)"");
8710 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxFileSystem
*result
;
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxFileSystem
*)new wxFileSystem();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= wxPyMake_wxObject(result
, 1);
8734 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8737 PyObject
* obj0
= 0 ;
8739 (char *) "self", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8744 if (SWIG_arg_fail(1)) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 Py_INCREF(Py_None
); resultobj
= Py_None
;
8759 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8762 wxString
*arg2
= 0 ;
8763 bool arg3
= (bool) false ;
8764 bool temp2
= false ;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8767 PyObject
* obj2
= 0 ;
8769 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8774 if (SWIG_arg_fail(1)) SWIG_fail
;
8776 arg2
= wxString_in_helper(obj1
);
8777 if (arg2
== NULL
) SWIG_fail
;
8782 arg3
= (bool)(SWIG_As_bool(obj2
));
8783 if (SWIG_arg_fail(3)) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8812 PyObject
* obj0
= 0 ;
8814 (char *) "self", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8819 if (SWIG_arg_fail(1)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (arg1
)->GetPath();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8840 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8843 wxString
*arg2
= 0 ;
8845 bool temp2
= false ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "location", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail
;
8856 arg2
= wxString_in_helper(obj1
);
8857 if (arg2
== NULL
) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= wxPyMake_wxObject(result
, 1);
8884 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8887 wxString
*arg2
= 0 ;
8888 int arg3
= (int) 0 ;
8890 bool temp2
= false ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8895 (char *) "self",(char *) "spec",(char *) "flags", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8900 if (SWIG_arg_fail(1)) SWIG_fail
;
8902 arg2
= wxString_in_helper(obj1
);
8903 if (arg2
== NULL
) SWIG_fail
;
8908 arg3
= (int)(SWIG_As_int(obj2
));
8909 if (SWIG_arg_fail(3)) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8940 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8951 if (SWIG_arg_fail(1)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (arg1
)->FindNext();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8972 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "handler", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxFileSystem::AddHandler(arg1
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 Py_INCREF(Py_None
); resultobj
= Py_None
;
8997 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 wxFileSystem::CleanUpHandlers();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxString
*arg1
= 0 ;
9022 bool temp1
= false ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "filename", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9030 arg1
= wxString_in_helper(obj0
);
9031 if (arg1
== NULL
) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9062 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxString
*arg1
= 0 ;
9066 bool temp1
= false ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "url", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9074 arg1
= wxString_in_helper(obj0
);
9075 if (arg1
== NULL
) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9106 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9109 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9111 return Py_BuildValue((char *)"");
9113 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxInternetFSHandler
*result
;
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9135 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9138 wxString
*arg2
= 0 ;
9140 bool temp2
= false ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9144 (char *) "self",(char *) "location", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9149 if (SWIG_arg_fail(1)) SWIG_fail
;
9151 arg2
= wxString_in_helper(obj1
);
9152 if (arg2
== NULL
) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9179 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9182 wxFileSystem
*arg2
= 0 ;
9183 wxString
*arg3
= 0 ;
9185 bool temp3
= false ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 PyObject
* obj2
= 0 ;
9190 (char *) "self",(char *) "fs",(char *) "location", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail
;
9197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9198 if (SWIG_arg_fail(2)) SWIG_fail
;
9200 SWIG_null_ref("wxFileSystem");
9202 if (SWIG_arg_fail(2)) SWIG_fail
;
9205 arg3
= wxString_in_helper(obj2
);
9206 if (arg3
== NULL
) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= wxPyMake_wxObject(result
, 1);
9233 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9236 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9238 return Py_BuildValue((char *)"");
9240 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxZipFSHandler
*result
;
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9262 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9265 wxString
*arg2
= 0 ;
9267 bool temp2
= false ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9271 (char *) "self",(char *) "location", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 arg2
= wxString_in_helper(obj1
);
9279 if (arg2
== NULL
) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9309 wxFileSystem
*arg2
= 0 ;
9310 wxString
*arg3
= 0 ;
9312 bool temp3
= false ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 PyObject
* obj2
= 0 ;
9317 (char *) "self",(char *) "fs",(char *) "location", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9322 if (SWIG_arg_fail(1)) SWIG_fail
;
9324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9325 if (SWIG_arg_fail(2)) SWIG_fail
;
9327 SWIG_null_ref("wxFileSystem");
9329 if (SWIG_arg_fail(2)) SWIG_fail
;
9332 arg3
= wxString_in_helper(obj2
);
9333 if (arg3
== NULL
) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= wxPyMake_wxObject(result
, 1);
9360 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9363 wxString
*arg2
= 0 ;
9364 int arg3
= (int) 0 ;
9366 bool temp2
= false ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9369 PyObject
* obj2
= 0 ;
9371 (char *) "self",(char *) "spec",(char *) "flags", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9376 if (SWIG_arg_fail(1)) SWIG_fail
;
9378 arg2
= wxString_in_helper(obj1
);
9379 if (arg2
== NULL
) SWIG_fail
;
9384 arg3
= (int)(SWIG_As_int(obj2
));
9385 if (SWIG_arg_fail(3)) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9416 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9427 if (SWIG_arg_fail(1)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (arg1
)->FindNext();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9448 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9451 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9453 return Py_BuildValue((char *)"");
9455 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxString
*arg1
= 0 ;
9460 bool temp1
= false ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 PyObject
* obj2
= 0 ;
9465 (char *) "filename",(char *) "image",(char *) "type", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9470 arg1
= wxString_in_helper(obj0
);
9471 if (arg1
== NULL
) SWIG_fail
;
9475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9476 if (SWIG_arg_fail(2)) SWIG_fail
;
9478 SWIG_null_ref("wxImage");
9480 if (SWIG_arg_fail(2)) SWIG_fail
;
9483 arg3
= (long)(SWIG_As_long(obj2
));
9484 if (SWIG_arg_fail(3)) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 Py_INCREF(Py_None
); resultobj
= Py_None
;
9508 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxString
*arg1
= 0 ;
9511 wxBitmap
*arg2
= 0 ;
9513 bool temp1
= false ;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9516 PyObject
* obj2
= 0 ;
9518 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9523 arg1
= wxString_in_helper(obj0
);
9524 if (arg1
== NULL
) SWIG_fail
;
9528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9529 if (SWIG_arg_fail(2)) SWIG_fail
;
9531 SWIG_null_ref("wxBitmap");
9533 if (SWIG_arg_fail(2)) SWIG_fail
;
9536 arg3
= (long)(SWIG_As_long(obj2
));
9537 if (SWIG_arg_fail(3)) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxString
*arg1
= 0 ;
9564 PyObject
*arg2
= (PyObject
*) 0 ;
9565 bool temp1
= false ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9569 (char *) "filename",(char *) "data", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9574 arg1
= wxString_in_helper(obj0
);
9575 if (arg1
== NULL
) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9601 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxMemoryFSHandler
*result
;
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9623 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxString
*arg1
= 0 ;
9626 bool temp1
= false ;
9627 PyObject
* obj0
= 0 ;
9629 (char *) "filename", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9634 arg1
= wxString_in_helper(obj0
);
9635 if (arg1
== NULL
) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 Py_INCREF(Py_None
); resultobj
= Py_None
;
9660 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9663 wxString
*arg2
= 0 ;
9665 bool temp2
= false ;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9669 (char *) "self",(char *) "location", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9674 if (SWIG_arg_fail(1)) SWIG_fail
;
9676 arg2
= wxString_in_helper(obj1
);
9677 if (arg2
== NULL
) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9704 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9707 wxFileSystem
*arg2
= 0 ;
9708 wxString
*arg3
= 0 ;
9710 bool temp3
= false ;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9713 PyObject
* obj2
= 0 ;
9715 (char *) "self",(char *) "fs",(char *) "location", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9720 if (SWIG_arg_fail(1)) SWIG_fail
;
9722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9723 if (SWIG_arg_fail(2)) SWIG_fail
;
9725 SWIG_null_ref("wxFileSystem");
9727 if (SWIG_arg_fail(2)) SWIG_fail
;
9730 arg3
= wxString_in_helper(obj2
);
9731 if (arg3
== NULL
) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= wxPyMake_wxObject(result
, 1);
9758 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9761 wxString
*arg2
= 0 ;
9762 int arg3
= (int) 0 ;
9764 bool temp2
= false ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 PyObject
* obj2
= 0 ;
9769 (char *) "self",(char *) "spec",(char *) "flags", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9774 if (SWIG_arg_fail(1)) SWIG_fail
;
9776 arg2
= wxString_in_helper(obj1
);
9777 if (arg2
== NULL
) SWIG_fail
;
9782 arg3
= (int)(SWIG_As_int(obj2
));
9783 if (SWIG_arg_fail(3)) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9814 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9825 if (SWIG_arg_fail(1)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (arg1
)->FindNext();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9846 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9849 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9851 return Py_BuildValue((char *)"");
9853 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (arg1
)->GetName();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9896 if (SWIG_arg_fail(1)) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (arg1
)->GetExtension();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9917 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (long)(arg1
)->GetType();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_From_long((long)(result
));
9945 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9951 (char *) "self", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (arg1
)->GetMimeType();
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9977 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9980 wxString
*arg2
= 0 ;
9982 bool temp2
= false ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9986 (char *) "self",(char *) "name", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9991 if (SWIG_arg_fail(1)) SWIG_fail
;
9993 arg2
= wxString_in_helper(obj1
);
9994 if (arg2
== NULL
) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10021 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10024 wxString
*arg2
= 0 ;
10025 bool temp2
= false ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "name", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10034 if (SWIG_arg_fail(1)) SWIG_fail
;
10036 arg2
= wxString_in_helper(obj1
);
10037 if (arg2
== NULL
) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 (arg1
)->SetName((wxString
const &)*arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 Py_INCREF(Py_None
); resultobj
= Py_None
;
10062 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10065 wxString
*arg2
= 0 ;
10066 bool temp2
= false ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "extension", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 arg2
= wxString_in_helper(obj1
);
10078 if (arg2
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetExtension((wxString
const &)*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 PyObject
* obj1
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self",(char *) "type", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10115 if (SWIG_arg_fail(1)) SWIG_fail
;
10117 arg2
= (long)(SWIG_As_long(obj1
));
10118 if (SWIG_arg_fail(2)) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 (arg1
)->SetType(arg2
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 Py_INCREF(Py_None
); resultobj
= Py_None
;
10134 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10137 wxString
*arg2
= 0 ;
10138 bool temp2
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "mimetype", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10147 if (SWIG_arg_fail(1)) SWIG_fail
;
10149 arg2
= wxString_in_helper(obj1
);
10150 if (arg2
== NULL
) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10175 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10178 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10180 return Py_BuildValue((char *)"");
10182 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxImageHistogram
*result
;
10185 char *kwnames
[] = {
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxImageHistogram
*)new wxImageHistogram();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10204 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 unsigned char arg1
;
10207 unsigned char arg2
;
10208 unsigned char arg3
;
10209 unsigned long result
;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 PyObject
* obj2
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "r",(char *) "g",(char *) "b", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10219 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10220 if (SWIG_arg_fail(1)) SWIG_fail
;
10223 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10224 if (SWIG_arg_fail(2)) SWIG_fail
;
10227 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10228 if (SWIG_arg_fail(3)) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10246 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10249 unsigned char *arg2
= (unsigned char *) 0 ;
10250 unsigned char *arg3
= (unsigned char *) 0 ;
10251 unsigned char *arg4
= (unsigned char *) 0 ;
10252 unsigned char arg5
= (unsigned char) 1 ;
10253 unsigned char arg6
= (unsigned char) 0 ;
10254 unsigned char arg7
= (unsigned char) 0 ;
10256 unsigned char temp2
;
10258 unsigned char temp3
;
10260 unsigned char temp4
;
10262 PyObject
* obj0
= 0 ;
10263 PyObject
* obj1
= 0 ;
10264 PyObject
* obj2
= 0 ;
10265 PyObject
* obj3
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10270 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10271 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10272 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10275 if (SWIG_arg_fail(1)) SWIG_fail
;
10278 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10279 if (SWIG_arg_fail(5)) SWIG_fail
;
10284 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10285 if (SWIG_arg_fail(6)) SWIG_fail
;
10290 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10291 if (SWIG_arg_fail(7)) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10305 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10306 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10307 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10308 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10309 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10316 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10319 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10321 return Py_BuildValue((char *)"");
10323 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxString
*arg1
= 0 ;
10326 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10327 int arg3
= (int) -1 ;
10329 bool temp1
= false ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 PyObject
* obj2
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "name",(char *) "type",(char *) "index", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10339 arg1
= wxString_in_helper(obj0
);
10340 if (arg1
== NULL
) SWIG_fail
;
10345 arg2
= (long)(SWIG_As_long(obj1
));
10346 if (SWIG_arg_fail(2)) SWIG_fail
;
10351 arg3
= (int)(SWIG_As_int(obj2
));
10352 if (SWIG_arg_fail(3)) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10377 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxImage
*arg1
= (wxImage
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10387 if (SWIG_arg_fail(1)) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 Py_INCREF(Py_None
); resultobj
= Py_None
;
10402 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxString
*arg1
= 0 ;
10405 wxString
*arg2
= 0 ;
10406 int arg3
= (int) -1 ;
10408 bool temp1
= false ;
10409 bool temp2
= false ;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 PyObject
* obj2
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10419 arg1
= wxString_in_helper(obj0
);
10420 if (arg1
== NULL
) SWIG_fail
;
10424 arg2
= wxString_in_helper(obj1
);
10425 if (arg2
== NULL
) SWIG_fail
;
10430 arg3
= (int)(SWIG_As_int(obj2
));
10431 if (SWIG_arg_fail(3)) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10464 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxInputStream
*arg1
= 0 ;
10467 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10468 int arg3
= (int) -1 ;
10470 wxPyInputStream
*temp1
;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "stream",(char *) "type",(char *) "index", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10481 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10482 arg1
= temp1
->m_wxis
;
10485 PyErr_Clear(); // clear the failure of the wxPyConvert above
10486 arg1
= wxPyCBInputStream_create(obj0
, false);
10487 if (arg1
== NULL
) {
10488 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10496 arg2
= (long)(SWIG_As_long(obj1
));
10497 if (SWIG_arg_fail(2)) SWIG_fail
;
10502 arg3
= (int)(SWIG_As_int(obj2
));
10503 if (SWIG_arg_fail(3)) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10528 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxInputStream
*arg1
= 0 ;
10531 wxString
*arg2
= 0 ;
10532 int arg3
= (int) -1 ;
10534 wxPyInputStream
*temp1
;
10536 bool temp2
= false ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10546 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10547 arg1
= temp1
->m_wxis
;
10550 PyErr_Clear(); // clear the failure of the wxPyConvert above
10551 arg1
= wxPyCBInputStream_create(obj0
, false);
10552 if (arg1
== NULL
) {
10553 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10560 arg2
= wxString_in_helper(obj1
);
10561 if (arg2
== NULL
) SWIG_fail
;
10566 arg3
= (int)(SWIG_As_int(obj2
));
10567 if (SWIG_arg_fail(3)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10600 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 int arg1
= (int) 0 ;
10603 int arg2
= (int) 0 ;
10604 bool arg3
= (bool) true ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "width",(char *) "height",(char *) "clear", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10616 arg1
= (int)(SWIG_As_int(obj0
));
10617 if (SWIG_arg_fail(1)) SWIG_fail
;
10622 arg2
= (int)(SWIG_As_int(obj1
));
10623 if (SWIG_arg_fail(2)) SWIG_fail
;
10628 arg3
= (bool)(SWIG_As_bool(obj2
));
10629 if (SWIG_arg_fail(3)) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10646 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxBitmap
*arg1
= 0 ;
10650 PyObject
* obj0
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "bitmap", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail
;
10659 if (arg1
== NULL
) {
10660 SWIG_null_ref("wxBitmap");
10662 if (SWIG_arg_fail(1)) SWIG_fail
;
10665 if (!wxPyCheckForApp()) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10679 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10683 unsigned char *arg3
= (unsigned char *) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 PyObject
* obj2
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "width",(char *) "height",(char *) "data", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10694 arg1
= (int)(SWIG_As_int(obj0
));
10695 if (SWIG_arg_fail(1)) SWIG_fail
;
10698 arg2
= (int)(SWIG_As_int(obj1
));
10699 if (SWIG_arg_fail(2)) SWIG_fail
;
10701 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10702 if (SWIG_arg_fail(3)) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10717 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10721 unsigned char *arg3
= (unsigned char *) 0 ;
10722 unsigned char *arg4
= (unsigned char *) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10734 arg1
= (int)(SWIG_As_int(obj0
));
10735 if (SWIG_arg_fail(1)) SWIG_fail
;
10738 arg2
= (int)(SWIG_As_int(obj1
));
10739 if (SWIG_arg_fail(2)) SWIG_fail
;
10741 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10742 if (SWIG_arg_fail(3)) SWIG_fail
;
10743 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10744 if (SWIG_arg_fail(4)) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10759 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxImage
*arg1
= (wxImage
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 PyObject
* obj2
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "width",(char *) "height", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail
;
10775 arg2
= (int)(SWIG_As_int(obj1
));
10776 if (SWIG_arg_fail(2)) SWIG_fail
;
10779 arg3
= (int)(SWIG_As_int(obj2
));
10780 if (SWIG_arg_fail(3)) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->Create(arg2
,arg3
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxImage
*arg1
= (wxImage
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10806 if (SWIG_arg_fail(1)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxImage
*arg1
= (wxImage
*) 0 ;
10826 SwigValueWrapper
<wxImage
> result
;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 PyObject
* obj2
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self",(char *) "width",(char *) "height", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10836 if (SWIG_arg_fail(1)) SWIG_fail
;
10838 arg2
= (int)(SWIG_As_int(obj1
));
10839 if (SWIG_arg_fail(2)) SWIG_fail
;
10842 arg3
= (int)(SWIG_As_int(obj2
));
10843 if (SWIG_arg_fail(3)) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= (arg1
)->Scale(arg2
,arg3
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 wxImage
* resultptr
;
10854 resultptr
= new wxImage((wxImage
&)(result
));
10855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10863 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxImage
*arg1
= (wxImage
*) 0 ;
10868 SwigValueWrapper
<wxImage
> result
;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 PyObject
* obj2
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 arg2
= (int)(SWIG_As_int(obj1
));
10881 if (SWIG_arg_fail(2)) SWIG_fail
;
10884 arg3
= (int)(SWIG_As_int(obj2
));
10885 if (SWIG_arg_fail(3)) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10895 wxImage
* resultptr
;
10896 resultptr
= new wxImage((wxImage
&)(result
));
10897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10905 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxImage
*arg1
= (wxImage
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "width",(char *) "height", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail
;
10922 arg2
= (int)(SWIG_As_int(obj1
));
10923 if (SWIG_arg_fail(2)) SWIG_fail
;
10926 arg3
= (int)(SWIG_As_int(obj2
));
10927 if (SWIG_arg_fail(3)) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10933 result
= (wxImage
*) &_result_ref
;
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10946 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxImage
*arg1
= (wxImage
*) 0 ;
10951 unsigned char arg4
;
10952 unsigned char arg5
;
10953 unsigned char arg6
;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 PyObject
* obj2
= 0 ;
10957 PyObject
* obj3
= 0 ;
10958 PyObject
* obj4
= 0 ;
10959 PyObject
* obj5
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10966 if (SWIG_arg_fail(1)) SWIG_fail
;
10968 arg2
= (int)(SWIG_As_int(obj1
));
10969 if (SWIG_arg_fail(2)) SWIG_fail
;
10972 arg3
= (int)(SWIG_As_int(obj2
));
10973 if (SWIG_arg_fail(3)) SWIG_fail
;
10976 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10977 if (SWIG_arg_fail(4)) SWIG_fail
;
10980 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10981 if (SWIG_arg_fail(5)) SWIG_fail
;
10984 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10985 if (SWIG_arg_fail(6)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxImage
*arg1
= (wxImage
*) 0 ;
11006 unsigned char result
;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 PyObject
* obj2
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "x",(char *) "y", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11016 if (SWIG_arg_fail(1)) SWIG_fail
;
11018 arg2
= (int)(SWIG_As_int(obj1
));
11019 if (SWIG_arg_fail(2)) SWIG_fail
;
11022 arg3
= (int)(SWIG_As_int(obj2
));
11023 if (SWIG_arg_fail(3)) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11041 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxImage
*arg1
= (wxImage
*) 0 ;
11046 unsigned char result
;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 PyObject
* obj2
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "x",(char *) "y", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11056 if (SWIG_arg_fail(1)) SWIG_fail
;
11058 arg2
= (int)(SWIG_As_int(obj1
));
11059 if (SWIG_arg_fail(2)) SWIG_fail
;
11062 arg3
= (int)(SWIG_As_int(obj2
));
11063 if (SWIG_arg_fail(3)) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11081 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImage
*arg1
= (wxImage
*) 0 ;
11086 unsigned char result
;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 PyObject
* obj2
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self",(char *) "x",(char *) "y", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11096 if (SWIG_arg_fail(1)) SWIG_fail
;
11098 arg2
= (int)(SWIG_As_int(obj1
));
11099 if (SWIG_arg_fail(2)) SWIG_fail
;
11102 arg3
= (int)(SWIG_As_int(obj2
));
11103 if (SWIG_arg_fail(3)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11121 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxImage
*arg1
= (wxImage
*) 0 ;
11126 unsigned char arg4
;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 PyObject
* obj3
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11137 if (SWIG_arg_fail(1)) SWIG_fail
;
11139 arg2
= (int)(SWIG_As_int(obj1
));
11140 if (SWIG_arg_fail(2)) SWIG_fail
;
11143 arg3
= (int)(SWIG_As_int(obj2
));
11144 if (SWIG_arg_fail(3)) SWIG_fail
;
11147 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11148 if (SWIG_arg_fail(4)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11164 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxImage
*arg1
= (wxImage
*) 0 ;
11169 unsigned char result
;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 PyObject
* obj2
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self",(char *) "x",(char *) "y", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11179 if (SWIG_arg_fail(1)) SWIG_fail
;
11181 arg2
= (int)(SWIG_As_int(obj1
));
11182 if (SWIG_arg_fail(2)) SWIG_fail
;
11185 arg3
= (int)(SWIG_As_int(obj2
));
11186 if (SWIG_arg_fail(3)) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11204 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxImage
*arg1
= (wxImage
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11215 if (SWIG_arg_fail(1)) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)(arg1
)->HasAlpha();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxImage
*arg1
= (wxImage
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->InitAlpha();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11257 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxImage
*arg1
= (wxImage
*) 0 ;
11260 byte
*arg2
= (byte
*) 0 ;
11261 byte
*arg3
= (byte
*) 0 ;
11262 byte
*arg4
= (byte
*) 0 ;
11263 byte arg5
= (byte
) 0 ;
11264 byte arg6
= (byte
) 0 ;
11265 byte arg7
= (byte
) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 PyObject
* obj3
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11281 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11282 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11283 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11286 if (SWIG_arg_fail(1)) SWIG_fail
;
11289 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11290 if (SWIG_arg_fail(5)) SWIG_fail
;
11295 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11296 if (SWIG_arg_fail(6)) SWIG_fail
;
11301 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11302 if (SWIG_arg_fail(7)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11315 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11316 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11317 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11318 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11319 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11320 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11327 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxImage
*arg1
= (wxImage
*) 0 ;
11330 byte arg2
= (byte
) 128 ;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "threshold", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail
;
11343 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11344 if (SWIG_arg_fail(2)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11363 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxImage
*arg1
= (wxImage
*) 0 ;
11366 unsigned char arg2
;
11367 unsigned char arg3
;
11368 unsigned char arg4
;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 PyObject
* obj2
= 0 ;
11373 PyObject
* obj3
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11380 if (SWIG_arg_fail(1)) SWIG_fail
;
11382 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11383 if (SWIG_arg_fail(2)) SWIG_fail
;
11386 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11387 if (SWIG_arg_fail(3)) SWIG_fail
;
11390 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11391 if (SWIG_arg_fail(4)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11409 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxImage
*arg1
= (wxImage
*) 0 ;
11412 wxImage
*arg2
= 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 PyObject
* obj2
= 0 ;
11420 PyObject
* obj3
= 0 ;
11421 PyObject
* obj4
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11431 if (SWIG_arg_fail(2)) SWIG_fail
;
11432 if (arg2
== NULL
) {
11433 SWIG_null_ref("wxImage");
11435 if (SWIG_arg_fail(2)) SWIG_fail
;
11438 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11439 if (SWIG_arg_fail(3)) SWIG_fail
;
11442 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11443 if (SWIG_arg_fail(4)) SWIG_fail
;
11446 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11447 if (SWIG_arg_fail(5)) SWIG_fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11465 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxString
*arg1
= 0 ;
11469 bool temp1
= false ;
11470 PyObject
* obj0
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "name", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11477 arg1
= wxString_in_helper(obj0
);
11478 if (arg1
== NULL
) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11505 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxString
*arg1
= 0 ;
11508 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11510 bool temp1
= false ;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "name",(char *) "type", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 arg1
= wxString_in_helper(obj0
);
11520 if (arg1
== NULL
) SWIG_fail
;
11525 arg2
= (long)(SWIG_As_long(obj1
));
11526 if (SWIG_arg_fail(2)) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_From_int((int)(result
));
11553 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxImage
*arg1
= (wxImage
*) 0 ;
11556 wxString
*arg2
= 0 ;
11557 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11558 int arg4
= (int) -1 ;
11560 bool temp2
= false ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 PyObject
* obj3
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11573 arg2
= wxString_in_helper(obj1
);
11574 if (arg2
== NULL
) SWIG_fail
;
11579 arg3
= (long)(SWIG_As_long(obj2
));
11580 if (SWIG_arg_fail(3)) SWIG_fail
;
11585 arg4
= (int)(SWIG_As_int(obj3
));
11586 if (SWIG_arg_fail(4)) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11613 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxImage
*arg1
= (wxImage
*) 0 ;
11616 wxString
*arg2
= 0 ;
11617 wxString
*arg3
= 0 ;
11618 int arg4
= (int) -1 ;
11620 bool temp2
= false ;
11621 bool temp3
= false ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 PyObject
* obj3
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail
;
11634 arg2
= wxString_in_helper(obj1
);
11635 if (arg2
== NULL
) SWIG_fail
;
11639 arg3
= wxString_in_helper(obj2
);
11640 if (arg3
== NULL
) SWIG_fail
;
11645 arg4
= (int)(SWIG_As_int(obj3
));
11646 if (SWIG_arg_fail(4)) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11681 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxImage
*arg1
= (wxImage
*) 0 ;
11684 wxString
*arg2
= 0 ;
11687 bool temp2
= false ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 PyObject
* obj2
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "name",(char *) "type", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= wxString_in_helper(obj1
);
11700 if (arg2
== NULL
) SWIG_fail
;
11704 arg3
= (int)(SWIG_As_int(obj2
));
11705 if (SWIG_arg_fail(3)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11731 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxImage
*arg1
= (wxImage
*) 0 ;
11734 wxString
*arg2
= 0 ;
11735 wxString
*arg3
= 0 ;
11737 bool temp2
= false ;
11738 bool temp3
= false ;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 PyObject
* obj2
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail
;
11750 arg2
= wxString_in_helper(obj1
);
11751 if (arg2
== NULL
) SWIG_fail
;
11755 arg3
= wxString_in_helper(obj2
);
11756 if (arg3
== NULL
) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11791 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxInputStream
*arg1
= 0 ;
11795 wxPyInputStream
*temp1
;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "stream", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11804 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11805 arg1
= temp1
->m_wxis
;
11808 PyErr_Clear(); // clear the failure of the wxPyConvert above
11809 arg1
= wxPyCBInputStream_create(obj0
, false);
11810 if (arg1
== NULL
) {
11811 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (bool)wxImage::CanRead(*arg1
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxImage
*arg1
= (wxImage
*) 0 ;
11844 wxInputStream
*arg2
= 0 ;
11845 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11846 int arg4
= (int) -1 ;
11848 wxPyInputStream
*temp2
;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 PyObject
* obj2
= 0 ;
11853 PyObject
* obj3
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11860 if (SWIG_arg_fail(1)) SWIG_fail
;
11862 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11863 arg2
= temp2
->m_wxis
;
11866 PyErr_Clear(); // clear the failure of the wxPyConvert above
11867 arg2
= wxPyCBInputStream_create(obj1
, false);
11868 if (arg2
== NULL
) {
11869 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11877 arg3
= (long)(SWIG_As_long(obj2
));
11878 if (SWIG_arg_fail(3)) SWIG_fail
;
11883 arg4
= (int)(SWIG_As_int(obj3
));
11884 if (SWIG_arg_fail(4)) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11911 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxImage
*arg1
= (wxImage
*) 0 ;
11914 wxInputStream
*arg2
= 0 ;
11915 wxString
*arg3
= 0 ;
11916 int arg4
= (int) -1 ;
11918 wxPyInputStream
*temp2
;
11920 bool temp3
= false ;
11921 PyObject
* obj0
= 0 ;
11922 PyObject
* obj1
= 0 ;
11923 PyObject
* obj2
= 0 ;
11924 PyObject
* obj3
= 0 ;
11925 char *kwnames
[] = {
11926 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11931 if (SWIG_arg_fail(1)) SWIG_fail
;
11933 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11934 arg2
= temp2
->m_wxis
;
11937 PyErr_Clear(); // clear the failure of the wxPyConvert above
11938 arg2
= wxPyCBInputStream_create(obj1
, false);
11939 if (arg2
== NULL
) {
11940 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11947 arg3
= wxString_in_helper(obj2
);
11948 if (arg3
== NULL
) SWIG_fail
;
11953 arg4
= (int)(SWIG_As_int(obj3
));
11954 if (SWIG_arg_fail(4)) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11989 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxImage
*arg1
= (wxImage
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12000 if (SWIG_arg_fail(1)) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)(arg1
)->Ok();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12017 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxImage
*arg1
= (wxImage
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12028 if (SWIG_arg_fail(1)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (int)(arg1
)->GetWidth();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_From_int((int)(result
));
12045 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxImage
*arg1
= (wxImage
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12056 if (SWIG_arg_fail(1)) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= (int)(arg1
)->GetHeight();
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_From_int((int)(result
));
12073 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxImage
*arg1
= (wxImage
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12084 if (SWIG_arg_fail(1)) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= wxImage_GetSize(arg1
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12093 wxSize
* resultptr
;
12094 resultptr
= new wxSize((wxSize
&)(result
));
12095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12103 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxImage
*arg1
= (wxImage
*) 0 ;
12107 SwigValueWrapper
<wxImage
> result
;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self",(char *) "rect", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 wxImage
* resultptr
;
12131 resultptr
= new wxImage((wxImage
&)(result
));
12132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12140 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxImage
*arg1
= (wxImage
*) 0 ;
12143 SwigValueWrapper
<wxImage
> result
;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (arg1
)->Copy();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12160 wxImage
* resultptr
;
12161 resultptr
= new wxImage((wxImage
&)(result
));
12162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12170 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxImage
*arg1
= (wxImage
*) 0 ;
12173 wxImage
*arg2
= 0 ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 PyObject
* obj2
= 0 ;
12179 PyObject
* obj3
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12186 if (SWIG_arg_fail(1)) SWIG_fail
;
12188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12189 if (SWIG_arg_fail(2)) SWIG_fail
;
12190 if (arg2
== NULL
) {
12191 SWIG_null_ref("wxImage");
12193 if (SWIG_arg_fail(2)) SWIG_fail
;
12196 arg3
= (int)(SWIG_As_int(obj2
));
12197 if (SWIG_arg_fail(3)) SWIG_fail
;
12200 arg4
= (int)(SWIG_As_int(obj3
));
12201 if (SWIG_arg_fail(4)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxImage
*arg1
= (wxImage
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12228 if (SWIG_arg_fail(1)) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (PyObject
*)wxImage_GetData(arg1
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= result
;
12243 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxImage
*arg1
= (wxImage
*) 0 ;
12246 PyObject
*arg2
= (PyObject
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self",(char *) "data", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12255 if (SWIG_arg_fail(1)) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 wxImage_SetData(arg1
,arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxImage
*arg1
= (wxImage
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= result
;
12297 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxImage
*arg1
= (wxImage
*) 0 ;
12300 PyObject
*arg2
= (PyObject
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "data", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 wxImage_SetDataBuffer(arg1
,arg2
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 Py_INCREF(Py_None
); resultobj
= Py_None
;
12325 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxImage
*arg1
= (wxImage
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12336 if (SWIG_arg_fail(1)) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= result
;
12351 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxImage
*arg1
= (wxImage
*) 0 ;
12354 PyObject
*arg2
= (PyObject
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "data", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 wxImage_SetAlphaData(arg1
,arg2
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxImage
*arg1
= (wxImage
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= result
;
12405 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxImage
*arg1
= (wxImage
*) 0 ;
12408 PyObject
*arg2
= (PyObject
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self",(char *) "data", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 wxImage_SetAlphaBuffer(arg1
,arg2
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 Py_INCREF(Py_None
); resultobj
= Py_None
;
12433 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxImage
*arg1
= (wxImage
*) 0 ;
12436 unsigned char arg2
;
12437 unsigned char arg3
;
12438 unsigned char arg4
;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 PyObject
* obj2
= 0 ;
12442 PyObject
* obj3
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12449 if (SWIG_arg_fail(1)) SWIG_fail
;
12451 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12452 if (SWIG_arg_fail(2)) SWIG_fail
;
12455 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12456 if (SWIG_arg_fail(3)) SWIG_fail
;
12459 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12460 if (SWIG_arg_fail(4)) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxImage
*arg1
= (wxImage
*) 0 ;
12479 unsigned char result
;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (unsigned char)(arg1
)->GetMaskRed();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12504 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxImage
*arg1
= (wxImage
*) 0 ;
12507 unsigned char result
;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12515 if (SWIG_arg_fail(1)) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (unsigned char)(arg1
)->GetMaskGreen();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12532 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxImage
*arg1
= (wxImage
*) 0 ;
12535 unsigned char result
;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12543 if (SWIG_arg_fail(1)) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (unsigned char)(arg1
)->GetMaskBlue();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12560 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxImage
*arg1
= (wxImage
*) 0 ;
12563 bool arg2
= (bool) true ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "mask", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12572 if (SWIG_arg_fail(1)) SWIG_fail
;
12575 arg2
= (bool)(SWIG_As_bool(obj1
));
12576 if (SWIG_arg_fail(2)) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 (arg1
)->SetMask(arg2
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 Py_INCREF(Py_None
); resultobj
= Py_None
;
12593 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxImage
*arg1
= (wxImage
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12604 if (SWIG_arg_fail(1)) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (bool)(arg1
)->HasMask();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12621 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxImage
*arg1
= (wxImage
*) 0 ;
12625 wxPoint
*arg3
= 0 ;
12626 bool arg4
= (bool) true ;
12627 wxPoint
*arg5
= (wxPoint
*) NULL
;
12628 SwigValueWrapper
<wxImage
> result
;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 PyObject
* obj2
= 0 ;
12633 PyObject
* obj3
= 0 ;
12634 PyObject
* obj4
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12641 if (SWIG_arg_fail(1)) SWIG_fail
;
12643 arg2
= (double)(SWIG_As_double(obj1
));
12644 if (SWIG_arg_fail(2)) SWIG_fail
;
12648 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12652 arg4
= (bool)(SWIG_As_bool(obj3
));
12653 if (SWIG_arg_fail(4)) SWIG_fail
;
12657 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12658 if (SWIG_arg_fail(5)) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 wxImage
* resultptr
;
12669 resultptr
= new wxImage((wxImage
&)(result
));
12670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12678 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxImage
*arg1
= (wxImage
*) 0 ;
12681 bool arg2
= (bool) true ;
12682 SwigValueWrapper
<wxImage
> result
;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "clockwise", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12694 arg2
= (bool)(SWIG_As_bool(obj1
));
12695 if (SWIG_arg_fail(2)) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (arg1
)->Rotate90(arg2
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12706 wxImage
* resultptr
;
12707 resultptr
= new wxImage((wxImage
&)(result
));
12708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12716 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxImage
*arg1
= (wxImage
*) 0 ;
12719 bool arg2
= (bool) true ;
12720 SwigValueWrapper
<wxImage
> result
;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self",(char *) "horizontally", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12729 if (SWIG_arg_fail(1)) SWIG_fail
;
12732 arg2
= (bool)(SWIG_As_bool(obj1
));
12733 if (SWIG_arg_fail(2)) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (arg1
)->Mirror(arg2
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 wxImage
* resultptr
;
12745 resultptr
= new wxImage((wxImage
&)(result
));
12746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12754 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxImage
*arg1
= (wxImage
*) 0 ;
12757 unsigned char arg2
;
12758 unsigned char arg3
;
12759 unsigned char arg4
;
12760 unsigned char arg5
;
12761 unsigned char arg6
;
12762 unsigned char arg7
;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 PyObject
* obj2
= 0 ;
12766 PyObject
* obj3
= 0 ;
12767 PyObject
* obj4
= 0 ;
12768 PyObject
* obj5
= 0 ;
12769 PyObject
* obj6
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12779 if (SWIG_arg_fail(2)) SWIG_fail
;
12782 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12783 if (SWIG_arg_fail(3)) SWIG_fail
;
12786 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12787 if (SWIG_arg_fail(4)) SWIG_fail
;
12790 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12791 if (SWIG_arg_fail(5)) SWIG_fail
;
12794 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12795 if (SWIG_arg_fail(6)) SWIG_fail
;
12798 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12799 if (SWIG_arg_fail(7)) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 Py_INCREF(Py_None
); resultobj
= Py_None
;
12815 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxImage
*arg1
= (wxImage
*) 0 ;
12818 unsigned char arg2
;
12819 unsigned char arg3
;
12820 unsigned char arg4
;
12821 SwigValueWrapper
<wxImage
> result
;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 PyObject
* obj3
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12832 if (SWIG_arg_fail(1)) SWIG_fail
;
12834 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12835 if (SWIG_arg_fail(2)) SWIG_fail
;
12838 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12839 if (SWIG_arg_fail(3)) SWIG_fail
;
12842 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12843 if (SWIG_arg_fail(4)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 wxImage
* resultptr
;
12854 resultptr
= new wxImage((wxImage
&)(result
));
12855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12863 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxImage
*arg1
= (wxImage
*) 0 ;
12866 wxString
*arg2
= 0 ;
12867 wxString
*arg3
= 0 ;
12868 bool temp2
= false ;
12869 bool temp3
= false ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 PyObject
* obj2
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "name",(char *) "value", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12886 arg3
= wxString_in_helper(obj2
);
12887 if (arg3
== NULL
) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12920 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxImage
*arg1
= (wxImage
*) 0 ;
12923 wxString
*arg2
= 0 ;
12925 bool temp2
= false ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 PyObject
* obj2
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "name",(char *) "value", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail
;
12937 arg2
= wxString_in_helper(obj1
);
12938 if (arg2
== NULL
) SWIG_fail
;
12942 arg3
= (int)(SWIG_As_int(obj2
));
12943 if (SWIG_arg_fail(3)) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12967 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxImage
*arg1
= (wxImage
*) 0 ;
12970 wxString
*arg2
= 0 ;
12972 bool temp2
= false ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "name", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12981 if (SWIG_arg_fail(1)) SWIG_fail
;
12983 arg2
= wxString_in_helper(obj1
);
12984 if (arg2
== NULL
) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13015 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxImage
*arg1
= (wxImage
*) 0 ;
13018 wxString
*arg2
= 0 ;
13020 bool temp2
= false ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "name", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13029 if (SWIG_arg_fail(1)) SWIG_fail
;
13031 arg2
= wxString_in_helper(obj1
);
13032 if (arg2
== NULL
) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_From_int((int)(result
));
13059 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxImage
*arg1
= (wxImage
*) 0 ;
13062 wxString
*arg2
= 0 ;
13064 bool temp2
= false ;
13065 PyObject
* obj0
= 0 ;
13066 PyObject
* obj1
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self",(char *) "name", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13073 if (SWIG_arg_fail(1)) SWIG_fail
;
13075 arg2
= wxString_in_helper(obj1
);
13076 if (arg2
== NULL
) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13103 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxImage
*arg1
= (wxImage
*) 0 ;
13106 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13107 unsigned long result
;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "stopafter", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail
;
13119 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13120 if (SWIG_arg_fail(2)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13139 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxImage
*arg1
= (wxImage
*) 0 ;
13142 wxImageHistogram
*arg2
= 0 ;
13143 unsigned long result
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "h", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13155 if (SWIG_arg_fail(2)) SWIG_fail
;
13156 if (arg2
== NULL
) {
13157 SWIG_null_ref("wxImageHistogram");
13159 if (SWIG_arg_fail(2)) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13177 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "handler", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13187 if (SWIG_arg_fail(1)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 wxImage::AddHandler(arg1
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 Py_INCREF(Py_None
); resultobj
= Py_None
;
13202 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "handler", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 wxImage::InsertHandler(arg1
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 Py_INCREF(Py_None
); resultobj
= Py_None
;
13227 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxString
*arg1
= 0 ;
13231 bool temp1
= false ;
13232 PyObject
* obj0
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "name", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13239 arg1
= wxString_in_helper(obj0
);
13240 if (arg1
== NULL
) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13267 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13270 char *kwnames
[] = {
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= wxImage::GetImageExtWildcard();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13295 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxImage
*arg1
= (wxImage
*) 0 ;
13298 int arg2
= (int) -1 ;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "depth", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13308 if (SWIG_arg_fail(1)) SWIG_fail
;
13311 arg2
= (int)(SWIG_As_int(obj1
));
13312 if (SWIG_arg_fail(2)) SWIG_fail
;
13316 if (!wxPyCheckForApp()) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13324 wxBitmap
* resultptr
;
13325 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13334 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxImage
*arg1
= (wxImage
*) 0 ;
13337 unsigned char arg2
;
13338 unsigned char arg3
;
13339 unsigned char arg4
;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 PyObject
* obj2
= 0 ;
13344 PyObject
* obj3
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13351 if (SWIG_arg_fail(1)) SWIG_fail
;
13353 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13354 if (SWIG_arg_fail(2)) SWIG_fail
;
13357 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13358 if (SWIG_arg_fail(3)) SWIG_fail
;
13361 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13362 if (SWIG_arg_fail(4)) SWIG_fail
;
13365 if (!wxPyCheckForApp()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13373 wxBitmap
* resultptr
;
13374 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13383 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13386 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13388 return Py_BuildValue((char *)"");
13390 static int _wrap_NullImage_set(PyObject
*) {
13391 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13396 static PyObject
*_wrap_NullImage_get(void) {
13399 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13404 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13405 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13410 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13415 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13417 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13424 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13425 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13430 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13435 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13437 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13444 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13445 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13450 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13455 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13457 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13464 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13465 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13470 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13475 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13477 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13484 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13485 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13490 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13495 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13497 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13504 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13505 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13510 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13515 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13517 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13524 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13525 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13530 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13535 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13537 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13544 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13545 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13550 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13555 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13557 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13564 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13565 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13570 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13575 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13577 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13584 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13585 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13590 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13595 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13597 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13604 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13605 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13610 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13615 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13617 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13624 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13625 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13630 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13635 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13637 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13644 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13645 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13650 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13655 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13657 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13664 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13665 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13670 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13675 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13677 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13684 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13685 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13690 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13695 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13697 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13704 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxBMPHandler
*result
;
13707 char *kwnames
[] = {
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (wxBMPHandler
*)new wxBMPHandler();
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13726 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13731 return Py_BuildValue((char *)"");
13733 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxICOHandler
*result
;
13736 char *kwnames
[] = {
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (wxICOHandler
*)new wxICOHandler();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13755 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13758 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13760 return Py_BuildValue((char *)"");
13762 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxCURHandler
*result
;
13765 char *kwnames
[] = {
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (wxCURHandler
*)new wxCURHandler();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13784 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13787 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13789 return Py_BuildValue((char *)"");
13791 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxANIHandler
*result
;
13794 char *kwnames
[] = {
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (wxANIHandler
*)new wxANIHandler();
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13813 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13816 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13818 return Py_BuildValue((char *)"");
13820 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxPNGHandler
*result
;
13823 char *kwnames
[] = {
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (wxPNGHandler
*)new wxPNGHandler();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13842 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13845 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13847 return Py_BuildValue((char *)"");
13849 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxGIFHandler
*result
;
13852 char *kwnames
[] = {
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (wxGIFHandler
*)new wxGIFHandler();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13871 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13874 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13876 return Py_BuildValue((char *)"");
13878 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxPCXHandler
*result
;
13881 char *kwnames
[] = {
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxPCXHandler
*)new wxPCXHandler();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13900 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13903 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13905 return Py_BuildValue((char *)"");
13907 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxJPEGHandler
*result
;
13910 char *kwnames
[] = {
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13929 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13932 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13934 return Py_BuildValue((char *)"");
13936 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxPNMHandler
*result
;
13939 char *kwnames
[] = {
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (wxPNMHandler
*)new wxPNMHandler();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13958 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13961 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13963 return Py_BuildValue((char *)"");
13965 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxXPMHandler
*result
;
13968 char *kwnames
[] = {
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (wxXPMHandler
*)new wxXPMHandler();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13987 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13990 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13992 return Py_BuildValue((char *)"");
13994 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxTIFFHandler
*result
;
13997 char *kwnames
[] = {
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14016 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14019 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14021 return Py_BuildValue((char *)"");
14023 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxImage
*arg1
= 0 ;
14026 wxImage
*arg2
= 0 ;
14027 int arg3
= (int) 236 ;
14028 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 PyObject
* obj2
= 0 ;
14033 PyObject
* obj3
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14041 if (SWIG_arg_fail(1)) SWIG_fail
;
14042 if (arg1
== NULL
) {
14043 SWIG_null_ref("wxImage");
14045 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14049 if (SWIG_arg_fail(2)) SWIG_fail
;
14050 if (arg2
== NULL
) {
14051 SWIG_null_ref("wxImage");
14053 if (SWIG_arg_fail(2)) SWIG_fail
;
14057 arg3
= (int)(SWIG_As_int(obj2
));
14058 if (SWIG_arg_fail(3)) SWIG_fail
;
14063 arg4
= (int)(SWIG_As_int(obj3
));
14064 if (SWIG_arg_fail(4)) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14083 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14086 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14088 return Py_BuildValue((char *)"");
14090 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxEvtHandler
*result
;
14093 char *kwnames
[] = {
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (wxEvtHandler
*)new wxEvtHandler();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14112 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14115 wxEvtHandler
*result
;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14123 if (SWIG_arg_fail(1)) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= wxPyMake_wxObject(result
, 0);
14140 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14143 wxEvtHandler
*result
;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= wxPyMake_wxObject(result
, 0);
14168 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14171 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self",(char *) "handler", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail
;
14181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(2)) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 (arg1
)->SetNextHandler(arg2
);
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 Py_INCREF(Py_None
); resultobj
= Py_None
;
14197 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14200 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self",(char *) "handler", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14209 if (SWIG_arg_fail(1)) SWIG_fail
;
14210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(2)) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 (arg1
)->SetPreviousHandler(arg2
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 Py_INCREF(Py_None
); resultobj
= Py_None
;
14226 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14237 if (SWIG_arg_fail(1)) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14254 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "enabled", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail
;
14268 arg2
= (bool)(SWIG_As_bool(obj1
));
14269 if (SWIG_arg_fail(2)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->SetEvtHandlerEnabled(arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14288 wxEvent
*arg2
= 0 ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self",(char *) "event", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14301 if (SWIG_arg_fail(2)) SWIG_fail
;
14302 if (arg2
== NULL
) {
14303 SWIG_null_ref("wxEvent");
14305 if (SWIG_arg_fail(2)) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14326 wxEvent
*arg2
= 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self",(char *) "event", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14335 if (SWIG_arg_fail(1)) SWIG_fail
;
14337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14338 if (SWIG_arg_fail(2)) SWIG_fail
;
14339 if (arg2
== NULL
) {
14340 SWIG_null_ref("wxEvent");
14342 if (SWIG_arg_fail(2)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->AddPendingEvent(*arg2
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14368 if (SWIG_arg_fail(1)) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->ProcessPendingEvents();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14389 PyObject
*arg5
= (PyObject
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 PyObject
* obj2
= 0 ;
14393 PyObject
* obj3
= 0 ;
14394 PyObject
* obj4
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail
;
14403 arg2
= (int)(SWIG_As_int(obj1
));
14404 if (SWIG_arg_fail(2)) SWIG_fail
;
14407 arg3
= (int)(SWIG_As_int(obj2
));
14408 if (SWIG_arg_fail(3)) SWIG_fail
;
14411 arg4
= (int)(SWIG_As_int(obj3
));
14412 if (SWIG_arg_fail(4)) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14429 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14433 int arg3
= (int) -1 ;
14434 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14436 PyObject
* obj0
= 0 ;
14437 PyObject
* obj1
= 0 ;
14438 PyObject
* obj2
= 0 ;
14439 PyObject
* obj3
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail
;
14448 arg2
= (int)(SWIG_As_int(obj1
));
14449 if (SWIG_arg_fail(2)) SWIG_fail
;
14453 arg3
= (int)(SWIG_As_int(obj2
));
14454 if (SWIG_arg_fail(3)) SWIG_fail
;
14459 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14460 if (SWIG_arg_fail(4)) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14479 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14482 PyObject
*arg2
= (PyObject
*) 0 ;
14483 bool arg3
= (bool) true ;
14484 PyObject
* obj0
= 0 ;
14485 PyObject
* obj1
= 0 ;
14486 PyObject
* obj2
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self",(char *) "_self",(char *) "incref", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14493 if (SWIG_arg_fail(1)) SWIG_fail
;
14497 arg3
= (bool)(SWIG_As_bool(obj2
));
14498 if (SWIG_arg_fail(3)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 Py_INCREF(Py_None
); resultobj
= Py_None
;
14515 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14520 return Py_BuildValue((char *)"");
14522 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxEventType result
;
14525 char *kwnames
[] = {
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxEventType
)wxNewEventType();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_From_int((int)(result
));
14546 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxEvent
*arg1
= (wxEvent
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14556 if (SWIG_arg_fail(1)) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 Py_INCREF(Py_None
); resultobj
= Py_None
;
14571 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxEvent
*arg1
= (wxEvent
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self",(char *) "typ", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail
;
14585 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14586 if (SWIG_arg_fail(2)) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 (arg1
)->SetEventType(arg2
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 Py_INCREF(Py_None
); resultobj
= Py_None
;
14602 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxEvent
*arg1
= (wxEvent
*) 0 ;
14605 wxEventType result
;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14613 if (SWIG_arg_fail(1)) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_From_int((int)(result
));
14630 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxEvent
*arg1
= (wxEvent
*) 0 ;
14634 PyObject
* obj0
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14641 if (SWIG_arg_fail(1)) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= wxPyMake_wxObject(result
, 0);
14658 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxEvent
*arg1
= (wxEvent
*) 0 ;
14661 wxObject
*arg2
= (wxObject
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 PyObject
* obj1
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self",(char *) "obj", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14670 if (SWIG_arg_fail(1)) SWIG_fail
;
14671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14672 if (SWIG_arg_fail(2)) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 (arg1
)->SetEventObject(arg2
);
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 Py_INCREF(Py_None
); resultobj
= Py_None
;
14687 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxEvent
*arg1
= (wxEvent
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14698 if (SWIG_arg_fail(1)) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_From_long((long)(result
));
14715 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxEvent
*arg1
= (wxEvent
*) 0 ;
14718 long arg2
= (long) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 PyObject
* obj1
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self",(char *) "ts", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14727 if (SWIG_arg_fail(1)) SWIG_fail
;
14730 arg2
= (long)(SWIG_As_long(obj1
));
14731 if (SWIG_arg_fail(2)) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 (arg1
)->SetTimestamp(arg2
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14748 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxEvent
*arg1
= (wxEvent
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14759 if (SWIG_arg_fail(1)) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (int)((wxEvent
const *)arg1
)->GetId();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_From_int((int)(result
));
14776 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxEvent
*arg1
= (wxEvent
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "Id", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail
;
14790 arg2
= (int)(SWIG_As_int(obj1
));
14791 if (SWIG_arg_fail(2)) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->SetId(arg2
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 Py_INCREF(Py_None
); resultobj
= Py_None
;
14807 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxEvent
*arg1
= (wxEvent
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14818 if (SWIG_arg_fail(1)) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14835 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxEvent
*arg1
= (wxEvent
*) 0 ;
14838 bool arg2
= (bool) true ;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "skip", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14847 if (SWIG_arg_fail(1)) SWIG_fail
;
14850 arg2
= (bool)(SWIG_As_bool(obj1
));
14851 if (SWIG_arg_fail(2)) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 (arg1
)->Skip(arg2
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxEvent
*arg1
= (wxEvent
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14879 if (SWIG_arg_fail(1)) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14896 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxEvent
*arg1
= (wxEvent
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14907 if (SWIG_arg_fail(1)) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxEvent
*arg1
= (wxEvent
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14935 if (SWIG_arg_fail(1)) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (int)(arg1
)->StopPropagation();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_From_int((int)(result
));
14952 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxEvent
*arg1
= (wxEvent
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "propagationLevel", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 arg2
= (int)(SWIG_As_int(obj1
));
14967 if (SWIG_arg_fail(2)) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 (arg1
)->ResumePropagation(arg2
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxEvent
*arg1
= (wxEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14994 if (SWIG_arg_fail(1)) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (wxEvent
*)(arg1
)->Clone();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15009 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15012 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15014 return Py_BuildValue((char *)"");
15016 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxEvent
*arg1
= 0 ;
15019 wxPropagationDisabler
*result
;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "event", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15028 if (SWIG_arg_fail(1)) SWIG_fail
;
15029 if (arg1
== NULL
) {
15030 SWIG_null_ref("wxEvent");
15032 if (SWIG_arg_fail(1)) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15048 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15051 PyObject
* obj0
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15058 if (SWIG_arg_fail(1)) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 Py_INCREF(Py_None
); resultobj
= Py_None
;
15073 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15076 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15078 return Py_BuildValue((char *)"");
15080 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxEvent
*arg1
= 0 ;
15083 wxPropagateOnce
*result
;
15084 PyObject
* obj0
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "event", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15093 if (arg1
== NULL
) {
15094 SWIG_null_ref("wxEvent");
15096 if (SWIG_arg_fail(1)) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15112 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 Py_INCREF(Py_None
); resultobj
= Py_None
;
15137 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15140 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15142 return Py_BuildValue((char *)"");
15144 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15147 int arg2
= (int) 0 ;
15148 wxCommandEvent
*result
;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "commandType",(char *) "winid", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15164 arg2
= (int)(SWIG_As_int(obj1
));
15165 if (SWIG_arg_fail(2)) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15182 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(1)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_From_int((int)(result
));
15210 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15213 wxString
*arg2
= 0 ;
15214 bool temp2
= false ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "s", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail
;
15225 arg2
= wxString_in_helper(obj1
);
15226 if (arg2
== NULL
) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 (arg1
)->SetString((wxString
const &)*arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15262 if (SWIG_arg_fail(1)) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15283 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15311 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15322 if (SWIG_arg_fail(1)) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15339 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "extraLong", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15351 if (SWIG_arg_fail(1)) SWIG_fail
;
15353 arg2
= (long)(SWIG_As_long(obj1
));
15354 if (SWIG_arg_fail(2)) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 (arg1
)->SetExtraLong(arg2
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 Py_INCREF(Py_None
); resultobj
= Py_None
;
15370 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_From_long((long)(result
));
15398 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "i", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail
;
15412 arg2
= (int)(SWIG_As_int(obj1
));
15413 if (SWIG_arg_fail(2)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetInt(arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15440 if (SWIG_arg_fail(1)) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_From_long((long)(result
));
15457 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15468 if (SWIG_arg_fail(1)) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15483 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15486 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15488 return Py_BuildValue((char *)"");
15490 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15493 int arg2
= (int) 0 ;
15494 wxNotifyEvent
*result
;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "commandType",(char *) "winid", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15505 if (SWIG_arg_fail(1)) SWIG_fail
;
15510 arg2
= (int)(SWIG_As_int(obj1
));
15511 if (SWIG_arg_fail(2)) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15528 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15538 if (SWIG_arg_fail(1)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15563 if (SWIG_arg_fail(1)) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 Py_INCREF(Py_None
); resultobj
= Py_None
;
15578 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (bool)(arg1
)->IsAllowed();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15606 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15609 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15611 return Py_BuildValue((char *)"");
15613 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15616 int arg2
= (int) 0 ;
15617 int arg3
= (int) 0 ;
15618 int arg4
= (int) 0 ;
15619 wxScrollEvent
*result
;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 PyObject
* obj2
= 0 ;
15623 PyObject
* obj3
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15631 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15632 if (SWIG_arg_fail(1)) SWIG_fail
;
15637 arg2
= (int)(SWIG_As_int(obj1
));
15638 if (SWIG_arg_fail(2)) SWIG_fail
;
15643 arg3
= (int)(SWIG_As_int(obj2
));
15644 if (SWIG_arg_fail(3)) SWIG_fail
;
15649 arg4
= (int)(SWIG_As_int(obj3
));
15650 if (SWIG_arg_fail(4)) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15667 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15678 if (SWIG_arg_fail(1)) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= SWIG_From_int((int)(result
));
15695 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15706 if (SWIG_arg_fail(1)) SWIG_fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_From_int((int)(result
));
15723 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self",(char *) "orient", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15735 if (SWIG_arg_fail(1)) SWIG_fail
;
15737 arg2
= (int)(SWIG_As_int(obj1
));
15738 if (SWIG_arg_fail(2)) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->SetOrientation(arg2
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 Py_INCREF(Py_None
); resultobj
= Py_None
;
15754 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self",(char *) "pos", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15766 if (SWIG_arg_fail(1)) SWIG_fail
;
15768 arg2
= (int)(SWIG_As_int(obj1
));
15769 if (SWIG_arg_fail(2)) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 (arg1
)->SetPosition(arg2
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 Py_INCREF(Py_None
); resultobj
= Py_None
;
15785 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15788 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15790 return Py_BuildValue((char *)"");
15792 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15795 int arg2
= (int) 0 ;
15796 int arg3
= (int) 0 ;
15797 wxScrollWinEvent
*result
;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 PyObject
* obj2
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15808 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15809 if (SWIG_arg_fail(1)) SWIG_fail
;
15814 arg2
= (int)(SWIG_As_int(obj1
));
15815 if (SWIG_arg_fail(2)) SWIG_fail
;
15820 arg3
= (int)(SWIG_As_int(obj2
));
15821 if (SWIG_arg_fail(3)) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15838 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15849 if (SWIG_arg_fail(1)) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_From_int((int)(result
));
15866 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15877 if (SWIG_arg_fail(1)) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_From_int((int)(result
));
15894 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "orient", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15906 if (SWIG_arg_fail(1)) SWIG_fail
;
15908 arg2
= (int)(SWIG_As_int(obj1
));
15909 if (SWIG_arg_fail(2)) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 (arg1
)->SetOrientation(arg2
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self",(char *) "pos", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail
;
15939 arg2
= (int)(SWIG_As_int(obj1
));
15940 if (SWIG_arg_fail(2)) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->SetPosition(arg2
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15959 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15961 return Py_BuildValue((char *)"");
15963 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15966 wxMouseEvent
*result
;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "mouseType", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15975 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15976 if (SWIG_arg_fail(1)) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= wxPyMake_wxObject(result
, 1);
15995 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16006 if (SWIG_arg_fail(1)) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16023 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16026 int arg2
= (int) wxMOUSE_BTN_ANY
;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "but", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16036 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 arg2
= (int)(SWIG_As_int(obj1
));
16040 if (SWIG_arg_fail(2)) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16062 int arg2
= (int) wxMOUSE_BTN_ANY
;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "but", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16072 if (SWIG_arg_fail(1)) SWIG_fail
;
16075 arg2
= (int)(SWIG_As_int(obj1
));
16076 if (SWIG_arg_fail(2)) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16098 int arg2
= (int) wxMOUSE_BTN_ANY
;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self",(char *) "but", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16108 if (SWIG_arg_fail(1)) SWIG_fail
;
16111 arg2
= (int)(SWIG_As_int(obj1
));
16112 if (SWIG_arg_fail(2)) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16131 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "but", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16146 arg2
= (int)(SWIG_As_int(obj1
));
16147 if (SWIG_arg_fail(2)) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16165 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 PyObject
* obj1
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self",(char *) "but", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16178 if (SWIG_arg_fail(1)) SWIG_fail
;
16180 arg2
= (int)(SWIG_As_int(obj1
));
16181 if (SWIG_arg_fail(2)) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16210 if (SWIG_arg_fail(1)) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= SWIG_From_int((int)(result
));
16227 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16238 if (SWIG_arg_fail(1)) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16255 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16311 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16378 if (SWIG_arg_fail(1)) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16406 if (SWIG_arg_fail(1)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16434 if (SWIG_arg_fail(1)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16451 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16479 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16518 if (SWIG_arg_fail(1)) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16535 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16574 if (SWIG_arg_fail(1)) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16591 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "self", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16602 if (SWIG_arg_fail(1)) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16619 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16630 if (SWIG_arg_fail(1)) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= (bool)(arg1
)->LeftIsDown();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16647 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 result
= (bool)(arg1
)->MiddleIsDown();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16675 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16686 if (SWIG_arg_fail(1)) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= (bool)(arg1
)->RightIsDown();
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16703 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16714 if (SWIG_arg_fail(1)) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16731 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16742 if (SWIG_arg_fail(1)) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16759 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16770 if (SWIG_arg_fail(1)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16787 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16798 if (SWIG_arg_fail(1)) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16815 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (arg1
)->GetPosition();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 wxPoint
* resultptr
;
16836 resultptr
= new wxPoint((wxPoint
&)(result
));
16837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16845 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16848 long *arg2
= (long *) 0 ;
16849 long *arg3
= (long *) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16860 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16863 if (SWIG_arg_fail(1)) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->GetPosition(arg2
,arg3
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 Py_INCREF(Py_None
); resultobj
= Py_None
;
16872 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16873 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16874 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16875 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16882 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self",(char *) "dc", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail
;
16897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16898 if (SWIG_arg_fail(2)) SWIG_fail
;
16899 if (arg2
== NULL
) {
16900 SWIG_null_ref("wxDC");
16902 if (SWIG_arg_fail(2)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 wxPoint
* resultptr
;
16913 resultptr
= new wxPoint((wxPoint
&)(result
));
16914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16922 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16933 if (SWIG_arg_fail(1)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_From_int((int)(result
));
16950 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_From_int((int)(result
));
16978 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_From_int((int)(result
));
17006 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= SWIG_From_int((int)(result
));
17034 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "self", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17045 if (SWIG_arg_fail(1)) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= SWIG_From_int((int)(result
));
17062 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17073 if (SWIG_arg_fail(1)) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17090 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self",(char *) "m_x", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17102 if (SWIG_arg_fail(1)) SWIG_fail
;
17104 arg2
= (int)(SWIG_As_int(obj1
));
17105 if (SWIG_arg_fail(2)) SWIG_fail
;
17107 if (arg1
) (arg1
)->m_x
= arg2
;
17109 Py_INCREF(Py_None
); resultobj
= Py_None
;
17116 static PyObject
*_wrap_MouseEvent_m_x_get(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_m_x_get",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
;
17128 result
= (int) ((arg1
)->m_x
);
17131 resultobj
= SWIG_From_int((int)(result
));
17139 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "m_y", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17151 if (SWIG_arg_fail(1)) SWIG_fail
;
17153 arg2
= (int)(SWIG_As_int(obj1
));
17154 if (SWIG_arg_fail(2)) SWIG_fail
;
17156 if (arg1
) (arg1
)->m_y
= arg2
;
17158 Py_INCREF(Py_None
); resultobj
= Py_None
;
17165 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17177 result
= (int) ((arg1
)->m_y
);
17180 resultobj
= SWIG_From_int((int)(result
));
17188 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self",(char *) "m_leftDown", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 arg2
= (bool)(SWIG_As_bool(obj1
));
17203 if (SWIG_arg_fail(2)) SWIG_fail
;
17205 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17207 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17225 if (SWIG_arg_fail(1)) SWIG_fail
;
17226 result
= (bool) ((arg1
)->m_leftDown
);
17229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17237 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self",(char *) "m_middleDown", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17249 if (SWIG_arg_fail(1)) SWIG_fail
;
17251 arg2
= (bool)(SWIG_As_bool(obj1
));
17252 if (SWIG_arg_fail(2)) SWIG_fail
;
17254 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail
;
17275 result
= (bool) ((arg1
)->m_middleDown
);
17278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17286 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "m_rightDown", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17298 if (SWIG_arg_fail(1)) SWIG_fail
;
17300 arg2
= (bool)(SWIG_As_bool(obj1
));
17301 if (SWIG_arg_fail(2)) SWIG_fail
;
17303 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17305 Py_INCREF(Py_None
); resultobj
= Py_None
;
17312 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17323 if (SWIG_arg_fail(1)) SWIG_fail
;
17324 result
= (bool) ((arg1
)->m_rightDown
);
17327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17335 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "m_controlDown", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17347 if (SWIG_arg_fail(1)) SWIG_fail
;
17349 arg2
= (bool)(SWIG_As_bool(obj1
));
17350 if (SWIG_arg_fail(2)) SWIG_fail
;
17352 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 char *kwnames
[] = {
17367 (char *) "self", NULL
17370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17372 if (SWIG_arg_fail(1)) SWIG_fail
;
17373 result
= (bool) ((arg1
)->m_controlDown
);
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17384 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "m_shiftDown", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17396 if (SWIG_arg_fail(1)) SWIG_fail
;
17398 arg2
= (bool)(SWIG_As_bool(obj1
));
17399 if (SWIG_arg_fail(2)) SWIG_fail
;
17401 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17421 if (SWIG_arg_fail(1)) SWIG_fail
;
17422 result
= (bool) ((arg1
)->m_shiftDown
);
17425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self",(char *) "m_altDown", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17445 if (SWIG_arg_fail(1)) SWIG_fail
;
17447 arg2
= (bool)(SWIG_As_bool(obj1
));
17448 if (SWIG_arg_fail(2)) SWIG_fail
;
17450 if (arg1
) (arg1
)->m_altDown
= arg2
;
17452 Py_INCREF(Py_None
); resultobj
= Py_None
;
17459 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17470 if (SWIG_arg_fail(1)) SWIG_fail
;
17471 result
= (bool) ((arg1
)->m_altDown
);
17474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17482 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "m_metaDown", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 arg2
= (bool)(SWIG_As_bool(obj1
));
17497 if (SWIG_arg_fail(2)) SWIG_fail
;
17499 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17508 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17519 if (SWIG_arg_fail(1)) SWIG_fail
;
17520 result
= (bool) ((arg1
)->m_metaDown
);
17523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17531 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "m_wheelRotation", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17543 if (SWIG_arg_fail(1)) SWIG_fail
;
17545 arg2
= (int)(SWIG_As_int(obj1
));
17546 if (SWIG_arg_fail(2)) SWIG_fail
;
17548 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17550 Py_INCREF(Py_None
); resultobj
= Py_None
;
17557 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17568 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 result
= (int) ((arg1
)->m_wheelRotation
);
17572 resultobj
= SWIG_From_int((int)(result
));
17580 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self",(char *) "m_wheelDelta", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17592 if (SWIG_arg_fail(1)) SWIG_fail
;
17594 arg2
= (int)(SWIG_As_int(obj1
));
17595 if (SWIG_arg_fail(2)) SWIG_fail
;
17597 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17599 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17617 if (SWIG_arg_fail(1)) SWIG_fail
;
17618 result
= (int) ((arg1
)->m_wheelDelta
);
17621 resultobj
= SWIG_From_int((int)(result
));
17629 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self",(char *) "m_linesPerAction", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17641 if (SWIG_arg_fail(1)) SWIG_fail
;
17643 arg2
= (int)(SWIG_As_int(obj1
));
17644 if (SWIG_arg_fail(2)) SWIG_fail
;
17646 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17648 Py_INCREF(Py_None
); resultobj
= Py_None
;
17655 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail
;
17667 result
= (int) ((arg1
)->m_linesPerAction
);
17670 resultobj
= SWIG_From_int((int)(result
));
17678 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17681 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17683 return Py_BuildValue((char *)"");
17685 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 int arg1
= (int) 0 ;
17688 int arg2
= (int) 0 ;
17689 wxSetCursorEvent
*result
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "x",(char *) "y", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 arg1
= (int)(SWIG_As_int(obj0
));
17700 if (SWIG_arg_fail(1)) SWIG_fail
;
17705 arg2
= (int)(SWIG_As_int(obj1
));
17706 if (SWIG_arg_fail(2)) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17723 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17734 if (SWIG_arg_fail(1)) SWIG_fail
;
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_From_int((int)(result
));
17751 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17762 if (SWIG_arg_fail(1)) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_From_int((int)(result
));
17779 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17782 wxCursor
*arg2
= 0 ;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self",(char *) "cursor", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17791 if (SWIG_arg_fail(1)) SWIG_fail
;
17793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17794 if (SWIG_arg_fail(2)) SWIG_fail
;
17795 if (arg2
== NULL
) {
17796 SWIG_null_ref("wxCursor");
17798 if (SWIG_arg_fail(2)) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 Py_INCREF(Py_None
); resultobj
= Py_None
;
17814 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17825 if (SWIG_arg_fail(1)) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17830 result
= (wxCursor
*) &_result_ref
;
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 wxCursor
* resultptr
= new wxCursor(*result
);
17838 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17846 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17857 if (SWIG_arg_fail(1)) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17874 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17879 return Py_BuildValue((char *)"");
17881 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17884 wxKeyEvent
*result
;
17885 PyObject
* obj0
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "keyType", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17893 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17894 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17911 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17939 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17967 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17978 if (SWIG_arg_fail(1)) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17995 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18023 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18051 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18079 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18090 if (SWIG_arg_fail(1)) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= SWIG_From_int((int)(result
));
18107 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_From_int((int)(result
));
18135 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18138 unsigned int result
;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18146 if (SWIG_arg_fail(1)) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18163 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18166 unsigned int result
;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18174 if (SWIG_arg_fail(1)) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18191 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18202 if (SWIG_arg_fail(1)) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (arg1
)->GetPosition();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 wxPoint
* resultptr
;
18212 resultptr
= new wxPoint((wxPoint
&)(result
));
18213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18221 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18224 long *arg2
= (long *) 0 ;
18225 long *arg3
= (long *) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18236 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->GetPosition(arg2
,arg3
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 Py_INCREF(Py_None
); resultobj
= Py_None
;
18248 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18249 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18250 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18251 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18258 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_From_int((int)(result
));
18286 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_From_int((int)(result
));
18314 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "m_x", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail
;
18328 arg2
= (int)(SWIG_As_int(obj1
));
18329 if (SWIG_arg_fail(2)) SWIG_fail
;
18331 if (arg1
) (arg1
)->m_x
= arg2
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18344 PyObject
* obj0
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail
;
18352 result
= (int) ((arg1
)->m_x
);
18355 resultobj
= SWIG_From_int((int)(result
));
18363 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self",(char *) "m_y", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail
;
18377 arg2
= (int)(SWIG_As_int(obj1
));
18378 if (SWIG_arg_fail(2)) SWIG_fail
;
18380 if (arg1
) (arg1
)->m_y
= arg2
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 result
= (int) ((arg1
)->m_y
);
18404 resultobj
= SWIG_From_int((int)(result
));
18412 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self",(char *) "m_keyCode", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18424 if (SWIG_arg_fail(1)) SWIG_fail
;
18426 arg2
= (long)(SWIG_As_long(obj1
));
18427 if (SWIG_arg_fail(2)) SWIG_fail
;
18429 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail
;
18450 result
= (long) ((arg1
)->m_keyCode
);
18453 resultobj
= SWIG_From_long((long)(result
));
18461 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "m_controlDown", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 arg2
= (bool)(SWIG_As_bool(obj1
));
18476 if (SWIG_arg_fail(2)) SWIG_fail
;
18478 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18499 result
= (bool) ((arg1
)->m_controlDown
);
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "m_shiftDown", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18522 if (SWIG_arg_fail(1)) SWIG_fail
;
18524 arg2
= (bool)(SWIG_As_bool(obj1
));
18525 if (SWIG_arg_fail(2)) SWIG_fail
;
18527 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18548 result
= (bool) ((arg1
)->m_shiftDown
);
18551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18559 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "m_altDown", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail
;
18573 arg2
= (bool)(SWIG_As_bool(obj1
));
18574 if (SWIG_arg_fail(2)) SWIG_fail
;
18576 if (arg1
) (arg1
)->m_altDown
= arg2
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail
;
18597 result
= (bool) ((arg1
)->m_altDown
);
18600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18608 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "m_metaDown", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18620 if (SWIG_arg_fail(1)) SWIG_fail
;
18622 arg2
= (bool)(SWIG_As_bool(obj1
));
18623 if (SWIG_arg_fail(2)) SWIG_fail
;
18625 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 result
= (bool) ((arg1
)->m_metaDown
);
18649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18657 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "m_scanCode", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18671 arg2
= (bool)(SWIG_As_bool(obj1
));
18672 if (SWIG_arg_fail(2)) SWIG_fail
;
18674 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18676 Py_INCREF(Py_None
); resultobj
= Py_None
;
18683 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18694 if (SWIG_arg_fail(1)) SWIG_fail
;
18695 result
= (bool) ((arg1
)->m_scanCode
);
18698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18706 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18709 unsigned int arg2
;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self",(char *) "m_rawCode", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18718 if (SWIG_arg_fail(1)) SWIG_fail
;
18720 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18721 if (SWIG_arg_fail(2)) SWIG_fail
;
18723 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18725 Py_INCREF(Py_None
); resultobj
= Py_None
;
18732 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18735 unsigned int result
;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18743 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 result
= (unsigned int) ((arg1
)->m_rawCode
);
18747 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18755 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18758 unsigned int arg2
;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self",(char *) "m_rawFlags", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18767 if (SWIG_arg_fail(1)) SWIG_fail
;
18769 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18770 if (SWIG_arg_fail(2)) SWIG_fail
;
18772 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18774 Py_INCREF(Py_None
); resultobj
= Py_None
;
18781 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18784 unsigned int result
;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(1)) SWIG_fail
;
18793 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18796 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18804 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18807 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18809 return Py_BuildValue((char *)"");
18811 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18814 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18815 int arg2
= (int) 0 ;
18816 wxSizeEvent
*result
;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "sz",(char *) "winid", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18828 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18833 arg2
= (int)(SWIG_As_int(obj1
));
18834 if (SWIG_arg_fail(2)) SWIG_fail
;
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18851 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18871 wxSize
* resultptr
;
18872 resultptr
= new wxSize((wxSize
&)(result
));
18873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18881 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18892 if (SWIG_arg_fail(1)) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 wxRect
* resultptr
;
18902 resultptr
= new wxRect((wxRect
&)(result
));
18903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18911 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self",(char *) "rect", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18923 if (SWIG_arg_fail(1)) SWIG_fail
;
18926 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18927 if (SWIG_arg_fail(2)) SWIG_fail
;
18928 if (argp
== NULL
) {
18929 SWIG_null_ref("wxRect");
18931 if (SWIG_arg_fail(2)) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->SetRect(arg2
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "size", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail
;
18963 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18964 if (SWIG_arg_fail(2)) SWIG_fail
;
18965 if (argp
== NULL
) {
18966 SWIG_null_ref("wxSize");
18968 if (SWIG_arg_fail(2)) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 wxSizeEvent_SetSize(arg1
,arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18988 wxSize
*arg2
= (wxSize
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "m_size", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail
;
18998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18999 if (SWIG_arg_fail(2)) SWIG_fail
;
19000 if (arg1
) (arg1
)->m_size
= *arg2
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19020 if (SWIG_arg_fail(1)) SWIG_fail
;
19021 result
= (wxSize
*)& ((arg1
)->m_size
);
19023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19030 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19033 wxRect
*arg2
= (wxRect
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "m_rect", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19044 if (SWIG_arg_fail(2)) SWIG_fail
;
19045 if (arg1
) (arg1
)->m_rect
= *arg2
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19065 if (SWIG_arg_fail(1)) SWIG_fail
;
19066 result
= (wxRect
*)& ((arg1
)->m_rect
);
19068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19075 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19078 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19080 return Py_BuildValue((char *)"");
19082 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19085 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19086 int arg2
= (int) 0 ;
19087 wxMoveEvent
*result
;
19089 PyObject
* obj0
= 0 ;
19090 PyObject
* obj1
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "pos",(char *) "winid", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19104 arg2
= (int)(SWIG_As_int(obj1
));
19105 if (SWIG_arg_fail(2)) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19122 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 wxPoint
* resultptr
;
19143 resultptr
= new wxPoint((wxPoint
&)(result
));
19144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19152 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19163 if (SWIG_arg_fail(1)) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19172 wxRect
* resultptr
;
19173 resultptr
= new wxRect((wxRect
&)(result
));
19174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19182 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "rect", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19195 if (SWIG_arg_fail(1)) SWIG_fail
;
19198 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->SetRect((wxRect
const &)*arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19217 wxPoint
*arg2
= 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "pos", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19227 if (SWIG_arg_fail(1)) SWIG_fail
;
19230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 Py_INCREF(Py_None
); resultobj
= Py_None
;
19246 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19249 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19251 return Py_BuildValue((char *)"");
19253 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 int arg1
= (int) 0 ;
19256 wxPaintEvent
*result
;
19257 PyObject
* obj0
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "Id", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19265 arg1
= (int)(SWIG_As_int(obj0
));
19266 if (SWIG_arg_fail(1)) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19283 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19286 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19288 return Py_BuildValue((char *)"");
19290 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 int arg1
= (int) 0 ;
19293 wxNcPaintEvent
*result
;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "winid", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19302 arg1
= (int)(SWIG_As_int(obj0
));
19303 if (SWIG_arg_fail(1)) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19320 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19323 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19325 return Py_BuildValue((char *)"");
19327 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 int arg1
= (int) 0 ;
19330 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19331 wxEraseEvent
*result
;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "Id",(char *) "dc", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19341 arg1
= (int)(SWIG_As_int(obj0
));
19342 if (SWIG_arg_fail(1)) SWIG_fail
;
19346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19347 if (SWIG_arg_fail(2)) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19363 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= wxPyMake_wxObject(result
, 0);
19391 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19394 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19396 return Py_BuildValue((char *)"");
19398 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19401 int arg2
= (int) 0 ;
19402 wxFocusEvent
*result
;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "type",(char *) "winid", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19413 if (SWIG_arg_fail(1)) SWIG_fail
;
19418 arg2
= (int)(SWIG_As_int(obj1
));
19419 if (SWIG_arg_fail(2)) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19436 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19447 if (SWIG_arg_fail(1)) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= wxPyMake_wxObject(result
, 0);
19464 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19467 wxWindow
*arg2
= (wxWindow
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "win", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail
;
19477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(2)) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->SetWindow(arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19496 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19498 return Py_BuildValue((char *)"");
19500 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxWindow
*arg1
= (wxWindow
*) NULL
;
19503 wxChildFocusEvent
*result
;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "win", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19512 if (SWIG_arg_fail(1)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19528 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19539 if (SWIG_arg_fail(1)) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= wxPyMake_wxObject(result
, 0);
19556 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19559 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19561 return Py_BuildValue((char *)"");
19563 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19566 bool arg2
= (bool) true ;
19567 int arg3
= (int) 0 ;
19568 wxActivateEvent
*result
;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 PyObject
* obj2
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "type",(char *) "active",(char *) "Id", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19579 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19585 arg2
= (bool)(SWIG_As_bool(obj1
));
19586 if (SWIG_arg_fail(2)) SWIG_fail
;
19591 arg3
= (int)(SWIG_As_int(obj2
));
19592 if (SWIG_arg_fail(3)) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19609 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19620 if (SWIG_arg_fail(1)) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19637 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19640 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19642 return Py_BuildValue((char *)"");
19644 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 int arg1
= (int) 0 ;
19647 wxInitDialogEvent
*result
;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "Id", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19656 arg1
= (int)(SWIG_As_int(obj0
));
19657 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19674 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19677 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19679 return Py_BuildValue((char *)"");
19681 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19684 int arg2
= (int) 0 ;
19685 wxMenu
*arg3
= (wxMenu
*) NULL
;
19686 wxMenuEvent
*result
;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 PyObject
* obj2
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "type",(char *) "winid",(char *) "menu", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19697 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19698 if (SWIG_arg_fail(1)) SWIG_fail
;
19703 arg2
= (int)(SWIG_As_int(obj1
));
19704 if (SWIG_arg_fail(2)) SWIG_fail
;
19708 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19709 if (SWIG_arg_fail(3)) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19725 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_From_int((int)(result
));
19753 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19764 if (SWIG_arg_fail(1)) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19781 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= wxPyMake_wxObject(result
, 0);
19809 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19812 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19814 return Py_BuildValue((char *)"");
19816 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19819 int arg2
= (int) 0 ;
19820 wxCloseEvent
*result
;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "type",(char *) "winid", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19830 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19831 if (SWIG_arg_fail(1)) SWIG_fail
;
19836 arg2
= (int)(SWIG_As_int(obj1
));
19837 if (SWIG_arg_fail(2)) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19854 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "logOff", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail
;
19868 arg2
= (bool)(SWIG_As_bool(obj1
));
19869 if (SWIG_arg_fail(2)) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 (arg1
)->SetLoggingOff(arg2
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 Py_INCREF(Py_None
); resultobj
= Py_None
;
19885 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19896 if (SWIG_arg_fail(1)) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19913 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19916 bool arg2
= (bool) true ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "veto", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail
;
19928 arg2
= (bool)(SWIG_As_bool(obj1
));
19929 if (SWIG_arg_fail(2)) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 (arg1
)->Veto(arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 Py_INCREF(Py_None
); resultobj
= Py_None
;
19946 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "canVeto", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19958 if (SWIG_arg_fail(1)) SWIG_fail
;
19960 arg2
= (bool)(SWIG_As_bool(obj1
));
19961 if (SWIG_arg_fail(2)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 (arg1
)->SetCanVeto(arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 Py_INCREF(Py_None
); resultobj
= Py_None
;
19977 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19981 PyObject
* obj0
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19988 if (SWIG_arg_fail(1)) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20005 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20016 if (SWIG_arg_fail(1)) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20036 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20038 return Py_BuildValue((char *)"");
20040 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 int arg1
= (int) 0 ;
20043 bool arg2
= (bool) false ;
20044 wxShowEvent
*result
;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "winid",(char *) "show", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20054 arg1
= (int)(SWIG_As_int(obj0
));
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20060 arg2
= (bool)(SWIG_As_bool(obj1
));
20061 if (SWIG_arg_fail(2)) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20078 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "show", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20090 if (SWIG_arg_fail(1)) SWIG_fail
;
20092 arg2
= (bool)(SWIG_As_bool(obj1
));
20093 if (SWIG_arg_fail(2)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 (arg1
)->SetShow(arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 Py_INCREF(Py_None
); resultobj
= Py_None
;
20109 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20137 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20140 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20142 return Py_BuildValue((char *)"");
20144 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 int arg1
= (int) 0 ;
20147 bool arg2
= (bool) true ;
20148 wxIconizeEvent
*result
;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "id",(char *) "iconized", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20158 arg1
= (int)(SWIG_As_int(obj0
));
20159 if (SWIG_arg_fail(1)) SWIG_fail
;
20164 arg2
= (bool)(SWIG_As_bool(obj1
));
20165 if (SWIG_arg_fail(2)) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20182 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20193 if (SWIG_arg_fail(1)) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (bool)(arg1
)->Iconized();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20210 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20213 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20215 return Py_BuildValue((char *)"");
20217 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 int arg1
= (int) 0 ;
20220 wxMaximizeEvent
*result
;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "id", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20229 arg1
= (int)(SWIG_As_int(obj0
));
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20247 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20250 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20252 return Py_BuildValue((char *)"");
20254 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (arg1
)->GetPosition();
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20274 wxPoint
* resultptr
;
20275 resultptr
= new wxPoint((wxPoint
&)(result
));
20276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20284 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20295 if (SWIG_arg_fail(1)) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (int)(arg1
)->GetNumberOfFiles();
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_From_int((int)(result
));
20312 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= result
;
20338 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20341 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20343 return Py_BuildValue((char *)"");
20345 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 int arg1
= (int) 0 ;
20348 wxUpdateUIEvent
*result
;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "commandId", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20357 arg1
= (int)(SWIG_As_int(obj0
));
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20375 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20386 if (SWIG_arg_fail(1)) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20403 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20414 if (SWIG_arg_fail(1)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20431 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20442 if (SWIG_arg_fail(1)) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20463 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20491 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20519 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20547 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "check", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail
;
20561 arg2
= (bool)(SWIG_As_bool(obj1
));
20562 if (SWIG_arg_fail(2)) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 (arg1
)->Check(arg2
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 Py_INCREF(Py_None
); resultobj
= Py_None
;
20578 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "enable", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20590 if (SWIG_arg_fail(1)) SWIG_fail
;
20592 arg2
= (bool)(SWIG_As_bool(obj1
));
20593 if (SWIG_arg_fail(2)) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 (arg1
)->Enable(arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 Py_INCREF(Py_None
); resultobj
= Py_None
;
20609 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20612 wxString
*arg2
= 0 ;
20613 bool temp2
= false ;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self",(char *) "text", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail
;
20624 arg2
= wxString_in_helper(obj1
);
20625 if (arg2
== NULL
) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetText((wxString
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 Py_INCREF(Py_None
); resultobj
= Py_None
;
20650 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "updateInterval", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20660 arg1
= (long)(SWIG_As_long(obj0
));
20661 if (SWIG_arg_fail(1)) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 Py_INCREF(Py_None
); resultobj
= Py_None
;
20677 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20680 char *kwnames
[] = {
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_From_long((long)(result
));
20701 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxWindow
*arg1
= (wxWindow
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "win", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20729 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 char *kwnames
[] = {
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 wxUpdateUIEvent::ResetUpdateTime();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20750 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxUpdateUIMode arg1
;
20753 PyObject
* obj0
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "mode", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20760 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20761 if (SWIG_arg_fail(1)) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxUpdateUIMode result
;
20780 char *kwnames
[] = {
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_From_int((result
));
20799 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20802 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20804 return Py_BuildValue((char *)"");
20806 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxSysColourChangedEvent
*result
;
20809 char *kwnames
[] = {
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20828 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20831 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20833 return Py_BuildValue((char *)"");
20835 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 int arg1
= (int) 0 ;
20838 wxWindow
*arg2
= (wxWindow
*) NULL
;
20839 wxMouseCaptureChangedEvent
*result
;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "winid",(char *) "gainedCapture", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20849 arg1
= (int)(SWIG_As_int(obj0
));
20850 if (SWIG_arg_fail(1)) SWIG_fail
;
20854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20855 if (SWIG_arg_fail(2)) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20871 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20882 if (SWIG_arg_fail(1)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= wxPyMake_wxObject(result
, 0);
20899 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20902 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20904 return Py_BuildValue((char *)"");
20906 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxDisplayChangedEvent
*result
;
20909 char *kwnames
[] = {
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20928 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20931 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20933 return Py_BuildValue((char *)"");
20935 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 int arg1
= (int) 0 ;
20938 wxPaletteChangedEvent
*result
;
20939 PyObject
* obj0
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "id", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20947 arg1
= (int)(SWIG_As_int(obj0
));
20948 if (SWIG_arg_fail(1)) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20965 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20968 wxWindow
*arg2
= (wxWindow
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "win", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20977 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 (arg1
)->SetChangedWindow(arg2
);
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= wxPyMake_wxObject(result
, 0);
21022 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21025 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21027 return Py_BuildValue((char *)"");
21029 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 int arg1
= (int) 0 ;
21032 wxQueryNewPaletteEvent
*result
;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "winid", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21041 arg1
= (int)(SWIG_As_int(obj0
));
21042 if (SWIG_arg_fail(1)) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21059 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self",(char *) "realized", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21071 if (SWIG_arg_fail(1)) SWIG_fail
;
21073 arg2
= (bool)(SWIG_As_bool(obj1
));
21074 if (SWIG_arg_fail(2)) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 (arg1
)->SetPaletteRealized(arg2
);
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 Py_INCREF(Py_None
); resultobj
= Py_None
;
21090 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21101 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21118 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21121 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21123 return Py_BuildValue((char *)"");
21125 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21127 wxNavigationKeyEvent
*result
;
21128 char *kwnames
[] = {
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21147 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21158 if (SWIG_arg_fail(1)) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21175 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "forward", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail
;
21189 arg2
= (bool)(SWIG_As_bool(obj1
));
21190 if (SWIG_arg_fail(2)) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 (arg1
)->SetDirection(arg2
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 Py_INCREF(Py_None
); resultobj
= Py_None
;
21206 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21217 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21234 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "self",(char *) "ischange", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21246 if (SWIG_arg_fail(1)) SWIG_fail
;
21248 arg2
= (bool)(SWIG_As_bool(obj1
));
21249 if (SWIG_arg_fail(2)) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 (arg1
)->SetWindowChange(arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21276 if (SWIG_arg_fail(1)) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "bIs", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail
;
21307 arg2
= (bool)(SWIG_As_bool(obj1
));
21308 if (SWIG_arg_fail(2)) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 (arg1
)->SetFromTab(arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 Py_INCREF(Py_None
); resultobj
= Py_None
;
21324 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self",(char *) "flags", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21336 if (SWIG_arg_fail(1)) SWIG_fail
;
21338 arg2
= (long)(SWIG_As_long(obj1
));
21339 if (SWIG_arg_fail(2)) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 (arg1
)->SetFlags(arg2
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 Py_INCREF(Py_None
); resultobj
= Py_None
;
21355 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= wxPyMake_wxObject(result
, 0);
21383 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21386 wxWindow
*arg2
= (wxWindow
*) 0 ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self",(char *) "win", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21395 if (SWIG_arg_fail(1)) SWIG_fail
;
21396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21397 if (SWIG_arg_fail(2)) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 (arg1
)->SetCurrentFocus(arg2
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 Py_INCREF(Py_None
); resultobj
= Py_None
;
21412 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21415 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21417 return Py_BuildValue((char *)"");
21419 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxWindow
*arg1
= (wxWindow
*) NULL
;
21422 wxWindowCreateEvent
*result
;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "win", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21447 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= wxPyMake_wxObject(result
, 0);
21475 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21478 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21480 return Py_BuildValue((char *)"");
21482 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxWindow
*arg1
= (wxWindow
*) NULL
;
21485 wxWindowDestroyEvent
*result
;
21486 PyObject
* obj0
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "win", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21494 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21510 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= wxPyMake_wxObject(result
, 0);
21538 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21541 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21543 return Py_BuildValue((char *)"");
21545 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21548 int arg2
= (int) 0 ;
21549 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21550 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21551 wxContextMenuEvent
*result
;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "type",(char *) "winid",(char *) "pt", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21563 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21564 if (SWIG_arg_fail(1)) SWIG_fail
;
21569 arg2
= (int)(SWIG_As_int(obj1
));
21570 if (SWIG_arg_fail(2)) SWIG_fail
;
21576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21593 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21609 result
= (wxPoint
*) &_result_ref
;
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21622 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21625 wxPoint
*arg2
= 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "pos", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21635 if (SWIG_arg_fail(1)) SWIG_fail
;
21638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 Py_INCREF(Py_None
); resultobj
= Py_None
;
21654 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21657 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21659 return Py_BuildValue((char *)"");
21661 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxIdleEvent
*result
;
21664 char *kwnames
[] = {
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (wxIdleEvent
*)new wxIdleEvent();
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21683 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21686 bool arg2
= (bool) true ;
21687 PyObject
* obj0
= 0 ;
21688 PyObject
* obj1
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self",(char *) "needMore", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21695 if (SWIG_arg_fail(1)) SWIG_fail
;
21698 arg2
= (bool)(SWIG_As_bool(obj1
));
21699 if (SWIG_arg_fail(2)) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 (arg1
)->RequestMore(arg2
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 Py_INCREF(Py_None
); resultobj
= Py_None
;
21716 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21744 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21747 PyObject
* obj0
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "mode", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21754 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21755 if (SWIG_arg_fail(1)) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21774 char *kwnames
[] = {
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= SWIG_From_int((result
));
21793 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxWindow
*arg1
= (wxWindow
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "win", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (bool)wxIdleEvent::CanSend(arg1
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21821 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21824 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21826 return Py_BuildValue((char *)"");
21828 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 int arg1
= (int) 0 ;
21831 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "winid",(char *) "commandType", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21842 arg1
= (int)(SWIG_As_int(obj0
));
21843 if (SWIG_arg_fail(1)) SWIG_fail
;
21848 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21849 if (SWIG_arg_fail(2)) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21866 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21876 if (SWIG_arg_fail(1)) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 Py_INCREF(Py_None
); resultobj
= Py_None
;
21891 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21894 PyObject
*arg2
= (PyObject
*) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "self", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 (arg1
)->SetSelf(arg2
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 Py_INCREF(Py_None
); resultobj
= Py_None
;
21919 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21923 PyObject
* obj0
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21930 if (SWIG_arg_fail(1)) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (PyObject
*)(arg1
)->GetSelf();
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
;
21945 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21948 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21950 return Py_BuildValue((char *)"");
21952 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21955 int arg2
= (int) 0 ;
21956 wxPyCommandEvent
*result
;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "commandType",(char *) "id", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21967 if (SWIG_arg_fail(1)) SWIG_fail
;
21972 arg2
= (int)(SWIG_As_int(obj1
));
21973 if (SWIG_arg_fail(2)) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21990 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22000 if (SWIG_arg_fail(1)) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 Py_INCREF(Py_None
); resultobj
= Py_None
;
22015 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22018 PyObject
*arg2
= (PyObject
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 (arg1
)->SetSelf(arg2
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 Py_INCREF(Py_None
); resultobj
= Py_None
;
22043 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22054 if (SWIG_arg_fail(1)) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (PyObject
*)(arg1
)->GetSelf();
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= result
;
22069 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22072 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22074 return Py_BuildValue((char *)"");
22076 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxWindow
*arg1
= (wxWindow
*) 0 ;
22079 wxDateTime
*arg2
= 0 ;
22081 wxDateEvent
*result
;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 PyObject
* obj2
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "win",(char *) "dt",(char *) "type", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail
;
22093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22094 if (SWIG_arg_fail(2)) SWIG_fail
;
22095 if (arg2
== NULL
) {
22096 SWIG_null_ref("wxDateTime");
22098 if (SWIG_arg_fail(2)) SWIG_fail
;
22101 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22102 if (SWIG_arg_fail(3)) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22118 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22121 wxDateTime
*result
;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22134 result
= (wxDateTime
*) &_result_ref
;
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22147 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22150 wxDateTime
*arg2
= 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "date", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail
;
22161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22162 if (SWIG_arg_fail(2)) SWIG_fail
;
22163 if (arg2
== NULL
) {
22164 SWIG_null_ref("wxDateTime");
22166 if (SWIG_arg_fail(2)) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 Py_INCREF(Py_None
); resultobj
= Py_None
;
22182 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22185 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22187 return Py_BuildValue((char *)"");
22189 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22192 char *kwnames
[] = {
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (wxPyApp
*)new_wxPyApp();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22211 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22214 PyObject
* obj0
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22221 if (SWIG_arg_fail(1)) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 Py_INCREF(Py_None
); resultobj
= Py_None
;
22236 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22239 PyObject
*arg2
= (PyObject
*) 0 ;
22240 PyObject
*arg3
= (PyObject
*) 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "self",(char *) "_class", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 Py_INCREF(Py_None
); resultobj
= Py_None
;
22267 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(1)) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22299 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22302 wxString
*arg2
= 0 ;
22303 bool temp2
= false ;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self",(char *) "name", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail
;
22314 arg2
= wxString_in_helper(obj1
);
22315 if (arg2
== NULL
) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 (arg1
)->SetAppName((wxString
const &)*arg2
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 Py_INCREF(Py_None
); resultobj
= Py_None
;
22340 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22372 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22375 wxString
*arg2
= 0 ;
22376 bool temp2
= false ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "name", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 arg2
= wxString_in_helper(obj1
);
22388 if (arg2
== NULL
) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->SetClassName((wxString
const &)*arg2
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22413 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22424 if (SWIG_arg_fail(1)) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22429 result
= (wxString
*) &_result_ref
;
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22439 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22448 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22451 wxString
*arg2
= 0 ;
22452 bool temp2
= false ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "name", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22461 if (SWIG_arg_fail(1)) SWIG_fail
;
22463 arg2
= wxString_in_helper(obj1
);
22464 if (arg2
== NULL
) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22492 wxAppTraits
*result
;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(1)) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22515 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22518 PyObject
* obj0
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 (arg1
)->ProcessPendingEvents();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 Py_INCREF(Py_None
); resultobj
= Py_None
;
22540 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22543 bool arg2
= (bool) false ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self",(char *) "onlyIfNeeded", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22553 if (SWIG_arg_fail(1)) SWIG_fail
;
22556 arg2
= (bool)(SWIG_As_bool(obj1
));
22557 if (SWIG_arg_fail(2)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (bool)(arg1
)->Yield(arg2
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22576 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22586 if (SWIG_arg_fail(1)) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 (arg1
)->WakeUpIdle();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 Py_INCREF(Py_None
); resultobj
= Py_None
;
22601 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22604 char *kwnames
[] = {
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (bool)wxPyApp::IsMainLoopRunning();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22625 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
;
22627 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22629 PyObject
* obj0
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22636 if (SWIG_arg_fail(1)) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (int)(arg1
)->MainLoop();
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= SWIG_From_int((int)(result
));
22653 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",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();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 (arg1
)->ExitMainLoop();
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22714 if (SWIG_arg_fail(1)) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (bool)(arg1
)->Pending();
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22731 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22742 if (SWIG_arg_fail(1)) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (bool)(arg1
)->Dispatch();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22759 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22761 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 result
= (bool)(arg1
)->ProcessIdle();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22787 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22790 wxWindow
*arg2
= (wxWindow
*) 0 ;
22791 wxIdleEvent
*arg3
= 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 PyObject
* obj2
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "win",(char *) "event", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22802 if (SWIG_arg_fail(1)) SWIG_fail
;
22803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(2)) SWIG_fail
;
22806 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(3)) SWIG_fail
;
22808 if (arg3
== NULL
) {
22809 SWIG_null_ref("wxIdleEvent");
22811 if (SWIG_arg_fail(3)) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22829 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22840 if (SWIG_arg_fail(1)) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22857 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22860 wxWindow
*arg2
= (wxWindow
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self",(char *) "win", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22869 if (SWIG_arg_fail(1)) SWIG_fail
;
22870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22871 if (SWIG_arg_fail(2)) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 (arg1
)->SetTopWindow(arg2
);
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 Py_INCREF(Py_None
); resultobj
= Py_None
;
22886 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22897 if (SWIG_arg_fail(1)) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= wxPyMake_wxObject(result
, 0);
22914 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "flag", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail
;
22928 arg2
= (bool)(SWIG_As_bool(obj1
));
22929 if (SWIG_arg_fail(2)) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->SetExitOnFrameDelete(arg2
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 Py_INCREF(Py_None
); resultobj
= Py_None
;
22945 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22973 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self",(char *) "flag", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail
;
22987 arg2
= (bool)(SWIG_As_bool(obj1
));
22988 if (SWIG_arg_fail(2)) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->SetUseBestVisual(arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23032 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "mode", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23044 if (SWIG_arg_fail(1)) SWIG_fail
;
23046 arg2
= (int)(SWIG_As_int(obj1
));
23047 if (SWIG_arg_fail(2)) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 (arg1
)->SetPrintMode(arg2
);
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23074 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_From_int((int)(result
));
23091 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 PyObject
* obj1
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self",(char *) "mode", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 arg2
= (int)(SWIG_As_int(obj1
));
23106 if (SWIG_arg_fail(2)) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->SetAssertMode(arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= (int)(arg1
)->GetAssertMode();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_From_int((int)(result
));
23150 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23153 char *kwnames
[] = {
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23174 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23177 char *kwnames
[] = {
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_From_long((long)(result
));
23198 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23201 char *kwnames
[] = {
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_From_long((long)(result
));
23222 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23225 char *kwnames
[] = {
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (long)wxPyApp::GetMacExitMenuItemId();
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= SWIG_From_long((long)(result
));
23246 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23249 char *kwnames
[] = {
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= wxPyApp::GetMacHelpMenuTitleName();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23274 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23277 PyObject
* obj0
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "val", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23284 arg1
= (bool)(SWIG_As_bool(obj0
));
23285 if (SWIG_arg_fail(1)) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23304 PyObject
* obj0
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "val", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23311 arg1
= (long)(SWIG_As_long(obj0
));
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 wxPyApp::SetMacAboutMenuItemId(arg1
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23331 PyObject
* obj0
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "val", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23338 arg1
= (long)(SWIG_As_long(obj0
));
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 Py_INCREF(Py_None
); resultobj
= Py_None
;
23355 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "val", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23365 arg1
= (long)(SWIG_As_long(obj0
));
23366 if (SWIG_arg_fail(1)) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 wxPyApp::SetMacExitMenuItemId(arg1
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 Py_INCREF(Py_None
); resultobj
= Py_None
;
23382 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxString
*arg1
= 0 ;
23385 bool temp1
= false ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "val", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23393 arg1
= wxString_in_helper(obj0
);
23394 if (arg1
== NULL
) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 Py_INCREF(Py_None
); resultobj
= Py_None
;
23419 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 (arg1
)->_BootstrapApp();
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 Py_INCREF(Py_None
); resultobj
= Py_None
;
23444 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23447 char *kwnames
[] = {
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (int)PyApp_GetComCtl32Version();
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_From_int((int)(result
));
23468 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23471 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23473 return Py_BuildValue((char *)"");
23475 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 char *kwnames
[] = {
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 Py_INCREF(Py_None
); resultobj
= Py_None
;
23496 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23499 char *kwnames
[] = {
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (bool)wxYield();
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23520 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23523 char *kwnames
[] = {
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (bool)wxYieldIfNeeded();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23544 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxWindow
*arg1
= (wxWindow
*) NULL
;
23547 bool arg2
= (bool) false ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "win",(char *) "onlyIfNeeded", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23558 if (SWIG_arg_fail(1)) SWIG_fail
;
23562 arg2
= (bool)(SWIG_As_bool(obj1
));
23563 if (SWIG_arg_fail(2)) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (bool)wxSafeYield(arg1
,arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 char *kwnames
[] = {
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 Py_INCREF(Py_None
); resultobj
= Py_None
;
23603 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23606 wxEvent
*arg2
= 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "dest",(char *) "event", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23615 if (SWIG_arg_fail(1)) SWIG_fail
;
23617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23618 if (SWIG_arg_fail(2)) SWIG_fail
;
23619 if (arg2
== NULL
) {
23620 SWIG_null_ref("wxEvent");
23622 if (SWIG_arg_fail(2)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 wxPostEvent(arg1
,*arg2
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 Py_INCREF(Py_None
); resultobj
= Py_None
;
23638 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 char *kwnames
[] = {
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 Py_INCREF(Py_None
); resultobj
= Py_None
;
23659 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23662 char *kwnames
[] = {
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxPyApp
*)wxPyGetApp();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= wxPyMake_wxObject(result
, 0);
23683 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 char *arg1
= (char *) 0 ;
23686 PyObject
* obj0
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "encoding", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23692 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23693 SWIG_arg_fail(1);SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 wxSetDefaultPyEncoding((char const *)arg1
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 Py_INCREF(Py_None
); resultobj
= Py_None
;
23709 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23712 char *kwnames
[] = {
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (char *)wxGetDefaultPyEncoding();
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 resultobj
= SWIG_FromCharPtr(result
);
23731 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
;
23733 wxEventLoop
*result
;
23734 char *kwnames
[] = {
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (wxEventLoop
*)new wxEventLoop();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23753 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23763 if (SWIG_arg_fail(1)) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 Py_INCREF(Py_None
); resultobj
= Py_None
;
23778 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (int)(arg1
)->Run();
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_From_int((int)(result
));
23806 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23809 int arg2
= (int) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "self",(char *) "rc", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23818 if (SWIG_arg_fail(1)) SWIG_fail
;
23821 arg2
= (int)(SWIG_As_int(obj1
));
23822 if (SWIG_arg_fail(2)) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 (arg1
)->Exit(arg2
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23839 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23850 if (SWIG_arg_fail(1)) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23867 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23878 if (SWIG_arg_fail(1)) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= (bool)(arg1
)->Dispatch();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23895 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23899 PyObject
* obj0
= 0 ;
23900 char *kwnames
[] = {
23901 (char *) "self", NULL
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23906 if (SWIG_arg_fail(1)) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23923 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23925 wxEventLoop
*result
;
23926 char *kwnames
[] = {
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23945 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23948 PyObject
* obj0
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "loop", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23955 if (SWIG_arg_fail(1)) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 wxEventLoop::SetActive(arg1
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 Py_INCREF(Py_None
); resultobj
= Py_None
;
23970 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23973 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23975 return Py_BuildValue((char *)"");
23977 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 int arg1
= (int) 0 ;
23980 int arg2
= (int) 0 ;
23981 int arg3
= (int) 0 ;
23982 wxAcceleratorEntry
*result
;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 PyObject
* obj2
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23993 arg1
= (int)(SWIG_As_int(obj0
));
23994 if (SWIG_arg_fail(1)) SWIG_fail
;
23999 arg2
= (int)(SWIG_As_int(obj1
));
24000 if (SWIG_arg_fail(2)) SWIG_fail
;
24005 arg3
= (int)(SWIG_As_int(obj2
));
24006 if (SWIG_arg_fail(3)) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24023 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24033 if (SWIG_arg_fail(1)) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 PyObject
* obj2
= 0 ;
24057 PyObject
* obj3
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24064 if (SWIG_arg_fail(1)) SWIG_fail
;
24066 arg2
= (int)(SWIG_As_int(obj1
));
24067 if (SWIG_arg_fail(2)) SWIG_fail
;
24070 arg3
= (int)(SWIG_As_int(obj2
));
24071 if (SWIG_arg_fail(3)) SWIG_fail
;
24074 arg4
= (int)(SWIG_As_int(obj3
));
24075 if (SWIG_arg_fail(4)) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 (arg1
)->Set(arg2
,arg3
,arg4
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 Py_INCREF(Py_None
); resultobj
= Py_None
;
24091 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= (int)(arg1
)->GetFlags();
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_From_int((int)(result
));
24119 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24130 if (SWIG_arg_fail(1)) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (int)(arg1
)->GetKeyCode();
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= SWIG_From_int((int)(result
));
24147 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "self", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (int)(arg1
)->GetCommand();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_From_int((int)(result
));
24175 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24178 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24180 return Py_BuildValue((char *)"");
24182 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24185 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24186 wxAcceleratorTable
*result
;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24194 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24195 if (arg2
) arg1
= PyList_Size(obj0
);
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24218 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24228 if (SWIG_arg_fail(1)) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 Py_INCREF(Py_None
); resultobj
= Py_None
;
24243 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24245 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24271 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24274 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24276 return Py_BuildValue((char *)"");
24278 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24279 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24284 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24287 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24292 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxString
*arg1
= 0 ;
24295 wxAcceleratorEntry
*result
;
24296 bool temp1
= false ;
24297 PyObject
* obj0
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "label", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24304 arg1
= wxString_in_helper(obj0
);
24305 if (arg1
== NULL
) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24330 static int _wrap_PanelNameStr_set(PyObject
*) {
24331 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24336 static PyObject
*_wrap_PanelNameStr_get(void) {
24341 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24343 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24350 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24352 wxVisualAttributes
*result
;
24353 char *kwnames
[] = {
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24372 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24382 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 delete_wxVisualAttributes(arg1
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 Py_INCREF(Py_None
); resultobj
= Py_None
;
24397 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24400 wxFont
*arg2
= (wxFont
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "font", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24409 if (SWIG_arg_fail(1)) SWIG_fail
;
24410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24411 if (SWIG_arg_fail(2)) SWIG_fail
;
24412 if (arg1
) (arg1
)->font
= *arg2
;
24414 Py_INCREF(Py_None
); resultobj
= Py_None
;
24421 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail
;
24433 result
= (wxFont
*)& ((arg1
)->font
);
24435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24442 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24445 wxColour
*arg2
= (wxColour
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "colFg", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24454 if (SWIG_arg_fail(1)) SWIG_fail
;
24455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24456 if (SWIG_arg_fail(2)) SWIG_fail
;
24457 if (arg1
) (arg1
)->colFg
= *arg2
;
24459 Py_INCREF(Py_None
); resultobj
= Py_None
;
24466 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24477 if (SWIG_arg_fail(1)) SWIG_fail
;
24478 result
= (wxColour
*)& ((arg1
)->colFg
);
24480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24487 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24490 wxColour
*arg2
= (wxColour
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "colBg", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail
;
24500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24501 if (SWIG_arg_fail(2)) SWIG_fail
;
24502 if (arg1
) (arg1
)->colBg
= *arg2
;
24504 Py_INCREF(Py_None
); resultobj
= Py_None
;
24511 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
;
24513 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24522 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 result
= (wxColour
*)& ((arg1
)->colBg
);
24525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24532 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24535 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24537 return Py_BuildValue((char *)"");
24539 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxWindow
*arg1
= (wxWindow
*) 0 ;
24542 int arg2
= (int) (int)-1 ;
24543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24547 long arg5
= (long) 0 ;
24548 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24549 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24553 bool temp6
= false ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 PyObject
* obj2
= 0 ;
24557 PyObject
* obj3
= 0 ;
24558 PyObject
* obj4
= 0 ;
24559 PyObject
* obj5
= 0 ;
24560 char *kwnames
[] = {
24561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24566 if (SWIG_arg_fail(1)) SWIG_fail
;
24569 arg2
= (int const)(SWIG_As_int(obj1
));
24570 if (SWIG_arg_fail(2)) SWIG_fail
;
24576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24582 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24587 arg5
= (long)(SWIG_As_long(obj4
));
24588 if (SWIG_arg_fail(5)) SWIG_fail
;
24593 arg6
= wxString_in_helper(obj5
);
24594 if (arg6
== NULL
) SWIG_fail
;
24599 if (!wxPyCheckForApp()) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24621 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24624 char *kwnames
[] = {
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24630 if (!wxPyCheckForApp()) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (wxWindow
*)new wxWindow();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24644 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxWindow
*arg1
= (wxWindow
*) 0 ;
24647 wxWindow
*arg2
= (wxWindow
*) 0 ;
24648 int arg3
= (int) (int)-1 ;
24649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24653 long arg6
= (long) 0 ;
24654 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24655 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24659 bool temp7
= false ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 PyObject
* obj2
= 0 ;
24663 PyObject
* obj3
= 0 ;
24664 PyObject
* obj4
= 0 ;
24665 PyObject
* obj5
= 0 ;
24666 PyObject
* obj6
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24673 if (SWIG_arg_fail(1)) SWIG_fail
;
24674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24675 if (SWIG_arg_fail(2)) SWIG_fail
;
24678 arg3
= (int const)(SWIG_As_int(obj2
));
24679 if (SWIG_arg_fail(3)) SWIG_fail
;
24685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24696 arg6
= (long)(SWIG_As_long(obj5
));
24697 if (SWIG_arg_fail(6)) SWIG_fail
;
24702 arg7
= wxString_in_helper(obj6
);
24703 if (arg7
== NULL
) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24731 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxWindow
*arg1
= (wxWindow
*) 0 ;
24734 bool arg2
= (bool) false ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self",(char *) "force", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24744 if (SWIG_arg_fail(1)) SWIG_fail
;
24747 arg2
= (bool)(SWIG_As_bool(obj1
));
24748 if (SWIG_arg_fail(2)) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (bool)(arg1
)->Close(arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24767 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxWindow
*arg1
= (wxWindow
*) 0 ;
24771 PyObject
* obj0
= 0 ;
24772 char *kwnames
[] = {
24773 (char *) "self", NULL
24776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24778 if (SWIG_arg_fail(1)) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (bool)(arg1
)->Destroy();
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24795 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxWindow
*arg1
= (wxWindow
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24806 if (SWIG_arg_fail(1)) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (bool)(arg1
)->DestroyChildren();
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24823 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxWindow
*arg1
= (wxWindow
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24834 if (SWIG_arg_fail(1)) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24851 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxWindow
*arg1
= (wxWindow
*) 0 ;
24854 wxString
*arg2
= 0 ;
24855 bool temp2
= false ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "title", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24864 if (SWIG_arg_fail(1)) SWIG_fail
;
24866 arg2
= wxString_in_helper(obj1
);
24867 if (arg2
== NULL
) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 (arg1
)->SetTitle((wxString
const &)*arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 Py_INCREF(Py_None
); resultobj
= Py_None
;
24892 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxWindow
*arg1
= (wxWindow
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24903 if (SWIG_arg_fail(1)) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= ((wxWindow
const *)arg1
)->GetTitle();
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24924 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxWindow
*arg1
= (wxWindow
*) 0 ;
24927 wxString
*arg2
= 0 ;
24928 bool temp2
= false ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "label", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail
;
24939 arg2
= wxString_in_helper(obj1
);
24940 if (arg2
== NULL
) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 (arg1
)->SetLabel((wxString
const &)*arg2
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxWindow
*arg1
= (wxWindow
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 char *kwnames
[] = {
24971 (char *) "self", NULL
24974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24976 if (SWIG_arg_fail(1)) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= ((wxWindow
const *)arg1
)->GetLabel();
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24997 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxWindow
*arg1
= (wxWindow
*) 0 ;
25000 wxString
*arg2
= 0 ;
25001 bool temp2
= false ;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "name", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail
;
25012 arg2
= wxString_in_helper(obj1
);
25013 if (arg2
== NULL
) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->SetName((wxString
const &)*arg2
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25038 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxWindow
*arg1
= (wxWindow
*) 0 ;
25042 PyObject
* obj0
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25049 if (SWIG_arg_fail(1)) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= ((wxWindow
const *)arg1
)->GetName();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25070 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxWindow
*arg1
= (wxWindow
*) 0 ;
25073 wxWindowVariant arg2
;
25074 PyObject
* obj0
= 0 ;
25075 PyObject
* obj1
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self",(char *) "variant", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25082 if (SWIG_arg_fail(1)) SWIG_fail
;
25084 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25085 if (SWIG_arg_fail(2)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 Py_INCREF(Py_None
); resultobj
= Py_None
;
25101 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxWindow
*arg1
= (wxWindow
*) 0 ;
25104 wxWindowVariant result
;
25105 PyObject
* obj0
= 0 ;
25106 char *kwnames
[] = {
25107 (char *) "self", NULL
25110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25112 if (SWIG_arg_fail(1)) SWIG_fail
;
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_From_int((result
));
25127 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxWindow
*arg1
= (wxWindow
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self",(char *) "winid", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25139 if (SWIG_arg_fail(1)) SWIG_fail
;
25141 arg2
= (int)(SWIG_As_int(obj1
));
25142 if (SWIG_arg_fail(2)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->SetId(arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 Py_INCREF(Py_None
); resultobj
= Py_None
;
25158 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxWindow
*arg1
= (wxWindow
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25169 if (SWIG_arg_fail(1)) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (int)((wxWindow
const *)arg1
)->GetId();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_From_int((int)(result
));
25186 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25189 char *kwnames
[] = {
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (int)wxWindow::NewControlId();
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_From_int((int)(result
));
25210 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25214 PyObject
* obj0
= 0 ;
25215 char *kwnames
[] = {
25216 (char *) "winid", NULL
25219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25221 arg1
= (int)(SWIG_As_int(obj0
));
25222 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (int)wxWindow::NextControlId(arg1
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_From_int((int)(result
));
25240 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "winid", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25251 arg1
= (int)(SWIG_As_int(obj0
));
25252 if (SWIG_arg_fail(1)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (int)wxWindow::PrevControlId(arg1
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_From_int((int)(result
));
25270 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxWindow
*arg1
= (wxWindow
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self",(char *) "size", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25283 if (SWIG_arg_fail(1)) SWIG_fail
;
25286 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 (arg1
)->SetSize((wxSize
const &)*arg2
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 Py_INCREF(Py_None
); resultobj
= Py_None
;
25302 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
;
25304 wxWindow
*arg1
= (wxWindow
*) 0 ;
25309 int arg6
= (int) wxSIZE_AUTO
;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 PyObject
* obj2
= 0 ;
25313 PyObject
* obj3
= 0 ;
25314 PyObject
* obj4
= 0 ;
25315 PyObject
* obj5
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
= (int)(SWIG_As_int(obj1
));
25325 if (SWIG_arg_fail(2)) SWIG_fail
;
25328 arg3
= (int)(SWIG_As_int(obj2
));
25329 if (SWIG_arg_fail(3)) SWIG_fail
;
25332 arg4
= (int)(SWIG_As_int(obj3
));
25333 if (SWIG_arg_fail(4)) SWIG_fail
;
25336 arg5
= (int)(SWIG_As_int(obj4
));
25337 if (SWIG_arg_fail(5)) SWIG_fail
;
25341 arg6
= (int)(SWIG_As_int(obj5
));
25342 if (SWIG_arg_fail(6)) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 Py_INCREF(Py_None
); resultobj
= Py_None
;
25359 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxWindow
*arg1
= (wxWindow
*) 0 ;
25363 int arg3
= (int) wxSIZE_AUTO
;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 PyObject
* obj2
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25374 if (SWIG_arg_fail(1)) SWIG_fail
;
25377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25381 arg3
= (int)(SWIG_As_int(obj2
));
25382 if (SWIG_arg_fail(3)) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 PyObject
* obj2
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "width",(char *) "height", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail
;
25415 arg2
= (int)(SWIG_As_int(obj1
));
25416 if (SWIG_arg_fail(2)) SWIG_fail
;
25419 arg3
= (int)(SWIG_As_int(obj2
));
25420 if (SWIG_arg_fail(3)) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 (arg1
)->SetSize(arg2
,arg3
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 Py_INCREF(Py_None
); resultobj
= Py_None
;
25436 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxWindow
*arg1
= (wxWindow
*) 0 ;
25439 wxPoint
*arg2
= 0 ;
25440 int arg3
= (int) wxSIZE_USE_EXISTING
;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 PyObject
* obj2
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self",(char *) "pt",(char *) "flags", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25451 if (SWIG_arg_fail(1)) SWIG_fail
;
25454 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25458 arg3
= (int)(SWIG_As_int(obj2
));
25459 if (SWIG_arg_fail(3)) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 Py_INCREF(Py_None
); resultobj
= Py_None
;
25476 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxWindow
*arg1
= (wxWindow
*) 0 ;
25481 int arg4
= (int) wxSIZE_USE_EXISTING
;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 PyObject
* obj2
= 0 ;
25485 PyObject
* obj3
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25492 if (SWIG_arg_fail(1)) SWIG_fail
;
25494 arg2
= (int)(SWIG_As_int(obj1
));
25495 if (SWIG_arg_fail(2)) SWIG_fail
;
25498 arg3
= (int)(SWIG_As_int(obj2
));
25499 if (SWIG_arg_fail(3)) SWIG_fail
;
25503 arg4
= (int)(SWIG_As_int(obj3
));
25504 if (SWIG_arg_fail(4)) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 (arg1
)->Move(arg2
,arg3
,arg4
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 Py_INCREF(Py_None
); resultobj
= Py_None
;
25521 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxWindow
*arg1
= (wxWindow
*) 0 ;
25524 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25525 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "size", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25535 if (SWIG_arg_fail(1)) SWIG_fail
;
25539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxWindow
*arg1
= (wxWindow
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 Py_INCREF(Py_None
); resultobj
= Py_None
;
25581 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxWindow
*arg1
= (wxWindow
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25606 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxWindow
*arg1
= (wxWindow
*) 0 ;
25611 PyObject
* obj0
= 0 ;
25612 PyObject
* obj1
= 0 ;
25613 char *kwnames
[] = {
25614 (char *) "self",(char *) "size", NULL
25617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25619 if (SWIG_arg_fail(1)) SWIG_fail
;
25622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 Py_INCREF(Py_None
); resultobj
= Py_None
;
25638 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxWindow
*arg1
= (wxWindow
*) 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 PyObject
* obj2
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "width",(char *) "height", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 arg2
= (int)(SWIG_As_int(obj1
));
25655 if (SWIG_arg_fail(2)) SWIG_fail
;
25658 arg3
= (int)(SWIG_As_int(obj2
));
25659 if (SWIG_arg_fail(3)) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 (arg1
)->SetClientSize(arg2
,arg3
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 Py_INCREF(Py_None
); resultobj
= Py_None
;
25675 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxWindow
*arg1
= (wxWindow
*) 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char *kwnames
[] = {
25683 (char *) "self",(char *) "rect", NULL
25686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25688 if (SWIG_arg_fail(1)) SWIG_fail
;
25691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 Py_INCREF(Py_None
); resultobj
= Py_None
;
25707 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxWindow
*arg1
= (wxWindow
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25718 if (SWIG_arg_fail(1)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= (arg1
)->GetPosition();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25727 wxPoint
* resultptr
;
25728 resultptr
= new wxPoint((wxPoint
&)(result
));
25729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25737 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxWindow
*arg1
= (wxWindow
*) 0 ;
25740 int *arg2
= (int *) 0 ;
25741 int *arg3
= (int *) 0 ;
25746 PyObject
* obj0
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self", NULL
25751 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25752 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25755 if (SWIG_arg_fail(1)) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 (arg1
)->GetPosition(arg2
,arg3
);
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 Py_INCREF(Py_None
); resultobj
= Py_None
;
25764 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25765 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25766 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25767 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25774 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxWindow
*arg1
= (wxWindow
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25785 if (SWIG_arg_fail(1)) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= ((wxWindow
const *)arg1
)->GetSize();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxSize
* resultptr
;
25795 resultptr
= new wxSize((wxSize
&)(result
));
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25804 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxWindow
*arg1
= (wxWindow
*) 0 ;
25807 int *arg2
= (int *) 0 ;
25808 int *arg3
= (int *) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self", NULL
25818 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25819 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25822 if (SWIG_arg_fail(1)) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 Py_INCREF(Py_None
); resultobj
= Py_None
;
25831 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25832 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25833 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25834 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25841 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
;
25843 wxWindow
*arg1
= (wxWindow
*) 0 ;
25845 PyObject
* obj0
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25852 if (SWIG_arg_fail(1)) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= ((wxWindow
const *)arg1
)->GetRect();
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 wxRect
* resultptr
;
25862 resultptr
= new wxRect((wxRect
&)(result
));
25863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25871 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxWindow
*arg1
= (wxWindow
*) 0 ;
25875 PyObject
* obj0
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25882 if (SWIG_arg_fail(1)) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 wxSize
* resultptr
;
25892 resultptr
= new wxSize((wxSize
&)(result
));
25893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25901 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxWindow
*arg1
= (wxWindow
*) 0 ;
25904 int *arg2
= (int *) 0 ;
25905 int *arg3
= (int *) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self", NULL
25915 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25916 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25919 if (SWIG_arg_fail(1)) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 Py_INCREF(Py_None
); resultobj
= Py_None
;
25928 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25929 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25930 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25931 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25938 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxWindow
*arg1
= (wxWindow
*) 0 ;
25942 PyObject
* obj0
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 wxPoint
* resultptr
;
25959 resultptr
= new wxPoint((wxPoint
&)(result
));
25960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25968 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxWindow
*arg1
= (wxWindow
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25979 if (SWIG_arg_fail(1)) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 wxRect
* resultptr
;
25989 resultptr
= new wxRect((wxRect
&)(result
));
25990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25998 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26002 PyObject
* obj0
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26009 if (SWIG_arg_fail(1)) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26018 wxSize
* resultptr
;
26019 resultptr
= new wxSize((wxSize
&)(result
));
26020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26028 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxWindow
*arg1
= (wxWindow
*) 0 ;
26031 int *arg2
= (int *) 0 ;
26032 int *arg3
= (int *) 0 ;
26037 PyObject
* obj0
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self", NULL
26042 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26043 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 Py_INCREF(Py_None
); resultobj
= Py_None
;
26055 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26056 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26057 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26058 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26065 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxWindow
*arg1
= (wxWindow
*) 0 ;
26068 PyObject
* obj0
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26075 if (SWIG_arg_fail(1)) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 (arg1
)->InvalidateBestSize();
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 Py_INCREF(Py_None
); resultobj
= Py_None
;
26090 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxWindow
*arg1
= (wxWindow
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26101 if (SWIG_arg_fail(1)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 wxSize
* resultptr
;
26111 resultptr
= new wxSize((wxSize
&)(result
));
26112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26120 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxWindow
*arg1
= (wxWindow
*) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26131 if (SWIG_arg_fail(1)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26140 wxSize
* resultptr
;
26141 resultptr
= new wxSize((wxSize
&)(result
));
26142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26150 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxWindow
*arg1
= (wxWindow
*) 0 ;
26153 int arg2
= (int) wxBOTH
;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "direction", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(1)) SWIG_fail
;
26165 arg2
= (int)(SWIG_As_int(obj1
));
26166 if (SWIG_arg_fail(2)) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 (arg1
)->Center(arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 Py_INCREF(Py_None
); resultobj
= Py_None
;
26183 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxWindow
*arg1
= (wxWindow
*) 0 ;
26186 int arg2
= (int) wxBOTH
;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "dir", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail
;
26198 arg2
= (int)(SWIG_As_int(obj1
));
26199 if (SWIG_arg_fail(2)) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->CenterOnScreen(arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxWindow
*arg1
= (wxWindow
*) 0 ;
26219 int arg2
= (int) wxBOTH
;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self",(char *) "dir", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 arg2
= (int)(SWIG_As_int(obj1
));
26232 if (SWIG_arg_fail(2)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->CenterOnParent(arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxWindow
*arg1
= (wxWindow
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26259 if (SWIG_arg_fail(1)) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 Py_INCREF(Py_None
); resultobj
= Py_None
;
26274 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxWindow
*arg1
= (wxWindow
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->FitInside();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 Py_INCREF(Py_None
); resultobj
= Py_None
;
26299 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 int arg4
= (int) -1 ;
26305 int arg5
= (int) -1 ;
26306 int arg6
= (int) -1 ;
26307 int arg7
= (int) -1 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 PyObject
* obj3
= 0 ;
26312 PyObject
* obj4
= 0 ;
26313 PyObject
* obj5
= 0 ;
26314 PyObject
* obj6
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail
;
26323 arg2
= (int)(SWIG_As_int(obj1
));
26324 if (SWIG_arg_fail(2)) SWIG_fail
;
26327 arg3
= (int)(SWIG_As_int(obj2
));
26328 if (SWIG_arg_fail(3)) SWIG_fail
;
26332 arg4
= (int)(SWIG_As_int(obj3
));
26333 if (SWIG_arg_fail(4)) SWIG_fail
;
26338 arg5
= (int)(SWIG_As_int(obj4
));
26339 if (SWIG_arg_fail(5)) SWIG_fail
;
26344 arg6
= (int)(SWIG_As_int(obj5
));
26345 if (SWIG_arg_fail(6)) SWIG_fail
;
26350 arg7
= (int)(SWIG_As_int(obj6
));
26351 if (SWIG_arg_fail(7)) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxWindow
*arg1
= (wxWindow
*) 0 ;
26372 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26373 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 PyObject
* obj2
= 0 ;
26382 PyObject
* obj3
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail
;
26392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26397 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 Py_INCREF(Py_None
); resultobj
= Py_None
;
26420 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxWindow
*arg1
= (wxWindow
*) 0 ;
26425 int arg4
= (int) -1 ;
26426 int arg5
= (int) -1 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 PyObject
* obj2
= 0 ;
26430 PyObject
* obj3
= 0 ;
26431 PyObject
* obj4
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26438 if (SWIG_arg_fail(1)) SWIG_fail
;
26440 arg2
= (int)(SWIG_As_int(obj1
));
26441 if (SWIG_arg_fail(2)) SWIG_fail
;
26444 arg3
= (int)(SWIG_As_int(obj2
));
26445 if (SWIG_arg_fail(3)) SWIG_fail
;
26449 arg4
= (int)(SWIG_As_int(obj3
));
26450 if (SWIG_arg_fail(4)) SWIG_fail
;
26455 arg5
= (int)(SWIG_As_int(obj4
));
26456 if (SWIG_arg_fail(5)) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 Py_INCREF(Py_None
); resultobj
= Py_None
;
26473 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxWindow
*arg1
= (wxWindow
*) 0 ;
26477 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26478 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 PyObject
* obj2
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26490 if (SWIG_arg_fail(1)) SWIG_fail
;
26493 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26498 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 Py_INCREF(Py_None
); resultobj
= Py_None
;
26515 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxWindow
*arg1
= (wxWindow
*) 0 ;
26519 PyObject
* obj0
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26526 if (SWIG_arg_fail(1)) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26535 wxSize
* resultptr
;
26536 resultptr
= new wxSize((wxSize
&)(result
));
26537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26545 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxWindow
*arg1
= (wxWindow
*) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26556 if (SWIG_arg_fail(1)) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26565 wxSize
* resultptr
;
26566 resultptr
= new wxSize((wxSize
&)(result
));
26567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26575 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxWindow
*arg1
= (wxWindow
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "minSize", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26588 if (SWIG_arg_fail(1)) SWIG_fail
;
26591 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 Py_INCREF(Py_None
); resultobj
= Py_None
;
26607 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26612 PyObject
* obj0
= 0 ;
26613 PyObject
* obj1
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self",(char *) "maxSize", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail
;
26623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 Py_INCREF(Py_None
); resultobj
= Py_None
;
26639 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
;
26641 wxWindow
*arg1
= (wxWindow
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 char *kwnames
[] = {
26645 (char *) "self", NULL
26648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26650 if (SWIG_arg_fail(1)) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= SWIG_From_int((int)(result
));
26667 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
;
26669 wxWindow
*arg1
= (wxWindow
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26678 if (SWIG_arg_fail(1)) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_From_int((int)(result
));
26695 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxWindow
*arg1
= (wxWindow
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_From_int((int)(result
));
26723 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxWindow
*arg1
= (wxWindow
*) 0 ;
26727 PyObject
* obj0
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail
;
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_From_int((int)(result
));
26751 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
;
26753 wxWindow
*arg1
= (wxWindow
*) 0 ;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "self",(char *) "size", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26764 if (SWIG_arg_fail(1)) SWIG_fail
;
26767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 Py_INCREF(Py_None
); resultobj
= Py_None
;
26783 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26784 PyObject
*resultobj
;
26785 wxWindow
*arg1
= (wxWindow
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 PyObject
* obj2
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self",(char *) "w",(char *) "h", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26797 if (SWIG_arg_fail(1)) SWIG_fail
;
26799 arg2
= (int)(SWIG_As_int(obj1
));
26800 if (SWIG_arg_fail(2)) SWIG_fail
;
26803 arg3
= (int)(SWIG_As_int(obj2
));
26804 if (SWIG_arg_fail(3)) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 (arg1
)->SetVirtualSize(arg2
,arg3
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 Py_INCREF(Py_None
); resultobj
= Py_None
;
26820 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxWindow
*arg1
= (wxWindow
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26831 if (SWIG_arg_fail(1)) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 wxSize
* resultptr
;
26841 resultptr
= new wxSize((wxSize
&)(result
));
26842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26850 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxWindow
*arg1
= (wxWindow
*) 0 ;
26853 int *arg2
= (int *) 0 ;
26854 int *arg3
= (int *) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self", NULL
26864 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26865 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 Py_INCREF(Py_None
); resultobj
= Py_None
;
26877 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26878 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26880 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26887 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
;
26889 wxWindow
*arg1
= (wxWindow
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 wxSize
* resultptr
;
26908 resultptr
= new wxSize((wxSize
&)(result
));
26909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26917 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxWindow
*arg1
= (wxWindow
*) 0 ;
26920 bool arg2
= (bool) true ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "show", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26933 arg2
= (bool)(SWIG_As_bool(obj1
));
26934 if (SWIG_arg_fail(2)) SWIG_fail
;
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 result
= (bool)(arg1
)->Show(arg2
);
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26953 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxWindow
*arg1
= (wxWindow
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (bool)(arg1
)->Hide();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26981 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxWindow
*arg1
= (wxWindow
*) 0 ;
26984 bool arg2
= (bool) true ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self",(char *) "enable", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26994 if (SWIG_arg_fail(1)) SWIG_fail
;
26997 arg2
= (bool)(SWIG_As_bool(obj1
));
26998 if (SWIG_arg_fail(2)) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= (bool)(arg1
)->Enable(arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27017 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxWindow
*arg1
= (wxWindow
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 result
= (bool)(arg1
)->Disable();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27045 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxWindow
*arg1
= (wxWindow
*) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27056 if (SWIG_arg_fail(1)) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27073 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27084 if (SWIG_arg_fail(1)) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27101 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxWindow
*arg1
= (wxWindow
*) 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "self",(char *) "style", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27113 if (SWIG_arg_fail(1)) SWIG_fail
;
27115 arg2
= (long)(SWIG_As_long(obj1
));
27116 if (SWIG_arg_fail(2)) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 (arg1
)->SetWindowStyleFlag(arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 Py_INCREF(Py_None
); resultobj
= Py_None
;
27132 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxWindow
*arg1
= (wxWindow
*) 0 ;
27136 PyObject
* obj0
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_From_long((long)(result
));
27160 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxWindow
*arg1
= (wxWindow
*) 0 ;
27165 PyObject
* obj0
= 0 ;
27166 PyObject
* obj1
= 0 ;
27167 char *kwnames
[] = {
27168 (char *) "self",(char *) "flag", NULL
27171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27173 if (SWIG_arg_fail(1)) SWIG_fail
;
27175 arg2
= (int)(SWIG_As_int(obj1
));
27176 if (SWIG_arg_fail(2)) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27194 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxWindow
*arg1
= (wxWindow
*) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail
;
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27222 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
;
27224 wxWindow
*arg1
= (wxWindow
*) 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self",(char *) "exStyle", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27234 if (SWIG_arg_fail(1)) SWIG_fail
;
27236 arg2
= (long)(SWIG_As_long(obj1
));
27237 if (SWIG_arg_fail(2)) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 (arg1
)->SetExtraStyle(arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 Py_INCREF(Py_None
); resultobj
= Py_None
;
27253 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= SWIG_From_long((long)(result
));
27281 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxWindow
*arg1
= (wxWindow
*) 0 ;
27284 bool arg2
= (bool) true ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self",(char *) "modal", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail
;
27296 arg2
= (bool)(SWIG_As_bool(obj1
));
27297 if (SWIG_arg_fail(2)) SWIG_fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 (arg1
)->MakeModal(arg2
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 Py_INCREF(Py_None
); resultobj
= Py_None
;
27314 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
;
27316 wxWindow
*arg1
= (wxWindow
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self",(char *) "enableTheme", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27326 if (SWIG_arg_fail(1)) SWIG_fail
;
27328 arg2
= (bool)(SWIG_As_bool(obj1
));
27329 if (SWIG_arg_fail(2)) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 (arg1
)->SetThemeEnabled(arg2
);
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 Py_INCREF(Py_None
); resultobj
= Py_None
;
27345 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxWindow
*arg1
= (wxWindow
*) 0 ;
27349 PyObject
* obj0
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27356 if (SWIG_arg_fail(1)) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27373 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxWindow
*arg1
= (wxWindow
*) 0 ;
27376 PyObject
* obj0
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27383 if (SWIG_arg_fail(1)) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 (arg1
)->SetFocus();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 Py_INCREF(Py_None
); resultobj
= Py_None
;
27398 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxWindow
*arg1
= (wxWindow
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 (arg1
)->SetFocusFromKbd();
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 Py_INCREF(Py_None
); resultobj
= Py_None
;
27423 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27426 char *kwnames
[] = {
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27432 if (!wxPyCheckForApp()) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (wxWindow
*)wxWindow::FindFocus();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= wxPyMake_wxObject(result
, 0);
27448 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxWindow
*arg1
= (wxWindow
*) 0 ;
27452 PyObject
* obj0
= 0 ;
27453 char *kwnames
[] = {
27454 (char *) "self", NULL
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27459 if (SWIG_arg_fail(1)) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27476 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 wxWindow
*arg1
= (wxWindow
*) 0 ;
27480 PyObject
* obj0
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27487 if (SWIG_arg_fail(1)) SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27504 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxWindow
*arg1
= (wxWindow
*) 0 ;
27508 PyObject
* obj0
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= wxPyMake_wxObject(result
, 0);
27532 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxWindow
*arg1
= (wxWindow
*) 0 ;
27535 wxWindow
*arg2
= (wxWindow
*) 0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 char *kwnames
[] = {
27540 (char *) "self",(char *) "child", NULL
27543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27545 if (SWIG_arg_fail(1)) SWIG_fail
;
27546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27547 if (SWIG_arg_fail(2)) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= wxPyMake_wxObject(result
, 0);
27564 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxWindow
*arg1
= (wxWindow
*) 0 ;
27567 wxWindow
*arg2
= (wxWindow
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self",(char *) "win", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27576 if (SWIG_arg_fail(1)) SWIG_fail
;
27577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27578 if (SWIG_arg_fail(2)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->SetTmpDefaultItem(arg2
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self",(char *) "flags", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27606 if (SWIG_arg_fail(1)) SWIG_fail
;
27609 arg2
= (int)(SWIG_As_int(obj1
));
27610 if (SWIG_arg_fail(2)) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 result
= (bool)(arg1
)->Navigate(arg2
);
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27629 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxWindow
*arg1
= (wxWindow
*) 0 ;
27632 wxWindow
*arg2
= (wxWindow
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self",(char *) "win", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27641 if (SWIG_arg_fail(1)) SWIG_fail
;
27642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27643 if (SWIG_arg_fail(2)) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 (arg1
)->MoveAfterInTabOrder(arg2
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 Py_INCREF(Py_None
); resultobj
= Py_None
;
27658 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxWindow
*arg1
= (wxWindow
*) 0 ;
27661 wxWindow
*arg2
= (wxWindow
*) 0 ;
27662 PyObject
* obj0
= 0 ;
27663 PyObject
* obj1
= 0 ;
27664 char *kwnames
[] = {
27665 (char *) "self",(char *) "win", NULL
27668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27670 if (SWIG_arg_fail(1)) SWIG_fail
;
27671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27672 if (SWIG_arg_fail(2)) SWIG_fail
;
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 (arg1
)->MoveBeforeInTabOrder(arg2
);
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27680 Py_INCREF(Py_None
); resultobj
= Py_None
;
27687 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
;
27689 wxWindow
*arg1
= (wxWindow
*) 0 ;
27691 PyObject
* obj0
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail
;
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= result
;
27713 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxWindow
*arg1
= (wxWindow
*) 0 ;
27717 PyObject
* obj0
= 0 ;
27718 char *kwnames
[] = {
27719 (char *) "self", NULL
27722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27724 if (SWIG_arg_fail(1)) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= wxPyMake_wxObject(result
, 0);
27741 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
;
27743 wxWindow
*arg1
= (wxWindow
*) 0 ;
27745 PyObject
* obj0
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27752 if (SWIG_arg_fail(1)) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27761 resultobj
= wxPyMake_wxObject(result
, 0);
27769 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxWindow
*arg1
= (wxWindow
*) 0 ;
27773 PyObject
* obj0
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "self", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27780 if (SWIG_arg_fail(1)) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27797 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
;
27799 wxWindow
*arg1
= (wxWindow
*) 0 ;
27800 wxWindow
*arg2
= (wxWindow
*) 0 ;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj1
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self",(char *) "newParent", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27810 if (SWIG_arg_fail(1)) SWIG_fail
;
27811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(2)) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (bool)(arg1
)->Reparent(arg2
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27829 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxWindow
*arg1
= (wxWindow
*) 0 ;
27832 wxWindow
*arg2
= (wxWindow
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 PyObject
* obj1
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self",(char *) "child", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail
;
27842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27843 if (SWIG_arg_fail(2)) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 (arg1
)->AddChild(arg2
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 Py_INCREF(Py_None
); resultobj
= Py_None
;
27858 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxWindow
*arg1
= (wxWindow
*) 0 ;
27861 wxWindow
*arg2
= (wxWindow
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 PyObject
* obj1
= 0 ;
27864 char *kwnames
[] = {
27865 (char *) "self",(char *) "child", NULL
27868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27870 if (SWIG_arg_fail(1)) SWIG_fail
;
27871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(2)) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 (arg1
)->RemoveChild(arg2
);
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 Py_INCREF(Py_None
); resultobj
= Py_None
;
27887 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxWindow
*arg1
= (wxWindow
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 PyObject
* obj1
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self",(char *) "winid", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
27903 if (SWIG_arg_fail(2)) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= wxPyMake_wxObject(result
, 0);
27921 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
;
27923 wxWindow
*arg1
= (wxWindow
*) 0 ;
27924 wxString
*arg2
= 0 ;
27926 bool temp2
= false ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 char *kwnames
[] = {
27930 (char *) "self",(char *) "name", NULL
27933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27935 if (SWIG_arg_fail(1)) SWIG_fail
;
27937 arg2
= wxString_in_helper(obj1
);
27938 if (arg2
== NULL
) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= wxPyMake_wxObject(result
, 0);
27965 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxWindow
*arg1
= (wxWindow
*) 0 ;
27968 wxEvtHandler
*result
;
27969 PyObject
* obj0
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27976 if (SWIG_arg_fail(1)) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= wxPyMake_wxObject(result
, 0);
27993 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self",(char *) "handler", NULL
28003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28005 if (SWIG_arg_fail(1)) SWIG_fail
;
28006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28007 if (SWIG_arg_fail(2)) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 (arg1
)->SetEventHandler(arg2
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 Py_INCREF(Py_None
); resultobj
= Py_None
;
28022 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxWindow
*arg1
= (wxWindow
*) 0 ;
28025 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self",(char *) "handler", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail
;
28035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(2)) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->PushEventHandler(arg2
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28044 Py_INCREF(Py_None
); resultobj
= Py_None
;
28051 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxWindow
*arg1
= (wxWindow
*) 0 ;
28054 bool arg2
= (bool) false ;
28055 wxEvtHandler
*result
;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "deleteHandler", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28064 if (SWIG_arg_fail(1)) SWIG_fail
;
28067 arg2
= (bool)(SWIG_As_bool(obj1
));
28068 if (SWIG_arg_fail(2)) SWIG_fail
;
28072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28073 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= wxPyMake_wxObject(result
, 0);
28087 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxWindow
*arg1
= (wxWindow
*) 0 ;
28090 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "handler", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(1)) SWIG_fail
;
28101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28102 if (SWIG_arg_fail(2)) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28119 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxWindow
*arg1
= (wxWindow
*) 0 ;
28122 wxValidator
*arg2
= 0 ;
28123 PyObject
* obj0
= 0 ;
28124 PyObject
* obj1
= 0 ;
28125 char *kwnames
[] = {
28126 (char *) "self",(char *) "validator", NULL
28129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28131 if (SWIG_arg_fail(1)) SWIG_fail
;
28133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28134 if (SWIG_arg_fail(2)) SWIG_fail
;
28135 if (arg2
== NULL
) {
28136 SWIG_null_ref("wxValidator");
28138 if (SWIG_arg_fail(2)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 Py_INCREF(Py_None
); resultobj
= Py_None
;
28154 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
;
28156 wxWindow
*arg1
= (wxWindow
*) 0 ;
28157 wxValidator
*result
;
28158 PyObject
* obj0
= 0 ;
28159 char *kwnames
[] = {
28160 (char *) "self", NULL
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",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
= (wxValidator
*)(arg1
)->GetValidator();
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= wxPyMake_wxObject(result
, 0);
28182 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
;
28184 wxWindow
*arg1
= (wxWindow
*) 0 ;
28186 PyObject
* obj0
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "self", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28193 if (SWIG_arg_fail(1)) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 result
= (bool)(arg1
)->Validate();
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28210 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
;
28212 wxWindow
*arg1
= (wxWindow
*) 0 ;
28214 PyObject
* obj0
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28221 if (SWIG_arg_fail(1)) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (bool)(arg1
)->TransferDataToWindow();
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28238 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxWindow
*arg1
= (wxWindow
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 char *kwnames
[] = {
28244 (char *) "self", NULL
28247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28249 if (SWIG_arg_fail(1)) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (bool)(arg1
)->TransferDataFromWindow();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28266 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxWindow
*arg1
= (wxWindow
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28276 if (SWIG_arg_fail(1)) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->InitDialog();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 Py_INCREF(Py_None
); resultobj
= Py_None
;
28291 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28294 wxAcceleratorTable
*arg2
= 0 ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self",(char *) "accel", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28303 if (SWIG_arg_fail(1)) SWIG_fail
;
28305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28306 if (SWIG_arg_fail(2)) SWIG_fail
;
28307 if (arg2
== NULL
) {
28308 SWIG_null_ref("wxAcceleratorTable");
28310 if (SWIG_arg_fail(2)) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 Py_INCREF(Py_None
); resultobj
= Py_None
;
28326 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxWindow
*arg1
= (wxWindow
*) 0 ;
28329 wxAcceleratorTable
*result
;
28330 PyObject
* obj0
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28337 if (SWIG_arg_fail(1)) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28352 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxWindow
*arg1
= (wxWindow
*) 0 ;
28359 PyObject
* obj0
= 0 ;
28360 PyObject
* obj1
= 0 ;
28361 PyObject
* obj2
= 0 ;
28362 PyObject
* obj3
= 0 ;
28363 char *kwnames
[] = {
28364 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail
;
28371 arg2
= (int)(SWIG_As_int(obj1
));
28372 if (SWIG_arg_fail(2)) SWIG_fail
;
28375 arg3
= (int)(SWIG_As_int(obj2
));
28376 if (SWIG_arg_fail(3)) SWIG_fail
;
28379 arg4
= (int)(SWIG_As_int(obj3
));
28380 if (SWIG_arg_fail(4)) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28398 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxWindow
*arg1
= (wxWindow
*) 0 ;
28403 PyObject
* obj0
= 0 ;
28404 PyObject
* obj1
= 0 ;
28405 char *kwnames
[] = {
28406 (char *) "self",(char *) "hotkeyId", NULL
28409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28411 if (SWIG_arg_fail(1)) SWIG_fail
;
28413 arg2
= (int)(SWIG_As_int(obj1
));
28414 if (SWIG_arg_fail(2)) SWIG_fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28432 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28433 PyObject
*resultobj
;
28434 wxWindow
*arg1
= (wxWindow
*) 0 ;
28435 wxPoint
*arg2
= 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "pt", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28446 if (SWIG_arg_fail(1)) SWIG_fail
;
28449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 wxPoint
* resultptr
;
28460 resultptr
= new wxPoint((wxPoint
&)(result
));
28461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28469 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxWindow
*arg1
= (wxWindow
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self",(char *) "sz", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28483 if (SWIG_arg_fail(1)) SWIG_fail
;
28486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 wxSize
* resultptr
;
28497 resultptr
= new wxSize((wxSize
&)(result
));
28498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28506 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxWindow
*arg1
= (wxWindow
*) 0 ;
28509 wxPoint
*arg2
= 0 ;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self",(char *) "pt", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28520 if (SWIG_arg_fail(1)) SWIG_fail
;
28523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28533 wxPoint
* resultptr
;
28534 resultptr
= new wxPoint((wxPoint
&)(result
));
28535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28543 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxWindow
*arg1
= (wxWindow
*) 0 ;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self",(char *) "sz", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28570 wxSize
* resultptr
;
28571 resultptr
= new wxSize((wxSize
&)(result
));
28572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28580 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxWindow
*arg1
= (wxWindow
*) 0 ;
28583 wxPoint
*arg2
= 0 ;
28586 PyObject
* obj0
= 0 ;
28587 PyObject
* obj1
= 0 ;
28588 char *kwnames
[] = {
28589 (char *) "self",(char *) "pt", NULL
28592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28594 if (SWIG_arg_fail(1)) SWIG_fail
;
28597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 wxPoint
* resultptr
;
28608 resultptr
= new wxPoint((wxPoint
&)(result
));
28609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28617 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
;
28619 wxWindow
*arg1
= (wxWindow
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self",(char *) "sz", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28631 if (SWIG_arg_fail(1)) SWIG_fail
;
28634 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28644 wxSize
* resultptr
;
28645 resultptr
= new wxSize((wxSize
&)(result
));
28646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28654 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxWindow
*arg1
= (wxWindow
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 PyObject
* obj2
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "x",(char *) "y", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(1)) SWIG_fail
;
28670 arg2
= (int)(SWIG_As_int(obj1
));
28671 if (SWIG_arg_fail(2)) SWIG_fail
;
28674 arg3
= (int)(SWIG_As_int(obj2
));
28675 if (SWIG_arg_fail(3)) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->WarpPointer(arg2
,arg3
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 Py_INCREF(Py_None
); resultobj
= Py_None
;
28691 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxWindow
*arg1
= (wxWindow
*) 0 ;
28694 PyObject
* obj0
= 0 ;
28695 char *kwnames
[] = {
28696 (char *) "self", NULL
28699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28701 if (SWIG_arg_fail(1)) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 (arg1
)->CaptureMouse();
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 Py_INCREF(Py_None
); resultobj
= Py_None
;
28716 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
;
28718 wxWindow
*arg1
= (wxWindow
*) 0 ;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28726 if (SWIG_arg_fail(1)) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->ReleaseMouse();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28744 char *kwnames
[] = {
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28750 if (!wxPyCheckForApp()) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (wxWindow
*)wxWindow::GetCapture();
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= wxPyMake_wxObject(result
, 0);
28766 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxWindow
*arg1
= (wxWindow
*) 0 ;
28770 PyObject
* obj0
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28794 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxWindow
*arg1
= (wxWindow
*) 0 ;
28797 bool arg2
= (bool) true ;
28798 wxRect
*arg3
= (wxRect
*) NULL
;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28808 if (SWIG_arg_fail(1)) SWIG_fail
;
28811 arg2
= (bool)(SWIG_As_bool(obj1
));
28812 if (SWIG_arg_fail(2)) SWIG_fail
;
28816 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28817 if (SWIG_arg_fail(3)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 Py_INCREF(Py_None
); resultobj
= Py_None
;
28833 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxWindow
*arg1
= (wxWindow
*) 0 ;
28837 bool arg3
= (bool) true ;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 PyObject
* obj2
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28848 if (SWIG_arg_fail(1)) SWIG_fail
;
28851 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28855 arg3
= (bool)(SWIG_As_bool(obj2
));
28856 if (SWIG_arg_fail(3)) SWIG_fail
;
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28866 Py_INCREF(Py_None
); resultobj
= Py_None
;
28873 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28874 PyObject
*resultobj
;
28875 wxWindow
*arg1
= (wxWindow
*) 0 ;
28876 PyObject
* obj0
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 Py_INCREF(Py_None
); resultobj
= Py_None
;
28898 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
;
28900 wxWindow
*arg1
= (wxWindow
*) 0 ;
28901 PyObject
* obj0
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28908 if (SWIG_arg_fail(1)) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 (arg1
)->ClearBackground();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 Py_INCREF(Py_None
); resultobj
= Py_None
;
28923 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxWindow
*arg1
= (wxWindow
*) 0 ;
28926 PyObject
* obj0
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "self", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28933 if (SWIG_arg_fail(1)) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 Py_INCREF(Py_None
); resultobj
= Py_None
;
28948 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
;
28950 wxWindow
*arg1
= (wxWindow
*) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28958 if (SWIG_arg_fail(1)) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 Py_INCREF(Py_None
); resultobj
= Py_None
;
28973 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxWindow
*arg1
= (wxWindow
*) 0 ;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self",(char *) "dc", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28988 if (SWIG_arg_fail(2)) SWIG_fail
;
28989 if (arg2
== NULL
) {
28990 SWIG_null_ref("wxDC");
28992 if (SWIG_arg_fail(2)) SWIG_fail
;
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 (arg1
)->PrepareDC(*arg2
);
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 Py_INCREF(Py_None
); resultobj
= Py_None
;
29008 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
;
29010 wxWindow
*arg1
= (wxWindow
*) 0 ;
29012 PyObject
* obj0
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29019 if (SWIG_arg_fail(1)) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29024 result
= (wxRegion
*) &_result_ref
;
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29037 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29038 PyObject
*resultobj
;
29039 wxWindow
*arg1
= (wxWindow
*) 0 ;
29041 PyObject
* obj0
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29048 if (SWIG_arg_fail(1)) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29057 wxRect
* resultptr
;
29058 resultptr
= new wxRect((wxRect
&)(result
));
29059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29067 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxWindow
*arg1
= (wxWindow
*) 0 ;
29072 int arg4
= (int) 1 ;
29073 int arg5
= (int) 1 ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 PyObject
* obj3
= 0 ;
29079 PyObject
* obj4
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
29089 if (SWIG_arg_fail(2)) SWIG_fail
;
29092 arg3
= (int)(SWIG_As_int(obj2
));
29093 if (SWIG_arg_fail(3)) SWIG_fail
;
29097 arg4
= (int)(SWIG_As_int(obj3
));
29098 if (SWIG_arg_fail(4)) SWIG_fail
;
29103 arg5
= (int)(SWIG_As_int(obj4
));
29104 if (SWIG_arg_fail(5)) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29123 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
;
29125 wxWindow
*arg1
= (wxWindow
*) 0 ;
29126 wxPoint
*arg2
= 0 ;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self",(char *) "pt", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29137 if (SWIG_arg_fail(1)) SWIG_fail
;
29140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29158 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
;
29160 wxWindow
*arg1
= (wxWindow
*) 0 ;
29164 PyObject
* obj0
= 0 ;
29165 PyObject
* obj1
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self",(char *) "rect", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29172 if (SWIG_arg_fail(1)) SWIG_fail
;
29175 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29193 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
;
29195 wxWindow
*arg1
= (wxWindow
*) 0 ;
29196 wxVisualAttributes result
;
29197 PyObject
* obj0
= 0 ;
29198 char *kwnames
[] = {
29199 (char *) "self", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29204 if (SWIG_arg_fail(1)) SWIG_fail
;
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29213 wxVisualAttributes
* resultptr
;
29214 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29223 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29226 wxVisualAttributes result
;
29227 PyObject
* obj0
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "variant", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29235 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29236 if (SWIG_arg_fail(1)) SWIG_fail
;
29240 if (!wxPyCheckForApp()) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 wxVisualAttributes
* resultptr
;
29249 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29258 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxWindow
*arg1
= (wxWindow
*) 0 ;
29261 wxColour
*arg2
= 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 char *kwnames
[] = {
29267 (char *) "self",(char *) "colour", NULL
29270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29272 if (SWIG_arg_fail(1)) SWIG_fail
;
29275 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29293 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
;
29295 wxWindow
*arg1
= (wxWindow
*) 0 ;
29296 wxColour
*arg2
= 0 ;
29298 PyObject
* obj0
= 0 ;
29299 PyObject
* obj1
= 0 ;
29300 char *kwnames
[] = {
29301 (char *) "self",(char *) "colour", NULL
29304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29306 if (SWIG_arg_fail(1)) SWIG_fail
;
29309 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29318 Py_INCREF(Py_None
); resultobj
= Py_None
;
29325 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
;
29327 wxWindow
*arg1
= (wxWindow
*) 0 ;
29328 wxColour
*arg2
= 0 ;
29331 PyObject
* obj0
= 0 ;
29332 PyObject
* obj1
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self",(char *) "colour", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29346 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29360 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
;
29362 wxWindow
*arg1
= (wxWindow
*) 0 ;
29363 wxColour
*arg2
= 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self",(char *) "colour", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29373 if (SWIG_arg_fail(1)) SWIG_fail
;
29376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 Py_INCREF(Py_None
); resultobj
= Py_None
;
29392 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29393 PyObject
*resultobj
;
29394 wxWindow
*arg1
= (wxWindow
*) 0 ;
29396 PyObject
* obj0
= 0 ;
29397 char *kwnames
[] = {
29398 (char *) "self", NULL
29401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29403 if (SWIG_arg_fail(1)) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 wxColour
* resultptr
;
29413 resultptr
= new wxColour((wxColour
&)(result
));
29414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29422 static PyObject
*_wrap_Window_GetForegroundColour(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_GetForegroundColour",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
)->GetForegroundColour();
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 wxColour
* resultptr
;
29443 resultptr
= new wxColour((wxColour
&)(result
));
29444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29452 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxWindow
*arg1
= (wxWindow
*) 0 ;
29456 PyObject
* obj0
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29463 if (SWIG_arg_fail(1)) SWIG_fail
;
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29480 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
;
29482 wxWindow
*arg1
= (wxWindow
*) 0 ;
29484 PyObject
* obj0
= 0 ;
29485 char *kwnames
[] = {
29486 (char *) "self", NULL
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29491 if (SWIG_arg_fail(1)) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29508 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
;
29510 wxWindow
*arg1
= (wxWindow
*) 0 ;
29511 wxBackgroundStyle arg2
;
29513 PyObject
* obj0
= 0 ;
29514 PyObject
* obj1
= 0 ;
29515 char *kwnames
[] = {
29516 (char *) "self",(char *) "style", NULL
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29521 if (SWIG_arg_fail(1)) SWIG_fail
;
29523 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29524 if (SWIG_arg_fail(2)) SWIG_fail
;
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29542 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxWindow
*arg1
= (wxWindow
*) 0 ;
29545 wxBackgroundStyle result
;
29546 PyObject
* obj0
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29553 if (SWIG_arg_fail(1)) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= SWIG_From_int((result
));
29568 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxWindow
*arg1
= (wxWindow
*) 0 ;
29572 PyObject
* obj0
= 0 ;
29573 char *kwnames
[] = {
29574 (char *) "self", NULL
29577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29579 if (SWIG_arg_fail(1)) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= (bool)(arg1
)->HasTransparentBackground();
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29596 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxWindow
*arg1
= (wxWindow
*) 0 ;
29599 wxCursor
*arg2
= 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "cursor", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail
;
29611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29612 if (SWIG_arg_fail(2)) SWIG_fail
;
29613 if (arg2
== NULL
) {
29614 SWIG_null_ref("wxCursor");
29616 if (SWIG_arg_fail(2)) SWIG_fail
;
29619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29620 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29634 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxWindow
*arg1
= (wxWindow
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 char *kwnames
[] = {
29640 (char *) "self", NULL
29643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29645 if (SWIG_arg_fail(1)) SWIG_fail
;
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= (arg1
)->GetCursor();
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29654 wxCursor
* resultptr
;
29655 resultptr
= new wxCursor((wxCursor
&)(result
));
29656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29664 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxWindow
*arg1
= (wxWindow
*) 0 ;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 char *kwnames
[] = {
29672 (char *) "self",(char *) "font", NULL
29675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29677 if (SWIG_arg_fail(1)) SWIG_fail
;
29679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29680 if (SWIG_arg_fail(2)) SWIG_fail
;
29681 if (arg2
== NULL
) {
29682 SWIG_null_ref("wxFont");
29684 if (SWIG_arg_fail(2)) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29702 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxWindow
*arg1
= (wxWindow
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self",(char *) "font", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29714 if (SWIG_arg_fail(1)) SWIG_fail
;
29716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29717 if (SWIG_arg_fail(2)) SWIG_fail
;
29718 if (arg2
== NULL
) {
29719 SWIG_null_ref("wxFont");
29721 if (SWIG_arg_fail(2)) SWIG_fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29730 Py_INCREF(Py_None
); resultobj
= Py_None
;
29737 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
;
29739 wxWindow
*arg1
= (wxWindow
*) 0 ;
29741 PyObject
* obj0
= 0 ;
29742 char *kwnames
[] = {
29743 (char *) "self", NULL
29746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29748 if (SWIG_arg_fail(1)) SWIG_fail
;
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= (arg1
)->GetFont();
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29757 wxFont
* resultptr
;
29758 resultptr
= new wxFont((wxFont
&)(result
));
29759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29767 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxWindow
*arg1
= (wxWindow
*) 0 ;
29770 wxCaret
*arg2
= (wxCaret
*) 0 ;
29771 PyObject
* obj0
= 0 ;
29772 PyObject
* obj1
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self",(char *) "caret", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29779 if (SWIG_arg_fail(1)) SWIG_fail
;
29780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29781 if (SWIG_arg_fail(2)) SWIG_fail
;
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 (arg1
)->SetCaret(arg2
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 Py_INCREF(Py_None
); resultobj
= Py_None
;
29796 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
;
29798 wxWindow
*arg1
= (wxWindow
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29807 if (SWIG_arg_fail(1)) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29822 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxWindow
*arg1
= (wxWindow
*) 0 ;
29826 PyObject
* obj0
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "self", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29833 if (SWIG_arg_fail(1)) SWIG_fail
;
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29838 wxPyEndAllowThreads(__tstate
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29842 resultobj
= SWIG_From_int((int)(result
));
29850 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxWindow
*arg1
= (wxWindow
*) 0 ;
29854 PyObject
* obj0
= 0 ;
29855 char *kwnames
[] = {
29856 (char *) "self", NULL
29859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29861 if (SWIG_arg_fail(1)) SWIG_fail
;
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= SWIG_From_int((int)(result
));
29878 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
;
29880 wxWindow
*arg1
= (wxWindow
*) 0 ;
29881 wxString
*arg2
= 0 ;
29882 int *arg3
= (int *) 0 ;
29883 int *arg4
= (int *) 0 ;
29884 bool temp2
= false ;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self",(char *) "string", NULL
29895 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29896 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29899 if (SWIG_arg_fail(1)) SWIG_fail
;
29901 arg2
= wxString_in_helper(obj1
);
29902 if (arg2
== NULL
) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 Py_INCREF(Py_None
); resultobj
= Py_None
;
29913 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29914 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29915 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29916 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29931 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxWindow
*arg1
= (wxWindow
*) 0 ;
29934 wxString
*arg2
= 0 ;
29935 int *arg3
= (int *) 0 ;
29936 int *arg4
= (int *) 0 ;
29937 int *arg5
= (int *) 0 ;
29938 int *arg6
= (int *) 0 ;
29939 wxFont
*arg7
= (wxFont
*) NULL
;
29940 bool temp2
= false ;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 PyObject
* obj2
= 0 ;
29952 char *kwnames
[] = {
29953 (char *) "self",(char *) "string",(char *) "font", NULL
29956 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29957 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29958 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29959 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29962 if (SWIG_arg_fail(1)) SWIG_fail
;
29964 arg2
= wxString_in_helper(obj1
);
29965 if (arg2
== NULL
) SWIG_fail
;
29969 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29970 if (SWIG_arg_fail(7)) SWIG_fail
;
29973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29976 wxPyEndAllowThreads(__tstate
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29979 Py_INCREF(Py_None
); resultobj
= Py_None
;
29980 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29981 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29982 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29983 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29984 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29985 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29986 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29987 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30002 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30003 PyObject
*resultobj
;
30004 wxWindow
*arg1
= (wxWindow
*) 0 ;
30005 int *arg2
= (int *) 0 ;
30006 int *arg3
= (int *) 0 ;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 PyObject
* obj2
= 0 ;
30014 char *kwnames
[] = {
30015 (char *) "self",(char *) "x",(char *) "y", NULL
30018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30020 if (SWIG_arg_fail(1)) SWIG_fail
;
30022 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30023 temp2
= SWIG_As_int(obj1
);
30024 if (SWIG_arg_fail(2)) SWIG_fail
;
30026 res2
= SWIG_NEWOBJ
;
30030 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30031 temp3
= SWIG_As_int(obj2
);
30032 if (SWIG_arg_fail(3)) SWIG_fail
;
30034 res3
= SWIG_NEWOBJ
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 Py_INCREF(Py_None
); resultobj
= Py_None
;
30045 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30046 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30047 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30048 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30055 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxWindow
*arg1
= (wxWindow
*) 0 ;
30058 int *arg2
= (int *) 0 ;
30059 int *arg3
= (int *) 0 ;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 PyObject
* obj2
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self",(char *) "x",(char *) "y", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30073 if (SWIG_arg_fail(1)) SWIG_fail
;
30075 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30076 temp2
= SWIG_As_int(obj1
);
30077 if (SWIG_arg_fail(2)) SWIG_fail
;
30079 res2
= SWIG_NEWOBJ
;
30083 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30084 temp3
= SWIG_As_int(obj2
);
30085 if (SWIG_arg_fail(3)) SWIG_fail
;
30087 res3
= SWIG_NEWOBJ
;
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 Py_INCREF(Py_None
); resultobj
= Py_None
;
30098 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30099 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30100 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30101 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30108 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxWindow
*arg1
= (wxWindow
*) 0 ;
30111 wxPoint
*arg2
= 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "pt", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail
;
30125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30135 wxPoint
* resultptr
;
30136 resultptr
= new wxPoint((wxPoint
&)(result
));
30137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30145 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
;
30147 wxWindow
*arg1
= (wxWindow
*) 0 ;
30148 wxPoint
*arg2
= 0 ;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "self",(char *) "pt", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30159 if (SWIG_arg_fail(1)) SWIG_fail
;
30162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30168 wxPyEndAllowThreads(__tstate
);
30169 if (PyErr_Occurred()) SWIG_fail
;
30172 wxPoint
* resultptr
;
30173 resultptr
= new wxPoint((wxPoint
&)(result
));
30174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30182 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30183 PyObject
*resultobj
;
30184 wxWindow
*arg1
= (wxWindow
*) 0 ;
30188 PyObject
* obj0
= 0 ;
30189 PyObject
* obj1
= 0 ;
30190 PyObject
* obj2
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self",(char *) "x",(char *) "y", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30197 if (SWIG_arg_fail(1)) SWIG_fail
;
30199 arg2
= (int)(SWIG_As_int(obj1
));
30200 if (SWIG_arg_fail(2)) SWIG_fail
;
30203 arg3
= (int)(SWIG_As_int(obj2
));
30204 if (SWIG_arg_fail(3)) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_From_int((result
));
30220 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxWindow
*arg1
= (wxWindow
*) 0 ;
30223 wxPoint
*arg2
= 0 ;
30226 PyObject
* obj0
= 0 ;
30227 PyObject
* obj1
= 0 ;
30228 char *kwnames
[] = {
30229 (char *) "self",(char *) "pt", NULL
30232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30234 if (SWIG_arg_fail(1)) SWIG_fail
;
30237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_From_int((result
));
30253 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30254 PyObject
*resultobj
;
30255 wxWindow
*arg1
= (wxWindow
*) 0 ;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30261 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30263 if (SWIG_arg_fail(1)) SWIG_fail
;
30265 arg2
= (long)(SWIG_As_long(obj1
));
30266 if (SWIG_arg_fail(2)) SWIG_fail
;
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_From_int((result
));
30282 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30283 PyObject
*resultobj
;
30284 wxWindow
*arg1
= (wxWindow
*) 0 ;
30286 PyObject
* obj0
= 0 ;
30288 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_From_int((result
));
30305 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30310 argc
= PyObject_Length(args
);
30311 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30312 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30318 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30326 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30341 _v
= SWIG_Check_long(argv
[1]);
30343 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30348 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30353 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxWindow
*arg1
= (wxWindow
*) 0 ;
30356 long arg2
= (long) wxUPDATE_UI_NONE
;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self",(char *) "flags", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30365 if (SWIG_arg_fail(1)) SWIG_fail
;
30368 arg2
= (long)(SWIG_As_long(obj1
));
30369 if (SWIG_arg_fail(2)) SWIG_fail
;
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 (arg1
)->UpdateWindowUI(arg2
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30379 Py_INCREF(Py_None
); resultobj
= Py_None
;
30386 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30387 PyObject
*resultobj
;
30388 wxWindow
*arg1
= (wxWindow
*) 0 ;
30389 wxMenu
*arg2
= (wxMenu
*) 0 ;
30390 int arg3
= (int) -1 ;
30391 int arg4
= (int) -1 ;
30393 PyObject
* obj0
= 0 ;
30394 PyObject
* obj1
= 0 ;
30395 PyObject
* obj2
= 0 ;
30396 PyObject
* obj3
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30403 if (SWIG_arg_fail(1)) SWIG_fail
;
30404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30405 if (SWIG_arg_fail(2)) SWIG_fail
;
30408 arg3
= (int)(SWIG_As_int(obj2
));
30409 if (SWIG_arg_fail(3)) SWIG_fail
;
30414 arg4
= (int)(SWIG_As_int(obj3
));
30415 if (SWIG_arg_fail(4)) SWIG_fail
;
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30420 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30434 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
;
30436 wxWindow
*arg1
= (wxWindow
*) 0 ;
30437 wxMenu
*arg2
= (wxMenu
*) 0 ;
30438 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30439 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 PyObject
* obj2
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self",(char *) "menu",(char *) "pos", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30453 if (SWIG_arg_fail(2)) SWIG_fail
;
30457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30476 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
;
30478 wxWindow
*arg1
= (wxWindow
*) 0 ;
30480 PyObject
* obj0
= 0 ;
30481 char *kwnames
[] = {
30482 (char *) "self", NULL
30485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30487 if (SWIG_arg_fail(1)) SWIG_fail
;
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 result
= (long)wxWindow_GetHandle(arg1
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30496 resultobj
= SWIG_From_long((long)(result
));
30504 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxWindow
*arg1
= (wxWindow
*) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 PyObject
* obj1
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self",(char *) "handle", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30516 if (SWIG_arg_fail(1)) SWIG_fail
;
30518 arg2
= (long)(SWIG_As_long(obj1
));
30519 if (SWIG_arg_fail(2)) SWIG_fail
;
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 wxWindow_AssociateHandle(arg1
,arg2
);
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 Py_INCREF(Py_None
); resultobj
= Py_None
;
30535 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxWindow
*arg1
= (wxWindow
*) 0 ;
30538 PyObject
* obj0
= 0 ;
30539 char *kwnames
[] = {
30540 (char *) "self", NULL
30543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30545 if (SWIG_arg_fail(1)) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 (arg1
)->DissociateHandle();
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 Py_INCREF(Py_None
); resultobj
= Py_None
;
30560 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
;
30562 wxWindow
*arg1
= (wxWindow
*) 0 ;
30565 PyObject
* obj0
= 0 ;
30566 PyObject
* obj1
= 0 ;
30567 char *kwnames
[] = {
30568 (char *) "self",(char *) "orient", NULL
30571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30573 if (SWIG_arg_fail(1)) SWIG_fail
;
30575 arg2
= (int)(SWIG_As_int(obj1
));
30576 if (SWIG_arg_fail(2)) SWIG_fail
;
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30594 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
;
30596 wxWindow
*arg1
= (wxWindow
*) 0 ;
30601 bool arg6
= (bool) true ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 PyObject
* obj2
= 0 ;
30605 PyObject
* obj3
= 0 ;
30606 PyObject
* obj4
= 0 ;
30607 PyObject
* obj5
= 0 ;
30608 char *kwnames
[] = {
30609 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30614 if (SWIG_arg_fail(1)) SWIG_fail
;
30616 arg2
= (int)(SWIG_As_int(obj1
));
30617 if (SWIG_arg_fail(2)) SWIG_fail
;
30620 arg3
= (int)(SWIG_As_int(obj2
));
30621 if (SWIG_arg_fail(3)) SWIG_fail
;
30624 arg4
= (int)(SWIG_As_int(obj3
));
30625 if (SWIG_arg_fail(4)) SWIG_fail
;
30628 arg5
= (int)(SWIG_As_int(obj4
));
30629 if (SWIG_arg_fail(5)) SWIG_fail
;
30633 arg6
= (bool)(SWIG_As_bool(obj5
));
30634 if (SWIG_arg_fail(6)) SWIG_fail
;
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 Py_INCREF(Py_None
); resultobj
= Py_None
;
30651 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
;
30653 wxWindow
*arg1
= (wxWindow
*) 0 ;
30656 bool arg4
= (bool) true ;
30657 PyObject
* obj0
= 0 ;
30658 PyObject
* obj1
= 0 ;
30659 PyObject
* obj2
= 0 ;
30660 PyObject
* obj3
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30667 if (SWIG_arg_fail(1)) SWIG_fail
;
30669 arg2
= (int)(SWIG_As_int(obj1
));
30670 if (SWIG_arg_fail(2)) SWIG_fail
;
30673 arg3
= (int)(SWIG_As_int(obj2
));
30674 if (SWIG_arg_fail(3)) SWIG_fail
;
30678 arg4
= (bool)(SWIG_As_bool(obj3
));
30679 if (SWIG_arg_fail(4)) SWIG_fail
;
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 Py_INCREF(Py_None
); resultobj
= Py_None
;
30696 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxWindow
*arg1
= (wxWindow
*) 0 ;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char *kwnames
[] = {
30704 (char *) "self",(char *) "orientation", NULL
30707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30709 if (SWIG_arg_fail(1)) SWIG_fail
;
30711 arg2
= (int)(SWIG_As_int(obj1
));
30712 if (SWIG_arg_fail(2)) SWIG_fail
;
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_From_int((int)(result
));
30730 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxWindow
*arg1
= (wxWindow
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self",(char *) "orientation", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(1)) SWIG_fail
;
30745 arg2
= (int)(SWIG_As_int(obj1
));
30746 if (SWIG_arg_fail(2)) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= SWIG_From_int((int)(result
));
30764 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30765 PyObject
*resultobj
;
30766 wxWindow
*arg1
= (wxWindow
*) 0 ;
30769 PyObject
* obj0
= 0 ;
30770 PyObject
* obj1
= 0 ;
30771 char *kwnames
[] = {
30772 (char *) "self",(char *) "orientation", NULL
30775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30777 if (SWIG_arg_fail(1)) SWIG_fail
;
30779 arg2
= (int)(SWIG_As_int(obj1
));
30780 if (SWIG_arg_fail(2)) SWIG_fail
;
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30790 resultobj
= SWIG_From_int((int)(result
));
30798 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxWindow
*arg1
= (wxWindow
*) 0 ;
30803 wxRect
*arg4
= (wxRect
*) NULL
;
30804 PyObject
* obj0
= 0 ;
30805 PyObject
* obj1
= 0 ;
30806 PyObject
* obj2
= 0 ;
30807 PyObject
* obj3
= 0 ;
30808 char *kwnames
[] = {
30809 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30814 if (SWIG_arg_fail(1)) SWIG_fail
;
30816 arg2
= (int)(SWIG_As_int(obj1
));
30817 if (SWIG_arg_fail(2)) SWIG_fail
;
30820 arg3
= (int)(SWIG_As_int(obj2
));
30821 if (SWIG_arg_fail(3)) SWIG_fail
;
30824 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30825 if (SWIG_arg_fail(4)) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 Py_INCREF(Py_None
); resultobj
= Py_None
;
30841 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxWindow
*arg1
= (wxWindow
*) 0 ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self",(char *) "lines", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30854 if (SWIG_arg_fail(1)) SWIG_fail
;
30856 arg2
= (int)(SWIG_As_int(obj1
));
30857 if (SWIG_arg_fail(2)) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= (bool)(arg1
)->ScrollLines(arg2
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30875 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxWindow
*arg1
= (wxWindow
*) 0 ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "self",(char *) "pages", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30888 if (SWIG_arg_fail(1)) SWIG_fail
;
30890 arg2
= (int)(SWIG_As_int(obj1
));
30891 if (SWIG_arg_fail(2)) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (bool)(arg1
)->ScrollPages(arg2
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30909 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxWindow
*arg1
= (wxWindow
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 char *kwnames
[] = {
30915 (char *) "self", NULL
30918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30920 if (SWIG_arg_fail(1)) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= (bool)(arg1
)->LineUp();
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30937 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxWindow
*arg1
= (wxWindow
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 char *kwnames
[] = {
30943 (char *) "self", NULL
30946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30948 if (SWIG_arg_fail(1)) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (bool)(arg1
)->LineDown();
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30965 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxWindow
*arg1
= (wxWindow
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30976 if (SWIG_arg_fail(1)) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (bool)(arg1
)->PageUp();
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30993 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxWindow
*arg1
= (wxWindow
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 char *kwnames
[] = {
30999 (char *) "self", NULL
31002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31004 if (SWIG_arg_fail(1)) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (bool)(arg1
)->PageDown();
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31021 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
;
31023 wxWindow
*arg1
= (wxWindow
*) 0 ;
31024 wxString
*arg2
= 0 ;
31025 bool temp2
= false ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self",(char *) "text", NULL
31032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31034 if (SWIG_arg_fail(1)) SWIG_fail
;
31036 arg2
= wxString_in_helper(obj1
);
31037 if (arg2
== NULL
) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 Py_INCREF(Py_None
); resultobj
= Py_None
;
31062 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
;
31064 wxWindow
*arg1
= (wxWindow
*) 0 ;
31065 wxString
*arg2
= 0 ;
31066 bool temp2
= false ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 char *kwnames
[] = {
31070 (char *) "self",(char *) "text", NULL
31073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31075 if (SWIG_arg_fail(1)) SWIG_fail
;
31077 arg2
= wxString_in_helper(obj1
);
31078 if (arg2
== NULL
) SWIG_fail
;
31082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31085 wxPyEndAllowThreads(__tstate
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31088 Py_INCREF(Py_None
); resultobj
= Py_None
;
31103 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxWindow
*arg1
= (wxWindow
*) 0 ;
31107 PyObject
* obj0
= 0 ;
31108 char *kwnames
[] = {
31109 (char *) "self", NULL
31112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31114 if (SWIG_arg_fail(1)) SWIG_fail
;
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31135 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxWindow
*arg1
= (wxWindow
*) 0 ;
31138 wxString
*arg2
= 0 ;
31139 bool temp2
= false ;
31140 PyObject
* obj0
= 0 ;
31141 PyObject
* obj1
= 0 ;
31142 char *kwnames
[] = {
31143 (char *) "self",(char *) "tip", NULL
31146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31148 if (SWIG_arg_fail(1)) SWIG_fail
;
31150 arg2
= wxString_in_helper(obj1
);
31151 if (arg2
== NULL
) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 Py_INCREF(Py_None
); resultobj
= Py_None
;
31176 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31177 PyObject
*resultobj
;
31178 wxWindow
*arg1
= (wxWindow
*) 0 ;
31179 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 char *kwnames
[] = {
31183 (char *) "self",(char *) "tip", NULL
31186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31188 if (SWIG_arg_fail(1)) SWIG_fail
;
31189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31190 if (SWIG_arg_fail(2)) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 (arg1
)->SetToolTip(arg2
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 Py_INCREF(Py_None
); resultobj
= Py_None
;
31205 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
;
31207 wxWindow
*arg1
= (wxWindow
*) 0 ;
31209 PyObject
* obj0
= 0 ;
31210 char *kwnames
[] = {
31211 (char *) "self", NULL
31214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31216 if (SWIG_arg_fail(1)) SWIG_fail
;
31218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31219 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= wxPyMake_wxObject(result
, 0);
31233 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31235 wxWindow
*arg1
= (wxWindow
*) 0 ;
31236 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31237 PyObject
* obj0
= 0 ;
31238 PyObject
* obj1
= 0 ;
31239 char *kwnames
[] = {
31240 (char *) "self",(char *) "dropTarget", NULL
31243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31245 if (SWIG_arg_fail(1)) SWIG_fail
;
31246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31247 if (SWIG_arg_fail(2)) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 (arg1
)->SetDropTarget(arg2
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 Py_INCREF(Py_None
); resultobj
= Py_None
;
31262 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxWindow
*arg1
= (wxWindow
*) 0 ;
31265 wxPyDropTarget
*result
;
31266 PyObject
* obj0
= 0 ;
31267 char *kwnames
[] = {
31268 (char *) "self", NULL
31271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31288 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31289 PyObject
*resultobj
;
31290 wxWindow
*arg1
= (wxWindow
*) 0 ;
31291 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 char *kwnames
[] = {
31295 (char *) "self",(char *) "constraints", NULL
31298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31300 if (SWIG_arg_fail(1)) SWIG_fail
;
31301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31302 if (SWIG_arg_fail(2)) SWIG_fail
;
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 (arg1
)->SetConstraints(arg2
);
31307 wxPyEndAllowThreads(__tstate
);
31308 if (PyErr_Occurred()) SWIG_fail
;
31310 Py_INCREF(Py_None
); resultobj
= Py_None
;
31317 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxWindow
*arg1
= (wxWindow
*) 0 ;
31320 wxLayoutConstraints
*result
;
31321 PyObject
* obj0
= 0 ;
31322 char *kwnames
[] = {
31323 (char *) "self", NULL
31326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31328 if (SWIG_arg_fail(1)) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31343 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
;
31345 wxWindow
*arg1
= (wxWindow
*) 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "autoLayout", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31355 if (SWIG_arg_fail(1)) SWIG_fail
;
31357 arg2
= (bool)(SWIG_As_bool(obj1
));
31358 if (SWIG_arg_fail(2)) SWIG_fail
;
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 (arg1
)->SetAutoLayout(arg2
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 Py_INCREF(Py_None
); resultobj
= Py_None
;
31374 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
;
31376 wxWindow
*arg1
= (wxWindow
*) 0 ;
31378 PyObject
* obj0
= 0 ;
31379 char *kwnames
[] = {
31380 (char *) "self", NULL
31383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31385 if (SWIG_arg_fail(1)) SWIG_fail
;
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31402 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31403 PyObject
*resultobj
;
31404 wxWindow
*arg1
= (wxWindow
*) 0 ;
31406 PyObject
* obj0
= 0 ;
31407 char *kwnames
[] = {
31408 (char *) "self", NULL
31411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31413 if (SWIG_arg_fail(1)) SWIG_fail
;
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 result
= (bool)(arg1
)->Layout();
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31430 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
;
31432 wxWindow
*arg1
= (wxWindow
*) 0 ;
31433 wxSizer
*arg2
= (wxSizer
*) 0 ;
31434 bool arg3
= (bool) true ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 PyObject
* obj2
= 0 ;
31438 char *kwnames
[] = {
31439 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31444 if (SWIG_arg_fail(1)) SWIG_fail
;
31445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31446 if (SWIG_arg_fail(2)) SWIG_fail
;
31449 arg3
= (bool)(SWIG_As_bool(obj2
));
31450 if (SWIG_arg_fail(3)) SWIG_fail
;
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 (arg1
)->SetSizer(arg2
,arg3
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31460 Py_INCREF(Py_None
); resultobj
= Py_None
;
31467 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31468 PyObject
*resultobj
;
31469 wxWindow
*arg1
= (wxWindow
*) 0 ;
31470 wxSizer
*arg2
= (wxSizer
*) 0 ;
31471 bool arg3
= (bool) true ;
31472 PyObject
* obj0
= 0 ;
31473 PyObject
* obj1
= 0 ;
31474 PyObject
* obj2
= 0 ;
31475 char *kwnames
[] = {
31476 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31481 if (SWIG_arg_fail(1)) SWIG_fail
;
31482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31483 if (SWIG_arg_fail(2)) SWIG_fail
;
31486 arg3
= (bool)(SWIG_As_bool(obj2
));
31487 if (SWIG_arg_fail(3)) SWIG_fail
;
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31494 wxPyEndAllowThreads(__tstate
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31497 Py_INCREF(Py_None
); resultobj
= Py_None
;
31504 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31505 PyObject
*resultobj
;
31506 wxWindow
*arg1
= (wxWindow
*) 0 ;
31508 PyObject
* obj0
= 0 ;
31509 char *kwnames
[] = {
31510 (char *) "self", NULL
31513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31515 if (SWIG_arg_fail(1)) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= wxPyMake_wxSizer(result
, 0);
31532 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31533 PyObject
*resultobj
;
31534 wxWindow
*arg1
= (wxWindow
*) 0 ;
31535 wxSizer
*arg2
= (wxSizer
*) 0 ;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 char *kwnames
[] = {
31539 (char *) "self",(char *) "sizer", NULL
31542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31544 if (SWIG_arg_fail(1)) SWIG_fail
;
31545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31546 if (SWIG_arg_fail(2)) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 (arg1
)->SetContainingSizer(arg2
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 Py_INCREF(Py_None
); resultobj
= Py_None
;
31561 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
;
31563 wxWindow
*arg1
= (wxWindow
*) 0 ;
31565 PyObject
* obj0
= 0 ;
31566 char *kwnames
[] = {
31567 (char *) "self", NULL
31570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31572 if (SWIG_arg_fail(1)) SWIG_fail
;
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= wxPyMake_wxSizer(result
, 0);
31589 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
;
31591 wxWindow
*arg1
= (wxWindow
*) 0 ;
31592 PyObject
* obj0
= 0 ;
31593 char *kwnames
[] = {
31594 (char *) "self", NULL
31597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31599 if (SWIG_arg_fail(1)) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 (arg1
)->InheritAttributes();
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 Py_INCREF(Py_None
); resultobj
= Py_None
;
31614 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxWindow
*arg1
= (wxWindow
*) 0 ;
31618 PyObject
* obj0
= 0 ;
31619 char *kwnames
[] = {
31620 (char *) "self", NULL
31623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31625 if (SWIG_arg_fail(1)) SWIG_fail
;
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31642 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31645 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31647 return Py_BuildValue((char *)"");
31649 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31650 PyObject
*resultobj
;
31652 wxWindow
*arg2
= (wxWindow
*) NULL
;
31654 PyObject
* obj0
= 0 ;
31655 PyObject
* obj1
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "id",(char *) "parent", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31662 arg1
= (long)(SWIG_As_long(obj0
));
31663 if (SWIG_arg_fail(1)) SWIG_fail
;
31666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31667 if (SWIG_arg_fail(2)) SWIG_fail
;
31670 if (!wxPyCheckForApp()) SWIG_fail
;
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= wxPyMake_wxObject(result
, 0);
31686 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31687 PyObject
*resultobj
;
31688 wxString
*arg1
= 0 ;
31689 wxWindow
*arg2
= (wxWindow
*) NULL
;
31691 bool temp1
= false ;
31692 PyObject
* obj0
= 0 ;
31693 PyObject
* obj1
= 0 ;
31694 char *kwnames
[] = {
31695 (char *) "name",(char *) "parent", NULL
31698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31700 arg1
= wxString_in_helper(obj0
);
31701 if (arg1
== NULL
) SWIG_fail
;
31705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31706 if (SWIG_arg_fail(2)) SWIG_fail
;
31709 if (!wxPyCheckForApp()) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= wxPyMake_wxObject(result
, 0);
31733 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxString
*arg1
= 0 ;
31736 wxWindow
*arg2
= (wxWindow
*) NULL
;
31738 bool temp1
= false ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 char *kwnames
[] = {
31742 (char *) "label",(char *) "parent", NULL
31745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31747 arg1
= wxString_in_helper(obj0
);
31748 if (arg1
== NULL
) SWIG_fail
;
31752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31753 if (SWIG_arg_fail(2)) SWIG_fail
;
31756 if (!wxPyCheckForApp()) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= wxPyMake_wxObject(result
, 0);
31780 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
;
31782 wxWindow
*arg1
= (wxWindow
*) 0 ;
31783 unsigned long arg2
;
31785 PyObject
* obj0
= 0 ;
31786 PyObject
* obj1
= 0 ;
31787 char *kwnames
[] = {
31788 (char *) "parent",(char *) "_hWnd", NULL
31791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31793 if (SWIG_arg_fail(1)) SWIG_fail
;
31795 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31796 if (SWIG_arg_fail(2)) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31806 resultobj
= wxPyMake_wxObject(result
, 0);
31814 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
;
31816 wxValidator
*result
;
31817 char *kwnames
[] = {
31821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 result
= (wxValidator
*)new wxValidator();
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31836 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
;
31838 wxValidator
*arg1
= (wxValidator
*) 0 ;
31839 wxValidator
*result
;
31840 PyObject
* obj0
= 0 ;
31841 char *kwnames
[] = {
31842 (char *) "self", NULL
31845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31847 if (SWIG_arg_fail(1)) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (wxValidator
*)(arg1
)->Clone();
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= wxPyMake_wxObject(result
, 0);
31864 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxValidator
*arg1
= (wxValidator
*) 0 ;
31867 wxWindow
*arg2
= (wxWindow
*) 0 ;
31869 PyObject
* obj0
= 0 ;
31870 PyObject
* obj1
= 0 ;
31871 char *kwnames
[] = {
31872 (char *) "self",(char *) "parent", NULL
31875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31877 if (SWIG_arg_fail(1)) SWIG_fail
;
31878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31879 if (SWIG_arg_fail(2)) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 result
= (bool)(arg1
)->Validate(arg2
);
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31896 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxValidator
*arg1
= (wxValidator
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31907 if (SWIG_arg_fail(1)) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (bool)(arg1
)->TransferToWindow();
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31924 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxValidator
*arg1
= (wxValidator
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31935 if (SWIG_arg_fail(1)) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (bool)(arg1
)->TransferFromWindow();
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31952 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
;
31954 wxValidator
*arg1
= (wxValidator
*) 0 ;
31956 PyObject
* obj0
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31963 if (SWIG_arg_fail(1)) SWIG_fail
;
31965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31966 result
= (wxWindow
*)(arg1
)->GetWindow();
31968 wxPyEndAllowThreads(__tstate
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31972 resultobj
= wxPyMake_wxObject(result
, 0);
31980 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
;
31982 wxValidator
*arg1
= (wxValidator
*) 0 ;
31983 wxWindow
*arg2
= (wxWindow
*) 0 ;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self",(char *) "window", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31992 if (SWIG_arg_fail(1)) SWIG_fail
;
31993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31994 if (SWIG_arg_fail(2)) SWIG_fail
;
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 (arg1
)->SetWindow(arg2
);
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32002 Py_INCREF(Py_None
); resultobj
= Py_None
;
32009 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32012 char *kwnames
[] = {
32016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32019 result
= (bool)wxValidator::IsSilent();
32021 wxPyEndAllowThreads(__tstate
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32033 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
;
32035 int arg1
= (int) true ;
32036 PyObject
* obj0
= 0 ;
32037 char *kwnames
[] = {
32038 (char *) "doIt", NULL
32041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32044 arg1
= (int)(SWIG_As_int(obj0
));
32045 if (SWIG_arg_fail(1)) SWIG_fail
;
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32050 wxValidator::SetBellOnError(arg1
);
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 Py_INCREF(Py_None
); resultobj
= Py_None
;
32062 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32065 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32067 return Py_BuildValue((char *)"");
32069 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32070 PyObject
*resultobj
;
32071 wxPyValidator
*result
;
32072 char *kwnames
[] = {
32076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 result
= (wxPyValidator
*)new wxPyValidator();
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32091 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
;
32093 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32094 PyObject
*arg2
= (PyObject
*) 0 ;
32095 PyObject
*arg3
= (PyObject
*) 0 ;
32096 int arg4
= (int) true ;
32097 PyObject
* obj0
= 0 ;
32098 PyObject
* obj1
= 0 ;
32099 PyObject
* obj2
= 0 ;
32100 PyObject
* obj3
= 0 ;
32101 char *kwnames
[] = {
32102 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32107 if (SWIG_arg_fail(1)) SWIG_fail
;
32112 arg4
= (int)(SWIG_As_int(obj3
));
32113 if (SWIG_arg_fail(4)) SWIG_fail
;
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 Py_INCREF(Py_None
); resultobj
= Py_None
;
32130 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32133 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32135 return Py_BuildValue((char *)"");
32137 static int _wrap_DefaultValidator_set(PyObject
*) {
32138 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32143 static PyObject
*_wrap_DefaultValidator_get(void) {
32146 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32151 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
;
32153 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32154 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32155 long arg2
= (long) 0 ;
32157 bool temp1
= false ;
32158 PyObject
* obj0
= 0 ;
32159 PyObject
* obj1
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "title",(char *) "style", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32167 arg1
= wxString_in_helper(obj0
);
32168 if (arg1
== NULL
) SWIG_fail
;
32174 arg2
= (long)(SWIG_As_long(obj1
));
32175 if (SWIG_arg_fail(2)) SWIG_fail
;
32179 if (!wxPyCheckForApp()) SWIG_fail
;
32180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32181 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32201 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
;
32203 wxMenu
*arg1
= (wxMenu
*) 0 ;
32205 wxString
*arg3
= 0 ;
32206 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32207 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32208 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32209 wxMenuItem
*result
;
32210 bool temp3
= false ;
32211 bool temp4
= false ;
32212 PyObject
* obj0
= 0 ;
32213 PyObject
* obj1
= 0 ;
32214 PyObject
* obj2
= 0 ;
32215 PyObject
* obj3
= 0 ;
32216 PyObject
* obj4
= 0 ;
32217 char *kwnames
[] = {
32218 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32223 if (SWIG_arg_fail(1)) SWIG_fail
;
32225 arg2
= (int)(SWIG_As_int(obj1
));
32226 if (SWIG_arg_fail(2)) SWIG_fail
;
32229 arg3
= wxString_in_helper(obj2
);
32230 if (arg3
== NULL
) SWIG_fail
;
32235 arg4
= wxString_in_helper(obj3
);
32236 if (arg4
== NULL
) SWIG_fail
;
32242 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32243 if (SWIG_arg_fail(5)) SWIG_fail
;
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= wxPyMake_wxObject(result
, 0);
32278 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32279 PyObject
*resultobj
;
32280 wxMenu
*arg1
= (wxMenu
*) 0 ;
32281 wxMenuItem
*result
;
32282 PyObject
* obj0
= 0 ;
32283 char *kwnames
[] = {
32284 (char *) "self", NULL
32287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32289 if (SWIG_arg_fail(1)) SWIG_fail
;
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32298 resultobj
= wxPyMake_wxObject(result
, 0);
32306 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
;
32308 wxMenu
*arg1
= (wxMenu
*) 0 ;
32310 wxString
*arg3
= 0 ;
32311 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32312 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32313 wxMenuItem
*result
;
32314 bool temp3
= false ;
32315 bool temp4
= false ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 PyObject
* obj2
= 0 ;
32319 PyObject
* obj3
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32326 if (SWIG_arg_fail(1)) SWIG_fail
;
32328 arg2
= (int)(SWIG_As_int(obj1
));
32329 if (SWIG_arg_fail(2)) SWIG_fail
;
32332 arg3
= wxString_in_helper(obj2
);
32333 if (arg3
== NULL
) SWIG_fail
;
32338 arg4
= wxString_in_helper(obj3
);
32339 if (arg4
== NULL
) SWIG_fail
;
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= wxPyMake_wxObject(result
, 0);
32375 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
;
32377 wxMenu
*arg1
= (wxMenu
*) 0 ;
32379 wxString
*arg3
= 0 ;
32380 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32381 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32382 wxMenuItem
*result
;
32383 bool temp3
= false ;
32384 bool temp4
= false ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 PyObject
* obj2
= 0 ;
32388 PyObject
* obj3
= 0 ;
32389 char *kwnames
[] = {
32390 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32395 if (SWIG_arg_fail(1)) SWIG_fail
;
32397 arg2
= (int)(SWIG_As_int(obj1
));
32398 if (SWIG_arg_fail(2)) SWIG_fail
;
32401 arg3
= wxString_in_helper(obj2
);
32402 if (arg3
== NULL
) SWIG_fail
;
32407 arg4
= wxString_in_helper(obj3
);
32408 if (arg4
== NULL
) SWIG_fail
;
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32420 resultobj
= wxPyMake_wxObject(result
, 0);
32444 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32445 PyObject
*resultobj
;
32446 wxMenu
*arg1
= (wxMenu
*) 0 ;
32448 wxString
*arg3
= 0 ;
32449 wxMenu
*arg4
= (wxMenu
*) 0 ;
32450 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32451 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32452 wxMenuItem
*result
;
32453 bool temp3
= false ;
32454 bool temp5
= false ;
32455 PyObject
* obj0
= 0 ;
32456 PyObject
* obj1
= 0 ;
32457 PyObject
* obj2
= 0 ;
32458 PyObject
* obj3
= 0 ;
32459 PyObject
* obj4
= 0 ;
32460 char *kwnames
[] = {
32461 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32466 if (SWIG_arg_fail(1)) SWIG_fail
;
32468 arg2
= (int)(SWIG_As_int(obj1
));
32469 if (SWIG_arg_fail(2)) SWIG_fail
;
32472 arg3
= wxString_in_helper(obj2
);
32473 if (arg3
== NULL
) SWIG_fail
;
32476 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32477 if (SWIG_arg_fail(4)) SWIG_fail
;
32480 arg5
= wxString_in_helper(obj4
);
32481 if (arg5
== NULL
) SWIG_fail
;
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32493 resultobj
= wxPyMake_wxObject(result
, 0);
32517 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32518 PyObject
*resultobj
;
32519 wxMenu
*arg1
= (wxMenu
*) 0 ;
32520 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32521 wxMenuItem
*result
;
32522 PyObject
* obj0
= 0 ;
32523 PyObject
* obj1
= 0 ;
32524 char *kwnames
[] = {
32525 (char *) "self",(char *) "item", NULL
32528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32530 if (SWIG_arg_fail(1)) SWIG_fail
;
32531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32532 if (SWIG_arg_fail(2)) SWIG_fail
;
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32541 resultobj
= wxPyMake_wxObject(result
, 0);
32549 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
;
32551 wxMenu
*arg1
= (wxMenu
*) 0 ;
32552 PyObject
* obj0
= 0 ;
32553 char *kwnames
[] = {
32554 (char *) "self", NULL
32557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32559 if (SWIG_arg_fail(1)) SWIG_fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32567 Py_INCREF(Py_None
); resultobj
= Py_None
;
32574 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
;
32576 wxMenu
*arg1
= (wxMenu
*) 0 ;
32578 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32579 wxMenuItem
*result
;
32580 PyObject
* obj0
= 0 ;
32581 PyObject
* obj1
= 0 ;
32582 PyObject
* obj2
= 0 ;
32583 char *kwnames
[] = {
32584 (char *) "self",(char *) "pos",(char *) "item", NULL
32587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32589 if (SWIG_arg_fail(1)) SWIG_fail
;
32591 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32592 if (SWIG_arg_fail(2)) SWIG_fail
;
32594 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32595 if (SWIG_arg_fail(3)) SWIG_fail
;
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32600 wxPyEndAllowThreads(__tstate
);
32601 if (PyErr_Occurred()) SWIG_fail
;
32604 resultobj
= wxPyMake_wxObject(result
, 0);
32612 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32613 PyObject
*resultobj
;
32614 wxMenu
*arg1
= (wxMenu
*) 0 ;
32617 wxString
*arg4
= 0 ;
32618 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32619 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32620 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32621 wxMenuItem
*result
;
32622 bool temp4
= false ;
32623 bool temp5
= false ;
32624 PyObject
* obj0
= 0 ;
32625 PyObject
* obj1
= 0 ;
32626 PyObject
* obj2
= 0 ;
32627 PyObject
* obj3
= 0 ;
32628 PyObject
* obj4
= 0 ;
32629 PyObject
* obj5
= 0 ;
32630 char *kwnames
[] = {
32631 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32636 if (SWIG_arg_fail(1)) SWIG_fail
;
32638 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32639 if (SWIG_arg_fail(2)) SWIG_fail
;
32642 arg3
= (int)(SWIG_As_int(obj2
));
32643 if (SWIG_arg_fail(3)) SWIG_fail
;
32646 arg4
= wxString_in_helper(obj3
);
32647 if (arg4
== NULL
) SWIG_fail
;
32652 arg5
= wxString_in_helper(obj4
);
32653 if (arg5
== NULL
) SWIG_fail
;
32659 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32660 if (SWIG_arg_fail(6)) SWIG_fail
;
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32667 wxPyEndAllowThreads(__tstate
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= wxPyMake_wxObject(result
, 0);
32695 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
;
32697 wxMenu
*arg1
= (wxMenu
*) 0 ;
32699 wxMenuItem
*result
;
32700 PyObject
* obj0
= 0 ;
32701 PyObject
* obj1
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self",(char *) "pos", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32708 if (SWIG_arg_fail(1)) SWIG_fail
;
32710 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32711 if (SWIG_arg_fail(2)) SWIG_fail
;
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= wxPyMake_wxObject(result
, 0);
32729 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32730 PyObject
*resultobj
;
32731 wxMenu
*arg1
= (wxMenu
*) 0 ;
32734 wxString
*arg4
= 0 ;
32735 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32736 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32737 wxMenuItem
*result
;
32738 bool temp4
= false ;
32739 bool temp5
= false ;
32740 PyObject
* obj0
= 0 ;
32741 PyObject
* obj1
= 0 ;
32742 PyObject
* obj2
= 0 ;
32743 PyObject
* obj3
= 0 ;
32744 PyObject
* obj4
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail
;
32753 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32754 if (SWIG_arg_fail(2)) SWIG_fail
;
32757 arg3
= (int)(SWIG_As_int(obj2
));
32758 if (SWIG_arg_fail(3)) SWIG_fail
;
32761 arg4
= wxString_in_helper(obj3
);
32762 if (arg4
== NULL
) SWIG_fail
;
32767 arg5
= wxString_in_helper(obj4
);
32768 if (arg5
== NULL
) SWIG_fail
;
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= wxPyMake_wxObject(result
, 0);
32804 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32805 PyObject
*resultobj
;
32806 wxMenu
*arg1
= (wxMenu
*) 0 ;
32809 wxString
*arg4
= 0 ;
32810 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32811 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32812 wxMenuItem
*result
;
32813 bool temp4
= false ;
32814 bool temp5
= false ;
32815 PyObject
* obj0
= 0 ;
32816 PyObject
* obj1
= 0 ;
32817 PyObject
* obj2
= 0 ;
32818 PyObject
* obj3
= 0 ;
32819 PyObject
* obj4
= 0 ;
32820 char *kwnames
[] = {
32821 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32826 if (SWIG_arg_fail(1)) SWIG_fail
;
32828 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32829 if (SWIG_arg_fail(2)) SWIG_fail
;
32832 arg3
= (int)(SWIG_As_int(obj2
));
32833 if (SWIG_arg_fail(3)) SWIG_fail
;
32836 arg4
= wxString_in_helper(obj3
);
32837 if (arg4
== NULL
) SWIG_fail
;
32842 arg5
= wxString_in_helper(obj4
);
32843 if (arg5
== NULL
) SWIG_fail
;
32848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32849 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32855 resultobj
= wxPyMake_wxObject(result
, 0);
32879 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32880 PyObject
*resultobj
;
32881 wxMenu
*arg1
= (wxMenu
*) 0 ;
32884 wxString
*arg4
= 0 ;
32885 wxMenu
*arg5
= (wxMenu
*) 0 ;
32886 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32887 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32888 wxMenuItem
*result
;
32889 bool temp4
= false ;
32890 bool temp6
= false ;
32891 PyObject
* obj0
= 0 ;
32892 PyObject
* obj1
= 0 ;
32893 PyObject
* obj2
= 0 ;
32894 PyObject
* obj3
= 0 ;
32895 PyObject
* obj4
= 0 ;
32896 PyObject
* obj5
= 0 ;
32897 char *kwnames
[] = {
32898 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32903 if (SWIG_arg_fail(1)) SWIG_fail
;
32905 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32906 if (SWIG_arg_fail(2)) SWIG_fail
;
32909 arg3
= (int)(SWIG_As_int(obj2
));
32910 if (SWIG_arg_fail(3)) SWIG_fail
;
32913 arg4
= wxString_in_helper(obj3
);
32914 if (arg4
== NULL
) SWIG_fail
;
32917 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32918 if (SWIG_arg_fail(5)) SWIG_fail
;
32921 arg6
= wxString_in_helper(obj5
);
32922 if (arg6
== NULL
) SWIG_fail
;
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32930 wxPyEndAllowThreads(__tstate
);
32931 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= wxPyMake_wxObject(result
, 0);
32958 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32959 PyObject
*resultobj
;
32960 wxMenu
*arg1
= (wxMenu
*) 0 ;
32961 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32962 wxMenuItem
*result
;
32963 PyObject
* obj0
= 0 ;
32964 PyObject
* obj1
= 0 ;
32965 char *kwnames
[] = {
32966 (char *) "self",(char *) "item", NULL
32969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32971 if (SWIG_arg_fail(1)) SWIG_fail
;
32972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32973 if (SWIG_arg_fail(2)) SWIG_fail
;
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= wxPyMake_wxObject(result
, 0);
32990 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32991 PyObject
*resultobj
;
32992 wxMenu
*arg1
= (wxMenu
*) 0 ;
32994 wxString
*arg3
= 0 ;
32995 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32996 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32997 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32998 wxMenuItem
*result
;
32999 bool temp3
= false ;
33000 bool temp4
= false ;
33001 PyObject
* obj0
= 0 ;
33002 PyObject
* obj1
= 0 ;
33003 PyObject
* obj2
= 0 ;
33004 PyObject
* obj3
= 0 ;
33005 PyObject
* obj4
= 0 ;
33006 char *kwnames
[] = {
33007 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33012 if (SWIG_arg_fail(1)) SWIG_fail
;
33014 arg2
= (int)(SWIG_As_int(obj1
));
33015 if (SWIG_arg_fail(2)) SWIG_fail
;
33018 arg3
= wxString_in_helper(obj2
);
33019 if (arg3
== NULL
) SWIG_fail
;
33024 arg4
= wxString_in_helper(obj3
);
33025 if (arg4
== NULL
) SWIG_fail
;
33031 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33032 if (SWIG_arg_fail(5)) SWIG_fail
;
33036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33037 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= wxPyMake_wxObject(result
, 0);
33067 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
;
33069 wxMenu
*arg1
= (wxMenu
*) 0 ;
33070 wxMenuItem
*result
;
33071 PyObject
* obj0
= 0 ;
33072 char *kwnames
[] = {
33073 (char *) "self", NULL
33076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33078 if (SWIG_arg_fail(1)) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= wxPyMake_wxObject(result
, 0);
33095 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33096 PyObject
*resultobj
;
33097 wxMenu
*arg1
= (wxMenu
*) 0 ;
33099 wxString
*arg3
= 0 ;
33100 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33101 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33102 wxMenuItem
*result
;
33103 bool temp3
= false ;
33104 bool temp4
= false ;
33105 PyObject
* obj0
= 0 ;
33106 PyObject
* obj1
= 0 ;
33107 PyObject
* obj2
= 0 ;
33108 PyObject
* obj3
= 0 ;
33109 char *kwnames
[] = {
33110 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33115 if (SWIG_arg_fail(1)) SWIG_fail
;
33117 arg2
= (int)(SWIG_As_int(obj1
));
33118 if (SWIG_arg_fail(2)) SWIG_fail
;
33121 arg3
= wxString_in_helper(obj2
);
33122 if (arg3
== NULL
) SWIG_fail
;
33127 arg4
= wxString_in_helper(obj3
);
33128 if (arg4
== NULL
) SWIG_fail
;
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= wxPyMake_wxObject(result
, 0);
33164 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33165 PyObject
*resultobj
;
33166 wxMenu
*arg1
= (wxMenu
*) 0 ;
33168 wxString
*arg3
= 0 ;
33169 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33170 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33171 wxMenuItem
*result
;
33172 bool temp3
= false ;
33173 bool temp4
= false ;
33174 PyObject
* obj0
= 0 ;
33175 PyObject
* obj1
= 0 ;
33176 PyObject
* obj2
= 0 ;
33177 PyObject
* obj3
= 0 ;
33178 char *kwnames
[] = {
33179 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33184 if (SWIG_arg_fail(1)) SWIG_fail
;
33186 arg2
= (int)(SWIG_As_int(obj1
));
33187 if (SWIG_arg_fail(2)) SWIG_fail
;
33190 arg3
= wxString_in_helper(obj2
);
33191 if (arg3
== NULL
) SWIG_fail
;
33196 arg4
= wxString_in_helper(obj3
);
33197 if (arg4
== NULL
) SWIG_fail
;
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= wxPyMake_wxObject(result
, 0);
33233 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33234 PyObject
*resultobj
;
33235 wxMenu
*arg1
= (wxMenu
*) 0 ;
33237 wxString
*arg3
= 0 ;
33238 wxMenu
*arg4
= (wxMenu
*) 0 ;
33239 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33240 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33241 wxMenuItem
*result
;
33242 bool temp3
= false ;
33243 bool temp5
= false ;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 PyObject
* obj2
= 0 ;
33247 PyObject
* obj3
= 0 ;
33248 PyObject
* obj4
= 0 ;
33249 char *kwnames
[] = {
33250 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33255 if (SWIG_arg_fail(1)) SWIG_fail
;
33257 arg2
= (int)(SWIG_As_int(obj1
));
33258 if (SWIG_arg_fail(2)) SWIG_fail
;
33261 arg3
= wxString_in_helper(obj2
);
33262 if (arg3
== NULL
) SWIG_fail
;
33265 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33266 if (SWIG_arg_fail(4)) SWIG_fail
;
33269 arg5
= wxString_in_helper(obj4
);
33270 if (arg5
== NULL
) SWIG_fail
;
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33276 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33278 wxPyEndAllowThreads(__tstate
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33282 resultobj
= wxPyMake_wxObject(result
, 0);
33306 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
;
33308 wxMenu
*arg1
= (wxMenu
*) 0 ;
33310 wxMenuItem
*result
;
33311 PyObject
* obj0
= 0 ;
33312 PyObject
* obj1
= 0 ;
33313 char *kwnames
[] = {
33314 (char *) "self",(char *) "id", NULL
33317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33319 if (SWIG_arg_fail(1)) SWIG_fail
;
33321 arg2
= (int)(SWIG_As_int(obj1
));
33322 if (SWIG_arg_fail(2)) SWIG_fail
;
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33332 resultobj
= wxPyMake_wxObject(result
, 0);
33340 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33341 PyObject
*resultobj
;
33342 wxMenu
*arg1
= (wxMenu
*) 0 ;
33343 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33344 wxMenuItem
*result
;
33345 PyObject
* obj0
= 0 ;
33346 PyObject
* obj1
= 0 ;
33347 char *kwnames
[] = {
33348 (char *) "self",(char *) "item", NULL
33351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33353 if (SWIG_arg_fail(1)) SWIG_fail
;
33354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33355 if (SWIG_arg_fail(2)) SWIG_fail
;
33357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33358 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33360 wxPyEndAllowThreads(__tstate
);
33361 if (PyErr_Occurred()) SWIG_fail
;
33364 resultobj
= wxPyMake_wxObject(result
, 0);
33372 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33373 PyObject
*resultobj
;
33374 wxMenu
*arg1
= (wxMenu
*) 0 ;
33377 PyObject
* obj0
= 0 ;
33378 PyObject
* obj1
= 0 ;
33379 char *kwnames
[] = {
33380 (char *) "self",(char *) "id", NULL
33383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33385 if (SWIG_arg_fail(1)) SWIG_fail
;
33387 arg2
= (int)(SWIG_As_int(obj1
));
33388 if (SWIG_arg_fail(2)) SWIG_fail
;
33391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33392 result
= (bool)(arg1
)->Delete(arg2
);
33394 wxPyEndAllowThreads(__tstate
);
33395 if (PyErr_Occurred()) SWIG_fail
;
33398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33406 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33407 PyObject
*resultobj
;
33408 wxMenu
*arg1
= (wxMenu
*) 0 ;
33409 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33411 PyObject
* obj0
= 0 ;
33412 PyObject
* obj1
= 0 ;
33413 char *kwnames
[] = {
33414 (char *) "self",(char *) "item", NULL
33417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33419 if (SWIG_arg_fail(1)) SWIG_fail
;
33420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33421 if (SWIG_arg_fail(2)) SWIG_fail
;
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 result
= (bool)(arg1
)->Delete(arg2
);
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33438 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
;
33440 wxMenu
*arg1
= (wxMenu
*) 0 ;
33441 PyObject
* obj0
= 0 ;
33442 char *kwnames
[] = {
33443 (char *) "self", NULL
33446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33448 if (SWIG_arg_fail(1)) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 wxMenu_Destroy(arg1
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 Py_INCREF(Py_None
); resultobj
= Py_None
;
33463 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
;
33465 wxMenu
*arg1
= (wxMenu
*) 0 ;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self",(char *) "id", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33476 if (SWIG_arg_fail(1)) SWIG_fail
;
33478 arg2
= (int)(SWIG_As_int(obj1
));
33479 if (SWIG_arg_fail(2)) SWIG_fail
;
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 result
= (bool)(arg1
)->Destroy(arg2
);
33485 wxPyEndAllowThreads(__tstate
);
33486 if (PyErr_Occurred()) SWIG_fail
;
33489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33497 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33498 PyObject
*resultobj
;
33499 wxMenu
*arg1
= (wxMenu
*) 0 ;
33500 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 char *kwnames
[] = {
33505 (char *) "self",(char *) "item", NULL
33508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33510 if (SWIG_arg_fail(1)) SWIG_fail
;
33511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33512 if (SWIG_arg_fail(2)) SWIG_fail
;
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 result
= (bool)(arg1
)->Destroy(arg2
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33529 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33530 PyObject
*resultobj
;
33531 wxMenu
*arg1
= (wxMenu
*) 0 ;
33533 PyObject
* obj0
= 0 ;
33534 char *kwnames
[] = {
33535 (char *) "self", NULL
33538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33540 if (SWIG_arg_fail(1)) SWIG_fail
;
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33557 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
;
33559 wxMenu
*arg1
= (wxMenu
*) 0 ;
33561 PyObject
* obj0
= 0 ;
33562 char *kwnames
[] = {
33563 (char *) "self", NULL
33566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33568 if (SWIG_arg_fail(1)) SWIG_fail
;
33570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33571 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= result
;
33583 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
;
33585 wxMenu
*arg1
= (wxMenu
*) 0 ;
33586 wxString
*arg2
= 0 ;
33588 bool temp2
= false ;
33589 PyObject
* obj0
= 0 ;
33590 PyObject
* obj1
= 0 ;
33591 char *kwnames
[] = {
33592 (char *) "self",(char *) "item", NULL
33595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33597 if (SWIG_arg_fail(1)) SWIG_fail
;
33599 arg2
= wxString_in_helper(obj1
);
33600 if (arg2
== NULL
) SWIG_fail
;
33604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33605 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33611 resultobj
= SWIG_From_int((int)(result
));
33627 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
;
33629 wxMenu
*arg1
= (wxMenu
*) 0 ;
33631 wxMenuItem
*result
;
33632 PyObject
* obj0
= 0 ;
33633 PyObject
* obj1
= 0 ;
33634 char *kwnames
[] = {
33635 (char *) "self",(char *) "id", NULL
33638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33647 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33653 resultobj
= wxPyMake_wxObject(result
, 0);
33661 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33662 PyObject
*resultobj
;
33663 wxMenu
*arg1
= (wxMenu
*) 0 ;
33665 wxMenuItem
*result
;
33666 PyObject
* obj0
= 0 ;
33667 PyObject
* obj1
= 0 ;
33668 char *kwnames
[] = {
33669 (char *) "self",(char *) "position", NULL
33672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33674 if (SWIG_arg_fail(1)) SWIG_fail
;
33676 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33677 if (SWIG_arg_fail(2)) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33687 resultobj
= wxPyMake_wxObject(result
, 0);
33695 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
;
33697 wxMenu
*arg1
= (wxMenu
*) 0 ;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 PyObject
* obj2
= 0 ;
33703 char *kwnames
[] = {
33704 (char *) "self",(char *) "id",(char *) "enable", NULL
33707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33709 if (SWIG_arg_fail(1)) SWIG_fail
;
33711 arg2
= (int)(SWIG_As_int(obj1
));
33712 if (SWIG_arg_fail(2)) SWIG_fail
;
33715 arg3
= (bool)(SWIG_As_bool(obj2
));
33716 if (SWIG_arg_fail(3)) SWIG_fail
;
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 (arg1
)->Enable(arg2
,arg3
);
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33725 Py_INCREF(Py_None
); resultobj
= Py_None
;
33732 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33733 PyObject
*resultobj
;
33734 wxMenu
*arg1
= (wxMenu
*) 0 ;
33737 PyObject
* obj0
= 0 ;
33738 PyObject
* obj1
= 0 ;
33739 char *kwnames
[] = {
33740 (char *) "self",(char *) "id", NULL
33743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33745 if (SWIG_arg_fail(1)) SWIG_fail
;
33747 arg2
= (int)(SWIG_As_int(obj1
));
33748 if (SWIG_arg_fail(2)) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33766 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
;
33768 wxMenu
*arg1
= (wxMenu
*) 0 ;
33771 PyObject
* obj0
= 0 ;
33772 PyObject
* obj1
= 0 ;
33773 PyObject
* obj2
= 0 ;
33774 char *kwnames
[] = {
33775 (char *) "self",(char *) "id",(char *) "check", NULL
33778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33780 if (SWIG_arg_fail(1)) SWIG_fail
;
33782 arg2
= (int)(SWIG_As_int(obj1
));
33783 if (SWIG_arg_fail(2)) SWIG_fail
;
33786 arg3
= (bool)(SWIG_As_bool(obj2
));
33787 if (SWIG_arg_fail(3)) SWIG_fail
;
33790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33791 (arg1
)->Check(arg2
,arg3
);
33793 wxPyEndAllowThreads(__tstate
);
33794 if (PyErr_Occurred()) SWIG_fail
;
33796 Py_INCREF(Py_None
); resultobj
= Py_None
;
33803 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
;
33805 wxMenu
*arg1
= (wxMenu
*) 0 ;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self",(char *) "id", NULL
33814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33816 if (SWIG_arg_fail(1)) SWIG_fail
;
33818 arg2
= (int)(SWIG_As_int(obj1
));
33819 if (SWIG_arg_fail(2)) SWIG_fail
;
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33837 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33838 PyObject
*resultobj
;
33839 wxMenu
*arg1
= (wxMenu
*) 0 ;
33841 wxString
*arg3
= 0 ;
33842 bool temp3
= false ;
33843 PyObject
* obj0
= 0 ;
33844 PyObject
* obj1
= 0 ;
33845 PyObject
* obj2
= 0 ;
33846 char *kwnames
[] = {
33847 (char *) "self",(char *) "id",(char *) "label", NULL
33850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33852 if (SWIG_arg_fail(1)) SWIG_fail
;
33854 arg2
= (int)(SWIG_As_int(obj1
));
33855 if (SWIG_arg_fail(2)) SWIG_fail
;
33858 arg3
= wxString_in_helper(obj2
);
33859 if (arg3
== NULL
) SWIG_fail
;
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33864 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33866 wxPyEndAllowThreads(__tstate
);
33867 if (PyErr_Occurred()) SWIG_fail
;
33869 Py_INCREF(Py_None
); resultobj
= Py_None
;
33884 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
;
33886 wxMenu
*arg1
= (wxMenu
*) 0 ;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 char *kwnames
[] = {
33892 (char *) "self",(char *) "id", NULL
33895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33897 if (SWIG_arg_fail(1)) SWIG_fail
;
33899 arg2
= (int)(SWIG_As_int(obj1
));
33900 if (SWIG_arg_fail(2)) SWIG_fail
;
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33922 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
;
33924 wxMenu
*arg1
= (wxMenu
*) 0 ;
33926 wxString
*arg3
= 0 ;
33927 bool temp3
= false ;
33928 PyObject
* obj0
= 0 ;
33929 PyObject
* obj1
= 0 ;
33930 PyObject
* obj2
= 0 ;
33931 char *kwnames
[] = {
33932 (char *) "self",(char *) "id",(char *) "helpString", NULL
33935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33937 if (SWIG_arg_fail(1)) SWIG_fail
;
33939 arg2
= (int)(SWIG_As_int(obj1
));
33940 if (SWIG_arg_fail(2)) SWIG_fail
;
33943 arg3
= wxString_in_helper(obj2
);
33944 if (arg3
== NULL
) SWIG_fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33954 Py_INCREF(Py_None
); resultobj
= Py_None
;
33969 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33970 PyObject
*resultobj
;
33971 wxMenu
*arg1
= (wxMenu
*) 0 ;
33974 PyObject
* obj0
= 0 ;
33975 PyObject
* obj1
= 0 ;
33976 char *kwnames
[] = {
33977 (char *) "self",(char *) "id", NULL
33980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",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
= (int)(SWIG_As_int(obj1
));
33985 if (SWIG_arg_fail(2)) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34007 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34008 PyObject
*resultobj
;
34009 wxMenu
*arg1
= (wxMenu
*) 0 ;
34010 wxString
*arg2
= 0 ;
34011 bool temp2
= false ;
34012 PyObject
* obj0
= 0 ;
34013 PyObject
* obj1
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self",(char *) "title", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34022 arg2
= wxString_in_helper(obj1
);
34023 if (arg2
== NULL
) SWIG_fail
;
34027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34028 (arg1
)->SetTitle((wxString
const &)*arg2
);
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34033 Py_INCREF(Py_None
); resultobj
= Py_None
;
34048 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
;
34050 wxMenu
*arg1
= (wxMenu
*) 0 ;
34052 PyObject
* obj0
= 0 ;
34053 char *kwnames
[] = {
34054 (char *) "self", NULL
34057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34062 result
= ((wxMenu
const *)arg1
)->GetTitle();
34064 wxPyEndAllowThreads(__tstate
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34080 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
;
34082 wxMenu
*arg1
= (wxMenu
*) 0 ;
34083 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34084 PyObject
* obj0
= 0 ;
34085 PyObject
* obj1
= 0 ;
34086 char *kwnames
[] = {
34087 (char *) "self",(char *) "handler", NULL
34090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34092 if (SWIG_arg_fail(1)) SWIG_fail
;
34093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34094 if (SWIG_arg_fail(2)) SWIG_fail
;
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 (arg1
)->SetEventHandler(arg2
);
34099 wxPyEndAllowThreads(__tstate
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34102 Py_INCREF(Py_None
); resultobj
= Py_None
;
34109 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34110 PyObject
*resultobj
;
34111 wxMenu
*arg1
= (wxMenu
*) 0 ;
34112 wxEvtHandler
*result
;
34113 PyObject
* obj0
= 0 ;
34114 char *kwnames
[] = {
34115 (char *) "self", NULL
34118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34120 if (SWIG_arg_fail(1)) SWIG_fail
;
34122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34123 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34129 resultobj
= wxPyMake_wxObject(result
, 0);
34137 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34138 PyObject
*resultobj
;
34139 wxMenu
*arg1
= (wxMenu
*) 0 ;
34140 wxWindow
*arg2
= (wxWindow
*) 0 ;
34141 PyObject
* obj0
= 0 ;
34142 PyObject
* obj1
= 0 ;
34143 char *kwnames
[] = {
34144 (char *) "self",(char *) "win", NULL
34147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34149 if (SWIG_arg_fail(1)) SWIG_fail
;
34150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34151 if (SWIG_arg_fail(2)) SWIG_fail
;
34153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 (arg1
)->SetInvokingWindow(arg2
);
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34159 Py_INCREF(Py_None
); resultobj
= Py_None
;
34166 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
;
34168 wxMenu
*arg1
= (wxMenu
*) 0 ;
34170 PyObject
* obj0
= 0 ;
34171 char *kwnames
[] = {
34172 (char *) "self", NULL
34175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34177 if (SWIG_arg_fail(1)) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34186 resultobj
= wxPyMake_wxObject(result
, 0);
34194 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34195 PyObject
*resultobj
;
34196 wxMenu
*arg1
= (wxMenu
*) 0 ;
34198 PyObject
* obj0
= 0 ;
34199 char *kwnames
[] = {
34200 (char *) "self", NULL
34203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34205 if (SWIG_arg_fail(1)) SWIG_fail
;
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34214 resultobj
= SWIG_From_long((long)(result
));
34222 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
;
34224 wxMenu
*arg1
= (wxMenu
*) 0 ;
34225 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34226 PyObject
* obj0
= 0 ;
34227 PyObject
* obj1
= 0 ;
34228 char *kwnames
[] = {
34229 (char *) "self",(char *) "source", NULL
34232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34234 if (SWIG_arg_fail(1)) SWIG_fail
;
34236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34237 if (SWIG_arg_fail(2)) SWIG_fail
;
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 (arg1
)->UpdateUI(arg2
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 Py_INCREF(Py_None
); resultobj
= Py_None
;
34253 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34254 PyObject
*resultobj
;
34255 wxMenu
*arg1
= (wxMenu
*) 0 ;
34257 PyObject
* obj0
= 0 ;
34258 char *kwnames
[] = {
34259 (char *) "self", NULL
34262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34264 if (SWIG_arg_fail(1)) SWIG_fail
;
34266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34267 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34269 wxPyEndAllowThreads(__tstate
);
34270 if (PyErr_Occurred()) SWIG_fail
;
34273 resultobj
= wxPyMake_wxObject(result
, 0);
34281 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34282 PyObject
*resultobj
;
34283 wxMenu
*arg1
= (wxMenu
*) 0 ;
34284 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 char *kwnames
[] = {
34288 (char *) "self",(char *) "menubar", NULL
34291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34293 if (SWIG_arg_fail(1)) SWIG_fail
;
34294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34295 if (SWIG_arg_fail(2)) SWIG_fail
;
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 (arg1
)->Attach(arg2
);
34300 wxPyEndAllowThreads(__tstate
);
34301 if (PyErr_Occurred()) SWIG_fail
;
34303 Py_INCREF(Py_None
); resultobj
= Py_None
;
34310 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34311 PyObject
*resultobj
;
34312 wxMenu
*arg1
= (wxMenu
*) 0 ;
34313 PyObject
* obj0
= 0 ;
34314 char *kwnames
[] = {
34315 (char *) "self", NULL
34318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34320 if (SWIG_arg_fail(1)) SWIG_fail
;
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 wxPyEndAllowThreads(__tstate
);
34326 if (PyErr_Occurred()) SWIG_fail
;
34328 Py_INCREF(Py_None
); resultobj
= Py_None
;
34335 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34336 PyObject
*resultobj
;
34337 wxMenu
*arg1
= (wxMenu
*) 0 ;
34339 PyObject
* obj0
= 0 ;
34340 char *kwnames
[] = {
34341 (char *) "self", NULL
34344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34346 if (SWIG_arg_fail(1)) SWIG_fail
;
34348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34349 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34351 wxPyEndAllowThreads(__tstate
);
34352 if (PyErr_Occurred()) SWIG_fail
;
34355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34363 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34364 PyObject
*resultobj
;
34365 wxMenu
*arg1
= (wxMenu
*) 0 ;
34366 wxMenu
*arg2
= (wxMenu
*) 0 ;
34367 PyObject
* obj0
= 0 ;
34368 PyObject
* obj1
= 0 ;
34369 char *kwnames
[] = {
34370 (char *) "self",(char *) "parent", NULL
34373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34375 if (SWIG_arg_fail(1)) SWIG_fail
;
34376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34377 if (SWIG_arg_fail(2)) SWIG_fail
;
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 (arg1
)->SetParent(arg2
);
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34385 Py_INCREF(Py_None
); resultobj
= Py_None
;
34392 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
;
34394 wxMenu
*arg1
= (wxMenu
*) 0 ;
34396 PyObject
* obj0
= 0 ;
34397 char *kwnames
[] = {
34398 (char *) "self", NULL
34401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34403 if (SWIG_arg_fail(1)) SWIG_fail
;
34405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34406 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34408 wxPyEndAllowThreads(__tstate
);
34409 if (PyErr_Occurred()) SWIG_fail
;
34412 resultobj
= wxPyMake_wxObject(result
, 0);
34420 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34423 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34425 return Py_BuildValue((char *)"");
34427 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
;
34429 long arg1
= (long) 0 ;
34431 PyObject
* obj0
= 0 ;
34432 char *kwnames
[] = {
34433 (char *) "style", NULL
34436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34439 arg1
= (long)(SWIG_As_long(obj0
));
34440 if (SWIG_arg_fail(1)) SWIG_fail
;
34444 if (!wxPyCheckForApp()) SWIG_fail
;
34445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34446 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34448 wxPyEndAllowThreads(__tstate
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34458 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34459 PyObject
*resultobj
;
34460 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34461 wxMenu
*arg2
= (wxMenu
*) 0 ;
34462 wxString
*arg3
= 0 ;
34464 bool temp3
= false ;
34465 PyObject
* obj0
= 0 ;
34466 PyObject
* obj1
= 0 ;
34467 PyObject
* obj2
= 0 ;
34468 char *kwnames
[] = {
34469 (char *) "self",(char *) "menu",(char *) "title", NULL
34472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34474 if (SWIG_arg_fail(1)) SWIG_fail
;
34475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34476 if (SWIG_arg_fail(2)) SWIG_fail
;
34478 arg3
= wxString_in_helper(obj2
);
34479 if (arg3
== NULL
) SWIG_fail
;
34483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34484 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34486 wxPyEndAllowThreads(__tstate
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34506 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34507 PyObject
*resultobj
;
34508 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34510 wxMenu
*arg3
= (wxMenu
*) 0 ;
34511 wxString
*arg4
= 0 ;
34513 bool temp4
= false ;
34514 PyObject
* obj0
= 0 ;
34515 PyObject
* obj1
= 0 ;
34516 PyObject
* obj2
= 0 ;
34517 PyObject
* obj3
= 0 ;
34518 char *kwnames
[] = {
34519 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34524 if (SWIG_arg_fail(1)) SWIG_fail
;
34526 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34527 if (SWIG_arg_fail(2)) SWIG_fail
;
34529 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34530 if (SWIG_arg_fail(3)) SWIG_fail
;
34532 arg4
= wxString_in_helper(obj3
);
34533 if (arg4
== NULL
) SWIG_fail
;
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34540 wxPyEndAllowThreads(__tstate
);
34541 if (PyErr_Occurred()) SWIG_fail
;
34544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34560 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
;
34562 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 char *kwnames
[] = {
34566 (char *) "self", NULL
34569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34571 if (SWIG_arg_fail(1)) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34588 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34589 PyObject
*resultobj
;
34590 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self",(char *) "pos", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34601 if (SWIG_arg_fail(1)) SWIG_fail
;
34603 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34604 if (SWIG_arg_fail(2)) SWIG_fail
;
34607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34608 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34614 resultobj
= wxPyMake_wxObject(result
, 0);
34622 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34623 PyObject
*resultobj
;
34624 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34626 wxMenu
*arg3
= (wxMenu
*) 0 ;
34627 wxString
*arg4
= 0 ;
34629 bool temp4
= false ;
34630 PyObject
* obj0
= 0 ;
34631 PyObject
* obj1
= 0 ;
34632 PyObject
* obj2
= 0 ;
34633 PyObject
* obj3
= 0 ;
34634 char *kwnames
[] = {
34635 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34640 if (SWIG_arg_fail(1)) SWIG_fail
;
34642 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34643 if (SWIG_arg_fail(2)) SWIG_fail
;
34645 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34646 if (SWIG_arg_fail(3)) SWIG_fail
;
34648 arg4
= wxString_in_helper(obj3
);
34649 if (arg4
== NULL
) SWIG_fail
;
34653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34654 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34660 resultobj
= wxPyMake_wxObject(result
, 0);
34676 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34677 PyObject
*resultobj
;
34678 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34681 PyObject
* obj0
= 0 ;
34682 PyObject
* obj1
= 0 ;
34683 char *kwnames
[] = {
34684 (char *) "self",(char *) "pos", NULL
34687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34689 if (SWIG_arg_fail(1)) SWIG_fail
;
34691 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34692 if (SWIG_arg_fail(2)) SWIG_fail
;
34695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34696 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34698 wxPyEndAllowThreads(__tstate
);
34699 if (PyErr_Occurred()) SWIG_fail
;
34702 resultobj
= wxPyMake_wxObject(result
, 0);
34710 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34711 PyObject
*resultobj
;
34712 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34715 PyObject
* obj0
= 0 ;
34716 PyObject
* obj1
= 0 ;
34717 PyObject
* obj2
= 0 ;
34718 char *kwnames
[] = {
34719 (char *) "self",(char *) "pos",(char *) "enable", NULL
34722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34724 if (SWIG_arg_fail(1)) SWIG_fail
;
34726 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34727 if (SWIG_arg_fail(2)) SWIG_fail
;
34730 arg3
= (bool)(SWIG_As_bool(obj2
));
34731 if (SWIG_arg_fail(3)) SWIG_fail
;
34734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34735 (arg1
)->EnableTop(arg2
,arg3
);
34737 wxPyEndAllowThreads(__tstate
);
34738 if (PyErr_Occurred()) SWIG_fail
;
34740 Py_INCREF(Py_None
); resultobj
= Py_None
;
34747 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34748 PyObject
*resultobj
;
34749 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "pos", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34760 if (SWIG_arg_fail(1)) SWIG_fail
;
34762 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34763 if (SWIG_arg_fail(2)) SWIG_fail
;
34766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34767 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34769 wxPyEndAllowThreads(__tstate
);
34770 if (PyErr_Occurred()) SWIG_fail
;
34773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34781 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
;
34783 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34785 wxString
*arg3
= 0 ;
34786 bool temp3
= false ;
34787 PyObject
* obj0
= 0 ;
34788 PyObject
* obj1
= 0 ;
34789 PyObject
* obj2
= 0 ;
34790 char *kwnames
[] = {
34791 (char *) "self",(char *) "pos",(char *) "label", NULL
34794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34796 if (SWIG_arg_fail(1)) SWIG_fail
;
34798 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34799 if (SWIG_arg_fail(2)) SWIG_fail
;
34802 arg3
= wxString_in_helper(obj2
);
34803 if (arg3
== NULL
) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34813 Py_INCREF(Py_None
); resultobj
= Py_None
;
34828 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34833 PyObject
* obj0
= 0 ;
34834 PyObject
* obj1
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "pos", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34843 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34844 if (SWIG_arg_fail(2)) SWIG_fail
;
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34866 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34867 PyObject
*resultobj
;
34868 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34869 wxString
*arg2
= 0 ;
34870 wxString
*arg3
= 0 ;
34872 bool temp2
= false ;
34873 bool temp3
= false ;
34874 PyObject
* obj0
= 0 ;
34875 PyObject
* obj1
= 0 ;
34876 PyObject
* obj2
= 0 ;
34877 char *kwnames
[] = {
34878 (char *) "self",(char *) "menu",(char *) "item", NULL
34881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34883 if (SWIG_arg_fail(1)) SWIG_fail
;
34885 arg2
= wxString_in_helper(obj1
);
34886 if (arg2
== NULL
) SWIG_fail
;
34890 arg3
= wxString_in_helper(obj2
);
34891 if (arg3
== NULL
) SWIG_fail
;
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34902 resultobj
= SWIG_From_int((int)(result
));
34926 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34927 PyObject
*resultobj
;
34928 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34930 wxMenuItem
*result
;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 char *kwnames
[] = {
34934 (char *) "self",(char *) "id", NULL
34937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34939 if (SWIG_arg_fail(1)) SWIG_fail
;
34941 arg2
= (int)(SWIG_As_int(obj1
));
34942 if (SWIG_arg_fail(2)) SWIG_fail
;
34945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34946 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34948 wxPyEndAllowThreads(__tstate
);
34949 if (PyErr_Occurred()) SWIG_fail
;
34952 resultobj
= wxPyMake_wxObject(result
, 0);
34960 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34961 PyObject
*resultobj
;
34962 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34963 wxString
*arg2
= 0 ;
34965 bool temp2
= false ;
34966 PyObject
* obj0
= 0 ;
34967 PyObject
* obj1
= 0 ;
34968 char *kwnames
[] = {
34969 (char *) "self",(char *) "title", NULL
34972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34974 if (SWIG_arg_fail(1)) SWIG_fail
;
34976 arg2
= wxString_in_helper(obj1
);
34977 if (arg2
== NULL
) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34988 resultobj
= SWIG_From_int((int)(result
));
35004 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35005 PyObject
*resultobj
;
35006 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35009 PyObject
* obj0
= 0 ;
35010 PyObject
* obj1
= 0 ;
35011 PyObject
* obj2
= 0 ;
35012 char *kwnames
[] = {
35013 (char *) "self",(char *) "id",(char *) "enable", NULL
35016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35018 if (SWIG_arg_fail(1)) SWIG_fail
;
35020 arg2
= (int)(SWIG_As_int(obj1
));
35021 if (SWIG_arg_fail(2)) SWIG_fail
;
35024 arg3
= (bool)(SWIG_As_bool(obj2
));
35025 if (SWIG_arg_fail(3)) SWIG_fail
;
35028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35029 (arg1
)->Enable(arg2
,arg3
);
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35034 Py_INCREF(Py_None
); resultobj
= Py_None
;
35041 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
;
35043 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35046 PyObject
* obj0
= 0 ;
35047 PyObject
* obj1
= 0 ;
35048 PyObject
* obj2
= 0 ;
35049 char *kwnames
[] = {
35050 (char *) "self",(char *) "id",(char *) "check", NULL
35053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35055 if (SWIG_arg_fail(1)) SWIG_fail
;
35057 arg2
= (int)(SWIG_As_int(obj1
));
35058 if (SWIG_arg_fail(2)) SWIG_fail
;
35061 arg3
= (bool)(SWIG_As_bool(obj2
));
35062 if (SWIG_arg_fail(3)) SWIG_fail
;
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 (arg1
)->Check(arg2
,arg3
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 Py_INCREF(Py_None
); resultobj
= Py_None
;
35078 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35079 PyObject
*resultobj
;
35080 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35083 PyObject
* obj0
= 0 ;
35084 PyObject
* obj1
= 0 ;
35085 char *kwnames
[] = {
35086 (char *) "self",(char *) "id", NULL
35089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35091 if (SWIG_arg_fail(1)) SWIG_fail
;
35093 arg2
= (int)(SWIG_As_int(obj1
));
35094 if (SWIG_arg_fail(2)) SWIG_fail
;
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35112 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35113 PyObject
*resultobj
;
35114 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 PyObject
* obj1
= 0 ;
35119 char *kwnames
[] = {
35120 (char *) "self",(char *) "id", NULL
35123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35125 if (SWIG_arg_fail(1)) SWIG_fail
;
35127 arg2
= (int)(SWIG_As_int(obj1
));
35128 if (SWIG_arg_fail(2)) SWIG_fail
;
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35134 wxPyEndAllowThreads(__tstate
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35146 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35147 PyObject
*resultobj
;
35148 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35150 wxString
*arg3
= 0 ;
35151 bool temp3
= false ;
35152 PyObject
* obj0
= 0 ;
35153 PyObject
* obj1
= 0 ;
35154 PyObject
* obj2
= 0 ;
35155 char *kwnames
[] = {
35156 (char *) "self",(char *) "id",(char *) "label", NULL
35159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35161 if (SWIG_arg_fail(1)) SWIG_fail
;
35163 arg2
= (int)(SWIG_As_int(obj1
));
35164 if (SWIG_arg_fail(2)) SWIG_fail
;
35167 arg3
= wxString_in_helper(obj2
);
35168 if (arg3
== NULL
) SWIG_fail
;
35172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35173 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35175 wxPyEndAllowThreads(__tstate
);
35176 if (PyErr_Occurred()) SWIG_fail
;
35178 Py_INCREF(Py_None
); resultobj
= Py_None
;
35193 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35194 PyObject
*resultobj
;
35195 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35198 PyObject
* obj0
= 0 ;
35199 PyObject
* obj1
= 0 ;
35200 char *kwnames
[] = {
35201 (char *) "self",(char *) "id", NULL
35204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35206 if (SWIG_arg_fail(1)) SWIG_fail
;
35208 arg2
= (int)(SWIG_As_int(obj1
));
35209 if (SWIG_arg_fail(2)) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35231 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35232 PyObject
*resultobj
;
35233 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35235 wxString
*arg3
= 0 ;
35236 bool temp3
= false ;
35237 PyObject
* obj0
= 0 ;
35238 PyObject
* obj1
= 0 ;
35239 PyObject
* obj2
= 0 ;
35240 char *kwnames
[] = {
35241 (char *) "self",(char *) "id",(char *) "helpString", NULL
35244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35246 if (SWIG_arg_fail(1)) SWIG_fail
;
35248 arg2
= (int)(SWIG_As_int(obj1
));
35249 if (SWIG_arg_fail(2)) SWIG_fail
;
35252 arg3
= wxString_in_helper(obj2
);
35253 if (arg3
== NULL
) SWIG_fail
;
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35258 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35260 wxPyEndAllowThreads(__tstate
);
35261 if (PyErr_Occurred()) SWIG_fail
;
35263 Py_INCREF(Py_None
); resultobj
= Py_None
;
35278 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35279 PyObject
*resultobj
;
35280 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35283 PyObject
* obj0
= 0 ;
35284 PyObject
* obj1
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self",(char *) "id", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35291 if (SWIG_arg_fail(1)) SWIG_fail
;
35293 arg2
= (int)(SWIG_As_int(obj1
));
35294 if (SWIG_arg_fail(2)) SWIG_fail
;
35297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35298 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35300 wxPyEndAllowThreads(__tstate
);
35301 if (PyErr_Occurred()) SWIG_fail
;
35305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35316 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35317 PyObject
*resultobj
;
35318 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35320 PyObject
* obj0
= 0 ;
35321 char *kwnames
[] = {
35322 (char *) "self", NULL
35325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35327 if (SWIG_arg_fail(1)) SWIG_fail
;
35329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35330 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35332 wxPyEndAllowThreads(__tstate
);
35333 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= wxPyMake_wxObject(result
, 0);
35344 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35345 PyObject
*resultobj
;
35346 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35348 PyObject
* obj0
= 0 ;
35349 char *kwnames
[] = {
35350 (char *) "self", NULL
35353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35355 if (SWIG_arg_fail(1)) SWIG_fail
;
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35358 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35372 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35373 PyObject
*resultobj
;
35374 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35375 wxFrame
*arg2
= (wxFrame
*) 0 ;
35376 PyObject
* obj0
= 0 ;
35377 PyObject
* obj1
= 0 ;
35378 char *kwnames
[] = {
35379 (char *) "self",(char *) "frame", NULL
35382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35384 if (SWIG_arg_fail(1)) SWIG_fail
;
35385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35386 if (SWIG_arg_fail(2)) SWIG_fail
;
35388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35389 (arg1
)->Attach(arg2
);
35391 wxPyEndAllowThreads(__tstate
);
35392 if (PyErr_Occurred()) SWIG_fail
;
35394 Py_INCREF(Py_None
); resultobj
= Py_None
;
35401 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35402 PyObject
*resultobj
;
35403 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35404 PyObject
* obj0
= 0 ;
35405 char *kwnames
[] = {
35406 (char *) "self", NULL
35409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35411 if (SWIG_arg_fail(1)) SWIG_fail
;
35413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35419 Py_INCREF(Py_None
); resultobj
= Py_None
;
35426 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35429 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35431 return Py_BuildValue((char *)"");
35433 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35434 PyObject
*resultobj
;
35435 wxMenu
*arg1
= (wxMenu
*) NULL
;
35436 int arg2
= (int) wxID_ANY
;
35437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35439 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35440 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35441 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35442 wxMenu
*arg6
= (wxMenu
*) NULL
;
35443 wxMenuItem
*result
;
35444 bool temp3
= false ;
35445 bool temp4
= false ;
35446 PyObject
* obj0
= 0 ;
35447 PyObject
* obj1
= 0 ;
35448 PyObject
* obj2
= 0 ;
35449 PyObject
* obj3
= 0 ;
35450 PyObject
* obj4
= 0 ;
35451 PyObject
* obj5
= 0 ;
35452 char *kwnames
[] = {
35453 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35459 if (SWIG_arg_fail(1)) SWIG_fail
;
35463 arg2
= (int)(SWIG_As_int(obj1
));
35464 if (SWIG_arg_fail(2)) SWIG_fail
;
35469 arg3
= wxString_in_helper(obj2
);
35470 if (arg3
== NULL
) SWIG_fail
;
35476 arg4
= wxString_in_helper(obj3
);
35477 if (arg4
== NULL
) SWIG_fail
;
35483 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35484 if (SWIG_arg_fail(5)) SWIG_fail
;
35488 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35489 if (SWIG_arg_fail(6)) SWIG_fail
;
35492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35499 resultobj
= wxPyMake_wxObject(result
, 1);
35523 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35524 PyObject
*resultobj
;
35525 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35527 PyObject
* obj0
= 0 ;
35528 char *kwnames
[] = {
35529 (char *) "self", NULL
35532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35534 if (SWIG_arg_fail(1)) SWIG_fail
;
35536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35537 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35539 wxPyEndAllowThreads(__tstate
);
35540 if (PyErr_Occurred()) SWIG_fail
;
35543 resultobj
= wxPyMake_wxObject(result
, 0);
35551 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35552 PyObject
*resultobj
;
35553 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35554 wxMenu
*arg2
= (wxMenu
*) 0 ;
35555 PyObject
* obj0
= 0 ;
35556 PyObject
* obj1
= 0 ;
35557 char *kwnames
[] = {
35558 (char *) "self",(char *) "menu", NULL
35561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35563 if (SWIG_arg_fail(1)) SWIG_fail
;
35564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35565 if (SWIG_arg_fail(2)) SWIG_fail
;
35567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35568 (arg1
)->SetMenu(arg2
);
35570 wxPyEndAllowThreads(__tstate
);
35571 if (PyErr_Occurred()) SWIG_fail
;
35573 Py_INCREF(Py_None
); resultobj
= Py_None
;
35580 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35581 PyObject
*resultobj
;
35582 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35584 PyObject
* obj0
= 0 ;
35585 PyObject
* obj1
= 0 ;
35586 char *kwnames
[] = {
35587 (char *) "self",(char *) "id", NULL
35590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35592 if (SWIG_arg_fail(1)) SWIG_fail
;
35594 arg2
= (int)(SWIG_As_int(obj1
));
35595 if (SWIG_arg_fail(2)) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 (arg1
)->SetId(arg2
);
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35604 Py_INCREF(Py_None
); resultobj
= Py_None
;
35611 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
;
35613 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35615 PyObject
* obj0
= 0 ;
35616 char *kwnames
[] = {
35617 (char *) "self", NULL
35620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35622 if (SWIG_arg_fail(1)) SWIG_fail
;
35624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35625 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= SWIG_From_int((int)(result
));
35639 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
;
35641 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35643 PyObject
* obj0
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35650 if (SWIG_arg_fail(1)) SWIG_fail
;
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35655 wxPyEndAllowThreads(__tstate
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35667 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35668 PyObject
*resultobj
;
35669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35670 wxString
*arg2
= 0 ;
35671 bool temp2
= false ;
35672 PyObject
* obj0
= 0 ;
35673 PyObject
* obj1
= 0 ;
35674 char *kwnames
[] = {
35675 (char *) "self",(char *) "str", NULL
35678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35680 if (SWIG_arg_fail(1)) SWIG_fail
;
35682 arg2
= wxString_in_helper(obj1
);
35683 if (arg2
== NULL
) SWIG_fail
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 (arg1
)->SetText((wxString
const &)*arg2
);
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35693 Py_INCREF(Py_None
); resultobj
= Py_None
;
35708 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35709 PyObject
*resultobj
;
35710 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35712 PyObject
* obj0
= 0 ;
35713 char *kwnames
[] = {
35714 (char *) "self", NULL
35717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35719 if (SWIG_arg_fail(1)) SWIG_fail
;
35721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35722 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35740 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35741 PyObject
*resultobj
;
35742 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35744 PyObject
* obj0
= 0 ;
35745 char *kwnames
[] = {
35746 (char *) "self", NULL
35749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35751 if (SWIG_arg_fail(1)) SWIG_fail
;
35753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35756 result
= (wxString
*) &_result_ref
;
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35764 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35766 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35775 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35776 PyObject
*resultobj
;
35777 wxString
*arg1
= 0 ;
35779 bool temp1
= false ;
35780 PyObject
* obj0
= 0 ;
35781 char *kwnames
[] = {
35782 (char *) "text", NULL
35785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35787 arg1
= wxString_in_helper(obj0
);
35788 if (arg1
== NULL
) SWIG_fail
;
35792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35793 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35819 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35820 PyObject
*resultobj
;
35821 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35823 PyObject
* obj0
= 0 ;
35824 char *kwnames
[] = {
35825 (char *) "self", NULL
35828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35830 if (SWIG_arg_fail(1)) SWIG_fail
;
35832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35833 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35835 wxPyEndAllowThreads(__tstate
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35838 resultobj
= SWIG_From_int((result
));
35845 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35846 PyObject
*resultobj
;
35847 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "kind", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35857 if (SWIG_arg_fail(1)) SWIG_fail
;
35859 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35860 if (SWIG_arg_fail(2)) SWIG_fail
;
35863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35864 (arg1
)->SetKind((wxItemKind
)arg2
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 Py_INCREF(Py_None
); resultobj
= Py_None
;
35876 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
;
35878 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35880 PyObject
* obj0
= 0 ;
35881 PyObject
* obj1
= 0 ;
35882 char *kwnames
[] = {
35883 (char *) "self",(char *) "checkable", NULL
35886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35888 if (SWIG_arg_fail(1)) SWIG_fail
;
35890 arg2
= (bool)(SWIG_As_bool(obj1
));
35891 if (SWIG_arg_fail(2)) SWIG_fail
;
35894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35895 (arg1
)->SetCheckable(arg2
);
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35900 Py_INCREF(Py_None
); resultobj
= Py_None
;
35907 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35908 PyObject
*resultobj
;
35909 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35911 PyObject
* obj0
= 0 ;
35912 char *kwnames
[] = {
35913 (char *) "self", NULL
35916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35918 if (SWIG_arg_fail(1)) SWIG_fail
;
35920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35921 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35935 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35936 PyObject
*resultobj
;
35937 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35939 PyObject
* obj0
= 0 ;
35940 char *kwnames
[] = {
35941 (char *) "self", NULL
35944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35946 if (SWIG_arg_fail(1)) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35963 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35964 PyObject
*resultobj
;
35965 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35966 wxMenu
*arg2
= (wxMenu
*) 0 ;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 char *kwnames
[] = {
35970 (char *) "self",(char *) "menu", NULL
35973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35975 if (SWIG_arg_fail(1)) SWIG_fail
;
35976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35977 if (SWIG_arg_fail(2)) SWIG_fail
;
35979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35980 (arg1
)->SetSubMenu(arg2
);
35982 wxPyEndAllowThreads(__tstate
);
35983 if (PyErr_Occurred()) SWIG_fail
;
35985 Py_INCREF(Py_None
); resultobj
= Py_None
;
35992 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35993 PyObject
*resultobj
;
35994 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35996 PyObject
* obj0
= 0 ;
35997 char *kwnames
[] = {
35998 (char *) "self", NULL
36001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36003 if (SWIG_arg_fail(1)) SWIG_fail
;
36005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36006 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36008 wxPyEndAllowThreads(__tstate
);
36009 if (PyErr_Occurred()) SWIG_fail
;
36012 resultobj
= wxPyMake_wxObject(result
, 0);
36020 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36021 PyObject
*resultobj
;
36022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36023 bool arg2
= (bool) true ;
36024 PyObject
* obj0
= 0 ;
36025 PyObject
* obj1
= 0 ;
36026 char *kwnames
[] = {
36027 (char *) "self",(char *) "enable", NULL
36030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36032 if (SWIG_arg_fail(1)) SWIG_fail
;
36035 arg2
= (bool)(SWIG_As_bool(obj1
));
36036 if (SWIG_arg_fail(2)) SWIG_fail
;
36040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 (arg1
)->Enable(arg2
);
36043 wxPyEndAllowThreads(__tstate
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36046 Py_INCREF(Py_None
); resultobj
= Py_None
;
36053 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36054 PyObject
*resultobj
;
36055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36057 PyObject
* obj0
= 0 ;
36058 char *kwnames
[] = {
36059 (char *) "self", NULL
36062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36064 if (SWIG_arg_fail(1)) SWIG_fail
;
36066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36067 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36069 wxPyEndAllowThreads(__tstate
);
36070 if (PyErr_Occurred()) SWIG_fail
;
36073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36081 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
;
36083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36084 bool arg2
= (bool) true ;
36085 PyObject
* obj0
= 0 ;
36086 PyObject
* obj1
= 0 ;
36087 char *kwnames
[] = {
36088 (char *) "self",(char *) "check", NULL
36091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36093 if (SWIG_arg_fail(1)) SWIG_fail
;
36096 arg2
= (bool)(SWIG_As_bool(obj1
));
36097 if (SWIG_arg_fail(2)) SWIG_fail
;
36101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36102 (arg1
)->Check(arg2
);
36104 wxPyEndAllowThreads(__tstate
);
36105 if (PyErr_Occurred()) SWIG_fail
;
36107 Py_INCREF(Py_None
); resultobj
= Py_None
;
36114 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36115 PyObject
*resultobj
;
36116 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36118 PyObject
* obj0
= 0 ;
36119 char *kwnames
[] = {
36120 (char *) "self", NULL
36123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36125 if (SWIG_arg_fail(1)) SWIG_fail
;
36127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36130 wxPyEndAllowThreads(__tstate
);
36131 if (PyErr_Occurred()) SWIG_fail
;
36134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36142 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36143 PyObject
*resultobj
;
36144 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36145 PyObject
* obj0
= 0 ;
36146 char *kwnames
[] = {
36147 (char *) "self", NULL
36150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36152 if (SWIG_arg_fail(1)) SWIG_fail
;
36154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36157 wxPyEndAllowThreads(__tstate
);
36158 if (PyErr_Occurred()) SWIG_fail
;
36160 Py_INCREF(Py_None
); resultobj
= Py_None
;
36167 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36168 PyObject
*resultobj
;
36169 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36170 wxString
*arg2
= 0 ;
36171 bool temp2
= false ;
36172 PyObject
* obj0
= 0 ;
36173 PyObject
* obj1
= 0 ;
36174 char *kwnames
[] = {
36175 (char *) "self",(char *) "str", NULL
36178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36180 if (SWIG_arg_fail(1)) SWIG_fail
;
36182 arg2
= wxString_in_helper(obj1
);
36183 if (arg2
== NULL
) SWIG_fail
;
36187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36188 (arg1
)->SetHelp((wxString
const &)*arg2
);
36190 wxPyEndAllowThreads(__tstate
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36193 Py_INCREF(Py_None
); resultobj
= Py_None
;
36208 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36209 PyObject
*resultobj
;
36210 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36212 PyObject
* obj0
= 0 ;
36213 char *kwnames
[] = {
36214 (char *) "self", NULL
36217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36219 if (SWIG_arg_fail(1)) SWIG_fail
;
36221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36224 result
= (wxString
*) &_result_ref
;
36227 wxPyEndAllowThreads(__tstate
);
36228 if (PyErr_Occurred()) SWIG_fail
;
36232 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36234 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36243 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36244 PyObject
*resultobj
;
36245 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36246 wxAcceleratorEntry
*result
;
36247 PyObject
* obj0
= 0 ;
36248 char *kwnames
[] = {
36249 (char *) "self", NULL
36252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36254 if (SWIG_arg_fail(1)) SWIG_fail
;
36256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36257 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36269 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36270 PyObject
*resultobj
;
36271 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36272 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36273 PyObject
* obj0
= 0 ;
36274 PyObject
* obj1
= 0 ;
36275 char *kwnames
[] = {
36276 (char *) "self",(char *) "accel", NULL
36279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36281 if (SWIG_arg_fail(1)) SWIG_fail
;
36282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36283 if (SWIG_arg_fail(2)) SWIG_fail
;
36285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36286 (arg1
)->SetAccel(arg2
);
36288 wxPyEndAllowThreads(__tstate
);
36289 if (PyErr_Occurred()) SWIG_fail
;
36291 Py_INCREF(Py_None
); resultobj
= Py_None
;
36298 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36299 PyObject
*resultobj
;
36300 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36302 PyObject
* obj0
= 0 ;
36303 PyObject
* obj1
= 0 ;
36304 char *kwnames
[] = {
36305 (char *) "self",(char *) "font", NULL
36308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36310 if (SWIG_arg_fail(1)) SWIG_fail
;
36312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36313 if (SWIG_arg_fail(2)) SWIG_fail
;
36314 if (arg2
== NULL
) {
36315 SWIG_null_ref("wxFont");
36317 if (SWIG_arg_fail(2)) SWIG_fail
;
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36323 wxPyEndAllowThreads(__tstate
);
36324 if (PyErr_Occurred()) SWIG_fail
;
36326 Py_INCREF(Py_None
); resultobj
= Py_None
;
36333 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36334 PyObject
*resultobj
;
36335 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36337 PyObject
* obj0
= 0 ;
36338 char *kwnames
[] = {
36339 (char *) "self", NULL
36342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36344 if (SWIG_arg_fail(1)) SWIG_fail
;
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 result
= wxMenuItem_GetFont(arg1
);
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36353 wxFont
* resultptr
;
36354 resultptr
= new wxFont((wxFont
&)(result
));
36355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36363 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
;
36365 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36366 wxColour
*arg2
= 0 ;
36368 PyObject
* obj0
= 0 ;
36369 PyObject
* obj1
= 0 ;
36370 char *kwnames
[] = {
36371 (char *) "self",(char *) "colText", NULL
36374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36376 if (SWIG_arg_fail(1)) SWIG_fail
;
36379 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36383 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36388 Py_INCREF(Py_None
); resultobj
= Py_None
;
36395 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36396 PyObject
*resultobj
;
36397 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36399 PyObject
* obj0
= 0 ;
36400 char *kwnames
[] = {
36401 (char *) "self", NULL
36404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36406 if (SWIG_arg_fail(1)) SWIG_fail
;
36408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36409 result
= wxMenuItem_GetTextColour(arg1
);
36411 wxPyEndAllowThreads(__tstate
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36415 wxColour
* resultptr
;
36416 resultptr
= new wxColour((wxColour
&)(result
));
36417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36425 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36426 PyObject
*resultobj
;
36427 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36428 wxColour
*arg2
= 0 ;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 char *kwnames
[] = {
36433 (char *) "self",(char *) "colBack", NULL
36436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36438 if (SWIG_arg_fail(1)) SWIG_fail
;
36441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36447 wxPyEndAllowThreads(__tstate
);
36448 if (PyErr_Occurred()) SWIG_fail
;
36450 Py_INCREF(Py_None
); resultobj
= Py_None
;
36457 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36458 PyObject
*resultobj
;
36459 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36461 PyObject
* obj0
= 0 ;
36462 char *kwnames
[] = {
36463 (char *) "self", NULL
36466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36468 if (SWIG_arg_fail(1)) SWIG_fail
;
36470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36471 result
= wxMenuItem_GetBackgroundColour(arg1
);
36473 wxPyEndAllowThreads(__tstate
);
36474 if (PyErr_Occurred()) SWIG_fail
;
36477 wxColour
* resultptr
;
36478 resultptr
= new wxColour((wxColour
&)(result
));
36479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36487 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
;
36489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36490 wxBitmap
*arg2
= 0 ;
36491 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36492 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36493 PyObject
* obj0
= 0 ;
36494 PyObject
* obj1
= 0 ;
36495 PyObject
* obj2
= 0 ;
36496 char *kwnames
[] = {
36497 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36502 if (SWIG_arg_fail(1)) SWIG_fail
;
36504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36505 if (SWIG_arg_fail(2)) SWIG_fail
;
36506 if (arg2
== NULL
) {
36507 SWIG_null_ref("wxBitmap");
36509 if (SWIG_arg_fail(2)) SWIG_fail
;
36513 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36514 if (SWIG_arg_fail(3)) SWIG_fail
;
36515 if (arg3
== NULL
) {
36516 SWIG_null_ref("wxBitmap");
36518 if (SWIG_arg_fail(3)) SWIG_fail
;
36522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36523 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 Py_INCREF(Py_None
); resultobj
= Py_None
;
36535 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36536 PyObject
*resultobj
;
36537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36538 wxBitmap
*arg2
= 0 ;
36539 PyObject
* obj0
= 0 ;
36540 PyObject
* obj1
= 0 ;
36541 char *kwnames
[] = {
36542 (char *) "self",(char *) "bmpDisabled", NULL
36545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36547 if (SWIG_arg_fail(1)) SWIG_fail
;
36549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36550 if (SWIG_arg_fail(2)) SWIG_fail
;
36551 if (arg2
== NULL
) {
36552 SWIG_null_ref("wxBitmap");
36554 if (SWIG_arg_fail(2)) SWIG_fail
;
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36560 wxPyEndAllowThreads(__tstate
);
36561 if (PyErr_Occurred()) SWIG_fail
;
36563 Py_INCREF(Py_None
); resultobj
= Py_None
;
36570 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36571 PyObject
*resultobj
;
36572 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36574 PyObject
* obj0
= 0 ;
36575 char *kwnames
[] = {
36576 (char *) "self", NULL
36579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36581 if (SWIG_arg_fail(1)) SWIG_fail
;
36583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36585 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
36586 result
= (wxBitmap
*) &_result_ref
;
36589 wxPyEndAllowThreads(__tstate
);
36590 if (PyErr_Occurred()) SWIG_fail
;
36593 wxBitmap
* resultptr
= new wxBitmap(*result
);
36594 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36602 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36603 PyObject
*resultobj
;
36604 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36606 PyObject
* obj0
= 0 ;
36607 PyObject
* obj1
= 0 ;
36608 char *kwnames
[] = {
36609 (char *) "self",(char *) "nWidth", NULL
36612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36614 if (SWIG_arg_fail(1)) SWIG_fail
;
36616 arg2
= (int)(SWIG_As_int(obj1
));
36617 if (SWIG_arg_fail(2)) SWIG_fail
;
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36621 wxMenuItem_SetMarginWidth(arg1
,arg2
);
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36626 Py_INCREF(Py_None
); resultobj
= Py_None
;
36633 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36634 PyObject
*resultobj
;
36635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36637 PyObject
* obj0
= 0 ;
36638 char *kwnames
[] = {
36639 (char *) "self", NULL
36642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36644 if (SWIG_arg_fail(1)) SWIG_fail
;
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= SWIG_From_int((int)(result
));
36661 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36662 PyObject
*resultobj
;
36664 char *kwnames
[] = {
36668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 result
= (int)MenuItem_GetDefaultMarginWidth();
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36677 resultobj
= SWIG_From_int((int)(result
));
36685 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36686 PyObject
*resultobj
;
36687 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36689 PyObject
* obj0
= 0 ;
36690 char *kwnames
[] = {
36691 (char *) "self", NULL
36694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36696 if (SWIG_arg_fail(1)) SWIG_fail
;
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
36701 wxPyEndAllowThreads(__tstate
);
36702 if (PyErr_Occurred()) SWIG_fail
;
36705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36713 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
;
36715 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36716 bool arg2
= (bool) true ;
36717 PyObject
* obj0
= 0 ;
36718 PyObject
* obj1
= 0 ;
36719 char *kwnames
[] = {
36720 (char *) "self",(char *) "ownerDrawn", NULL
36723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36725 if (SWIG_arg_fail(1)) SWIG_fail
;
36728 arg2
= (bool)(SWIG_As_bool(obj1
));
36729 if (SWIG_arg_fail(2)) SWIG_fail
;
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
36736 wxPyEndAllowThreads(__tstate
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36739 Py_INCREF(Py_None
); resultobj
= Py_None
;
36746 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36747 PyObject
*resultobj
;
36748 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36749 PyObject
* obj0
= 0 ;
36750 char *kwnames
[] = {
36751 (char *) "self", NULL
36754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36756 if (SWIG_arg_fail(1)) SWIG_fail
;
36758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36759 wxMenuItem_ResetOwnerDrawn(arg1
);
36761 wxPyEndAllowThreads(__tstate
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36764 Py_INCREF(Py_None
); resultobj
= Py_None
;
36771 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36772 PyObject
*resultobj
;
36773 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36774 wxBitmap
*arg2
= 0 ;
36775 PyObject
* obj0
= 0 ;
36776 PyObject
* obj1
= 0 ;
36777 char *kwnames
[] = {
36778 (char *) "self",(char *) "bitmap", NULL
36781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36783 if (SWIG_arg_fail(1)) SWIG_fail
;
36785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36786 if (SWIG_arg_fail(2)) SWIG_fail
;
36787 if (arg2
== NULL
) {
36788 SWIG_null_ref("wxBitmap");
36790 if (SWIG_arg_fail(2)) SWIG_fail
;
36793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36794 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36796 wxPyEndAllowThreads(__tstate
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36799 Py_INCREF(Py_None
); resultobj
= Py_None
;
36806 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36807 PyObject
*resultobj
;
36808 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36810 PyObject
* obj0
= 0 ;
36811 char *kwnames
[] = {
36812 (char *) "self", NULL
36815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36817 if (SWIG_arg_fail(1)) SWIG_fail
;
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36821 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36822 result
= (wxBitmap
*) &_result_ref
;
36825 wxPyEndAllowThreads(__tstate
);
36826 if (PyErr_Occurred()) SWIG_fail
;
36829 wxBitmap
* resultptr
= new wxBitmap(*result
);
36830 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36838 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36841 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36843 return Py_BuildValue((char *)"");
36845 static int _wrap_ControlNameStr_set(PyObject
*) {
36846 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36851 static PyObject
*_wrap_ControlNameStr_get(void) {
36856 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36858 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36865 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36866 PyObject
*resultobj
;
36867 wxWindow
*arg1
= (wxWindow
*) 0 ;
36868 int arg2
= (int) -1 ;
36869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36873 long arg5
= (long) 0 ;
36874 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36875 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36876 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36881 bool temp7
= false ;
36882 PyObject
* obj0
= 0 ;
36883 PyObject
* obj1
= 0 ;
36884 PyObject
* obj2
= 0 ;
36885 PyObject
* obj3
= 0 ;
36886 PyObject
* obj4
= 0 ;
36887 PyObject
* obj5
= 0 ;
36888 PyObject
* obj6
= 0 ;
36889 char *kwnames
[] = {
36890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36895 if (SWIG_arg_fail(1)) SWIG_fail
;
36898 arg2
= (int)(SWIG_As_int(obj1
));
36899 if (SWIG_arg_fail(2)) SWIG_fail
;
36905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36911 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36916 arg5
= (long)(SWIG_As_long(obj4
));
36917 if (SWIG_arg_fail(5)) SWIG_fail
;
36922 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36923 if (SWIG_arg_fail(6)) SWIG_fail
;
36924 if (arg6
== NULL
) {
36925 SWIG_null_ref("wxValidator");
36927 if (SWIG_arg_fail(6)) SWIG_fail
;
36932 arg7
= wxString_in_helper(obj6
);
36933 if (arg7
== NULL
) SWIG_fail
;
36938 if (!wxPyCheckForApp()) SWIG_fail
;
36939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36940 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36942 wxPyEndAllowThreads(__tstate
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36960 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36961 PyObject
*resultobj
;
36963 char *kwnames
[] = {
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36969 if (!wxPyCheckForApp()) SWIG_fail
;
36970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36971 result
= (wxControl
*)new wxControl();
36973 wxPyEndAllowThreads(__tstate
);
36974 if (PyErr_Occurred()) SWIG_fail
;
36976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36983 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36984 PyObject
*resultobj
;
36985 wxControl
*arg1
= (wxControl
*) 0 ;
36986 wxWindow
*arg2
= (wxWindow
*) 0 ;
36987 int arg3
= (int) -1 ;
36988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36992 long arg6
= (long) 0 ;
36993 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36994 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36995 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36996 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37000 bool temp8
= false ;
37001 PyObject
* obj0
= 0 ;
37002 PyObject
* obj1
= 0 ;
37003 PyObject
* obj2
= 0 ;
37004 PyObject
* obj3
= 0 ;
37005 PyObject
* obj4
= 0 ;
37006 PyObject
* obj5
= 0 ;
37007 PyObject
* obj6
= 0 ;
37008 PyObject
* obj7
= 0 ;
37009 char *kwnames
[] = {
37010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37015 if (SWIG_arg_fail(1)) SWIG_fail
;
37016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37017 if (SWIG_arg_fail(2)) SWIG_fail
;
37020 arg3
= (int)(SWIG_As_int(obj2
));
37021 if (SWIG_arg_fail(3)) SWIG_fail
;
37027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37038 arg6
= (long)(SWIG_As_long(obj5
));
37039 if (SWIG_arg_fail(6)) SWIG_fail
;
37044 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37045 if (SWIG_arg_fail(7)) SWIG_fail
;
37046 if (arg7
== NULL
) {
37047 SWIG_null_ref("wxValidator");
37049 if (SWIG_arg_fail(7)) SWIG_fail
;
37054 arg8
= wxString_in_helper(obj7
);
37055 if (arg8
== NULL
) SWIG_fail
;
37060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37061 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37063 wxPyEndAllowThreads(__tstate
);
37064 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37083 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37084 PyObject
*resultobj
;
37085 wxControl
*arg1
= (wxControl
*) 0 ;
37086 wxCommandEvent
*arg2
= 0 ;
37087 PyObject
* obj0
= 0 ;
37088 PyObject
* obj1
= 0 ;
37089 char *kwnames
[] = {
37090 (char *) "self",(char *) "event", NULL
37093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37095 if (SWIG_arg_fail(1)) SWIG_fail
;
37097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37098 if (SWIG_arg_fail(2)) SWIG_fail
;
37099 if (arg2
== NULL
) {
37100 SWIG_null_ref("wxCommandEvent");
37102 if (SWIG_arg_fail(2)) SWIG_fail
;
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 (arg1
)->Command(*arg2
);
37108 wxPyEndAllowThreads(__tstate
);
37109 if (PyErr_Occurred()) SWIG_fail
;
37111 Py_INCREF(Py_None
); resultobj
= Py_None
;
37118 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
;
37120 wxControl
*arg1
= (wxControl
*) 0 ;
37122 PyObject
* obj0
= 0 ;
37123 char *kwnames
[] = {
37124 (char *) "self", NULL
37127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37129 if (SWIG_arg_fail(1)) SWIG_fail
;
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 result
= (arg1
)->GetLabel();
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37150 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxControl
*arg1
= (wxControl
*) 0 ;
37153 wxString
*arg2
= 0 ;
37154 bool temp2
= false ;
37155 PyObject
* obj0
= 0 ;
37156 PyObject
* obj1
= 0 ;
37157 char *kwnames
[] = {
37158 (char *) "self",(char *) "label", NULL
37161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37163 if (SWIG_arg_fail(1)) SWIG_fail
;
37165 arg2
= wxString_in_helper(obj1
);
37166 if (arg2
== NULL
) SWIG_fail
;
37170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37171 (arg1
)->SetLabel((wxString
const &)*arg2
);
37173 wxPyEndAllowThreads(__tstate
);
37174 if (PyErr_Occurred()) SWIG_fail
;
37176 Py_INCREF(Py_None
); resultobj
= Py_None
;
37191 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
;
37193 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37194 wxVisualAttributes result
;
37195 PyObject
* obj0
= 0 ;
37196 char *kwnames
[] = {
37197 (char *) "variant", NULL
37200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37203 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37204 if (SWIG_arg_fail(1)) SWIG_fail
;
37208 if (!wxPyCheckForApp()) SWIG_fail
;
37209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37210 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37212 wxPyEndAllowThreads(__tstate
);
37213 if (PyErr_Occurred()) SWIG_fail
;
37216 wxVisualAttributes
* resultptr
;
37217 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37226 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37229 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37231 return Py_BuildValue((char *)"");
37233 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37234 PyObject
*resultobj
;
37235 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37236 wxString
*arg2
= 0 ;
37237 PyObject
*arg3
= (PyObject
*) NULL
;
37239 bool temp2
= false ;
37240 PyObject
* obj0
= 0 ;
37241 PyObject
* obj1
= 0 ;
37242 PyObject
* obj2
= 0 ;
37243 char *kwnames
[] = {
37244 (char *) "self",(char *) "item",(char *) "clientData", NULL
37247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37249 if (SWIG_arg_fail(1)) SWIG_fail
;
37251 arg2
= wxString_in_helper(obj1
);
37252 if (arg2
== NULL
) SWIG_fail
;
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37266 resultobj
= SWIG_From_int((int)(result
));
37282 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37283 PyObject
*resultobj
;
37284 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37285 wxArrayString
*arg2
= 0 ;
37286 bool temp2
= false ;
37287 PyObject
* obj0
= 0 ;
37288 PyObject
* obj1
= 0 ;
37289 char *kwnames
[] = {
37290 (char *) "self",(char *) "strings", NULL
37293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37295 if (SWIG_arg_fail(1)) SWIG_fail
;
37297 if (! PySequence_Check(obj1
)) {
37298 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37301 arg2
= new wxArrayString
;
37303 int i
, len
=PySequence_Length(obj1
);
37304 for (i
=0; i
<len
; i
++) {
37305 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37307 PyObject
* str
= PyObject_Unicode(item
);
37309 PyObject
* str
= PyObject_Str(item
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37312 arg2
->Add(Py2wxString(str
));
37318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37319 (arg1
)->Append((wxArrayString
const &)*arg2
);
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37324 Py_INCREF(Py_None
); resultobj
= Py_None
;
37326 if (temp2
) delete arg2
;
37331 if (temp2
) delete arg2
;
37337 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37338 PyObject
*resultobj
;
37339 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37340 wxString
*arg2
= 0 ;
37342 PyObject
*arg4
= (PyObject
*) NULL
;
37344 bool temp2
= false ;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37347 PyObject
* obj2
= 0 ;
37348 PyObject
* obj3
= 0 ;
37349 char *kwnames
[] = {
37350 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37355 if (SWIG_arg_fail(1)) SWIG_fail
;
37357 arg2
= wxString_in_helper(obj1
);
37358 if (arg2
== NULL
) SWIG_fail
;
37362 arg3
= (int)(SWIG_As_int(obj2
));
37363 if (SWIG_arg_fail(3)) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= SWIG_From_int((int)(result
));
37392 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37393 PyObject
*resultobj
;
37394 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37395 PyObject
* obj0
= 0 ;
37396 char *kwnames
[] = {
37397 (char *) "self", NULL
37400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37402 if (SWIG_arg_fail(1)) SWIG_fail
;
37404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 wxPyEndAllowThreads(__tstate
);
37408 if (PyErr_Occurred()) SWIG_fail
;
37410 Py_INCREF(Py_None
); resultobj
= Py_None
;
37417 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37418 PyObject
*resultobj
;
37419 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37421 PyObject
* obj0
= 0 ;
37422 PyObject
* obj1
= 0 ;
37423 char *kwnames
[] = {
37424 (char *) "self",(char *) "n", NULL
37427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37429 if (SWIG_arg_fail(1)) SWIG_fail
;
37431 arg2
= (int)(SWIG_As_int(obj1
));
37432 if (SWIG_arg_fail(2)) SWIG_fail
;
37435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37436 (arg1
)->Delete(arg2
);
37438 wxPyEndAllowThreads(__tstate
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37441 Py_INCREF(Py_None
); resultobj
= Py_None
;
37448 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37449 PyObject
*resultobj
;
37450 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37453 PyObject
* obj0
= 0 ;
37454 PyObject
* obj1
= 0 ;
37455 char *kwnames
[] = {
37456 (char *) "self",(char *) "n", NULL
37459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37461 if (SWIG_arg_fail(1)) SWIG_fail
;
37463 arg2
= (int)(SWIG_As_int(obj1
));
37464 if (SWIG_arg_fail(2)) SWIG_fail
;
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37473 resultobj
= result
;
37480 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
;
37482 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37484 PyObject
*arg3
= (PyObject
*) 0 ;
37485 PyObject
* obj0
= 0 ;
37486 PyObject
* obj1
= 0 ;
37487 PyObject
* obj2
= 0 ;
37488 char *kwnames
[] = {
37489 (char *) "self",(char *) "n",(char *) "clientData", NULL
37492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37494 if (SWIG_arg_fail(1)) SWIG_fail
;
37496 arg2
= (int)(SWIG_As_int(obj1
));
37497 if (SWIG_arg_fail(2)) SWIG_fail
;
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 Py_INCREF(Py_None
); resultobj
= Py_None
;
37514 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
;
37516 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37518 PyObject
* obj0
= 0 ;
37519 char *kwnames
[] = {
37520 (char *) "self", NULL
37523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37525 if (SWIG_arg_fail(1)) SWIG_fail
;
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37528 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37530 wxPyEndAllowThreads(__tstate
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37534 resultobj
= SWIG_From_int((int)(result
));
37542 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37543 PyObject
*resultobj
;
37544 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37546 PyObject
* obj0
= 0 ;
37547 char *kwnames
[] = {
37548 (char *) "self", NULL
37551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37553 if (SWIG_arg_fail(1)) SWIG_fail
;
37555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37556 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37570 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37571 PyObject
*resultobj
;
37572 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37575 PyObject
* obj0
= 0 ;
37576 PyObject
* obj1
= 0 ;
37577 char *kwnames
[] = {
37578 (char *) "self",(char *) "n", NULL
37581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37583 if (SWIG_arg_fail(1)) SWIG_fail
;
37585 arg2
= (int)(SWIG_As_int(obj1
));
37586 if (SWIG_arg_fail(2)) SWIG_fail
;
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37592 wxPyEndAllowThreads(__tstate
);
37593 if (PyErr_Occurred()) SWIG_fail
;
37597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37608 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
;
37610 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37611 wxArrayString result
;
37612 PyObject
* obj0
= 0 ;
37613 char *kwnames
[] = {
37614 (char *) "self", NULL
37617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37619 if (SWIG_arg_fail(1)) SWIG_fail
;
37621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37622 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37624 wxPyEndAllowThreads(__tstate
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37628 resultobj
= wxArrayString2PyList_helper(result
);
37636 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
;
37638 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37640 wxString
*arg3
= 0 ;
37641 bool temp3
= false ;
37642 PyObject
* obj0
= 0 ;
37643 PyObject
* obj1
= 0 ;
37644 PyObject
* obj2
= 0 ;
37645 char *kwnames
[] = {
37646 (char *) "self",(char *) "n",(char *) "s", NULL
37649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37651 if (SWIG_arg_fail(1)) SWIG_fail
;
37653 arg2
= (int)(SWIG_As_int(obj1
));
37654 if (SWIG_arg_fail(2)) SWIG_fail
;
37657 arg3
= wxString_in_helper(obj2
);
37658 if (arg3
== NULL
) SWIG_fail
;
37662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37663 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37665 wxPyEndAllowThreads(__tstate
);
37666 if (PyErr_Occurred()) SWIG_fail
;
37668 Py_INCREF(Py_None
); resultobj
= Py_None
;
37683 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37684 PyObject
*resultobj
;
37685 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37686 wxString
*arg2
= 0 ;
37688 bool temp2
= false ;
37689 PyObject
* obj0
= 0 ;
37690 PyObject
* obj1
= 0 ;
37691 char *kwnames
[] = {
37692 (char *) "self",(char *) "s", NULL
37695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37697 if (SWIG_arg_fail(1)) SWIG_fail
;
37699 arg2
= wxString_in_helper(obj1
);
37700 if (arg2
== NULL
) SWIG_fail
;
37704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37705 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37711 resultobj
= SWIG_From_int((int)(result
));
37727 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37728 PyObject
*resultobj
;
37729 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37731 PyObject
* obj0
= 0 ;
37732 PyObject
* obj1
= 0 ;
37733 char *kwnames
[] = {
37734 (char *) "self",(char *) "n", NULL
37737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37739 if (SWIG_arg_fail(1)) SWIG_fail
;
37741 arg2
= (int)(SWIG_As_int(obj1
));
37742 if (SWIG_arg_fail(2)) SWIG_fail
;
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 (arg1
)->SetSelection(arg2
);
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37751 Py_INCREF(Py_None
); resultobj
= Py_None
;
37758 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
;
37760 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37762 PyObject
* obj0
= 0 ;
37763 char *kwnames
[] = {
37764 (char *) "self", NULL
37767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37769 if (SWIG_arg_fail(1)) SWIG_fail
;
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37778 resultobj
= SWIG_From_int((int)(result
));
37786 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37787 PyObject
*resultobj
;
37788 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37789 wxString
*arg2
= 0 ;
37791 bool temp2
= false ;
37792 PyObject
* obj0
= 0 ;
37793 PyObject
* obj1
= 0 ;
37794 char *kwnames
[] = {
37795 (char *) "self",(char *) "s", NULL
37798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37800 if (SWIG_arg_fail(1)) SWIG_fail
;
37802 arg2
= wxString_in_helper(obj1
);
37803 if (arg2
== NULL
) SWIG_fail
;
37807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37808 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37810 wxPyEndAllowThreads(__tstate
);
37811 if (PyErr_Occurred()) SWIG_fail
;
37814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37830 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37831 PyObject
*resultobj
;
37832 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37834 PyObject
* obj0
= 0 ;
37835 char *kwnames
[] = {
37836 (char *) "self", NULL
37839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37841 if (SWIG_arg_fail(1)) SWIG_fail
;
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37846 wxPyEndAllowThreads(__tstate
);
37847 if (PyErr_Occurred()) SWIG_fail
;
37851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37862 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37863 PyObject
*resultobj
;
37864 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37866 PyObject
* obj0
= 0 ;
37867 PyObject
* obj1
= 0 ;
37868 char *kwnames
[] = {
37869 (char *) "self",(char *) "n", NULL
37872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37874 if (SWIG_arg_fail(1)) SWIG_fail
;
37876 arg2
= (int)(SWIG_As_int(obj1
));
37877 if (SWIG_arg_fail(2)) SWIG_fail
;
37880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37881 (arg1
)->Select(arg2
);
37883 wxPyEndAllowThreads(__tstate
);
37884 if (PyErr_Occurred()) SWIG_fail
;
37886 Py_INCREF(Py_None
); resultobj
= Py_None
;
37893 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37896 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37898 return Py_BuildValue((char *)"");
37900 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37903 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37905 return Py_BuildValue((char *)"");
37907 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37908 PyObject
*resultobj
;
37909 wxSizerItem
*result
;
37910 char *kwnames
[] = {
37914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 result
= (wxSizerItem
*)new wxSizerItem();
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37929 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37930 PyObject
*resultobj
;
37931 wxWindow
*arg1
= (wxWindow
*) 0 ;
37935 PyObject
*arg5
= (PyObject
*) NULL
;
37936 wxSizerItem
*result
;
37937 PyObject
* obj0
= 0 ;
37938 PyObject
* obj1
= 0 ;
37939 PyObject
* obj2
= 0 ;
37940 PyObject
* obj3
= 0 ;
37941 PyObject
* obj4
= 0 ;
37942 char *kwnames
[] = {
37943 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37948 if (SWIG_arg_fail(1)) SWIG_fail
;
37950 arg2
= (int)(SWIG_As_int(obj1
));
37951 if (SWIG_arg_fail(2)) SWIG_fail
;
37954 arg3
= (int)(SWIG_As_int(obj2
));
37955 if (SWIG_arg_fail(3)) SWIG_fail
;
37958 arg4
= (int)(SWIG_As_int(obj3
));
37959 if (SWIG_arg_fail(4)) SWIG_fail
;
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37968 wxPyEndAllowThreads(__tstate
);
37969 if (PyErr_Occurred()) SWIG_fail
;
37971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37978 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37979 PyObject
*resultobj
;
37985 PyObject
*arg6
= (PyObject
*) NULL
;
37986 wxSizerItem
*result
;
37987 PyObject
* obj0
= 0 ;
37988 PyObject
* obj1
= 0 ;
37989 PyObject
* obj2
= 0 ;
37990 PyObject
* obj3
= 0 ;
37991 PyObject
* obj4
= 0 ;
37992 PyObject
* obj5
= 0 ;
37993 char *kwnames
[] = {
37994 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37999 arg1
= (int)(SWIG_As_int(obj0
));
38000 if (SWIG_arg_fail(1)) SWIG_fail
;
38003 arg2
= (int)(SWIG_As_int(obj1
));
38004 if (SWIG_arg_fail(2)) SWIG_fail
;
38007 arg3
= (int)(SWIG_As_int(obj2
));
38008 if (SWIG_arg_fail(3)) SWIG_fail
;
38011 arg4
= (int)(SWIG_As_int(obj3
));
38012 if (SWIG_arg_fail(4)) SWIG_fail
;
38015 arg5
= (int)(SWIG_As_int(obj4
));
38016 if (SWIG_arg_fail(5)) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38035 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38036 PyObject
*resultobj
;
38037 wxSizer
*arg1
= (wxSizer
*) 0 ;
38041 PyObject
*arg5
= (PyObject
*) NULL
;
38042 wxSizerItem
*result
;
38043 PyObject
* obj0
= 0 ;
38044 PyObject
* obj1
= 0 ;
38045 PyObject
* obj2
= 0 ;
38046 PyObject
* obj3
= 0 ;
38047 PyObject
* obj4
= 0 ;
38048 char *kwnames
[] = {
38049 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38054 if (SWIG_arg_fail(1)) SWIG_fail
;
38056 arg2
= (int)(SWIG_As_int(obj1
));
38057 if (SWIG_arg_fail(2)) SWIG_fail
;
38060 arg3
= (int)(SWIG_As_int(obj2
));
38061 if (SWIG_arg_fail(3)) SWIG_fail
;
38064 arg4
= (int)(SWIG_As_int(obj3
));
38065 if (SWIG_arg_fail(4)) SWIG_fail
;
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38084 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38085 PyObject
*resultobj
;
38086 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38087 PyObject
* obj0
= 0 ;
38088 char *kwnames
[] = {
38089 (char *) "self", NULL
38092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38094 if (SWIG_arg_fail(1)) SWIG_fail
;
38096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38097 (arg1
)->DeleteWindows();
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38102 Py_INCREF(Py_None
); resultobj
= Py_None
;
38109 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38110 PyObject
*resultobj
;
38111 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38112 PyObject
* obj0
= 0 ;
38113 char *kwnames
[] = {
38114 (char *) "self", NULL
38117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38119 if (SWIG_arg_fail(1)) SWIG_fail
;
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 (arg1
)->DetachSizer();
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 Py_INCREF(Py_None
); resultobj
= Py_None
;
38134 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38135 PyObject
*resultobj
;
38136 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38138 PyObject
* obj0
= 0 ;
38139 char *kwnames
[] = {
38140 (char *) "self", NULL
38143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38145 if (SWIG_arg_fail(1)) SWIG_fail
;
38147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38148 result
= (arg1
)->GetSize();
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38154 wxSize
* resultptr
;
38155 resultptr
= new wxSize((wxSize
&)(result
));
38156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38164 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
;
38166 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38168 PyObject
* obj0
= 0 ;
38169 char *kwnames
[] = {
38170 (char *) "self", NULL
38173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38175 if (SWIG_arg_fail(1)) SWIG_fail
;
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 result
= (arg1
)->CalcMin();
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38184 wxSize
* resultptr
;
38185 resultptr
= new wxSize((wxSize
&)(result
));
38186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38194 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38195 PyObject
*resultobj
;
38196 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38199 PyObject
* obj0
= 0 ;
38200 PyObject
* obj1
= 0 ;
38201 PyObject
* obj2
= 0 ;
38202 char *kwnames
[] = {
38203 (char *) "self",(char *) "pos",(char *) "size", NULL
38206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38208 if (SWIG_arg_fail(1)) SWIG_fail
;
38211 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38212 if (SWIG_arg_fail(2)) SWIG_fail
;
38213 if (argp
== NULL
) {
38214 SWIG_null_ref("wxPoint");
38216 if (SWIG_arg_fail(2)) SWIG_fail
;
38221 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38222 if (SWIG_arg_fail(3)) SWIG_fail
;
38223 if (argp
== NULL
) {
38224 SWIG_null_ref("wxSize");
38226 if (SWIG_arg_fail(3)) SWIG_fail
;
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 (arg1
)->SetDimension(arg2
,arg3
);
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 Py_INCREF(Py_None
); resultobj
= Py_None
;
38243 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
;
38245 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38247 PyObject
* obj0
= 0 ;
38248 char *kwnames
[] = {
38249 (char *) "self", NULL
38252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38254 if (SWIG_arg_fail(1)) SWIG_fail
;
38256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38257 result
= (arg1
)->GetMinSize();
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38263 wxSize
* resultptr
;
38264 resultptr
= new wxSize((wxSize
&)(result
));
38265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38273 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
;
38275 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38277 PyObject
* obj0
= 0 ;
38278 char *kwnames
[] = {
38279 (char *) "self", NULL
38282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38284 if (SWIG_arg_fail(1)) SWIG_fail
;
38286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38287 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38289 wxPyEndAllowThreads(__tstate
);
38290 if (PyErr_Occurred()) SWIG_fail
;
38293 wxSize
* resultptr
;
38294 resultptr
= new wxSize((wxSize
&)(result
));
38295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38303 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
;
38305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38308 PyObject
* obj0
= 0 ;
38309 PyObject
* obj1
= 0 ;
38310 PyObject
* obj2
= 0 ;
38311 char *kwnames
[] = {
38312 (char *) "self",(char *) "x",(char *) "y", NULL
38315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38317 if (SWIG_arg_fail(1)) SWIG_fail
;
38319 arg2
= (int)(SWIG_As_int(obj1
));
38320 if (SWIG_arg_fail(2)) SWIG_fail
;
38323 arg3
= (int)(SWIG_As_int(obj2
));
38324 if (SWIG_arg_fail(3)) SWIG_fail
;
38327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38328 (arg1
)->SetInitSize(arg2
,arg3
);
38330 wxPyEndAllowThreads(__tstate
);
38331 if (PyErr_Occurred()) SWIG_fail
;
38333 Py_INCREF(Py_None
); resultobj
= Py_None
;
38340 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38341 PyObject
*resultobj
;
38342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38345 PyObject
* obj0
= 0 ;
38346 PyObject
* obj1
= 0 ;
38347 PyObject
* obj2
= 0 ;
38348 char *kwnames
[] = {
38349 (char *) "self",(char *) "width",(char *) "height", NULL
38352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38354 if (SWIG_arg_fail(1)) SWIG_fail
;
38356 arg2
= (int)(SWIG_As_int(obj1
));
38357 if (SWIG_arg_fail(2)) SWIG_fail
;
38360 arg3
= (int)(SWIG_As_int(obj2
));
38361 if (SWIG_arg_fail(3)) SWIG_fail
;
38364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38365 (arg1
)->SetRatio(arg2
,arg3
);
38367 wxPyEndAllowThreads(__tstate
);
38368 if (PyErr_Occurred()) SWIG_fail
;
38370 Py_INCREF(Py_None
); resultobj
= Py_None
;
38377 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38378 PyObject
*resultobj
;
38379 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38381 PyObject
* obj0
= 0 ;
38382 PyObject
* obj1
= 0 ;
38383 char *kwnames
[] = {
38384 (char *) "self",(char *) "size", NULL
38387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38389 if (SWIG_arg_fail(1)) SWIG_fail
;
38392 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38393 if (SWIG_arg_fail(2)) SWIG_fail
;
38394 if (argp
== NULL
) {
38395 SWIG_null_ref("wxSize");
38397 if (SWIG_arg_fail(2)) SWIG_fail
;
38401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38402 (arg1
)->SetRatio(arg2
);
38404 wxPyEndAllowThreads(__tstate
);
38405 if (PyErr_Occurred()) SWIG_fail
;
38407 Py_INCREF(Py_None
); resultobj
= Py_None
;
38414 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38415 PyObject
*resultobj
;
38416 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38418 PyObject
* obj0
= 0 ;
38419 PyObject
* obj1
= 0 ;
38420 char *kwnames
[] = {
38421 (char *) "self",(char *) "ratio", NULL
38424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38426 if (SWIG_arg_fail(1)) SWIG_fail
;
38428 arg2
= (float)(SWIG_As_float(obj1
));
38429 if (SWIG_arg_fail(2)) SWIG_fail
;
38432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38433 (arg1
)->SetRatio(arg2
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 Py_INCREF(Py_None
); resultobj
= Py_None
;
38445 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38446 PyObject
*resultobj
;
38447 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38449 PyObject
* obj0
= 0 ;
38450 char *kwnames
[] = {
38451 (char *) "self", NULL
38454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38456 if (SWIG_arg_fail(1)) SWIG_fail
;
38458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38459 result
= (float)(arg1
)->GetRatio();
38461 wxPyEndAllowThreads(__tstate
);
38462 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= SWIG_From_float((float)(result
));
38473 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38474 PyObject
*resultobj
;
38475 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38477 PyObject
* obj0
= 0 ;
38478 char *kwnames
[] = {
38479 (char *) "self", NULL
38482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38484 if (SWIG_arg_fail(1)) SWIG_fail
;
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (arg1
)->GetRect();
38489 wxPyEndAllowThreads(__tstate
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38493 wxRect
* resultptr
;
38494 resultptr
= new wxRect((wxRect
&)(result
));
38495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38503 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38504 PyObject
*resultobj
;
38505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38507 PyObject
* obj0
= 0 ;
38508 char *kwnames
[] = {
38509 (char *) "self", NULL
38512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38514 if (SWIG_arg_fail(1)) SWIG_fail
;
38516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38517 result
= (bool)(arg1
)->IsWindow();
38519 wxPyEndAllowThreads(__tstate
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38531 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38532 PyObject
*resultobj
;
38533 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38535 PyObject
* obj0
= 0 ;
38536 char *kwnames
[] = {
38537 (char *) "self", NULL
38540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38542 if (SWIG_arg_fail(1)) SWIG_fail
;
38544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38545 result
= (bool)(arg1
)->IsSizer();
38547 wxPyEndAllowThreads(__tstate
);
38548 if (PyErr_Occurred()) SWIG_fail
;
38551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38559 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38560 PyObject
*resultobj
;
38561 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38563 PyObject
* obj0
= 0 ;
38564 char *kwnames
[] = {
38565 (char *) "self", NULL
38568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38570 if (SWIG_arg_fail(1)) SWIG_fail
;
38572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38573 result
= (bool)(arg1
)->IsSpacer();
38575 wxPyEndAllowThreads(__tstate
);
38576 if (PyErr_Occurred()) SWIG_fail
;
38579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38587 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38588 PyObject
*resultobj
;
38589 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38591 PyObject
* obj0
= 0 ;
38592 PyObject
* obj1
= 0 ;
38593 char *kwnames
[] = {
38594 (char *) "self",(char *) "proportion", NULL
38597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38599 if (SWIG_arg_fail(1)) SWIG_fail
;
38601 arg2
= (int)(SWIG_As_int(obj1
));
38602 if (SWIG_arg_fail(2)) SWIG_fail
;
38605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38606 (arg1
)->SetProportion(arg2
);
38608 wxPyEndAllowThreads(__tstate
);
38609 if (PyErr_Occurred()) SWIG_fail
;
38611 Py_INCREF(Py_None
); resultobj
= Py_None
;
38618 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38619 PyObject
*resultobj
;
38620 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38622 PyObject
* obj0
= 0 ;
38623 char *kwnames
[] = {
38624 (char *) "self", NULL
38627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38629 if (SWIG_arg_fail(1)) SWIG_fail
;
38631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38632 result
= (int)(arg1
)->GetProportion();
38634 wxPyEndAllowThreads(__tstate
);
38635 if (PyErr_Occurred()) SWIG_fail
;
38638 resultobj
= SWIG_From_int((int)(result
));
38646 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38647 PyObject
*resultobj
;
38648 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38650 PyObject
* obj0
= 0 ;
38651 PyObject
* obj1
= 0 ;
38652 char *kwnames
[] = {
38653 (char *) "self",(char *) "flag", NULL
38656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38658 if (SWIG_arg_fail(1)) SWIG_fail
;
38660 arg2
= (int)(SWIG_As_int(obj1
));
38661 if (SWIG_arg_fail(2)) SWIG_fail
;
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 (arg1
)->SetFlag(arg2
);
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38670 Py_INCREF(Py_None
); resultobj
= Py_None
;
38677 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38678 PyObject
*resultobj
;
38679 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38681 PyObject
* obj0
= 0 ;
38682 char *kwnames
[] = {
38683 (char *) "self", NULL
38686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38688 if (SWIG_arg_fail(1)) SWIG_fail
;
38690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38691 result
= (int)(arg1
)->GetFlag();
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38697 resultobj
= SWIG_From_int((int)(result
));
38705 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38706 PyObject
*resultobj
;
38707 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38709 PyObject
* obj0
= 0 ;
38710 PyObject
* obj1
= 0 ;
38711 char *kwnames
[] = {
38712 (char *) "self",(char *) "border", NULL
38715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38717 if (SWIG_arg_fail(1)) SWIG_fail
;
38719 arg2
= (int)(SWIG_As_int(obj1
));
38720 if (SWIG_arg_fail(2)) SWIG_fail
;
38723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38724 (arg1
)->SetBorder(arg2
);
38726 wxPyEndAllowThreads(__tstate
);
38727 if (PyErr_Occurred()) SWIG_fail
;
38729 Py_INCREF(Py_None
); resultobj
= Py_None
;
38736 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38737 PyObject
*resultobj
;
38738 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38740 PyObject
* obj0
= 0 ;
38741 char *kwnames
[] = {
38742 (char *) "self", NULL
38745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38747 if (SWIG_arg_fail(1)) SWIG_fail
;
38749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38750 result
= (int)(arg1
)->GetBorder();
38752 wxPyEndAllowThreads(__tstate
);
38753 if (PyErr_Occurred()) SWIG_fail
;
38756 resultobj
= SWIG_From_int((int)(result
));
38764 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38765 PyObject
*resultobj
;
38766 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38768 PyObject
* obj0
= 0 ;
38769 char *kwnames
[] = {
38770 (char *) "self", NULL
38773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38775 if (SWIG_arg_fail(1)) SWIG_fail
;
38777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38778 result
= (wxWindow
*)(arg1
)->GetWindow();
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= wxPyMake_wxObject(result
, 0);
38792 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38793 PyObject
*resultobj
;
38794 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38795 wxWindow
*arg2
= (wxWindow
*) 0 ;
38796 PyObject
* obj0
= 0 ;
38797 PyObject
* obj1
= 0 ;
38798 char *kwnames
[] = {
38799 (char *) "self",(char *) "window", NULL
38802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38804 if (SWIG_arg_fail(1)) SWIG_fail
;
38805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38806 if (SWIG_arg_fail(2)) SWIG_fail
;
38808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38809 (arg1
)->SetWindow(arg2
);
38811 wxPyEndAllowThreads(__tstate
);
38812 if (PyErr_Occurred()) SWIG_fail
;
38814 Py_INCREF(Py_None
); resultobj
= Py_None
;
38821 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38822 PyObject
*resultobj
;
38823 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38825 PyObject
* obj0
= 0 ;
38826 char *kwnames
[] = {
38827 (char *) "self", NULL
38830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38832 if (SWIG_arg_fail(1)) SWIG_fail
;
38834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38835 result
= (wxSizer
*)(arg1
)->GetSizer();
38837 wxPyEndAllowThreads(__tstate
);
38838 if (PyErr_Occurred()) SWIG_fail
;
38841 resultobj
= wxPyMake_wxSizer(result
, 0);
38849 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38850 PyObject
*resultobj
;
38851 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38852 wxSizer
*arg2
= (wxSizer
*) 0 ;
38853 PyObject
* obj0
= 0 ;
38854 PyObject
* obj1
= 0 ;
38855 char *kwnames
[] = {
38856 (char *) "self",(char *) "sizer", NULL
38859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38861 if (SWIG_arg_fail(1)) SWIG_fail
;
38862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38863 if (SWIG_arg_fail(2)) SWIG_fail
;
38865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38866 (arg1
)->SetSizer(arg2
);
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38871 Py_INCREF(Py_None
); resultobj
= Py_None
;
38878 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38879 PyObject
*resultobj
;
38880 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38882 PyObject
* obj0
= 0 ;
38883 char *kwnames
[] = {
38884 (char *) "self", NULL
38887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38889 if (SWIG_arg_fail(1)) SWIG_fail
;
38891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38893 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38894 result
= (wxSize
*) &_result_ref
;
38897 wxPyEndAllowThreads(__tstate
);
38898 if (PyErr_Occurred()) SWIG_fail
;
38900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38907 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38908 PyObject
*resultobj
;
38909 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38912 PyObject
* obj0
= 0 ;
38913 PyObject
* obj1
= 0 ;
38914 char *kwnames
[] = {
38915 (char *) "self",(char *) "size", NULL
38918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38920 if (SWIG_arg_fail(1)) SWIG_fail
;
38923 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38927 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38929 wxPyEndAllowThreads(__tstate
);
38930 if (PyErr_Occurred()) SWIG_fail
;
38932 Py_INCREF(Py_None
); resultobj
= Py_None
;
38939 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38940 PyObject
*resultobj
;
38941 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38943 PyObject
* obj0
= 0 ;
38944 PyObject
* obj1
= 0 ;
38945 char *kwnames
[] = {
38946 (char *) "self",(char *) "show", NULL
38949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38951 if (SWIG_arg_fail(1)) SWIG_fail
;
38953 arg2
= (bool)(SWIG_As_bool(obj1
));
38954 if (SWIG_arg_fail(2)) SWIG_fail
;
38957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38958 (arg1
)->Show(arg2
);
38960 wxPyEndAllowThreads(__tstate
);
38961 if (PyErr_Occurred()) SWIG_fail
;
38963 Py_INCREF(Py_None
); resultobj
= Py_None
;
38970 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38971 PyObject
*resultobj
;
38972 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38974 PyObject
* obj0
= 0 ;
38975 char *kwnames
[] = {
38976 (char *) "self", NULL
38979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38981 if (SWIG_arg_fail(1)) SWIG_fail
;
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 result
= (bool)(arg1
)->IsShown();
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38998 static PyObject
*_wrap_SizerItem_GetPosition(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_GetPosition",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
= (arg1
)->GetPosition();
39014 wxPyEndAllowThreads(__tstate
);
39015 if (PyErr_Occurred()) SWIG_fail
;
39018 wxPoint
* resultptr
;
39019 resultptr
= new wxPoint((wxPoint
&)(result
));
39020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39028 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39029 PyObject
*resultobj
;
39030 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39032 PyObject
* obj0
= 0 ;
39033 char *kwnames
[] = {
39034 (char *) "self", NULL
39037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39039 if (SWIG_arg_fail(1)) SWIG_fail
;
39041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39042 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39044 wxPyEndAllowThreads(__tstate
);
39045 if (PyErr_Occurred()) SWIG_fail
;
39047 resultobj
= result
;
39054 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39057 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39059 return Py_BuildValue((char *)"");
39061 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39062 PyObject
*resultobj
;
39063 wxSizer
*arg1
= (wxSizer
*) 0 ;
39064 PyObject
*arg2
= (PyObject
*) 0 ;
39065 PyObject
* obj0
= 0 ;
39066 PyObject
* obj1
= 0 ;
39067 char *kwnames
[] = {
39068 (char *) "self",(char *) "_self", NULL
39071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39073 if (SWIG_arg_fail(1)) SWIG_fail
;
39076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39077 wxSizer__setOORInfo(arg1
,arg2
);
39079 wxPyEndAllowThreads(__tstate
);
39080 if (PyErr_Occurred()) SWIG_fail
;
39082 Py_INCREF(Py_None
); resultobj
= Py_None
;
39089 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39090 PyObject
*resultobj
;
39091 wxSizer
*arg1
= (wxSizer
*) 0 ;
39092 PyObject
*arg2
= (PyObject
*) 0 ;
39093 int arg3
= (int) 0 ;
39094 int arg4
= (int) 0 ;
39095 int arg5
= (int) 0 ;
39096 PyObject
*arg6
= (PyObject
*) NULL
;
39097 wxSizerItem
*result
;
39098 PyObject
* obj0
= 0 ;
39099 PyObject
* obj1
= 0 ;
39100 PyObject
* obj2
= 0 ;
39101 PyObject
* obj3
= 0 ;
39102 PyObject
* obj4
= 0 ;
39103 PyObject
* obj5
= 0 ;
39104 char *kwnames
[] = {
39105 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39110 if (SWIG_arg_fail(1)) SWIG_fail
;
39114 arg3
= (int)(SWIG_As_int(obj2
));
39115 if (SWIG_arg_fail(3)) SWIG_fail
;
39120 arg4
= (int)(SWIG_As_int(obj3
));
39121 if (SWIG_arg_fail(4)) SWIG_fail
;
39126 arg5
= (int)(SWIG_As_int(obj4
));
39127 if (SWIG_arg_fail(5)) SWIG_fail
;
39134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39135 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39137 wxPyEndAllowThreads(__tstate
);
39138 if (PyErr_Occurred()) SWIG_fail
;
39140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39147 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39148 PyObject
*resultobj
;
39149 wxSizer
*arg1
= (wxSizer
*) 0 ;
39151 PyObject
*arg3
= (PyObject
*) 0 ;
39152 int arg4
= (int) 0 ;
39153 int arg5
= (int) 0 ;
39154 int arg6
= (int) 0 ;
39155 PyObject
*arg7
= (PyObject
*) NULL
;
39156 wxSizerItem
*result
;
39157 PyObject
* obj0
= 0 ;
39158 PyObject
* obj1
= 0 ;
39159 PyObject
* obj2
= 0 ;
39160 PyObject
* obj3
= 0 ;
39161 PyObject
* obj4
= 0 ;
39162 PyObject
* obj5
= 0 ;
39163 PyObject
* obj6
= 0 ;
39164 char *kwnames
[] = {
39165 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39170 if (SWIG_arg_fail(1)) SWIG_fail
;
39172 arg2
= (int)(SWIG_As_int(obj1
));
39173 if (SWIG_arg_fail(2)) SWIG_fail
;
39178 arg4
= (int)(SWIG_As_int(obj3
));
39179 if (SWIG_arg_fail(4)) SWIG_fail
;
39184 arg5
= (int)(SWIG_As_int(obj4
));
39185 if (SWIG_arg_fail(5)) SWIG_fail
;
39190 arg6
= (int)(SWIG_As_int(obj5
));
39191 if (SWIG_arg_fail(6)) SWIG_fail
;
39198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39199 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39201 wxPyEndAllowThreads(__tstate
);
39202 if (PyErr_Occurred()) SWIG_fail
;
39204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39211 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39212 PyObject
*resultobj
;
39213 wxSizer
*arg1
= (wxSizer
*) 0 ;
39214 PyObject
*arg2
= (PyObject
*) 0 ;
39215 int arg3
= (int) 0 ;
39216 int arg4
= (int) 0 ;
39217 int arg5
= (int) 0 ;
39218 PyObject
*arg6
= (PyObject
*) NULL
;
39219 wxSizerItem
*result
;
39220 PyObject
* obj0
= 0 ;
39221 PyObject
* obj1
= 0 ;
39222 PyObject
* obj2
= 0 ;
39223 PyObject
* obj3
= 0 ;
39224 PyObject
* obj4
= 0 ;
39225 PyObject
* obj5
= 0 ;
39226 char *kwnames
[] = {
39227 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39232 if (SWIG_arg_fail(1)) SWIG_fail
;
39236 arg3
= (int)(SWIG_As_int(obj2
));
39237 if (SWIG_arg_fail(3)) SWIG_fail
;
39242 arg4
= (int)(SWIG_As_int(obj3
));
39243 if (SWIG_arg_fail(4)) SWIG_fail
;
39248 arg5
= (int)(SWIG_As_int(obj4
));
39249 if (SWIG_arg_fail(5)) SWIG_fail
;
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39259 wxPyEndAllowThreads(__tstate
);
39260 if (PyErr_Occurred()) SWIG_fail
;
39262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39269 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39270 PyObject
*resultobj
;
39271 wxSizer
*arg1
= (wxSizer
*) 0 ;
39272 PyObject
*arg2
= (PyObject
*) 0 ;
39274 PyObject
* obj0
= 0 ;
39275 PyObject
* obj1
= 0 ;
39276 char *kwnames
[] = {
39277 (char *) "self",(char *) "item", NULL
39280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39282 if (SWIG_arg_fail(1)) SWIG_fail
;
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39300 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39301 PyObject
*resultobj
;
39302 wxSizer
*arg1
= (wxSizer
*) 0 ;
39303 PyObject
*arg2
= (PyObject
*) 0 ;
39305 PyObject
* obj0
= 0 ;
39306 PyObject
* obj1
= 0 ;
39307 char *kwnames
[] = {
39308 (char *) "self",(char *) "item", NULL
39311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39313 if (SWIG_arg_fail(1)) SWIG_fail
;
39316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39317 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39319 wxPyEndAllowThreads(__tstate
);
39320 if (PyErr_Occurred()) SWIG_fail
;
39323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39331 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39332 PyObject
*resultobj
;
39333 wxSizer
*arg1
= (wxSizer
*) 0 ;
39334 PyObject
*arg2
= (PyObject
*) 0 ;
39335 wxSizerItem
*result
;
39336 PyObject
* obj0
= 0 ;
39337 PyObject
* obj1
= 0 ;
39338 char *kwnames
[] = {
39339 (char *) "self",(char *) "item", NULL
39342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39344 if (SWIG_arg_fail(1)) SWIG_fail
;
39347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39348 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39350 wxPyEndAllowThreads(__tstate
);
39351 if (PyErr_Occurred()) SWIG_fail
;
39353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39360 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39361 PyObject
*resultobj
;
39362 wxSizer
*arg1
= (wxSizer
*) 0 ;
39363 PyObject
*arg2
= (PyObject
*) 0 ;
39366 PyObject
* obj0
= 0 ;
39367 PyObject
* obj1
= 0 ;
39368 PyObject
* obj2
= 0 ;
39369 char *kwnames
[] = {
39370 (char *) "self",(char *) "item",(char *) "size", NULL
39373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39375 if (SWIG_arg_fail(1)) SWIG_fail
;
39379 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39383 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39385 wxPyEndAllowThreads(__tstate
);
39386 if (PyErr_Occurred()) SWIG_fail
;
39388 Py_INCREF(Py_None
); resultobj
= Py_None
;
39395 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39396 PyObject
*resultobj
;
39397 wxSizer
*arg1
= (wxSizer
*) 0 ;
39398 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39399 wxSizerItem
*result
;
39400 PyObject
* obj0
= 0 ;
39401 PyObject
* obj1
= 0 ;
39402 char *kwnames
[] = {
39403 (char *) "self",(char *) "item", NULL
39406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39408 if (SWIG_arg_fail(1)) SWIG_fail
;
39409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39410 if (SWIG_arg_fail(2)) SWIG_fail
;
39412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39413 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39415 wxPyEndAllowThreads(__tstate
);
39416 if (PyErr_Occurred()) SWIG_fail
;
39418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39425 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
;
39427 wxSizer
*arg1
= (wxSizer
*) 0 ;
39429 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39430 wxSizerItem
*result
;
39431 PyObject
* obj0
= 0 ;
39432 PyObject
* obj1
= 0 ;
39433 PyObject
* obj2
= 0 ;
39434 char *kwnames
[] = {
39435 (char *) "self",(char *) "index",(char *) "item", NULL
39438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39440 if (SWIG_arg_fail(1)) SWIG_fail
;
39442 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39443 if (SWIG_arg_fail(2)) SWIG_fail
;
39445 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39446 if (SWIG_arg_fail(3)) SWIG_fail
;
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39461 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39462 PyObject
*resultobj
;
39463 wxSizer
*arg1
= (wxSizer
*) 0 ;
39464 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39465 wxSizerItem
*result
;
39466 PyObject
* obj0
= 0 ;
39467 PyObject
* obj1
= 0 ;
39468 char *kwnames
[] = {
39469 (char *) "self",(char *) "item", NULL
39472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39474 if (SWIG_arg_fail(1)) SWIG_fail
;
39475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39476 if (SWIG_arg_fail(2)) SWIG_fail
;
39478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39481 wxPyEndAllowThreads(__tstate
);
39482 if (PyErr_Occurred()) SWIG_fail
;
39484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39491 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39492 PyObject
*resultobj
;
39493 wxSizer
*arg1
= (wxSizer
*) 0 ;
39498 PyObject
* obj0
= 0 ;
39499 PyObject
* obj1
= 0 ;
39500 PyObject
* obj2
= 0 ;
39501 PyObject
* obj3
= 0 ;
39502 PyObject
* obj4
= 0 ;
39503 char *kwnames
[] = {
39504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39509 if (SWIG_arg_fail(1)) SWIG_fail
;
39511 arg2
= (int)(SWIG_As_int(obj1
));
39512 if (SWIG_arg_fail(2)) SWIG_fail
;
39515 arg3
= (int)(SWIG_As_int(obj2
));
39516 if (SWIG_arg_fail(3)) SWIG_fail
;
39519 arg4
= (int)(SWIG_As_int(obj3
));
39520 if (SWIG_arg_fail(4)) SWIG_fail
;
39523 arg5
= (int)(SWIG_As_int(obj4
));
39524 if (SWIG_arg_fail(5)) SWIG_fail
;
39527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39528 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39530 wxPyEndAllowThreads(__tstate
);
39531 if (PyErr_Occurred()) SWIG_fail
;
39533 Py_INCREF(Py_None
); resultobj
= Py_None
;
39540 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39541 PyObject
*resultobj
;
39542 wxSizer
*arg1
= (wxSizer
*) 0 ;
39545 PyObject
* obj0
= 0 ;
39546 PyObject
* obj1
= 0 ;
39547 char *kwnames
[] = {
39548 (char *) "self",(char *) "size", NULL
39551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39553 if (SWIG_arg_fail(1)) SWIG_fail
;
39556 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39560 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39562 wxPyEndAllowThreads(__tstate
);
39563 if (PyErr_Occurred()) SWIG_fail
;
39565 Py_INCREF(Py_None
); resultobj
= Py_None
;
39572 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39573 PyObject
*resultobj
;
39574 wxSizer
*arg1
= (wxSizer
*) 0 ;
39576 PyObject
* obj0
= 0 ;
39577 char *kwnames
[] = {
39578 (char *) "self", NULL
39581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39583 if (SWIG_arg_fail(1)) SWIG_fail
;
39585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39586 result
= (arg1
)->GetSize();
39588 wxPyEndAllowThreads(__tstate
);
39589 if (PyErr_Occurred()) SWIG_fail
;
39592 wxSize
* resultptr
;
39593 resultptr
= new wxSize((wxSize
&)(result
));
39594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39602 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39603 PyObject
*resultobj
;
39604 wxSizer
*arg1
= (wxSizer
*) 0 ;
39606 PyObject
* obj0
= 0 ;
39607 char *kwnames
[] = {
39608 (char *) "self", NULL
39611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39613 if (SWIG_arg_fail(1)) SWIG_fail
;
39615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 result
= (arg1
)->GetPosition();
39618 wxPyEndAllowThreads(__tstate
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39622 wxPoint
* resultptr
;
39623 resultptr
= new wxPoint((wxPoint
&)(result
));
39624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39632 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39633 PyObject
*resultobj
;
39634 wxSizer
*arg1
= (wxSizer
*) 0 ;
39636 PyObject
* obj0
= 0 ;
39637 char *kwnames
[] = {
39638 (char *) "self", NULL
39641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39643 if (SWIG_arg_fail(1)) SWIG_fail
;
39645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39646 result
= (arg1
)->GetMinSize();
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39652 wxSize
* resultptr
;
39653 resultptr
= new wxSize((wxSize
&)(result
));
39654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39662 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39663 PyObject
*resultobj
;
39664 wxSizer
*arg1
= (wxSizer
*) 0 ;
39665 PyObject
* obj0
= 0 ;
39666 char *kwnames
[] = {
39667 (char *) "self", NULL
39670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39672 if (SWIG_arg_fail(1)) SWIG_fail
;
39674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39675 (arg1
)->RecalcSizes();
39677 wxPyEndAllowThreads(__tstate
);
39678 if (PyErr_Occurred()) SWIG_fail
;
39680 Py_INCREF(Py_None
); resultobj
= Py_None
;
39687 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39688 PyObject
*resultobj
;
39689 wxSizer
*arg1
= (wxSizer
*) 0 ;
39691 PyObject
* obj0
= 0 ;
39692 char *kwnames
[] = {
39693 (char *) "self", NULL
39696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39698 if (SWIG_arg_fail(1)) SWIG_fail
;
39700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39701 result
= (arg1
)->CalcMin();
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39707 wxSize
* resultptr
;
39708 resultptr
= new wxSize((wxSize
&)(result
));
39709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39717 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39718 PyObject
*resultobj
;
39719 wxSizer
*arg1
= (wxSizer
*) 0 ;
39720 PyObject
* obj0
= 0 ;
39721 char *kwnames
[] = {
39722 (char *) "self", NULL
39725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39727 if (SWIG_arg_fail(1)) SWIG_fail
;
39729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 wxPyEndAllowThreads(__tstate
);
39733 if (PyErr_Occurred()) SWIG_fail
;
39735 Py_INCREF(Py_None
); resultobj
= Py_None
;
39742 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39743 PyObject
*resultobj
;
39744 wxSizer
*arg1
= (wxSizer
*) 0 ;
39745 wxWindow
*arg2
= (wxWindow
*) 0 ;
39747 PyObject
* obj0
= 0 ;
39748 PyObject
* obj1
= 0 ;
39749 char *kwnames
[] = {
39750 (char *) "self",(char *) "window", NULL
39753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39755 if (SWIG_arg_fail(1)) SWIG_fail
;
39756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39757 if (SWIG_arg_fail(2)) SWIG_fail
;
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 result
= (arg1
)->Fit(arg2
);
39762 wxPyEndAllowThreads(__tstate
);
39763 if (PyErr_Occurred()) SWIG_fail
;
39766 wxSize
* resultptr
;
39767 resultptr
= new wxSize((wxSize
&)(result
));
39768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39776 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39777 PyObject
*resultobj
;
39778 wxSizer
*arg1
= (wxSizer
*) 0 ;
39779 wxWindow
*arg2
= (wxWindow
*) 0 ;
39780 PyObject
* obj0
= 0 ;
39781 PyObject
* obj1
= 0 ;
39782 char *kwnames
[] = {
39783 (char *) "self",(char *) "window", NULL
39786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",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_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39790 if (SWIG_arg_fail(2)) SWIG_fail
;
39792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39793 (arg1
)->FitInside(arg2
);
39795 wxPyEndAllowThreads(__tstate
);
39796 if (PyErr_Occurred()) SWIG_fail
;
39798 Py_INCREF(Py_None
); resultobj
= Py_None
;
39805 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39806 PyObject
*resultobj
;
39807 wxSizer
*arg1
= (wxSizer
*) 0 ;
39808 wxWindow
*arg2
= (wxWindow
*) 0 ;
39809 PyObject
* obj0
= 0 ;
39810 PyObject
* obj1
= 0 ;
39811 char *kwnames
[] = {
39812 (char *) "self",(char *) "window", NULL
39815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39817 if (SWIG_arg_fail(1)) SWIG_fail
;
39818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39819 if (SWIG_arg_fail(2)) SWIG_fail
;
39821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39822 (arg1
)->SetSizeHints(arg2
);
39824 wxPyEndAllowThreads(__tstate
);
39825 if (PyErr_Occurred()) SWIG_fail
;
39827 Py_INCREF(Py_None
); resultobj
= Py_None
;
39834 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39835 PyObject
*resultobj
;
39836 wxSizer
*arg1
= (wxSizer
*) 0 ;
39837 wxWindow
*arg2
= (wxWindow
*) 0 ;
39838 PyObject
* obj0
= 0 ;
39839 PyObject
* obj1
= 0 ;
39840 char *kwnames
[] = {
39841 (char *) "self",(char *) "window", NULL
39844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39846 if (SWIG_arg_fail(1)) SWIG_fail
;
39847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39848 if (SWIG_arg_fail(2)) SWIG_fail
;
39850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39851 (arg1
)->SetVirtualSizeHints(arg2
);
39853 wxPyEndAllowThreads(__tstate
);
39854 if (PyErr_Occurred()) SWIG_fail
;
39856 Py_INCREF(Py_None
); resultobj
= Py_None
;
39863 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39864 PyObject
*resultobj
;
39865 wxSizer
*arg1
= (wxSizer
*) 0 ;
39866 bool arg2
= (bool) false ;
39867 PyObject
* obj0
= 0 ;
39868 PyObject
* obj1
= 0 ;
39869 char *kwnames
[] = {
39870 (char *) "self",(char *) "deleteWindows", NULL
39873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39875 if (SWIG_arg_fail(1)) SWIG_fail
;
39878 arg2
= (bool)(SWIG_As_bool(obj1
));
39879 if (SWIG_arg_fail(2)) SWIG_fail
;
39883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39884 (arg1
)->Clear(arg2
);
39886 wxPyEndAllowThreads(__tstate
);
39887 if (PyErr_Occurred()) SWIG_fail
;
39889 Py_INCREF(Py_None
); resultobj
= Py_None
;
39896 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39897 PyObject
*resultobj
;
39898 wxSizer
*arg1
= (wxSizer
*) 0 ;
39899 PyObject
* obj0
= 0 ;
39900 char *kwnames
[] = {
39901 (char *) "self", NULL
39904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39906 if (SWIG_arg_fail(1)) SWIG_fail
;
39908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39909 (arg1
)->DeleteWindows();
39911 wxPyEndAllowThreads(__tstate
);
39912 if (PyErr_Occurred()) SWIG_fail
;
39914 Py_INCREF(Py_None
); resultobj
= Py_None
;
39921 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39922 PyObject
*resultobj
;
39923 wxSizer
*arg1
= (wxSizer
*) 0 ;
39925 PyObject
* obj0
= 0 ;
39926 char *kwnames
[] = {
39927 (char *) "self", NULL
39930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39932 if (SWIG_arg_fail(1)) SWIG_fail
;
39934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39935 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39937 wxPyEndAllowThreads(__tstate
);
39938 if (PyErr_Occurred()) SWIG_fail
;
39940 resultobj
= result
;
39947 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39948 PyObject
*resultobj
;
39949 wxSizer
*arg1
= (wxSizer
*) 0 ;
39950 PyObject
*arg2
= (PyObject
*) 0 ;
39951 bool arg3
= (bool) true ;
39952 bool arg4
= (bool) false ;
39954 PyObject
* obj0
= 0 ;
39955 PyObject
* obj1
= 0 ;
39956 PyObject
* obj2
= 0 ;
39957 PyObject
* obj3
= 0 ;
39958 char *kwnames
[] = {
39959 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39964 if (SWIG_arg_fail(1)) SWIG_fail
;
39968 arg3
= (bool)(SWIG_As_bool(obj2
));
39969 if (SWIG_arg_fail(3)) SWIG_fail
;
39974 arg4
= (bool)(SWIG_As_bool(obj3
));
39975 if (SWIG_arg_fail(4)) SWIG_fail
;
39979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39980 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39982 wxPyEndAllowThreads(__tstate
);
39983 if (PyErr_Occurred()) SWIG_fail
;
39986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39994 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39995 PyObject
*resultobj
;
39996 wxSizer
*arg1
= (wxSizer
*) 0 ;
39997 PyObject
*arg2
= (PyObject
*) 0 ;
39999 PyObject
* obj0
= 0 ;
40000 PyObject
* obj1
= 0 ;
40001 char *kwnames
[] = {
40002 (char *) "self",(char *) "item", NULL
40005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40007 if (SWIG_arg_fail(1)) SWIG_fail
;
40010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40011 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40013 wxPyEndAllowThreads(__tstate
);
40014 if (PyErr_Occurred()) SWIG_fail
;
40017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40025 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40026 PyObject
*resultobj
;
40027 wxSizer
*arg1
= (wxSizer
*) 0 ;
40029 PyObject
* obj0
= 0 ;
40030 PyObject
* obj1
= 0 ;
40031 char *kwnames
[] = {
40032 (char *) "self",(char *) "show", NULL
40035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40037 if (SWIG_arg_fail(1)) SWIG_fail
;
40039 arg2
= (bool)(SWIG_As_bool(obj1
));
40040 if (SWIG_arg_fail(2)) SWIG_fail
;
40043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40044 (arg1
)->ShowItems(arg2
);
40046 wxPyEndAllowThreads(__tstate
);
40047 if (PyErr_Occurred()) SWIG_fail
;
40049 Py_INCREF(Py_None
); resultobj
= Py_None
;
40056 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40059 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40061 return Py_BuildValue((char *)"");
40063 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40064 PyObject
*resultobj
;
40066 char *kwnames
[] = {
40070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40073 result
= (wxPySizer
*)new wxPySizer();
40075 wxPyEndAllowThreads(__tstate
);
40076 if (PyErr_Occurred()) SWIG_fail
;
40078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40085 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40086 PyObject
*resultobj
;
40087 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40088 PyObject
*arg2
= (PyObject
*) 0 ;
40089 PyObject
*arg3
= (PyObject
*) 0 ;
40090 PyObject
* obj0
= 0 ;
40091 PyObject
* obj1
= 0 ;
40092 PyObject
* obj2
= 0 ;
40093 char *kwnames
[] = {
40094 (char *) "self",(char *) "self",(char *) "_class", NULL
40097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40099 if (SWIG_arg_fail(1)) SWIG_fail
;
40103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40106 wxPyEndAllowThreads(__tstate
);
40107 if (PyErr_Occurred()) SWIG_fail
;
40109 Py_INCREF(Py_None
); resultobj
= Py_None
;
40116 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40119 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40121 return Py_BuildValue((char *)"");
40123 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40124 PyObject
*resultobj
;
40125 int arg1
= (int) wxHORIZONTAL
;
40126 wxBoxSizer
*result
;
40127 PyObject
* obj0
= 0 ;
40128 char *kwnames
[] = {
40129 (char *) "orient", NULL
40132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40135 arg1
= (int)(SWIG_As_int(obj0
));
40136 if (SWIG_arg_fail(1)) SWIG_fail
;
40140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40141 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40153 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40154 PyObject
*resultobj
;
40155 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40157 PyObject
* obj0
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "self", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40164 if (SWIG_arg_fail(1)) SWIG_fail
;
40166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40167 result
= (int)(arg1
)->GetOrientation();
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40173 resultobj
= SWIG_From_int((int)(result
));
40181 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40182 PyObject
*resultobj
;
40183 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40185 PyObject
* obj0
= 0 ;
40186 PyObject
* obj1
= 0 ;
40187 char *kwnames
[] = {
40188 (char *) "self",(char *) "orient", NULL
40191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40193 if (SWIG_arg_fail(1)) SWIG_fail
;
40195 arg2
= (int)(SWIG_As_int(obj1
));
40196 if (SWIG_arg_fail(2)) SWIG_fail
;
40199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40200 (arg1
)->SetOrientation(arg2
);
40202 wxPyEndAllowThreads(__tstate
);
40203 if (PyErr_Occurred()) SWIG_fail
;
40205 Py_INCREF(Py_None
); resultobj
= Py_None
;
40212 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40215 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40217 return Py_BuildValue((char *)"");
40219 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40220 PyObject
*resultobj
;
40221 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40222 int arg2
= (int) wxHORIZONTAL
;
40223 wxStaticBoxSizer
*result
;
40224 PyObject
* obj0
= 0 ;
40225 PyObject
* obj1
= 0 ;
40226 char *kwnames
[] = {
40227 (char *) "box",(char *) "orient", NULL
40230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40232 if (SWIG_arg_fail(1)) SWIG_fail
;
40235 arg2
= (int)(SWIG_As_int(obj1
));
40236 if (SWIG_arg_fail(2)) SWIG_fail
;
40240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40241 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40243 wxPyEndAllowThreads(__tstate
);
40244 if (PyErr_Occurred()) SWIG_fail
;
40246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40253 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40254 PyObject
*resultobj
;
40255 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40256 wxStaticBox
*result
;
40257 PyObject
* obj0
= 0 ;
40258 char *kwnames
[] = {
40259 (char *) "self", NULL
40262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40264 if (SWIG_arg_fail(1)) SWIG_fail
;
40266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40267 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40269 wxPyEndAllowThreads(__tstate
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40273 resultobj
= wxPyMake_wxObject(result
, 0);
40281 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40284 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40286 return Py_BuildValue((char *)"");
40288 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40289 PyObject
*resultobj
;
40290 int arg1
= (int) 1 ;
40291 int arg2
= (int) 0 ;
40292 int arg3
= (int) 0 ;
40293 int arg4
= (int) 0 ;
40294 wxGridSizer
*result
;
40295 PyObject
* obj0
= 0 ;
40296 PyObject
* obj1
= 0 ;
40297 PyObject
* obj2
= 0 ;
40298 PyObject
* obj3
= 0 ;
40299 char *kwnames
[] = {
40300 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40306 arg1
= (int)(SWIG_As_int(obj0
));
40307 if (SWIG_arg_fail(1)) SWIG_fail
;
40312 arg2
= (int)(SWIG_As_int(obj1
));
40313 if (SWIG_arg_fail(2)) SWIG_fail
;
40318 arg3
= (int)(SWIG_As_int(obj2
));
40319 if (SWIG_arg_fail(3)) SWIG_fail
;
40324 arg4
= (int)(SWIG_As_int(obj3
));
40325 if (SWIG_arg_fail(4)) SWIG_fail
;
40329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40330 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40332 wxPyEndAllowThreads(__tstate
);
40333 if (PyErr_Occurred()) SWIG_fail
;
40335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40342 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40343 PyObject
*resultobj
;
40344 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40346 PyObject
* obj0
= 0 ;
40347 PyObject
* obj1
= 0 ;
40348 char *kwnames
[] = {
40349 (char *) "self",(char *) "cols", NULL
40352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40354 if (SWIG_arg_fail(1)) SWIG_fail
;
40356 arg2
= (int)(SWIG_As_int(obj1
));
40357 if (SWIG_arg_fail(2)) SWIG_fail
;
40360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40361 (arg1
)->SetCols(arg2
);
40363 wxPyEndAllowThreads(__tstate
);
40364 if (PyErr_Occurred()) SWIG_fail
;
40366 Py_INCREF(Py_None
); resultobj
= Py_None
;
40373 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40374 PyObject
*resultobj
;
40375 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40377 PyObject
* obj0
= 0 ;
40378 PyObject
* obj1
= 0 ;
40379 char *kwnames
[] = {
40380 (char *) "self",(char *) "rows", NULL
40383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40385 if (SWIG_arg_fail(1)) SWIG_fail
;
40387 arg2
= (int)(SWIG_As_int(obj1
));
40388 if (SWIG_arg_fail(2)) SWIG_fail
;
40391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40392 (arg1
)->SetRows(arg2
);
40394 wxPyEndAllowThreads(__tstate
);
40395 if (PyErr_Occurred()) SWIG_fail
;
40397 Py_INCREF(Py_None
); resultobj
= Py_None
;
40404 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40405 PyObject
*resultobj
;
40406 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40408 PyObject
* obj0
= 0 ;
40409 PyObject
* obj1
= 0 ;
40410 char *kwnames
[] = {
40411 (char *) "self",(char *) "gap", NULL
40414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40416 if (SWIG_arg_fail(1)) SWIG_fail
;
40418 arg2
= (int)(SWIG_As_int(obj1
));
40419 if (SWIG_arg_fail(2)) SWIG_fail
;
40422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40423 (arg1
)->SetVGap(arg2
);
40425 wxPyEndAllowThreads(__tstate
);
40426 if (PyErr_Occurred()) SWIG_fail
;
40428 Py_INCREF(Py_None
); resultobj
= Py_None
;
40435 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40436 PyObject
*resultobj
;
40437 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40439 PyObject
* obj0
= 0 ;
40440 PyObject
* obj1
= 0 ;
40441 char *kwnames
[] = {
40442 (char *) "self",(char *) "gap", NULL
40445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40447 if (SWIG_arg_fail(1)) SWIG_fail
;
40449 arg2
= (int)(SWIG_As_int(obj1
));
40450 if (SWIG_arg_fail(2)) SWIG_fail
;
40453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40454 (arg1
)->SetHGap(arg2
);
40456 wxPyEndAllowThreads(__tstate
);
40457 if (PyErr_Occurred()) SWIG_fail
;
40459 Py_INCREF(Py_None
); resultobj
= Py_None
;
40466 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
;
40468 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40470 PyObject
* obj0
= 0 ;
40471 char *kwnames
[] = {
40472 (char *) "self", NULL
40475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40477 if (SWIG_arg_fail(1)) SWIG_fail
;
40479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40480 result
= (int)(arg1
)->GetCols();
40482 wxPyEndAllowThreads(__tstate
);
40483 if (PyErr_Occurred()) SWIG_fail
;
40486 resultobj
= SWIG_From_int((int)(result
));
40494 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40495 PyObject
*resultobj
;
40496 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40498 PyObject
* obj0
= 0 ;
40499 char *kwnames
[] = {
40500 (char *) "self", NULL
40503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40505 if (SWIG_arg_fail(1)) SWIG_fail
;
40507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40508 result
= (int)(arg1
)->GetRows();
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40514 resultobj
= SWIG_From_int((int)(result
));
40522 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40523 PyObject
*resultobj
;
40524 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40526 PyObject
* obj0
= 0 ;
40527 char *kwnames
[] = {
40528 (char *) "self", NULL
40531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40533 if (SWIG_arg_fail(1)) SWIG_fail
;
40535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40536 result
= (int)(arg1
)->GetVGap();
40538 wxPyEndAllowThreads(__tstate
);
40539 if (PyErr_Occurred()) SWIG_fail
;
40542 resultobj
= SWIG_From_int((int)(result
));
40550 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40551 PyObject
*resultobj
;
40552 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40554 PyObject
* obj0
= 0 ;
40555 char *kwnames
[] = {
40556 (char *) "self", NULL
40559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40561 if (SWIG_arg_fail(1)) SWIG_fail
;
40563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40564 result
= (int)(arg1
)->GetHGap();
40566 wxPyEndAllowThreads(__tstate
);
40567 if (PyErr_Occurred()) SWIG_fail
;
40570 resultobj
= SWIG_From_int((int)(result
));
40578 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40581 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40583 return Py_BuildValue((char *)"");
40585 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40586 PyObject
*resultobj
;
40587 int arg1
= (int) 1 ;
40588 int arg2
= (int) 0 ;
40589 int arg3
= (int) 0 ;
40590 int arg4
= (int) 0 ;
40591 wxFlexGridSizer
*result
;
40592 PyObject
* obj0
= 0 ;
40593 PyObject
* obj1
= 0 ;
40594 PyObject
* obj2
= 0 ;
40595 PyObject
* obj3
= 0 ;
40596 char *kwnames
[] = {
40597 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40603 arg1
= (int)(SWIG_As_int(obj0
));
40604 if (SWIG_arg_fail(1)) SWIG_fail
;
40609 arg2
= (int)(SWIG_As_int(obj1
));
40610 if (SWIG_arg_fail(2)) SWIG_fail
;
40615 arg3
= (int)(SWIG_As_int(obj2
));
40616 if (SWIG_arg_fail(3)) SWIG_fail
;
40621 arg4
= (int)(SWIG_As_int(obj3
));
40622 if (SWIG_arg_fail(4)) SWIG_fail
;
40626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40627 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40629 wxPyEndAllowThreads(__tstate
);
40630 if (PyErr_Occurred()) SWIG_fail
;
40632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40639 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40640 PyObject
*resultobj
;
40641 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40643 int arg3
= (int) 0 ;
40644 PyObject
* obj0
= 0 ;
40645 PyObject
* obj1
= 0 ;
40646 PyObject
* obj2
= 0 ;
40647 char *kwnames
[] = {
40648 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40653 if (SWIG_arg_fail(1)) SWIG_fail
;
40655 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40656 if (SWIG_arg_fail(2)) SWIG_fail
;
40660 arg3
= (int)(SWIG_As_int(obj2
));
40661 if (SWIG_arg_fail(3)) SWIG_fail
;
40665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40666 (arg1
)->AddGrowableRow(arg2
,arg3
);
40668 wxPyEndAllowThreads(__tstate
);
40669 if (PyErr_Occurred()) SWIG_fail
;
40671 Py_INCREF(Py_None
); resultobj
= Py_None
;
40678 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40679 PyObject
*resultobj
;
40680 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40682 PyObject
* obj0
= 0 ;
40683 PyObject
* obj1
= 0 ;
40684 char *kwnames
[] = {
40685 (char *) "self",(char *) "idx", NULL
40688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40690 if (SWIG_arg_fail(1)) SWIG_fail
;
40692 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40693 if (SWIG_arg_fail(2)) SWIG_fail
;
40696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40697 (arg1
)->RemoveGrowableRow(arg2
);
40699 wxPyEndAllowThreads(__tstate
);
40700 if (PyErr_Occurred()) SWIG_fail
;
40702 Py_INCREF(Py_None
); resultobj
= Py_None
;
40709 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40710 PyObject
*resultobj
;
40711 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40713 int arg3
= (int) 0 ;
40714 PyObject
* obj0
= 0 ;
40715 PyObject
* obj1
= 0 ;
40716 PyObject
* obj2
= 0 ;
40717 char *kwnames
[] = {
40718 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40723 if (SWIG_arg_fail(1)) SWIG_fail
;
40725 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40726 if (SWIG_arg_fail(2)) SWIG_fail
;
40730 arg3
= (int)(SWIG_As_int(obj2
));
40731 if (SWIG_arg_fail(3)) SWIG_fail
;
40735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40736 (arg1
)->AddGrowableCol(arg2
,arg3
);
40738 wxPyEndAllowThreads(__tstate
);
40739 if (PyErr_Occurred()) SWIG_fail
;
40741 Py_INCREF(Py_None
); resultobj
= Py_None
;
40748 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40749 PyObject
*resultobj
;
40750 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40752 PyObject
* obj0
= 0 ;
40753 PyObject
* obj1
= 0 ;
40754 char *kwnames
[] = {
40755 (char *) "self",(char *) "idx", NULL
40758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40760 if (SWIG_arg_fail(1)) SWIG_fail
;
40762 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40763 if (SWIG_arg_fail(2)) SWIG_fail
;
40766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40767 (arg1
)->RemoveGrowableCol(arg2
);
40769 wxPyEndAllowThreads(__tstate
);
40770 if (PyErr_Occurred()) SWIG_fail
;
40772 Py_INCREF(Py_None
); resultobj
= Py_None
;
40779 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40780 PyObject
*resultobj
;
40781 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40783 PyObject
* obj0
= 0 ;
40784 PyObject
* obj1
= 0 ;
40785 char *kwnames
[] = {
40786 (char *) "self",(char *) "direction", NULL
40789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40791 if (SWIG_arg_fail(1)) SWIG_fail
;
40793 arg2
= (int)(SWIG_As_int(obj1
));
40794 if (SWIG_arg_fail(2)) SWIG_fail
;
40797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40798 (arg1
)->SetFlexibleDirection(arg2
);
40800 wxPyEndAllowThreads(__tstate
);
40801 if (PyErr_Occurred()) SWIG_fail
;
40803 Py_INCREF(Py_None
); resultobj
= Py_None
;
40810 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40811 PyObject
*resultobj
;
40812 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40814 PyObject
* obj0
= 0 ;
40815 char *kwnames
[] = {
40816 (char *) "self", NULL
40819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40821 if (SWIG_arg_fail(1)) SWIG_fail
;
40823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40824 result
= (int)(arg1
)->GetFlexibleDirection();
40826 wxPyEndAllowThreads(__tstate
);
40827 if (PyErr_Occurred()) SWIG_fail
;
40830 resultobj
= SWIG_From_int((int)(result
));
40838 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40839 PyObject
*resultobj
;
40840 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40841 wxFlexSizerGrowMode arg2
;
40842 PyObject
* obj0
= 0 ;
40843 PyObject
* obj1
= 0 ;
40844 char *kwnames
[] = {
40845 (char *) "self",(char *) "mode", NULL
40848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40850 if (SWIG_arg_fail(1)) SWIG_fail
;
40852 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40853 if (SWIG_arg_fail(2)) SWIG_fail
;
40856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40857 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40859 wxPyEndAllowThreads(__tstate
);
40860 if (PyErr_Occurred()) SWIG_fail
;
40862 Py_INCREF(Py_None
); resultobj
= Py_None
;
40869 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40870 PyObject
*resultobj
;
40871 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40872 wxFlexSizerGrowMode result
;
40873 PyObject
* obj0
= 0 ;
40874 char *kwnames
[] = {
40875 (char *) "self", NULL
40878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40880 if (SWIG_arg_fail(1)) SWIG_fail
;
40882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40883 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40885 wxPyEndAllowThreads(__tstate
);
40886 if (PyErr_Occurred()) SWIG_fail
;
40888 resultobj
= SWIG_From_int((result
));
40895 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40896 PyObject
*resultobj
;
40897 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40898 wxArrayInt
*result
;
40899 PyObject
* obj0
= 0 ;
40900 char *kwnames
[] = {
40901 (char *) "self", NULL
40904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40906 if (SWIG_arg_fail(1)) SWIG_fail
;
40908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40910 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40911 result
= (wxArrayInt
*) &_result_ref
;
40914 wxPyEndAllowThreads(__tstate
);
40915 if (PyErr_Occurred()) SWIG_fail
;
40918 resultobj
= PyList_New(0);
40920 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40921 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40922 PyList_Append(resultobj
, val
);
40932 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40933 PyObject
*resultobj
;
40934 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40935 wxArrayInt
*result
;
40936 PyObject
* obj0
= 0 ;
40937 char *kwnames
[] = {
40938 (char *) "self", NULL
40941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40943 if (SWIG_arg_fail(1)) SWIG_fail
;
40945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40947 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40948 result
= (wxArrayInt
*) &_result_ref
;
40951 wxPyEndAllowThreads(__tstate
);
40952 if (PyErr_Occurred()) SWIG_fail
;
40955 resultobj
= PyList_New(0);
40957 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40958 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40959 PyList_Append(resultobj
, val
);
40969 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40972 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40974 return Py_BuildValue((char *)"");
40976 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40977 PyObject
*resultobj
;
40978 wxStdDialogButtonSizer
*result
;
40979 char *kwnames
[] = {
40983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40986 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40988 wxPyEndAllowThreads(__tstate
);
40989 if (PyErr_Occurred()) SWIG_fail
;
40991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40998 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40999 PyObject
*resultobj
;
41000 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41001 wxButton
*arg2
= (wxButton
*) 0 ;
41002 PyObject
* obj0
= 0 ;
41003 PyObject
* obj1
= 0 ;
41004 char *kwnames
[] = {
41005 (char *) "self",(char *) "button", NULL
41008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41010 if (SWIG_arg_fail(1)) SWIG_fail
;
41011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41012 if (SWIG_arg_fail(2)) SWIG_fail
;
41014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41015 (arg1
)->AddButton(arg2
);
41017 wxPyEndAllowThreads(__tstate
);
41018 if (PyErr_Occurred()) SWIG_fail
;
41020 Py_INCREF(Py_None
); resultobj
= Py_None
;
41027 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41028 PyObject
*resultobj
;
41029 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41030 PyObject
* obj0
= 0 ;
41031 char *kwnames
[] = {
41032 (char *) "self", NULL
41035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41037 if (SWIG_arg_fail(1)) SWIG_fail
;
41039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41042 wxPyEndAllowThreads(__tstate
);
41043 if (PyErr_Occurred()) SWIG_fail
;
41045 Py_INCREF(Py_None
); resultobj
= Py_None
;
41052 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41053 PyObject
*resultobj
;
41054 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41055 wxButton
*arg2
= (wxButton
*) 0 ;
41056 PyObject
* obj0
= 0 ;
41057 PyObject
* obj1
= 0 ;
41058 char *kwnames
[] = {
41059 (char *) "self",(char *) "button", NULL
41062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41064 if (SWIG_arg_fail(1)) SWIG_fail
;
41065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41066 if (SWIG_arg_fail(2)) SWIG_fail
;
41068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41069 (arg1
)->SetAffirmativeButton(arg2
);
41071 wxPyEndAllowThreads(__tstate
);
41072 if (PyErr_Occurred()) SWIG_fail
;
41074 Py_INCREF(Py_None
); resultobj
= Py_None
;
41081 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41082 PyObject
*resultobj
;
41083 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41084 wxButton
*arg2
= (wxButton
*) 0 ;
41085 PyObject
* obj0
= 0 ;
41086 PyObject
* obj1
= 0 ;
41087 char *kwnames
[] = {
41088 (char *) "self",(char *) "button", NULL
41091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41093 if (SWIG_arg_fail(1)) SWIG_fail
;
41094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41095 if (SWIG_arg_fail(2)) SWIG_fail
;
41097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41098 (arg1
)->SetNegativeButton(arg2
);
41100 wxPyEndAllowThreads(__tstate
);
41101 if (PyErr_Occurred()) SWIG_fail
;
41103 Py_INCREF(Py_None
); resultobj
= Py_None
;
41110 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41111 PyObject
*resultobj
;
41112 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41113 wxButton
*arg2
= (wxButton
*) 0 ;
41114 PyObject
* obj0
= 0 ;
41115 PyObject
* obj1
= 0 ;
41116 char *kwnames
[] = {
41117 (char *) "self",(char *) "button", NULL
41120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41122 if (SWIG_arg_fail(1)) SWIG_fail
;
41123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41124 if (SWIG_arg_fail(2)) SWIG_fail
;
41126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41127 (arg1
)->SetCancelButton(arg2
);
41129 wxPyEndAllowThreads(__tstate
);
41130 if (PyErr_Occurred()) SWIG_fail
;
41132 Py_INCREF(Py_None
); resultobj
= Py_None
;
41139 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41140 PyObject
*resultobj
;
41141 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41143 PyObject
* obj0
= 0 ;
41144 char *kwnames
[] = {
41145 (char *) "self", NULL
41148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41150 if (SWIG_arg_fail(1)) SWIG_fail
;
41152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41153 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41155 wxPyEndAllowThreads(__tstate
);
41156 if (PyErr_Occurred()) SWIG_fail
;
41159 resultobj
= wxPyMake_wxObject(result
, 0);
41167 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41168 PyObject
*resultobj
;
41169 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41171 PyObject
* obj0
= 0 ;
41172 char *kwnames
[] = {
41173 (char *) "self", NULL
41176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41178 if (SWIG_arg_fail(1)) SWIG_fail
;
41180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41181 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41183 wxPyEndAllowThreads(__tstate
);
41184 if (PyErr_Occurred()) SWIG_fail
;
41187 resultobj
= wxPyMake_wxObject(result
, 0);
41195 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
;
41197 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41199 PyObject
* obj0
= 0 ;
41200 char *kwnames
[] = {
41201 (char *) "self", NULL
41204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41206 if (SWIG_arg_fail(1)) SWIG_fail
;
41208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41209 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41211 wxPyEndAllowThreads(__tstate
);
41212 if (PyErr_Occurred()) SWIG_fail
;
41215 resultobj
= wxPyMake_wxObject(result
, 0);
41223 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41224 PyObject
*resultobj
;
41225 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41227 PyObject
* obj0
= 0 ;
41228 char *kwnames
[] = {
41229 (char *) "self", NULL
41232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41234 if (SWIG_arg_fail(1)) SWIG_fail
;
41236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41237 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41239 wxPyEndAllowThreads(__tstate
);
41240 if (PyErr_Occurred()) SWIG_fail
;
41243 resultobj
= wxPyMake_wxObject(result
, 0);
41251 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41252 PyObject
*resultobj
;
41253 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41255 PyObject
* obj0
= 0 ;
41256 char *kwnames
[] = {
41257 (char *) "self", NULL
41260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41262 if (SWIG_arg_fail(1)) SWIG_fail
;
41264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41265 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41267 wxPyEndAllowThreads(__tstate
);
41268 if (PyErr_Occurred()) SWIG_fail
;
41271 resultobj
= wxPyMake_wxObject(result
, 0);
41279 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41282 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41284 return Py_BuildValue((char *)"");
41286 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41287 PyObject
*resultobj
;
41288 int arg1
= (int) 0 ;
41289 int arg2
= (int) 0 ;
41290 wxGBPosition
*result
;
41291 PyObject
* obj0
= 0 ;
41292 PyObject
* obj1
= 0 ;
41293 char *kwnames
[] = {
41294 (char *) "row",(char *) "col", NULL
41297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41300 arg1
= (int)(SWIG_As_int(obj0
));
41301 if (SWIG_arg_fail(1)) SWIG_fail
;
41306 arg2
= (int)(SWIG_As_int(obj1
));
41307 if (SWIG_arg_fail(2)) SWIG_fail
;
41311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41312 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41314 wxPyEndAllowThreads(__tstate
);
41315 if (PyErr_Occurred()) SWIG_fail
;
41317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41324 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41325 PyObject
*resultobj
;
41326 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41328 PyObject
* obj0
= 0 ;
41329 char *kwnames
[] = {
41330 (char *) "self", NULL
41333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41335 if (SWIG_arg_fail(1)) SWIG_fail
;
41337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41340 wxPyEndAllowThreads(__tstate
);
41341 if (PyErr_Occurred()) SWIG_fail
;
41344 resultobj
= SWIG_From_int((int)(result
));
41352 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41353 PyObject
*resultobj
;
41354 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41356 PyObject
* obj0
= 0 ;
41357 char *kwnames
[] = {
41358 (char *) "self", NULL
41361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41363 if (SWIG_arg_fail(1)) SWIG_fail
;
41365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41366 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41368 wxPyEndAllowThreads(__tstate
);
41369 if (PyErr_Occurred()) SWIG_fail
;
41372 resultobj
= SWIG_From_int((int)(result
));
41380 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41381 PyObject
*resultobj
;
41382 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41384 PyObject
* obj0
= 0 ;
41385 PyObject
* obj1
= 0 ;
41386 char *kwnames
[] = {
41387 (char *) "self",(char *) "row", NULL
41390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41392 if (SWIG_arg_fail(1)) SWIG_fail
;
41394 arg2
= (int)(SWIG_As_int(obj1
));
41395 if (SWIG_arg_fail(2)) SWIG_fail
;
41398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41399 (arg1
)->SetRow(arg2
);
41401 wxPyEndAllowThreads(__tstate
);
41402 if (PyErr_Occurred()) SWIG_fail
;
41404 Py_INCREF(Py_None
); resultobj
= Py_None
;
41411 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41412 PyObject
*resultobj
;
41413 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41415 PyObject
* obj0
= 0 ;
41416 PyObject
* obj1
= 0 ;
41417 char *kwnames
[] = {
41418 (char *) "self",(char *) "col", NULL
41421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41423 if (SWIG_arg_fail(1)) SWIG_fail
;
41425 arg2
= (int)(SWIG_As_int(obj1
));
41426 if (SWIG_arg_fail(2)) SWIG_fail
;
41429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41430 (arg1
)->SetCol(arg2
);
41432 wxPyEndAllowThreads(__tstate
);
41433 if (PyErr_Occurred()) SWIG_fail
;
41435 Py_INCREF(Py_None
); resultobj
= Py_None
;
41442 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41443 PyObject
*resultobj
;
41444 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41445 wxGBPosition
*arg2
= 0 ;
41447 wxGBPosition temp2
;
41448 PyObject
* obj0
= 0 ;
41449 PyObject
* obj1
= 0 ;
41450 char *kwnames
[] = {
41451 (char *) "self",(char *) "other", NULL
41454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41456 if (SWIG_arg_fail(1)) SWIG_fail
;
41459 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41463 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41465 wxPyEndAllowThreads(__tstate
);
41466 if (PyErr_Occurred()) SWIG_fail
;
41469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41477 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41478 PyObject
*resultobj
;
41479 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41480 wxGBPosition
*arg2
= 0 ;
41482 wxGBPosition temp2
;
41483 PyObject
* obj0
= 0 ;
41484 PyObject
* obj1
= 0 ;
41485 char *kwnames
[] = {
41486 (char *) "self",(char *) "other", NULL
41489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41491 if (SWIG_arg_fail(1)) SWIG_fail
;
41494 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41498 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41500 wxPyEndAllowThreads(__tstate
);
41501 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41512 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41513 PyObject
*resultobj
;
41514 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41515 int arg2
= (int) 0 ;
41516 int arg3
= (int) 0 ;
41517 PyObject
* obj0
= 0 ;
41518 PyObject
* obj1
= 0 ;
41519 PyObject
* obj2
= 0 ;
41520 char *kwnames
[] = {
41521 (char *) "self",(char *) "row",(char *) "col", NULL
41524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41526 if (SWIG_arg_fail(1)) SWIG_fail
;
41529 arg2
= (int)(SWIG_As_int(obj1
));
41530 if (SWIG_arg_fail(2)) SWIG_fail
;
41535 arg3
= (int)(SWIG_As_int(obj2
));
41536 if (SWIG_arg_fail(3)) SWIG_fail
;
41540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41541 wxGBPosition_Set(arg1
,arg2
,arg3
);
41543 wxPyEndAllowThreads(__tstate
);
41544 if (PyErr_Occurred()) SWIG_fail
;
41546 Py_INCREF(Py_None
); resultobj
= Py_None
;
41553 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41554 PyObject
*resultobj
;
41555 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41557 PyObject
* obj0
= 0 ;
41558 char *kwnames
[] = {
41559 (char *) "self", NULL
41562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41564 if (SWIG_arg_fail(1)) SWIG_fail
;
41566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41567 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41569 wxPyEndAllowThreads(__tstate
);
41570 if (PyErr_Occurred()) SWIG_fail
;
41572 resultobj
= result
;
41579 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41582 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41584 return Py_BuildValue((char *)"");
41586 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41587 PyObject
*resultobj
;
41588 int arg1
= (int) 1 ;
41589 int arg2
= (int) 1 ;
41591 PyObject
* obj0
= 0 ;
41592 PyObject
* obj1
= 0 ;
41593 char *kwnames
[] = {
41594 (char *) "rowspan",(char *) "colspan", NULL
41597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41600 arg1
= (int)(SWIG_As_int(obj0
));
41601 if (SWIG_arg_fail(1)) SWIG_fail
;
41606 arg2
= (int)(SWIG_As_int(obj1
));
41607 if (SWIG_arg_fail(2)) SWIG_fail
;
41611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41612 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41614 wxPyEndAllowThreads(__tstate
);
41615 if (PyErr_Occurred()) SWIG_fail
;
41617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41624 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41625 PyObject
*resultobj
;
41626 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41628 PyObject
* obj0
= 0 ;
41629 char *kwnames
[] = {
41630 (char *) "self", NULL
41633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41635 if (SWIG_arg_fail(1)) SWIG_fail
;
41637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41638 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41640 wxPyEndAllowThreads(__tstate
);
41641 if (PyErr_Occurred()) SWIG_fail
;
41644 resultobj
= SWIG_From_int((int)(result
));
41652 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41653 PyObject
*resultobj
;
41654 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41656 PyObject
* obj0
= 0 ;
41657 char *kwnames
[] = {
41658 (char *) "self", NULL
41661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41663 if (SWIG_arg_fail(1)) SWIG_fail
;
41665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41666 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41668 wxPyEndAllowThreads(__tstate
);
41669 if (PyErr_Occurred()) SWIG_fail
;
41672 resultobj
= SWIG_From_int((int)(result
));
41680 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41681 PyObject
*resultobj
;
41682 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41684 PyObject
* obj0
= 0 ;
41685 PyObject
* obj1
= 0 ;
41686 char *kwnames
[] = {
41687 (char *) "self",(char *) "rowspan", NULL
41690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41692 if (SWIG_arg_fail(1)) SWIG_fail
;
41694 arg2
= (int)(SWIG_As_int(obj1
));
41695 if (SWIG_arg_fail(2)) SWIG_fail
;
41698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41699 (arg1
)->SetRowspan(arg2
);
41701 wxPyEndAllowThreads(__tstate
);
41702 if (PyErr_Occurred()) SWIG_fail
;
41704 Py_INCREF(Py_None
); resultobj
= Py_None
;
41711 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41712 PyObject
*resultobj
;
41713 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41715 PyObject
* obj0
= 0 ;
41716 PyObject
* obj1
= 0 ;
41717 char *kwnames
[] = {
41718 (char *) "self",(char *) "colspan", NULL
41721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41723 if (SWIG_arg_fail(1)) SWIG_fail
;
41725 arg2
= (int)(SWIG_As_int(obj1
));
41726 if (SWIG_arg_fail(2)) SWIG_fail
;
41729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41730 (arg1
)->SetColspan(arg2
);
41732 wxPyEndAllowThreads(__tstate
);
41733 if (PyErr_Occurred()) SWIG_fail
;
41735 Py_INCREF(Py_None
); resultobj
= Py_None
;
41742 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41743 PyObject
*resultobj
;
41744 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41745 wxGBSpan
*arg2
= 0 ;
41748 PyObject
* obj0
= 0 ;
41749 PyObject
* obj1
= 0 ;
41750 char *kwnames
[] = {
41751 (char *) "self",(char *) "other", NULL
41754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41756 if (SWIG_arg_fail(1)) SWIG_fail
;
41759 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41763 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41765 wxPyEndAllowThreads(__tstate
);
41766 if (PyErr_Occurred()) SWIG_fail
;
41769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41777 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41778 PyObject
*resultobj
;
41779 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41780 wxGBSpan
*arg2
= 0 ;
41783 PyObject
* obj0
= 0 ;
41784 PyObject
* obj1
= 0 ;
41785 char *kwnames
[] = {
41786 (char *) "self",(char *) "other", NULL
41789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41791 if (SWIG_arg_fail(1)) SWIG_fail
;
41794 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41798 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41800 wxPyEndAllowThreads(__tstate
);
41801 if (PyErr_Occurred()) SWIG_fail
;
41804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41812 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41813 PyObject
*resultobj
;
41814 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41815 int arg2
= (int) 1 ;
41816 int arg3
= (int) 1 ;
41817 PyObject
* obj0
= 0 ;
41818 PyObject
* obj1
= 0 ;
41819 PyObject
* obj2
= 0 ;
41820 char *kwnames
[] = {
41821 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41826 if (SWIG_arg_fail(1)) SWIG_fail
;
41829 arg2
= (int)(SWIG_As_int(obj1
));
41830 if (SWIG_arg_fail(2)) SWIG_fail
;
41835 arg3
= (int)(SWIG_As_int(obj2
));
41836 if (SWIG_arg_fail(3)) SWIG_fail
;
41840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41841 wxGBSpan_Set(arg1
,arg2
,arg3
);
41843 wxPyEndAllowThreads(__tstate
);
41844 if (PyErr_Occurred()) SWIG_fail
;
41846 Py_INCREF(Py_None
); resultobj
= Py_None
;
41853 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41854 PyObject
*resultobj
;
41855 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41857 PyObject
* obj0
= 0 ;
41858 char *kwnames
[] = {
41859 (char *) "self", NULL
41862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41864 if (SWIG_arg_fail(1)) SWIG_fail
;
41866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41867 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41869 wxPyEndAllowThreads(__tstate
);
41870 if (PyErr_Occurred()) SWIG_fail
;
41872 resultobj
= result
;
41879 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41882 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41884 return Py_BuildValue((char *)"");
41886 static int _wrap_DefaultSpan_set(PyObject
*) {
41887 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41892 static PyObject
*_wrap_DefaultSpan_get(void) {
41895 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41900 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41901 PyObject
*resultobj
;
41902 wxGBSizerItem
*result
;
41903 char *kwnames
[] = {
41907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41910 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41912 wxPyEndAllowThreads(__tstate
);
41913 if (PyErr_Occurred()) SWIG_fail
;
41915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41922 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41923 PyObject
*resultobj
;
41924 wxWindow
*arg1
= (wxWindow
*) 0 ;
41925 wxGBPosition
*arg2
= 0 ;
41926 wxGBSpan
*arg3
= 0 ;
41929 PyObject
*arg6
= (PyObject
*) NULL
;
41930 wxGBSizerItem
*result
;
41931 wxGBPosition temp2
;
41933 PyObject
* obj0
= 0 ;
41934 PyObject
* obj1
= 0 ;
41935 PyObject
* obj2
= 0 ;
41936 PyObject
* obj3
= 0 ;
41937 PyObject
* obj4
= 0 ;
41938 PyObject
* obj5
= 0 ;
41939 char *kwnames
[] = {
41940 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41945 if (SWIG_arg_fail(1)) SWIG_fail
;
41948 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41952 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41955 arg4
= (int)(SWIG_As_int(obj3
));
41956 if (SWIG_arg_fail(4)) SWIG_fail
;
41959 arg5
= (int)(SWIG_As_int(obj4
));
41960 if (SWIG_arg_fail(5)) SWIG_fail
;
41966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41967 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41969 wxPyEndAllowThreads(__tstate
);
41970 if (PyErr_Occurred()) SWIG_fail
;
41972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41979 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41980 PyObject
*resultobj
;
41981 wxSizer
*arg1
= (wxSizer
*) 0 ;
41982 wxGBPosition
*arg2
= 0 ;
41983 wxGBSpan
*arg3
= 0 ;
41986 PyObject
*arg6
= (PyObject
*) NULL
;
41987 wxGBSizerItem
*result
;
41988 wxGBPosition temp2
;
41990 PyObject
* obj0
= 0 ;
41991 PyObject
* obj1
= 0 ;
41992 PyObject
* obj2
= 0 ;
41993 PyObject
* obj3
= 0 ;
41994 PyObject
* obj4
= 0 ;
41995 PyObject
* obj5
= 0 ;
41996 char *kwnames
[] = {
41997 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42002 if (SWIG_arg_fail(1)) SWIG_fail
;
42005 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42009 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42012 arg4
= (int)(SWIG_As_int(obj3
));
42013 if (SWIG_arg_fail(4)) SWIG_fail
;
42016 arg5
= (int)(SWIG_As_int(obj4
));
42017 if (SWIG_arg_fail(5)) SWIG_fail
;
42023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42024 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42026 wxPyEndAllowThreads(__tstate
);
42027 if (PyErr_Occurred()) SWIG_fail
;
42029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42036 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42037 PyObject
*resultobj
;
42040 wxGBPosition
*arg3
= 0 ;
42041 wxGBSpan
*arg4
= 0 ;
42044 PyObject
*arg7
= (PyObject
*) NULL
;
42045 wxGBSizerItem
*result
;
42046 wxGBPosition temp3
;
42048 PyObject
* obj0
= 0 ;
42049 PyObject
* obj1
= 0 ;
42050 PyObject
* obj2
= 0 ;
42051 PyObject
* obj3
= 0 ;
42052 PyObject
* obj4
= 0 ;
42053 PyObject
* obj5
= 0 ;
42054 PyObject
* obj6
= 0 ;
42055 char *kwnames
[] = {
42056 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42061 arg1
= (int)(SWIG_As_int(obj0
));
42062 if (SWIG_arg_fail(1)) SWIG_fail
;
42065 arg2
= (int)(SWIG_As_int(obj1
));
42066 if (SWIG_arg_fail(2)) SWIG_fail
;
42070 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42074 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42077 arg5
= (int)(SWIG_As_int(obj4
));
42078 if (SWIG_arg_fail(5)) SWIG_fail
;
42081 arg6
= (int)(SWIG_As_int(obj5
));
42082 if (SWIG_arg_fail(6)) SWIG_fail
;
42088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42089 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42091 wxPyEndAllowThreads(__tstate
);
42092 if (PyErr_Occurred()) SWIG_fail
;
42094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42101 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42102 PyObject
*resultobj
;
42103 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42104 wxGBPosition result
;
42105 PyObject
* obj0
= 0 ;
42106 char *kwnames
[] = {
42107 (char *) "self", NULL
42110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42112 if (SWIG_arg_fail(1)) SWIG_fail
;
42114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42115 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42117 wxPyEndAllowThreads(__tstate
);
42118 if (PyErr_Occurred()) SWIG_fail
;
42121 wxGBPosition
* resultptr
;
42122 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42131 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42132 PyObject
*resultobj
;
42133 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42135 PyObject
* obj0
= 0 ;
42136 char *kwnames
[] = {
42137 (char *) "self", NULL
42140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42142 if (SWIG_arg_fail(1)) SWIG_fail
;
42144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42145 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42147 wxPyEndAllowThreads(__tstate
);
42148 if (PyErr_Occurred()) SWIG_fail
;
42151 wxGBSpan
* resultptr
;
42152 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42161 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42162 PyObject
*resultobj
;
42163 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42164 wxGBPosition
*arg2
= 0 ;
42166 wxGBPosition temp2
;
42167 PyObject
* obj0
= 0 ;
42168 PyObject
* obj1
= 0 ;
42169 char *kwnames
[] = {
42170 (char *) "self",(char *) "pos", NULL
42173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42175 if (SWIG_arg_fail(1)) SWIG_fail
;
42178 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42182 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42184 wxPyEndAllowThreads(__tstate
);
42185 if (PyErr_Occurred()) SWIG_fail
;
42188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42196 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42197 PyObject
*resultobj
;
42198 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42199 wxGBSpan
*arg2
= 0 ;
42202 PyObject
* obj0
= 0 ;
42203 PyObject
* obj1
= 0 ;
42204 char *kwnames
[] = {
42205 (char *) "self",(char *) "span", NULL
42208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42210 if (SWIG_arg_fail(1)) SWIG_fail
;
42213 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42217 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42219 wxPyEndAllowThreads(__tstate
);
42220 if (PyErr_Occurred()) SWIG_fail
;
42223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42231 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42232 PyObject
*resultobj
;
42233 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42234 wxGBSizerItem
*arg2
= 0 ;
42236 PyObject
* obj0
= 0 ;
42237 PyObject
* obj1
= 0 ;
42238 char *kwnames
[] = {
42239 (char *) "self",(char *) "other", NULL
42242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42244 if (SWIG_arg_fail(1)) SWIG_fail
;
42246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42247 if (SWIG_arg_fail(2)) SWIG_fail
;
42248 if (arg2
== NULL
) {
42249 SWIG_null_ref("wxGBSizerItem");
42251 if (SWIG_arg_fail(2)) SWIG_fail
;
42254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42255 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42257 wxPyEndAllowThreads(__tstate
);
42258 if (PyErr_Occurred()) SWIG_fail
;
42261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42269 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42270 PyObject
*resultobj
;
42271 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42272 wxGBPosition
*arg2
= 0 ;
42273 wxGBSpan
*arg3
= 0 ;
42275 wxGBPosition temp2
;
42277 PyObject
* obj0
= 0 ;
42278 PyObject
* obj1
= 0 ;
42279 PyObject
* obj2
= 0 ;
42280 char *kwnames
[] = {
42281 (char *) "self",(char *) "pos",(char *) "span", NULL
42284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42286 if (SWIG_arg_fail(1)) SWIG_fail
;
42289 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42293 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42297 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42299 wxPyEndAllowThreads(__tstate
);
42300 if (PyErr_Occurred()) SWIG_fail
;
42303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42311 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42312 PyObject
*resultobj
;
42313 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42314 wxGBPosition result
;
42315 PyObject
* obj0
= 0 ;
42316 char *kwnames
[] = {
42317 (char *) "self", NULL
42320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42322 if (SWIG_arg_fail(1)) SWIG_fail
;
42324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42325 result
= wxGBSizerItem_GetEndPos(arg1
);
42327 wxPyEndAllowThreads(__tstate
);
42328 if (PyErr_Occurred()) SWIG_fail
;
42331 wxGBPosition
* resultptr
;
42332 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42341 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42342 PyObject
*resultobj
;
42343 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42344 wxGridBagSizer
*result
;
42345 PyObject
* obj0
= 0 ;
42346 char *kwnames
[] = {
42347 (char *) "self", NULL
42350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42352 if (SWIG_arg_fail(1)) SWIG_fail
;
42354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42355 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42357 wxPyEndAllowThreads(__tstate
);
42358 if (PyErr_Occurred()) SWIG_fail
;
42360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42367 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42368 PyObject
*resultobj
;
42369 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42370 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42371 PyObject
* obj0
= 0 ;
42372 PyObject
* obj1
= 0 ;
42373 char *kwnames
[] = {
42374 (char *) "self",(char *) "sizer", NULL
42377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42379 if (SWIG_arg_fail(1)) SWIG_fail
;
42380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42381 if (SWIG_arg_fail(2)) SWIG_fail
;
42383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42384 (arg1
)->SetGBSizer(arg2
);
42386 wxPyEndAllowThreads(__tstate
);
42387 if (PyErr_Occurred()) SWIG_fail
;
42389 Py_INCREF(Py_None
); resultobj
= Py_None
;
42396 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42399 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42401 return Py_BuildValue((char *)"");
42403 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42404 PyObject
*resultobj
;
42405 int arg1
= (int) 0 ;
42406 int arg2
= (int) 0 ;
42407 wxGridBagSizer
*result
;
42408 PyObject
* obj0
= 0 ;
42409 PyObject
* obj1
= 0 ;
42410 char *kwnames
[] = {
42411 (char *) "vgap",(char *) "hgap", NULL
42414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42417 arg1
= (int)(SWIG_As_int(obj0
));
42418 if (SWIG_arg_fail(1)) SWIG_fail
;
42423 arg2
= (int)(SWIG_As_int(obj1
));
42424 if (SWIG_arg_fail(2)) SWIG_fail
;
42428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42429 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42431 wxPyEndAllowThreads(__tstate
);
42432 if (PyErr_Occurred()) SWIG_fail
;
42434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42441 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42442 PyObject
*resultobj
;
42443 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42444 PyObject
*arg2
= (PyObject
*) 0 ;
42445 wxGBPosition
*arg3
= 0 ;
42446 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42447 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42448 int arg5
= (int) 0 ;
42449 int arg6
= (int) 0 ;
42450 PyObject
*arg7
= (PyObject
*) NULL
;
42451 wxGBSizerItem
*result
;
42452 wxGBPosition temp3
;
42454 PyObject
* obj0
= 0 ;
42455 PyObject
* obj1
= 0 ;
42456 PyObject
* obj2
= 0 ;
42457 PyObject
* obj3
= 0 ;
42458 PyObject
* obj4
= 0 ;
42459 PyObject
* obj5
= 0 ;
42460 PyObject
* obj6
= 0 ;
42461 char *kwnames
[] = {
42462 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42467 if (SWIG_arg_fail(1)) SWIG_fail
;
42471 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42476 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42481 arg5
= (int)(SWIG_As_int(obj4
));
42482 if (SWIG_arg_fail(5)) SWIG_fail
;
42487 arg6
= (int)(SWIG_As_int(obj5
));
42488 if (SWIG_arg_fail(6)) SWIG_fail
;
42495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42496 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42508 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42509 PyObject
*resultobj
;
42510 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42511 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42512 wxGBSizerItem
*result
;
42513 PyObject
* obj0
= 0 ;
42514 PyObject
* obj1
= 0 ;
42515 char *kwnames
[] = {
42516 (char *) "self",(char *) "item", NULL
42519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42521 if (SWIG_arg_fail(1)) SWIG_fail
;
42522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42523 if (SWIG_arg_fail(2)) SWIG_fail
;
42525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42526 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42528 wxPyEndAllowThreads(__tstate
);
42529 if (PyErr_Occurred()) SWIG_fail
;
42531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42538 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42539 PyObject
*resultobj
;
42540 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42544 PyObject
* obj0
= 0 ;
42545 PyObject
* obj1
= 0 ;
42546 PyObject
* obj2
= 0 ;
42547 char *kwnames
[] = {
42548 (char *) "self",(char *) "row",(char *) "col", NULL
42551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42553 if (SWIG_arg_fail(1)) SWIG_fail
;
42555 arg2
= (int)(SWIG_As_int(obj1
));
42556 if (SWIG_arg_fail(2)) SWIG_fail
;
42559 arg3
= (int)(SWIG_As_int(obj2
));
42560 if (SWIG_arg_fail(3)) SWIG_fail
;
42563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42564 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42566 wxPyEndAllowThreads(__tstate
);
42567 if (PyErr_Occurred()) SWIG_fail
;
42570 wxSize
* resultptr
;
42571 resultptr
= new wxSize((wxSize
&)(result
));
42572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42580 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42581 PyObject
*resultobj
;
42582 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42584 PyObject
* obj0
= 0 ;
42585 char *kwnames
[] = {
42586 (char *) "self", NULL
42589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42591 if (SWIG_arg_fail(1)) SWIG_fail
;
42593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42594 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42596 wxPyEndAllowThreads(__tstate
);
42597 if (PyErr_Occurred()) SWIG_fail
;
42600 wxSize
* resultptr
;
42601 resultptr
= new wxSize((wxSize
&)(result
));
42602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42610 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42611 PyObject
*resultobj
;
42612 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42615 PyObject
* obj0
= 0 ;
42616 PyObject
* obj1
= 0 ;
42617 char *kwnames
[] = {
42618 (char *) "self",(char *) "sz", NULL
42621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42623 if (SWIG_arg_fail(1)) SWIG_fail
;
42626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42630 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42632 wxPyEndAllowThreads(__tstate
);
42633 if (PyErr_Occurred()) SWIG_fail
;
42635 Py_INCREF(Py_None
); resultobj
= Py_None
;
42642 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42643 PyObject
*resultobj
;
42644 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42645 wxWindow
*arg2
= (wxWindow
*) 0 ;
42646 wxGBPosition result
;
42647 PyObject
* obj0
= 0 ;
42648 PyObject
* obj1
= 0 ;
42650 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42652 if (SWIG_arg_fail(1)) SWIG_fail
;
42653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42654 if (SWIG_arg_fail(2)) SWIG_fail
;
42656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42657 result
= (arg1
)->GetItemPosition(arg2
);
42659 wxPyEndAllowThreads(__tstate
);
42660 if (PyErr_Occurred()) SWIG_fail
;
42663 wxGBPosition
* resultptr
;
42664 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42673 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42674 PyObject
*resultobj
;
42675 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42676 wxSizer
*arg2
= (wxSizer
*) 0 ;
42677 wxGBPosition result
;
42678 PyObject
* obj0
= 0 ;
42679 PyObject
* obj1
= 0 ;
42681 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42683 if (SWIG_arg_fail(1)) SWIG_fail
;
42684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42685 if (SWIG_arg_fail(2)) SWIG_fail
;
42687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42688 result
= (arg1
)->GetItemPosition(arg2
);
42690 wxPyEndAllowThreads(__tstate
);
42691 if (PyErr_Occurred()) SWIG_fail
;
42694 wxGBPosition
* resultptr
;
42695 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42704 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42705 PyObject
*resultobj
;
42706 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42708 wxGBPosition result
;
42709 PyObject
* obj0
= 0 ;
42710 PyObject
* obj1
= 0 ;
42712 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42714 if (SWIG_arg_fail(1)) SWIG_fail
;
42716 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42717 if (SWIG_arg_fail(2)) SWIG_fail
;
42720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42721 result
= (arg1
)->GetItemPosition(arg2
);
42723 wxPyEndAllowThreads(__tstate
);
42724 if (PyErr_Occurred()) SWIG_fail
;
42727 wxGBPosition
* resultptr
;
42728 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42737 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42742 argc
= PyObject_Length(args
);
42743 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42744 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42750 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42760 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42768 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42776 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42786 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42794 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42802 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42810 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42812 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42817 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42822 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42823 PyObject
*resultobj
;
42824 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42825 wxWindow
*arg2
= (wxWindow
*) 0 ;
42826 wxGBPosition
*arg3
= 0 ;
42828 wxGBPosition temp3
;
42829 PyObject
* obj0
= 0 ;
42830 PyObject
* obj1
= 0 ;
42831 PyObject
* obj2
= 0 ;
42833 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42835 if (SWIG_arg_fail(1)) SWIG_fail
;
42836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42837 if (SWIG_arg_fail(2)) SWIG_fail
;
42840 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42844 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42846 wxPyEndAllowThreads(__tstate
);
42847 if (PyErr_Occurred()) SWIG_fail
;
42850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42858 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42859 PyObject
*resultobj
;
42860 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42861 wxSizer
*arg2
= (wxSizer
*) 0 ;
42862 wxGBPosition
*arg3
= 0 ;
42864 wxGBPosition temp3
;
42865 PyObject
* obj0
= 0 ;
42866 PyObject
* obj1
= 0 ;
42867 PyObject
* obj2
= 0 ;
42869 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42871 if (SWIG_arg_fail(1)) SWIG_fail
;
42872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42873 if (SWIG_arg_fail(2)) SWIG_fail
;
42876 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42880 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42882 wxPyEndAllowThreads(__tstate
);
42883 if (PyErr_Occurred()) SWIG_fail
;
42886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42894 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42895 PyObject
*resultobj
;
42896 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42898 wxGBPosition
*arg3
= 0 ;
42900 wxGBPosition temp3
;
42901 PyObject
* obj0
= 0 ;
42902 PyObject
* obj1
= 0 ;
42903 PyObject
* obj2
= 0 ;
42905 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42907 if (SWIG_arg_fail(1)) SWIG_fail
;
42909 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42910 if (SWIG_arg_fail(2)) SWIG_fail
;
42914 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42918 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42920 wxPyEndAllowThreads(__tstate
);
42921 if (PyErr_Occurred()) SWIG_fail
;
42924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42932 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42937 argc
= PyObject_Length(args
);
42938 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42939 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42945 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42955 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42964 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42967 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42976 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42986 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42995 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42998 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43007 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43015 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43018 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43021 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43027 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43032 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43033 PyObject
*resultobj
;
43034 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43035 wxWindow
*arg2
= (wxWindow
*) 0 ;
43037 PyObject
* obj0
= 0 ;
43038 PyObject
* obj1
= 0 ;
43040 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43042 if (SWIG_arg_fail(1)) SWIG_fail
;
43043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43044 if (SWIG_arg_fail(2)) SWIG_fail
;
43046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43047 result
= (arg1
)->GetItemSpan(arg2
);
43049 wxPyEndAllowThreads(__tstate
);
43050 if (PyErr_Occurred()) SWIG_fail
;
43053 wxGBSpan
* resultptr
;
43054 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43063 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43064 PyObject
*resultobj
;
43065 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43066 wxSizer
*arg2
= (wxSizer
*) 0 ;
43068 PyObject
* obj0
= 0 ;
43069 PyObject
* obj1
= 0 ;
43071 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43073 if (SWIG_arg_fail(1)) SWIG_fail
;
43074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43075 if (SWIG_arg_fail(2)) SWIG_fail
;
43077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43078 result
= (arg1
)->GetItemSpan(arg2
);
43080 wxPyEndAllowThreads(__tstate
);
43081 if (PyErr_Occurred()) SWIG_fail
;
43084 wxGBSpan
* resultptr
;
43085 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43094 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43095 PyObject
*resultobj
;
43096 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43099 PyObject
* obj0
= 0 ;
43100 PyObject
* obj1
= 0 ;
43102 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43104 if (SWIG_arg_fail(1)) SWIG_fail
;
43106 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43107 if (SWIG_arg_fail(2)) SWIG_fail
;
43110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43111 result
= (arg1
)->GetItemSpan(arg2
);
43113 wxPyEndAllowThreads(__tstate
);
43114 if (PyErr_Occurred()) SWIG_fail
;
43117 wxGBSpan
* resultptr
;
43118 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43127 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43132 argc
= PyObject_Length(args
);
43133 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43134 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43140 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43150 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43158 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43166 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43176 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43184 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43192 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43200 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43202 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43207 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43212 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43213 PyObject
*resultobj
;
43214 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43215 wxWindow
*arg2
= (wxWindow
*) 0 ;
43216 wxGBSpan
*arg3
= 0 ;
43219 PyObject
* obj0
= 0 ;
43220 PyObject
* obj1
= 0 ;
43221 PyObject
* obj2
= 0 ;
43223 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43225 if (SWIG_arg_fail(1)) SWIG_fail
;
43226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43227 if (SWIG_arg_fail(2)) SWIG_fail
;
43230 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43234 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43236 wxPyEndAllowThreads(__tstate
);
43237 if (PyErr_Occurred()) SWIG_fail
;
43240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43248 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43249 PyObject
*resultobj
;
43250 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43251 wxSizer
*arg2
= (wxSizer
*) 0 ;
43252 wxGBSpan
*arg3
= 0 ;
43255 PyObject
* obj0
= 0 ;
43256 PyObject
* obj1
= 0 ;
43257 PyObject
* obj2
= 0 ;
43259 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43261 if (SWIG_arg_fail(1)) SWIG_fail
;
43262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43263 if (SWIG_arg_fail(2)) SWIG_fail
;
43266 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43270 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43272 wxPyEndAllowThreads(__tstate
);
43273 if (PyErr_Occurred()) SWIG_fail
;
43276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43284 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43285 PyObject
*resultobj
;
43286 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43288 wxGBSpan
*arg3
= 0 ;
43291 PyObject
* obj0
= 0 ;
43292 PyObject
* obj1
= 0 ;
43293 PyObject
* obj2
= 0 ;
43295 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43297 if (SWIG_arg_fail(1)) SWIG_fail
;
43299 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43300 if (SWIG_arg_fail(2)) SWIG_fail
;
43304 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43308 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43310 wxPyEndAllowThreads(__tstate
);
43311 if (PyErr_Occurred()) SWIG_fail
;
43314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43322 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43327 argc
= PyObject_Length(args
);
43328 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43329 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43345 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43354 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43357 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43366 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43376 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43385 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43388 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43397 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43405 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43408 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43411 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43417 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43422 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43423 PyObject
*resultobj
;
43424 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43425 wxWindow
*arg2
= (wxWindow
*) 0 ;
43426 wxGBSizerItem
*result
;
43427 PyObject
* obj0
= 0 ;
43428 PyObject
* obj1
= 0 ;
43430 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43432 if (SWIG_arg_fail(1)) SWIG_fail
;
43433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43434 if (SWIG_arg_fail(2)) SWIG_fail
;
43436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43437 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43439 wxPyEndAllowThreads(__tstate
);
43440 if (PyErr_Occurred()) SWIG_fail
;
43442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43449 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43450 PyObject
*resultobj
;
43451 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43452 wxSizer
*arg2
= (wxSizer
*) 0 ;
43453 wxGBSizerItem
*result
;
43454 PyObject
* obj0
= 0 ;
43455 PyObject
* obj1
= 0 ;
43457 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43459 if (SWIG_arg_fail(1)) SWIG_fail
;
43460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43461 if (SWIG_arg_fail(2)) SWIG_fail
;
43463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43464 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43466 wxPyEndAllowThreads(__tstate
);
43467 if (PyErr_Occurred()) SWIG_fail
;
43469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43476 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43481 argc
= PyObject_Length(args
);
43482 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43483 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43489 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43499 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43507 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43515 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43525 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43533 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43538 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43543 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43544 PyObject
*resultobj
;
43545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43546 wxGBPosition
*arg2
= 0 ;
43547 wxGBSizerItem
*result
;
43548 wxGBPosition temp2
;
43549 PyObject
* obj0
= 0 ;
43550 PyObject
* obj1
= 0 ;
43551 char *kwnames
[] = {
43552 (char *) "self",(char *) "pos", NULL
43555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43557 if (SWIG_arg_fail(1)) SWIG_fail
;
43560 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43564 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43566 wxPyEndAllowThreads(__tstate
);
43567 if (PyErr_Occurred()) SWIG_fail
;
43569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43576 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43577 PyObject
*resultobj
;
43578 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43579 wxPoint
*arg2
= 0 ;
43580 wxGBSizerItem
*result
;
43582 PyObject
* obj0
= 0 ;
43583 PyObject
* obj1
= 0 ;
43584 char *kwnames
[] = {
43585 (char *) "self",(char *) "pt", NULL
43588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43590 if (SWIG_arg_fail(1)) SWIG_fail
;
43593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43597 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43599 wxPyEndAllowThreads(__tstate
);
43600 if (PyErr_Occurred()) SWIG_fail
;
43602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43609 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43610 PyObject
*resultobj
;
43611 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43612 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43613 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43615 PyObject
* obj0
= 0 ;
43616 PyObject
* obj1
= 0 ;
43617 PyObject
* obj2
= 0 ;
43618 char *kwnames
[] = {
43619 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43624 if (SWIG_arg_fail(1)) SWIG_fail
;
43625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43626 if (SWIG_arg_fail(2)) SWIG_fail
;
43628 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43629 if (SWIG_arg_fail(3)) SWIG_fail
;
43632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43633 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43635 wxPyEndAllowThreads(__tstate
);
43636 if (PyErr_Occurred()) SWIG_fail
;
43639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43647 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43648 PyObject
*resultobj
;
43649 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43650 wxGBPosition
*arg2
= 0 ;
43651 wxGBSpan
*arg3
= 0 ;
43652 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43654 wxGBPosition temp2
;
43656 PyObject
* obj0
= 0 ;
43657 PyObject
* obj1
= 0 ;
43658 PyObject
* obj2
= 0 ;
43659 PyObject
* obj3
= 0 ;
43660 char *kwnames
[] = {
43661 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43666 if (SWIG_arg_fail(1)) SWIG_fail
;
43669 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43673 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43676 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43677 if (SWIG_arg_fail(4)) SWIG_fail
;
43680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43681 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43683 wxPyEndAllowThreads(__tstate
);
43684 if (PyErr_Occurred()) SWIG_fail
;
43687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43695 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43698 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43700 return Py_BuildValue((char *)"");
43702 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43703 PyObject
*resultobj
;
43704 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43705 wxRelationship arg2
;
43706 wxWindow
*arg3
= (wxWindow
*) 0 ;
43708 int arg5
= (int) 0 ;
43709 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43710 PyObject
* obj0
= 0 ;
43711 PyObject
* obj1
= 0 ;
43712 PyObject
* obj2
= 0 ;
43713 PyObject
* obj3
= 0 ;
43714 PyObject
* obj4
= 0 ;
43715 PyObject
* obj5
= 0 ;
43716 char *kwnames
[] = {
43717 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43722 if (SWIG_arg_fail(1)) SWIG_fail
;
43724 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43725 if (SWIG_arg_fail(2)) SWIG_fail
;
43727 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43728 if (SWIG_arg_fail(3)) SWIG_fail
;
43730 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43731 if (SWIG_arg_fail(4)) SWIG_fail
;
43735 arg5
= (int)(SWIG_As_int(obj4
));
43736 if (SWIG_arg_fail(5)) SWIG_fail
;
43741 arg6
= (int)(SWIG_As_int(obj5
));
43742 if (SWIG_arg_fail(6)) SWIG_fail
;
43746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43747 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43749 wxPyEndAllowThreads(__tstate
);
43750 if (PyErr_Occurred()) SWIG_fail
;
43752 Py_INCREF(Py_None
); resultobj
= Py_None
;
43759 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43760 PyObject
*resultobj
;
43761 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43762 wxWindow
*arg2
= (wxWindow
*) 0 ;
43763 int arg3
= (int) 0 ;
43764 PyObject
* obj0
= 0 ;
43765 PyObject
* obj1
= 0 ;
43766 PyObject
* obj2
= 0 ;
43767 char *kwnames
[] = {
43768 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43773 if (SWIG_arg_fail(1)) SWIG_fail
;
43774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43775 if (SWIG_arg_fail(2)) SWIG_fail
;
43778 arg3
= (int)(SWIG_As_int(obj2
));
43779 if (SWIG_arg_fail(3)) SWIG_fail
;
43783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43784 (arg1
)->LeftOf(arg2
,arg3
);
43786 wxPyEndAllowThreads(__tstate
);
43787 if (PyErr_Occurred()) SWIG_fail
;
43789 Py_INCREF(Py_None
); resultobj
= Py_None
;
43796 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43797 PyObject
*resultobj
;
43798 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43799 wxWindow
*arg2
= (wxWindow
*) 0 ;
43800 int arg3
= (int) 0 ;
43801 PyObject
* obj0
= 0 ;
43802 PyObject
* obj1
= 0 ;
43803 PyObject
* obj2
= 0 ;
43804 char *kwnames
[] = {
43805 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43810 if (SWIG_arg_fail(1)) SWIG_fail
;
43811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43812 if (SWIG_arg_fail(2)) SWIG_fail
;
43815 arg3
= (int)(SWIG_As_int(obj2
));
43816 if (SWIG_arg_fail(3)) SWIG_fail
;
43820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43821 (arg1
)->RightOf(arg2
,arg3
);
43823 wxPyEndAllowThreads(__tstate
);
43824 if (PyErr_Occurred()) SWIG_fail
;
43826 Py_INCREF(Py_None
); resultobj
= Py_None
;
43833 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43834 PyObject
*resultobj
;
43835 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43836 wxWindow
*arg2
= (wxWindow
*) 0 ;
43837 int arg3
= (int) 0 ;
43838 PyObject
* obj0
= 0 ;
43839 PyObject
* obj1
= 0 ;
43840 PyObject
* obj2
= 0 ;
43841 char *kwnames
[] = {
43842 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43847 if (SWIG_arg_fail(1)) SWIG_fail
;
43848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43849 if (SWIG_arg_fail(2)) SWIG_fail
;
43852 arg3
= (int)(SWIG_As_int(obj2
));
43853 if (SWIG_arg_fail(3)) SWIG_fail
;
43857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43858 (arg1
)->Above(arg2
,arg3
);
43860 wxPyEndAllowThreads(__tstate
);
43861 if (PyErr_Occurred()) SWIG_fail
;
43863 Py_INCREF(Py_None
); resultobj
= Py_None
;
43870 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43871 PyObject
*resultobj
;
43872 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43873 wxWindow
*arg2
= (wxWindow
*) 0 ;
43874 int arg3
= (int) 0 ;
43875 PyObject
* obj0
= 0 ;
43876 PyObject
* obj1
= 0 ;
43877 PyObject
* obj2
= 0 ;
43878 char *kwnames
[] = {
43879 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43884 if (SWIG_arg_fail(1)) SWIG_fail
;
43885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43886 if (SWIG_arg_fail(2)) SWIG_fail
;
43889 arg3
= (int)(SWIG_As_int(obj2
));
43890 if (SWIG_arg_fail(3)) SWIG_fail
;
43894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43895 (arg1
)->Below(arg2
,arg3
);
43897 wxPyEndAllowThreads(__tstate
);
43898 if (PyErr_Occurred()) SWIG_fail
;
43900 Py_INCREF(Py_None
); resultobj
= Py_None
;
43907 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43908 PyObject
*resultobj
;
43909 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43910 wxWindow
*arg2
= (wxWindow
*) 0 ;
43912 int arg4
= (int) 0 ;
43913 PyObject
* obj0
= 0 ;
43914 PyObject
* obj1
= 0 ;
43915 PyObject
* obj2
= 0 ;
43916 PyObject
* obj3
= 0 ;
43917 char *kwnames
[] = {
43918 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43923 if (SWIG_arg_fail(1)) SWIG_fail
;
43924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43925 if (SWIG_arg_fail(2)) SWIG_fail
;
43927 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43928 if (SWIG_arg_fail(3)) SWIG_fail
;
43932 arg4
= (int)(SWIG_As_int(obj3
));
43933 if (SWIG_arg_fail(4)) SWIG_fail
;
43937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43938 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43940 wxPyEndAllowThreads(__tstate
);
43941 if (PyErr_Occurred()) SWIG_fail
;
43943 Py_INCREF(Py_None
); resultobj
= Py_None
;
43950 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43951 PyObject
*resultobj
;
43952 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43953 wxWindow
*arg2
= (wxWindow
*) 0 ;
43956 PyObject
* obj0
= 0 ;
43957 PyObject
* obj1
= 0 ;
43958 PyObject
* obj2
= 0 ;
43959 PyObject
* obj3
= 0 ;
43960 char *kwnames
[] = {
43961 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43966 if (SWIG_arg_fail(1)) SWIG_fail
;
43967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43968 if (SWIG_arg_fail(2)) SWIG_fail
;
43970 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43971 if (SWIG_arg_fail(3)) SWIG_fail
;
43974 arg4
= (int)(SWIG_As_int(obj3
));
43975 if (SWIG_arg_fail(4)) SWIG_fail
;
43978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43979 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43981 wxPyEndAllowThreads(__tstate
);
43982 if (PyErr_Occurred()) SWIG_fail
;
43984 Py_INCREF(Py_None
); resultobj
= Py_None
;
43991 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43992 PyObject
*resultobj
;
43993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43995 PyObject
* obj0
= 0 ;
43996 PyObject
* obj1
= 0 ;
43997 char *kwnames
[] = {
43998 (char *) "self",(char *) "val", NULL
44001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44003 if (SWIG_arg_fail(1)) SWIG_fail
;
44005 arg2
= (int)(SWIG_As_int(obj1
));
44006 if (SWIG_arg_fail(2)) SWIG_fail
;
44009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44010 (arg1
)->Absolute(arg2
);
44012 wxPyEndAllowThreads(__tstate
);
44013 if (PyErr_Occurred()) SWIG_fail
;
44015 Py_INCREF(Py_None
); resultobj
= Py_None
;
44022 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44023 PyObject
*resultobj
;
44024 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44025 PyObject
* obj0
= 0 ;
44026 char *kwnames
[] = {
44027 (char *) "self", NULL
44030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44032 if (SWIG_arg_fail(1)) SWIG_fail
;
44034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44035 (arg1
)->Unconstrained();
44037 wxPyEndAllowThreads(__tstate
);
44038 if (PyErr_Occurred()) SWIG_fail
;
44040 Py_INCREF(Py_None
); resultobj
= Py_None
;
44047 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44048 PyObject
*resultobj
;
44049 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44050 PyObject
* obj0
= 0 ;
44051 char *kwnames
[] = {
44052 (char *) "self", NULL
44055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44057 if (SWIG_arg_fail(1)) SWIG_fail
;
44059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44062 wxPyEndAllowThreads(__tstate
);
44063 if (PyErr_Occurred()) SWIG_fail
;
44065 Py_INCREF(Py_None
); resultobj
= Py_None
;
44072 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44073 PyObject
*resultobj
;
44074 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44076 PyObject
* obj0
= 0 ;
44077 char *kwnames
[] = {
44078 (char *) "self", NULL
44081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44083 if (SWIG_arg_fail(1)) SWIG_fail
;
44085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44086 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44088 wxPyEndAllowThreads(__tstate
);
44089 if (PyErr_Occurred()) SWIG_fail
;
44092 resultobj
= wxPyMake_wxObject(result
, 0);
44100 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44101 PyObject
*resultobj
;
44102 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44104 PyObject
* obj0
= 0 ;
44105 char *kwnames
[] = {
44106 (char *) "self", NULL
44109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44111 if (SWIG_arg_fail(1)) SWIG_fail
;
44113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44114 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44116 wxPyEndAllowThreads(__tstate
);
44117 if (PyErr_Occurred()) SWIG_fail
;
44119 resultobj
= SWIG_From_int((result
));
44126 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44127 PyObject
*resultobj
;
44128 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44130 PyObject
* obj0
= 0 ;
44131 PyObject
* obj1
= 0 ;
44132 char *kwnames
[] = {
44133 (char *) "self",(char *) "which", NULL
44136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44138 if (SWIG_arg_fail(1)) SWIG_fail
;
44140 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44141 if (SWIG_arg_fail(2)) SWIG_fail
;
44144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44145 (arg1
)->SetEdge((wxEdge
)arg2
);
44147 wxPyEndAllowThreads(__tstate
);
44148 if (PyErr_Occurred()) SWIG_fail
;
44150 Py_INCREF(Py_None
); resultobj
= Py_None
;
44157 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44158 PyObject
*resultobj
;
44159 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44161 PyObject
* obj0
= 0 ;
44162 PyObject
* obj1
= 0 ;
44163 char *kwnames
[] = {
44164 (char *) "self",(char *) "v", NULL
44167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44169 if (SWIG_arg_fail(1)) SWIG_fail
;
44171 arg2
= (int)(SWIG_As_int(obj1
));
44172 if (SWIG_arg_fail(2)) SWIG_fail
;
44175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44176 (arg1
)->SetValue(arg2
);
44178 wxPyEndAllowThreads(__tstate
);
44179 if (PyErr_Occurred()) SWIG_fail
;
44181 Py_INCREF(Py_None
); resultobj
= Py_None
;
44188 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44189 PyObject
*resultobj
;
44190 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44192 PyObject
* obj0
= 0 ;
44193 char *kwnames
[] = {
44194 (char *) "self", NULL
44197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44199 if (SWIG_arg_fail(1)) SWIG_fail
;
44201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44202 result
= (int)(arg1
)->GetMargin();
44204 wxPyEndAllowThreads(__tstate
);
44205 if (PyErr_Occurred()) SWIG_fail
;
44208 resultobj
= SWIG_From_int((int)(result
));
44216 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44217 PyObject
*resultobj
;
44218 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44220 PyObject
* obj0
= 0 ;
44221 PyObject
* obj1
= 0 ;
44222 char *kwnames
[] = {
44223 (char *) "self",(char *) "m", NULL
44226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44228 if (SWIG_arg_fail(1)) SWIG_fail
;
44230 arg2
= (int)(SWIG_As_int(obj1
));
44231 if (SWIG_arg_fail(2)) SWIG_fail
;
44234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44235 (arg1
)->SetMargin(arg2
);
44237 wxPyEndAllowThreads(__tstate
);
44238 if (PyErr_Occurred()) SWIG_fail
;
44240 Py_INCREF(Py_None
); resultobj
= Py_None
;
44247 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44248 PyObject
*resultobj
;
44249 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44251 PyObject
* obj0
= 0 ;
44252 char *kwnames
[] = {
44253 (char *) "self", NULL
44256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44258 if (SWIG_arg_fail(1)) SWIG_fail
;
44260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44261 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44263 wxPyEndAllowThreads(__tstate
);
44264 if (PyErr_Occurred()) SWIG_fail
;
44267 resultobj
= SWIG_From_int((int)(result
));
44275 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44276 PyObject
*resultobj
;
44277 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44279 PyObject
* obj0
= 0 ;
44280 char *kwnames
[] = {
44281 (char *) "self", NULL
44284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44286 if (SWIG_arg_fail(1)) SWIG_fail
;
44288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44289 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44291 wxPyEndAllowThreads(__tstate
);
44292 if (PyErr_Occurred()) SWIG_fail
;
44295 resultobj
= SWIG_From_int((int)(result
));
44303 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44304 PyObject
*resultobj
;
44305 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44307 PyObject
* obj0
= 0 ;
44308 char *kwnames
[] = {
44309 (char *) "self", NULL
44312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44314 if (SWIG_arg_fail(1)) SWIG_fail
;
44316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44317 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44319 wxPyEndAllowThreads(__tstate
);
44320 if (PyErr_Occurred()) SWIG_fail
;
44323 resultobj
= SWIG_From_int((int)(result
));
44331 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44332 PyObject
*resultobj
;
44333 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44335 PyObject
* obj0
= 0 ;
44336 char *kwnames
[] = {
44337 (char *) "self", NULL
44340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44342 if (SWIG_arg_fail(1)) SWIG_fail
;
44344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44345 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44347 wxPyEndAllowThreads(__tstate
);
44348 if (PyErr_Occurred()) SWIG_fail
;
44351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44359 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44360 PyObject
*resultobj
;
44361 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44363 PyObject
* obj0
= 0 ;
44364 PyObject
* obj1
= 0 ;
44365 char *kwnames
[] = {
44366 (char *) "self",(char *) "d", NULL
44369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44371 if (SWIG_arg_fail(1)) SWIG_fail
;
44373 arg2
= (bool)(SWIG_As_bool(obj1
));
44374 if (SWIG_arg_fail(2)) SWIG_fail
;
44377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44378 (arg1
)->SetDone(arg2
);
44380 wxPyEndAllowThreads(__tstate
);
44381 if (PyErr_Occurred()) SWIG_fail
;
44383 Py_INCREF(Py_None
); resultobj
= Py_None
;
44390 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44391 PyObject
*resultobj
;
44392 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44393 wxRelationship result
;
44394 PyObject
* obj0
= 0 ;
44395 char *kwnames
[] = {
44396 (char *) "self", NULL
44399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44401 if (SWIG_arg_fail(1)) SWIG_fail
;
44403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44404 result
= (wxRelationship
)(arg1
)->GetRelationship();
44406 wxPyEndAllowThreads(__tstate
);
44407 if (PyErr_Occurred()) SWIG_fail
;
44409 resultobj
= SWIG_From_int((result
));
44416 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44417 PyObject
*resultobj
;
44418 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44419 wxRelationship arg2
;
44420 PyObject
* obj0
= 0 ;
44421 PyObject
* obj1
= 0 ;
44422 char *kwnames
[] = {
44423 (char *) "self",(char *) "r", NULL
44426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44428 if (SWIG_arg_fail(1)) SWIG_fail
;
44430 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44431 if (SWIG_arg_fail(2)) SWIG_fail
;
44434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44435 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44437 wxPyEndAllowThreads(__tstate
);
44438 if (PyErr_Occurred()) SWIG_fail
;
44440 Py_INCREF(Py_None
); resultobj
= Py_None
;
44447 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44448 PyObject
*resultobj
;
44449 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44450 wxWindow
*arg2
= (wxWindow
*) 0 ;
44452 PyObject
* obj0
= 0 ;
44453 PyObject
* obj1
= 0 ;
44454 char *kwnames
[] = {
44455 (char *) "self",(char *) "otherW", NULL
44458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44460 if (SWIG_arg_fail(1)) SWIG_fail
;
44461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44462 if (SWIG_arg_fail(2)) SWIG_fail
;
44464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44465 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44467 wxPyEndAllowThreads(__tstate
);
44468 if (PyErr_Occurred()) SWIG_fail
;
44471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44479 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44480 PyObject
*resultobj
;
44481 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44482 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44483 wxWindow
*arg3
= (wxWindow
*) 0 ;
44485 PyObject
* obj0
= 0 ;
44486 PyObject
* obj1
= 0 ;
44487 PyObject
* obj2
= 0 ;
44488 char *kwnames
[] = {
44489 (char *) "self",(char *) "constraints",(char *) "win", NULL
44492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44494 if (SWIG_arg_fail(1)) SWIG_fail
;
44495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44496 if (SWIG_arg_fail(2)) SWIG_fail
;
44497 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44498 if (SWIG_arg_fail(3)) SWIG_fail
;
44500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44501 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44503 wxPyEndAllowThreads(__tstate
);
44504 if (PyErr_Occurred()) SWIG_fail
;
44507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44515 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44516 PyObject
*resultobj
;
44517 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44519 wxWindow
*arg3
= (wxWindow
*) 0 ;
44520 wxWindow
*arg4
= (wxWindow
*) 0 ;
44522 PyObject
* obj0
= 0 ;
44523 PyObject
* obj1
= 0 ;
44524 PyObject
* obj2
= 0 ;
44525 PyObject
* obj3
= 0 ;
44526 char *kwnames
[] = {
44527 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44532 if (SWIG_arg_fail(1)) SWIG_fail
;
44534 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44535 if (SWIG_arg_fail(2)) SWIG_fail
;
44537 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44538 if (SWIG_arg_fail(3)) SWIG_fail
;
44539 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44540 if (SWIG_arg_fail(4)) SWIG_fail
;
44542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44543 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44545 wxPyEndAllowThreads(__tstate
);
44546 if (PyErr_Occurred()) SWIG_fail
;
44549 resultobj
= SWIG_From_int((int)(result
));
44557 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44560 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44562 return Py_BuildValue((char *)"");
44564 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44565 PyObject
*resultobj
;
44566 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44567 wxIndividualLayoutConstraint
*result
;
44568 PyObject
* obj0
= 0 ;
44569 char *kwnames
[] = {
44570 (char *) "self", NULL
44573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44575 if (SWIG_arg_fail(1)) SWIG_fail
;
44576 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44585 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44586 PyObject
*resultobj
;
44587 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44588 wxIndividualLayoutConstraint
*result
;
44589 PyObject
* obj0
= 0 ;
44590 char *kwnames
[] = {
44591 (char *) "self", NULL
44594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44596 if (SWIG_arg_fail(1)) SWIG_fail
;
44597 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44606 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44607 PyObject
*resultobj
;
44608 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44609 wxIndividualLayoutConstraint
*result
;
44610 PyObject
* obj0
= 0 ;
44611 char *kwnames
[] = {
44612 (char *) "self", NULL
44615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44617 if (SWIG_arg_fail(1)) SWIG_fail
;
44618 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44627 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44628 PyObject
*resultobj
;
44629 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44630 wxIndividualLayoutConstraint
*result
;
44631 PyObject
* obj0
= 0 ;
44632 char *kwnames
[] = {
44633 (char *) "self", NULL
44636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44638 if (SWIG_arg_fail(1)) SWIG_fail
;
44639 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44648 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44649 PyObject
*resultobj
;
44650 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44651 wxIndividualLayoutConstraint
*result
;
44652 PyObject
* obj0
= 0 ;
44653 char *kwnames
[] = {
44654 (char *) "self", NULL
44657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44659 if (SWIG_arg_fail(1)) SWIG_fail
;
44660 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44669 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44670 PyObject
*resultobj
;
44671 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44672 wxIndividualLayoutConstraint
*result
;
44673 PyObject
* obj0
= 0 ;
44674 char *kwnames
[] = {
44675 (char *) "self", NULL
44678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44680 if (SWIG_arg_fail(1)) SWIG_fail
;
44681 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44690 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44691 PyObject
*resultobj
;
44692 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44693 wxIndividualLayoutConstraint
*result
;
44694 PyObject
* obj0
= 0 ;
44695 char *kwnames
[] = {
44696 (char *) "self", NULL
44699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44701 if (SWIG_arg_fail(1)) SWIG_fail
;
44702 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44711 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44712 PyObject
*resultobj
;
44713 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44714 wxIndividualLayoutConstraint
*result
;
44715 PyObject
* obj0
= 0 ;
44716 char *kwnames
[] = {
44717 (char *) "self", NULL
44720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44722 if (SWIG_arg_fail(1)) SWIG_fail
;
44723 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44732 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44733 PyObject
*resultobj
;
44734 wxLayoutConstraints
*result
;
44735 char *kwnames
[] = {
44739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44742 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44744 wxPyEndAllowThreads(__tstate
);
44745 if (PyErr_Occurred()) SWIG_fail
;
44747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44754 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44755 PyObject
*resultobj
;
44756 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44757 wxWindow
*arg2
= (wxWindow
*) 0 ;
44758 int *arg3
= (int *) 0 ;
44762 PyObject
* obj0
= 0 ;
44763 PyObject
* obj1
= 0 ;
44764 char *kwnames
[] = {
44765 (char *) "self",(char *) "win", NULL
44768 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44771 if (SWIG_arg_fail(1)) SWIG_fail
;
44772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44773 if (SWIG_arg_fail(2)) SWIG_fail
;
44775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44776 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44778 wxPyEndAllowThreads(__tstate
);
44779 if (PyErr_Occurred()) SWIG_fail
;
44782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44784 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44785 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44792 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44793 PyObject
*resultobj
;
44794 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44796 PyObject
* obj0
= 0 ;
44797 char *kwnames
[] = {
44798 (char *) "self", NULL
44801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44803 if (SWIG_arg_fail(1)) SWIG_fail
;
44805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44806 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44808 wxPyEndAllowThreads(__tstate
);
44809 if (PyErr_Occurred()) SWIG_fail
;
44812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44820 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44823 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44825 return Py_BuildValue((char *)"");
44827 static PyMethodDef SwigMethods
[] = {
44828 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44829 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44830 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44833 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44854 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44867 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44882 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44935 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44963 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44982 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44984 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44992 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44993 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45005 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45017 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45021 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45027 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45037 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45047 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45051 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45126 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45128 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45130 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45132 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45134 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45136 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45138 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45140 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45142 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45144 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45146 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45148 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45150 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45164 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45182 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45185 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45188 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45200 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45205 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45211 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45217 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45280 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45287 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45323 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45333 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45339 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45341 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45343 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45346 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45350 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45353 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45356 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45358 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45363 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45371 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45375 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45378 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45380 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45384 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45401 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45403 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45408 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45412 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45416 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45430 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45433 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45437 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45444 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45449 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45458 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45503 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45523 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45530 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45534 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45544 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45716 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45756 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45770 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45773 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45828 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45855 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45899 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45907 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45926 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45927 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45964 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45994 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45997 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46001 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46004 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46014 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46026 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46038 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46048 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46058 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46072 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46079 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46080 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46081 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46082 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46083 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46088 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46115 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46127 { NULL
, NULL
, 0, NULL
}
46131 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46133 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46134 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46136 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46137 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46139 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46140 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46142 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46143 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46145 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46146 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46148 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46149 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46151 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46152 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46154 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46155 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46157 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46158 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46160 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46161 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46163 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46166 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46167 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46169 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46170 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46172 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46173 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46175 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46176 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46178 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46179 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46181 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46182 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46184 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46187 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46188 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46190 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46193 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46194 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46196 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46199 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46200 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46202 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46203 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46205 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46206 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46208 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46209 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46211 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46212 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46214 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46215 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46217 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46220 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46221 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46223 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46224 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46226 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46229 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46230 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46232 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46233 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46235 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46236 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46238 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46239 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46241 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46242 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46244 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46245 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46247 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46248 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46250 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46251 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46253 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46254 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46256 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46257 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46259 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46262 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46263 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46265 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46266 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46268 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46269 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46271 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46272 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46274 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46275 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46277 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46278 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46280 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46281 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46283 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46284 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46286 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46287 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46289 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46290 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46292 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46295 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46296 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46298 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46299 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46301 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46302 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46304 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46305 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46307 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46308 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46310 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46311 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46313 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46314 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46316 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46317 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46319 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46320 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46322 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46323 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46325 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46326 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46328 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46329 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46331 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46332 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46334 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46335 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46337 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46338 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46340 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46341 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46343 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46344 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46346 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46347 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46349 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46350 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46352 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46353 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46355 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46356 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46358 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46359 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46361 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46362 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46364 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46365 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46367 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46368 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46370 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46371 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46373 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46374 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46376 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46377 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46379 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46380 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46382 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46385 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46386 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46388 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46389 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46391 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46392 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46394 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46395 return (void *)((wxObject
*) ((wxSizer
*) x
));
46397 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46398 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46400 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46403 static void *_p_wxEventTo_p_wxObject(void *x
) {
46404 return (void *)((wxObject
*) ((wxEvent
*) x
));
46406 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46407 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46409 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46410 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46412 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46413 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46415 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46416 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46418 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46419 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46421 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46422 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46424 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46425 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46427 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46428 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46430 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46431 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46433 static void *_p_wxControlTo_p_wxObject(void *x
) {
46434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46436 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46437 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46439 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46440 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46442 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46443 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46445 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46446 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46448 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46451 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46452 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46454 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46455 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46457 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46460 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46461 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46463 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46464 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46466 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46467 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46469 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46470 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46472 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46473 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46475 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46476 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46478 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46479 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46481 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46482 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46484 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46487 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46488 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46490 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46491 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46493 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46494 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46496 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46497 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46499 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46500 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46502 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46503 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46505 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46506 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46508 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46509 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46511 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46512 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46514 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46515 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46517 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46518 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46520 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46521 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46523 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46524 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46526 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46527 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46529 static void *_p_wxImageTo_p_wxObject(void *x
) {
46530 return (void *)((wxObject
*) ((wxImage
*) x
));
46532 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46533 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46535 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46538 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46539 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46541 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46542 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46544 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46545 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46547 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46548 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46550 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46553 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46554 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46556 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46559 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46560 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46562 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46563 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46565 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46566 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46568 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46569 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46571 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46572 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46574 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46577 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46578 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46580 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46581 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46583 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46584 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46586 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46589 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46592 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46595 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46596 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46598 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46599 return (void *)((wxWindow
*) ((wxControl
*) x
));
46601 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46602 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46604 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46605 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46607 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46608 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46610 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46611 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46613 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46614 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46616 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46617 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46619 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46620 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46622 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46623 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46625 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46626 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46628 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46629 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46631 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46632 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46634 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46635 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46637 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}};
46638 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}};
46639 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}};
46640 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}};
46641 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}};
46642 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}};
46643 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}};
46644 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}};
46645 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}};
46646 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}};
46647 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}};
46648 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}};
46649 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}};
46650 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}};
46651 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}};
46652 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}};
46653 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}};
46654 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}};
46655 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}};
46656 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}};
46657 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}};
46658 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}};
46659 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}};
46660 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}};
46661 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}};
46662 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}};
46663 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}};
46664 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}};
46665 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}};
46666 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}};
46667 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}};
46668 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}};
46669 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}};
46670 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}};
46671 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}};
46672 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}};
46673 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}};
46674 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}};
46675 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}};
46676 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}};
46677 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}};
46678 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}};
46679 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}};
46680 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}};
46681 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}};
46682 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}};
46683 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}};
46684 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}};
46685 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}};
46686 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}};
46687 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}};
46688 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}};
46689 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}};
46690 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}};
46691 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}};
46692 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}};
46693 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}};
46694 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}};
46695 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}};
46696 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}};
46697 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}};
46698 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}};
46699 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}};
46700 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}};
46701 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}};
46702 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}};
46703 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}};
46704 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}};
46705 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}};
46706 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}};
46707 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}};
46708 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}};
46709 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}};
46710 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}};
46711 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}};
46712 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}};
46713 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}};
46714 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}};
46715 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}};
46716 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}};
46717 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}};
46718 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}};
46719 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}};
46720 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}};
46721 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}};
46722 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}};
46723 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}};
46724 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}};
46725 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}};
46726 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}};
46727 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}};
46728 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}};
46729 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}};
46730 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}};
46731 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}};
46732 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}};
46733 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}};
46734 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}};
46735 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}};
46736 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}};
46737 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}};
46738 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}};
46739 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}};
46740 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}};
46741 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}};
46742 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}};
46743 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}};
46744 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}};
46745 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}};
46746 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}};
46747 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}};
46748 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46749 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}};
46750 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}};
46751 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}};
46752 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}};
46753 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}};
46754 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}};
46755 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}};
46756 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}};
46757 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}};
46758 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}};
46759 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}};
46760 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}};
46761 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}};
46762 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}};
46763 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}};
46765 static swig_type_info
*swig_types_initial
[] = {
46766 _swigt__p_wxLayoutConstraints
,
46767 _swigt__p_wxRealPoint
,
46768 _swigt__p_wxSizerItem
,
46769 _swigt__p_wxGBSizerItem
,
46770 _swigt__p_wxScrollEvent
,
46771 _swigt__p_wxEventLoop
,
46772 _swigt__p_wxIndividualLayoutConstraint
,
46774 _swigt__p_wxBoxSizer
,
46775 _swigt__p_wxStaticBoxSizer
,
46776 _swigt__p_wxGridBagSizer
,
46777 _swigt__p_wxAcceleratorEntry
,
46778 _swigt__p_wxUpdateUIEvent
,
46781 _swigt__p_wxGridSizer
,
46782 _swigt__p_wxFlexGridSizer
,
46783 _swigt__p_wxInitDialogEvent
,
46784 _swigt__p_wxItemContainer
,
46785 _swigt__p_wxNcPaintEvent
,
46786 _swigt__p_wxPaintEvent
,
46787 _swigt__p_wxSysColourChangedEvent
,
46788 _swigt__p_wxMouseCaptureChangedEvent
,
46789 _swigt__p_wxDisplayChangedEvent
,
46790 _swigt__p_wxPaletteChangedEvent
,
46791 _swigt__p_wxControl
,
46793 _swigt__p_wxMenuBarBase
,
46794 _swigt__p_wxSetCursorEvent
,
46795 _swigt__p_wxFSFile
,
46798 _swigt__std__ptrdiff_t
,
46799 _swigt__p_wxRegion
,
46800 _swigt__p_wxPoint2D
,
46804 _swigt__p_wxPySizer
,
46805 _swigt__p_wxVisualAttributes
,
46806 _swigt__p_wxNotifyEvent
,
46807 _swigt__p_wxPyEvent
,
46808 _swigt__p_wxPropagationDisabler
,
46809 _swigt__p_form_ops_t
,
46810 _swigt__p_wxAppTraits
,
46811 _swigt__p_wxArrayString
,
46812 _swigt__p_wxShowEvent
,
46813 _swigt__p_wxToolTip
,
46814 _swigt__p_wxMoveEvent
,
46815 _swigt__p_wxSizeEvent
,
46816 _swigt__p_wxActivateEvent
,
46817 _swigt__p_wxIconizeEvent
,
46818 _swigt__p_wxMaximizeEvent
,
46819 _swigt__p_wxQueryNewPaletteEvent
,
46820 _swigt__p_wxWindowCreateEvent
,
46821 _swigt__p_wxIdleEvent
,
46822 _swigt__p_wxDateEvent
,
46823 _swigt__p_wxMenuItem
,
46824 _swigt__p_wxStaticBox
,
46826 _swigt__p_wxDuplexMode
,
46827 _swigt__p_wxTIFFHandler
,
46828 _swigt__p_wxXPMHandler
,
46829 _swigt__p_wxPNMHandler
,
46830 _swigt__p_wxJPEGHandler
,
46831 _swigt__p_wxPCXHandler
,
46832 _swigt__p_wxGIFHandler
,
46833 _swigt__p_wxPNGHandler
,
46834 _swigt__p_wxANIHandler
,
46835 _swigt__p_wxMemoryFSHandler
,
46836 _swigt__p_wxZipFSHandler
,
46837 _swigt__p_wxInternetFSHandler
,
46838 _swigt__p_wxPyFileSystemHandler
,
46839 _swigt__p_wxEvtHandler
,
46840 _swigt__p_wxCURHandler
,
46841 _swigt__p_wxICOHandler
,
46842 _swigt__p_wxBMPHandler
,
46843 _swigt__p_wxImageHandler
,
46844 _swigt__p_wxFileSystemHandler
,
46846 _swigt__p_wxButton
,
46847 _swigt__p_wxGBSpan
,
46848 _swigt__p_wxPropagateOnce
,
46849 _swigt__p_wxAcceleratorTable
,
46850 _swigt__p_wxStdDialogButtonSizer
,
46852 _swigt__p_wxGBPosition
,
46855 _swigt__p_wxScrollWinEvent
,
46856 _swigt__p_wxPaperSize
,
46857 _swigt__p_wxImageHistogram
,
46859 _swigt__p_wxCursor
,
46860 _swigt__p_wxObject
,
46861 _swigt__p_wxInputStream
,
46862 _swigt__p_wxOutputStream
,
46863 _swigt__p_wxPyInputStream
,
46864 _swigt__p_wxDateTime
,
46865 _swigt__p_wxKeyEvent
,
46866 _swigt__p_wxNavigationKeyEvent
,
46867 _swigt__p_wxWindowDestroyEvent
,
46868 _swigt__p_unsigned_long
,
46869 _swigt__p_wxWindow
,
46870 _swigt__p_wxMenuBar
,
46871 _swigt__p_wxFileSystem
,
46872 _swigt__p_wxBitmap
,
46873 _swigt__unsigned_int
,
46874 _swigt__p_unsigned_int
,
46875 _swigt__p_wxMenuEvent
,
46876 _swigt__p_wxContextMenuEvent
,
46877 _swigt__p_unsigned_char
,
46878 _swigt__p_wxEraseEvent
,
46879 _swigt__p_wxMouseEvent
,
46880 _swigt__p_wxCloseEvent
,
46882 _swigt__p_wxCommandEvent
,
46883 _swigt__p_wxPyCommandEvent
,
46884 _swigt__p_wxPyDropTarget
,
46885 _swigt__p_wxQuantize
,
46886 _swigt__p_wxChildFocusEvent
,
46887 _swigt__p_wxFocusEvent
,
46888 _swigt__p_wxDropFilesEvent
,
46889 _swigt__p_wxControlWithItems
,
46890 _swigt__p_wxColour
,
46891 _swigt__p_wxValidator
,
46892 _swigt__p_wxPyValidator
,
46897 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46899 static swig_const_info swig_const_table
[] = {
46900 {0, 0, 0, 0.0, 0, 0}};
46911 /* Python-specific SWIG API */
46912 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46913 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46914 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46916 /* -----------------------------------------------------------------------------
46917 * global variable support code.
46918 * ----------------------------------------------------------------------------- */
46920 typedef struct swig_globalvar
{
46921 char *name
; /* Name of global variable */
46922 PyObject
*(*get_attr
)(); /* Return the current value */
46923 int (*set_attr
)(PyObject
*); /* Set the value */
46924 struct swig_globalvar
*next
;
46927 typedef struct swig_varlinkobject
{
46929 swig_globalvar
*vars
;
46930 } swig_varlinkobject
;
46933 swig_varlink_repr(swig_varlinkobject
*v
) {
46935 return PyString_FromString("<Swig global variables>");
46939 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46940 swig_globalvar
*var
;
46942 fprintf(fp
,"Swig global variables { ");
46943 for (var
= v
->vars
; var
; var
=var
->next
) {
46944 fprintf(fp
,"%s", var
->name
);
46945 if (var
->next
) fprintf(fp
,", ");
46947 fprintf(fp
," }\n");
46952 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46953 swig_globalvar
*var
= v
->vars
;
46955 if (strcmp(var
->name
,n
) == 0) {
46956 return (*var
->get_attr
)();
46960 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46965 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46966 swig_globalvar
*var
= v
->vars
;
46968 if (strcmp(var
->name
,n
) == 0) {
46969 return (*var
->set_attr
)(p
);
46973 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46977 static PyTypeObject varlinktype
= {
46978 PyObject_HEAD_INIT(0)
46979 0, /* Number of items in variable part (ob_size) */
46980 (char *)"swigvarlink", /* Type name (tp_name) */
46981 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46982 0, /* Itemsize (tp_itemsize) */
46983 0, /* Deallocator (tp_dealloc) */
46984 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46985 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46986 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46987 0, /* tp_compare */
46988 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46989 0, /* tp_as_number */
46990 0, /* tp_as_sequence */
46991 0, /* tp_as_mapping */
46995 0, /* tp_getattro */
46996 0, /* tp_setattro */
46997 0, /* tp_as_buffer */
47000 #if PY_VERSION_HEX >= 0x02000000
47001 0, /* tp_traverse */
47004 #if PY_VERSION_HEX >= 0x02010000
47005 0, /* tp_richcompare */
47006 0, /* tp_weaklistoffset */
47008 #if PY_VERSION_HEX >= 0x02020000
47009 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47011 #if PY_VERSION_HEX >= 0x02030000
47014 #ifdef COUNT_ALLOCS
47015 0,0,0,0 /* tp_alloc -> tp_next */
47019 /* Create a variable linking object for use later */
47021 SWIG_Python_newvarlink(void) {
47022 swig_varlinkobject
*result
= 0;
47023 result
= PyMem_NEW(swig_varlinkobject
,1);
47024 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47025 result
->ob_type
= &varlinktype
;
47027 result
->ob_refcnt
= 0;
47028 Py_XINCREF((PyObject
*) result
);
47029 return ((PyObject
*) result
);
47033 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47034 swig_varlinkobject
*v
;
47035 swig_globalvar
*gv
;
47036 v
= (swig_varlinkobject
*) p
;
47037 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47038 gv
->name
= (char *) malloc(strlen(name
)+1);
47039 strcpy(gv
->name
,name
);
47040 gv
->get_attr
= get_attr
;
47041 gv
->set_attr
= set_attr
;
47042 gv
->next
= v
->vars
;
47046 /* -----------------------------------------------------------------------------
47047 * constants/methods manipulation
47048 * ----------------------------------------------------------------------------- */
47050 /* Install Constants */
47052 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47055 for (i
= 0; constants
[i
].type
; i
++) {
47056 switch(constants
[i
].type
) {
47058 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47060 case SWIG_PY_FLOAT
:
47061 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47063 case SWIG_PY_STRING
:
47064 if (constants
[i
].pvalue
) {
47065 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47067 Py_INCREF(Py_None
);
47071 case SWIG_PY_POINTER
:
47072 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47074 case SWIG_PY_BINARY
:
47075 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47082 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47088 /* -----------------------------------------------------------------------------*/
47089 /* Fix SwigMethods to carry the callback ptrs when needed */
47090 /* -----------------------------------------------------------------------------*/
47093 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47094 swig_const_info
*const_table
,
47095 swig_type_info
**types
,
47096 swig_type_info
**types_initial
) {
47098 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47099 char *c
= methods
[i
].ml_doc
;
47100 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47102 swig_const_info
*ci
= 0;
47103 char *name
= c
+ 10;
47104 for (j
= 0; const_table
[j
].type
; j
++) {
47105 if (strncmp(const_table
[j
].name
, name
,
47106 strlen(const_table
[j
].name
)) == 0) {
47107 ci
= &(const_table
[j
]);
47112 size_t shift
= (ci
->ptype
) - types
;
47113 swig_type_info
*ty
= types_initial
[shift
];
47114 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47115 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47116 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47118 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47119 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47121 strncpy(buff
, "swig_ptr: ", 10);
47123 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47124 methods
[i
].ml_doc
= ndoc
;
47130 /* -----------------------------------------------------------------------------*
47131 * Initialize type list
47132 * -----------------------------------------------------------------------------*/
47134 #if PY_MAJOR_VERSION < 2
47135 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47136 is copied out of Python/modsupport.c in python version 2.3.4 */
47138 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47141 if (!PyModule_Check(m
)) {
47142 PyErr_SetString(PyExc_TypeError
,
47143 "PyModule_AddObject() needs module as first arg");
47147 PyErr_SetString(PyExc_TypeError
,
47148 "PyModule_AddObject() needs non-NULL value");
47152 dict
= PyModule_GetDict(m
);
47153 if (dict
== NULL
) {
47154 /* Internal error -- modules must have a dict! */
47155 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47156 PyModule_GetName(m
));
47159 if (PyDict_SetItemString(dict
, name
, o
))
47166 static swig_type_info
**
47167 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47168 static PyMethodDef swig_empty_runtime_method_table
[] = {
47170 NULL
, NULL
, 0, NULL
47174 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47175 swig_empty_runtime_method_table
);
47176 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47177 if (pointer
&& module) {
47178 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47180 return type_list_handle
;
47183 static swig_type_info
**
47184 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47185 swig_type_info
**type_pointer
;
47187 /* first check if module already created */
47188 type_pointer
= SWIG_Python_GetTypeListHandle();
47189 if (type_pointer
) {
47190 return type_pointer
;
47192 /* create a new module and variable */
47193 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47201 /* -----------------------------------------------------------------------------*
47202 * Partial Init method
47203 * -----------------------------------------------------------------------------*/
47205 #ifdef SWIG_LINK_RUNTIME
47209 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47215 SWIGEXPORT(void) SWIG_init(void) {
47216 static PyObject
*SWIG_globals
= 0;
47217 static int typeinit
= 0;
47220 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47222 /* Fix SwigMethods to carry the callback ptrs when needed */
47223 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47225 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47226 d
= PyModule_GetDict(m
);
47229 #ifdef SWIG_LINK_RUNTIME
47230 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47232 # ifndef SWIG_STATIC_RUNTIME
47233 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47236 for (i
= 0; swig_types_initial
[i
]; i
++) {
47237 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47241 SWIG_InstallConstants(d
,swig_const_table
);
47244 #ifndef wxPyUSE_EXPORT
47245 // Make our API structure a CObject so other modules can import it
47246 // from this module.
47247 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47248 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47253 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47256 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47259 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47262 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47265 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47268 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47271 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47274 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47277 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47280 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47283 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47286 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47289 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47292 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47295 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47298 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47301 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47304 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47307 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47310 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47313 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47316 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47319 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47322 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47325 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47328 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47331 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47334 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47337 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47340 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47343 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47346 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47349 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47352 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47355 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47358 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47361 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47364 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47367 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47370 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47373 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47376 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47379 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47382 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47385 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47388 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47391 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47394 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47397 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47400 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47403 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47406 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47409 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47412 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47415 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47418 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47421 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47424 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47427 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47430 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47433 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47436 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47439 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47442 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47445 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47448 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47451 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47454 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47457 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47460 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47463 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47466 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47469 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47472 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47475 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47478 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47481 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47484 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47487 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47490 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47493 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47496 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47499 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47502 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47505 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47508 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47511 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47514 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47517 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47520 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47523 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47526 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47529 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47532 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47535 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47538 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47541 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47544 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47547 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47550 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47553 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47556 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47559 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47562 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47565 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47568 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47571 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47574 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47577 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47580 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47583 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47586 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47589 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47592 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47595 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47598 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47601 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47604 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47607 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47610 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47613 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47616 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47619 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47622 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47625 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47628 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47631 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47634 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47637 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47640 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47643 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47646 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47649 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47652 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47655 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47658 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47661 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47664 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47667 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47670 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47673 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47676 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47679 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47682 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47685 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47688 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47691 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47694 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47697 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47700 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47703 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47706 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47709 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47712 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47715 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47718 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47721 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47724 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47727 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47730 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47733 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47736 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47739 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47742 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47745 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47748 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47751 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47754 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47757 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47760 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47763 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47766 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47769 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47772 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47775 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47778 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47781 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47784 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47787 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47790 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47793 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47796 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47799 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47802 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47805 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47808 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47811 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47814 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47817 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47820 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47823 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47826 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47829 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47832 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47835 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47838 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47841 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47844 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47847 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47850 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47853 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47856 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47859 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47862 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47865 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47868 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47871 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47874 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47877 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47880 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47883 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47886 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47889 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47892 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47895 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47898 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47901 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47904 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47907 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47910 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47913 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47916 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47919 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47922 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47925 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47928 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47931 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47934 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47937 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47940 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47943 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47946 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47949 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47952 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47955 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47958 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47961 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47964 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47967 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47970 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47973 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47976 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47979 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47982 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47985 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47988 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47991 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47994 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47997 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48000 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48003 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48006 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48009 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48012 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48015 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48018 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48021 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48024 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48027 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48030 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48033 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48036 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48039 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48042 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48045 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48048 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48051 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48054 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48057 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48060 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48063 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48066 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48069 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48072 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48075 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48078 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48081 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48084 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48087 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48090 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48093 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48096 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48099 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48102 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48105 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48108 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48111 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48114 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48117 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48120 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48123 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48126 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48129 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48132 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48135 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48138 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48141 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48144 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48147 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48150 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48153 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48156 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48159 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48162 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48165 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48168 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48171 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48174 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48177 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48180 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48183 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48186 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48189 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48192 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48195 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48198 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48201 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48204 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48207 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48210 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48213 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48216 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48219 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48222 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48225 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48228 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48231 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48234 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48237 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48240 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48243 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48246 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48249 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48252 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48255 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48258 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48261 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48264 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48267 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48270 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48273 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48276 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48279 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48282 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48285 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48288 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48291 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48294 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48297 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48300 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48303 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48306 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48309 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48312 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48315 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48318 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48321 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48324 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48327 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48330 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48333 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48336 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48339 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48342 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48345 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48348 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48351 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48354 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48357 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48360 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48363 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48366 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48369 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48372 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48375 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48378 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48381 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48384 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48387 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48390 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48393 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48396 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48399 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48402 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48405 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48408 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48411 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48414 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48417 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48420 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48423 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48426 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48429 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48432 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48435 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48438 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48441 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48444 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48447 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48450 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48453 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48456 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48459 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48462 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48465 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48468 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48471 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48474 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48477 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48480 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48483 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48486 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48489 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48492 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48495 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48498 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48501 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48504 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48507 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48510 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48513 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48516 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48519 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48522 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48525 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48528 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48531 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48534 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48537 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48540 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48543 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48546 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48549 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48552 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48555 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48558 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48561 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48564 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48567 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48570 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48573 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48576 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48579 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48582 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48585 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48588 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48591 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48594 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48597 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48600 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48603 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48606 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48609 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48612 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48615 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48618 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48621 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48624 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48627 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48630 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48633 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48636 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48639 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48642 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48645 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48648 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48651 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48654 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48657 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48660 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48663 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48666 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48669 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48672 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48675 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48678 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48681 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48684 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48687 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48690 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48693 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48696 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48699 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48702 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48705 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48708 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48711 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48714 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48717 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48720 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48723 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48726 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48729 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48732 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48735 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48738 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48741 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48744 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48747 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48750 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48753 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48756 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48759 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48762 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48765 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48768 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48771 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48774 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48777 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48780 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48783 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48786 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48789 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48792 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48795 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48798 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48801 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48804 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48807 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48810 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48813 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48816 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48819 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48822 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48825 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48828 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48831 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48834 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48837 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48840 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48843 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48846 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48849 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48852 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48855 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48857 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48858 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48860 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48863 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48866 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48869 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48872 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48875 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48878 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48881 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48884 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48887 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48890 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48893 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48896 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48899 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48902 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48905 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48908 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48911 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48914 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48917 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48920 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48923 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48926 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48929 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48932 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48935 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48938 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48941 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48944 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48947 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48950 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48953 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48956 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48959 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48962 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48965 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48968 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48971 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48974 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48977 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48980 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48983 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48986 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48989 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48992 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48995 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48998 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49001 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49004 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49007 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49010 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49012 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49013 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49015 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49018 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49021 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49024 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49027 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49029 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49030 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49031 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49032 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49033 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49034 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49035 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49036 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49037 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49038 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49040 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49043 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49045 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49046 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49047 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49048 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49049 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49050 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49052 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49055 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49058 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49061 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49064 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49067 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49070 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49073 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49076 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49079 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49082 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49085 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49088 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49091 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49094 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49097 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49099 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49100 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49101 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49102 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49103 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49104 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49105 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49106 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49107 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49108 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49110 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49111 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49112 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49113 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49114 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49115 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49118 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49119 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49120 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49121 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49122 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49123 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49124 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49125 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49126 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49127 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49128 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49129 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49130 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49131 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49132 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49133 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49134 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49135 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49136 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49137 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49138 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49139 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49140 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49141 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49142 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49143 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49144 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49145 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49146 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49147 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49148 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49149 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49150 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49151 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49152 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49153 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49154 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49155 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49156 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49157 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49158 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49159 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49160 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49161 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49162 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49163 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49164 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49165 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49166 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49167 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49168 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49169 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49170 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49171 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49172 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49173 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49174 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49175 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49176 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49177 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49178 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49179 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49180 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49181 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49182 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49183 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49184 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49185 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49186 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49187 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49188 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49189 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49190 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49191 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49192 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49193 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49194 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49195 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49196 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49197 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49198 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49199 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49200 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49201 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49202 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49203 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49204 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49205 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49208 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49209 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49210 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49211 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49212 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49214 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49217 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49220 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49223 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49226 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49229 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49232 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49235 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49238 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49241 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49244 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49247 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49250 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49252 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49254 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49257 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49260 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49263 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49266 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49269 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49271 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49272 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49274 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49277 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49280 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49283 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49286 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49288 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49289 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49291 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49294 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49297 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49299 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49301 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49304 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49307 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49310 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49313 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49316 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49319 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49322 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49325 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49328 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49331 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49334 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49337 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49340 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49343 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49346 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49349 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49352 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49355 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49358 // Initialize threading, some globals and such
49362 // Although these are defined in __version__ they need to be here too so
49363 // that an assert can be done to ensure that the wxPython and the wxWindows
49365 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49366 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49367 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));