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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2534 #define SWIG_From_unsigned_SS_int SWIG_From_long
2537 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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();
2616 void wxApp_CleanUp() {
2621 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2625 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2627 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2632 SWIG_type_error("char *", obj
);
2638 SWIGINTERN PyObject
*
2639 SWIG_FromCharPtr(const char* cptr
)
2642 size_t size
= strlen(cptr
);
2643 if (size
> INT_MAX
) {
2644 return SWIG_NewPointerObj((char*)(cptr
),
2645 SWIG_TypeQuery("char *"), 0);
2648 return PyString_FromStringAndSize(cptr
, size
);
2650 return PyString_FromString(cptr
);
2661 // A dummy class that raises an exception if used...
2665 wxEventLoop() { wxPyRaiseNotImplemented(); }
2666 int Run() { return 0; }
2667 void Exit(int rc
= 0) {}
2668 bool Pending() const { return false; }
2669 bool Dispatch() { return false; }
2670 bool IsRunning() const { return false; }
2671 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2672 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2677 #include <wx/evtloop.h>
2683 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2684 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2685 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2686 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2687 wxWindowList
& list
= self
->GetChildren();
2688 return wxPy_ConvertList(&list
);
2690 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2692 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2697 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2704 static long wxWindow_GetHandle(wxWindow
*self
){
2705 return wxPyGetWinHandle(self
);
2707 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2708 self
->AssociateHandle((WXWidget
)handle
);
2711 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2712 return wxWindow::FindWindowById(id
, parent
);
2715 wxWindow
* wxFindWindowByName( const wxString
& name
,
2716 const wxWindow
*parent
= NULL
) {
2717 return wxWindow::FindWindowByName(name
, parent
);
2720 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2721 const wxWindow
*parent
= NULL
) {
2722 return wxWindow::FindWindowByLabel(label
, parent
);
2727 #include <wx/msw/private.h> // to get wxGetWindowId
2731 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2733 WXHWND hWnd
= (WXHWND
)_hWnd
;
2734 long id
= wxGetWindowId(hWnd
);
2735 wxWindow
* win
= new wxWindow
;
2736 parent
->AddChild(win
);
2737 win
->SetEventHandler(win
);
2740 win
->SubclassWin(hWnd
);
2741 win
->AdoptAttributesFromHWND();
2742 win
->SetupColours();
2745 wxPyRaiseNotImplemented();
2751 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2752 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2753 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2755 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2757 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2758 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2759 wxMenuItemList
& list
= self
->GetMenuItems();
2760 return wxPy_ConvertList(&list
);
2762 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2763 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2765 wxPyClientData
* data
= new wxPyClientData(clientData
);
2766 return self
->Append(item
, data
);
2768 return self
->Append(item
);
2770 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2772 wxPyClientData
* data
= new wxPyClientData(clientData
);
2773 return self
->Insert(item
, pos
, data
);
2775 return self
->Insert(item
, pos
);
2777 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2778 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2780 Py_INCREF(data
->m_obj
);
2787 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2788 wxPyClientData
* data
= new wxPyClientData(clientData
);
2789 self
->SetClientObject(n
, data
);
2793 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2794 wxPyUserData
* data
= NULL
;
2796 bool blocked
= wxPyBeginBlockThreads();
2797 data
= new wxPyUserData(userData
);
2798 wxPyEndBlockThreads(blocked
);
2800 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2802 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2803 wxPyUserData
* data
= NULL
;
2805 bool blocked
= wxPyBeginBlockThreads();
2806 data
= new wxPyUserData(userData
);
2807 wxPyEndBlockThreads(blocked
);
2809 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2811 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2812 wxPyUserData
* data
= NULL
;
2814 bool blocked
= wxPyBeginBlockThreads();
2815 data
= new wxPyUserData(userData
);
2816 wxPyEndBlockThreads(blocked
);
2818 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2823 SWIG_CheckDoubleInRange(double value
, double min_value
,
2824 double max_value
, const char* errmsg
)
2826 if (value
< min_value
) {
2828 PyErr_Format(PyExc_OverflowError
,
2829 "value %g is less than %s minimum %g",
2830 value
, errmsg
, min_value
);
2833 } else if (value
> max_value
) {
2835 PyErr_Format(PyExc_OverflowError
,
2836 "value %g is greater than %s maximum %g",
2837 value
, errmsg
, max_value
);
2846 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2848 const char* errmsg
= val
? "float" : (char*)0;
2850 if (SWIG_AsVal_double(obj
, &v
)) {
2851 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2852 if (val
) *val
= (float)(v
);
2861 SWIG_type_error(errmsg
, obj
);
2867 SWIGINTERNSHORT
float
2868 SWIG_As_float(PyObject
* obj
)
2871 if (!SWIG_AsVal_float(obj
, &v
)) {
2873 this is needed to make valgrind/purify happier.
2875 memset((void*)&v
, 0, sizeof(float));
2882 SWIG_Check_float(PyObject
* obj
)
2884 return SWIG_AsVal_float(obj
, (float*)0);
2888 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2889 #define SWIG_From_float PyFloat_FromDouble
2892 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2893 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2895 Py_INCREF(data
->m_obj
);
2903 // Figure out the type of the sizer item
2905 struct wxPySizerItemInfo
{
2907 : window(NULL
), sizer(NULL
), gotSize(false),
2908 size(wxDefaultSize
), gotPos(false), pos(-1)
2919 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2921 wxPySizerItemInfo info
;
2923 wxSize
* sizePtr
= &size
;
2925 // Find out what the type of the item is
2927 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2932 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2936 // try wxSize or (w,h)
2937 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2938 info
.size
= *sizePtr
;
2939 info
.gotSize
= true;
2943 if (checkIdx
&& PyInt_Check(item
)) {
2944 info
.pos
= PyInt_AsLong(item
);
2950 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2951 // no expected type, figure out what kind of error message to generate
2952 if ( !checkSize
&& !checkIdx
)
2953 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2954 else if ( checkSize
&& !checkIdx
)
2955 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2956 else if ( !checkSize
&& checkIdx
)
2957 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2959 // can this one happen?
2960 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2966 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2967 if (!self
->GetClientObject())
2968 self
->SetClientObject(new wxPyOORClientData(_self
));
2970 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2972 wxPyUserData
* data
= NULL
;
2973 bool blocked
= wxPyBeginBlockThreads();
2974 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2975 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2976 data
= new wxPyUserData(userData
);
2977 wxPyEndBlockThreads(blocked
);
2979 // Now call the real Add method if a valid item type was found
2981 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2982 else if ( info
.sizer
)
2983 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2984 else if (info
.gotSize
)
2985 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2986 proportion
, flag
, border
, data
);
2990 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2992 wxPyUserData
* data
= NULL
;
2993 bool blocked
= wxPyBeginBlockThreads();
2994 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2995 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2996 data
= new wxPyUserData(userData
);
2997 wxPyEndBlockThreads(blocked
);
2999 // Now call the real Insert method if a valid item type was found
3001 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3002 else if ( info
.sizer
)
3003 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3004 else if (info
.gotSize
)
3005 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3006 proportion
, flag
, border
, data
);
3010 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3012 wxPyUserData
* data
= NULL
;
3013 bool blocked
= wxPyBeginBlockThreads();
3014 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3015 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3016 data
= new wxPyUserData(userData
);
3017 wxPyEndBlockThreads(blocked
);
3019 // Now call the real Prepend method if a valid item type was found
3021 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3022 else if ( info
.sizer
)
3023 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3024 else if (info
.gotSize
)
3025 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3026 proportion
, flag
, border
, data
);
3030 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3031 bool blocked
= wxPyBeginBlockThreads();
3032 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3033 wxPyEndBlockThreads(blocked
);
3035 return self
->Remove(info
.window
);
3036 else if ( info
.sizer
)
3037 return self
->Remove(info
.sizer
);
3038 else if ( info
.gotPos
)
3039 return self
->Remove(info
.pos
);
3043 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3044 bool blocked
= wxPyBeginBlockThreads();
3045 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3046 wxPyEndBlockThreads(blocked
);
3048 return self
->Detach(info
.window
);
3049 else if ( info
.sizer
)
3050 return self
->Detach(info
.sizer
);
3051 else if ( info
.gotPos
)
3052 return self
->Detach(info
.pos
);
3056 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3057 bool blocked
= wxPyBeginBlockThreads();
3058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3059 wxPyEndBlockThreads(blocked
);
3061 return self
->GetItem(info
.window
);
3062 else if ( info
.sizer
)
3063 return self
->GetItem(info
.sizer
);
3064 else if ( info
.gotPos
)
3065 return self
->GetItem(info
.pos
);
3069 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3070 bool blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 self
->SetItemMinSize(info
.window
, size
);
3075 else if ( info
.sizer
)
3076 self
->SetItemMinSize(info
.sizer
, size
);
3077 else if ( info
.gotPos
)
3078 self
->SetItemMinSize(info
.pos
, size
);
3080 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3081 wxSizerItemList
& list
= self
->GetChildren();
3082 return wxPy_ConvertList(&list
);
3084 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3085 bool blocked
= wxPyBeginBlockThreads();
3086 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3087 wxPyEndBlockThreads(blocked
);
3089 return self
->Show(info
.window
, show
, recursive
);
3090 else if ( info
.sizer
)
3091 return self
->Show(info
.sizer
, show
, recursive
);
3092 else if ( info
.gotPos
)
3093 return self
->Show(info
.pos
, show
);
3097 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3098 bool blocked
= wxPyBeginBlockThreads();
3099 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3100 wxPyEndBlockThreads(blocked
);
3102 return self
->IsShown(info
.window
);
3103 else if ( info
.sizer
)
3104 return self
->IsShown(info
.sizer
);
3105 else if ( info
.gotPos
)
3106 return self
->IsShown(info
.pos
);
3112 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3113 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3114 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3119 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3121 if (source
== Py_None
) {
3122 **obj
= wxGBPosition(-1,-1);
3125 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3128 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3130 if (source
== Py_None
) {
3131 **obj
= wxGBSpan(-1,-1);
3134 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3138 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3142 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3143 bool blocked
= wxPyBeginBlockThreads();
3144 PyObject
* tup
= PyTuple_New(2);
3145 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3146 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3147 wxPyEndBlockThreads(blocked
);
3150 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3151 self
->SetRowspan(rowspan
);
3152 self
->SetColspan(colspan
);
3154 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3155 bool blocked
= wxPyBeginBlockThreads();
3156 PyObject
* tup
= PyTuple_New(2);
3157 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3158 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3159 wxPyEndBlockThreads(blocked
);
3162 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3163 wxPyUserData
* data
= NULL
;
3165 bool blocked
= wxPyBeginBlockThreads();
3166 data
= new wxPyUserData(userData
);
3167 wxPyEndBlockThreads(blocked
);
3169 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3171 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3172 wxPyUserData
* data
= NULL
;
3174 bool blocked
= wxPyBeginBlockThreads();
3175 data
= new wxPyUserData(userData
);
3176 wxPyEndBlockThreads(blocked
);
3178 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3180 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3181 wxPyUserData
* data
= NULL
;
3183 bool blocked
= wxPyBeginBlockThreads();
3184 data
= new wxPyUserData(userData
);
3185 wxPyEndBlockThreads(blocked
);
3187 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3189 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3191 self
->GetEndPos(row
, col
);
3192 return wxGBPosition(row
, col
);
3194 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3196 wxPyUserData
* data
= NULL
;
3197 bool blocked
= wxPyBeginBlockThreads();
3198 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3199 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3200 data
= new wxPyUserData(userData
);
3201 wxPyEndBlockThreads(blocked
);
3203 // Now call the real Add method if a valid item type was found
3205 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3206 else if ( info
.sizer
)
3207 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3208 else if (info
.gotSize
)
3209 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3210 pos
, span
, flag
, border
, data
);
3218 static int _wrap_EmptyString_set(PyObject
*) {
3219 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3224 static PyObject
*_wrap_EmptyString_get(void) {
3229 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3231 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3238 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxObject
*arg1
= (wxObject
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3244 (char *) "self", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3249 if (SWIG_arg_fail(1)) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 result
= wxObject_GetClassName(arg1
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3270 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxObject
*arg1
= (wxObject
*) 0 ;
3273 PyObject
* obj0
= 0 ;
3275 (char *) "self", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 wxObject_Destroy(arg1
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3298 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3300 return Py_BuildValue((char *)"");
3302 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxSize
*arg1
= (wxSize
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "x", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail
;
3316 arg2
= (int)(SWIG_As_int(obj1
));
3317 if (SWIG_arg_fail(2)) SWIG_fail
;
3319 if (arg1
) (arg1
)->x
= arg2
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxSize
*arg1
= (wxSize
*) 0 ;
3332 PyObject
* obj0
= 0 ;
3334 (char *) "self", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3339 if (SWIG_arg_fail(1)) SWIG_fail
;
3340 result
= (int) ((arg1
)->x
);
3343 resultobj
= SWIG_From_int((int)(result
));
3351 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxSize
*arg1
= (wxSize
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3358 (char *) "self",(char *) "y", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3363 if (SWIG_arg_fail(1)) SWIG_fail
;
3365 arg2
= (int)(SWIG_As_int(obj1
));
3366 if (SWIG_arg_fail(2)) SWIG_fail
;
3368 if (arg1
) (arg1
)->y
= arg2
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxSize
*arg1
= (wxSize
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3388 if (SWIG_arg_fail(1)) SWIG_fail
;
3389 result
= (int) ((arg1
)->y
);
3392 resultobj
= SWIG_From_int((int)(result
));
3400 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 int arg1
= (int) 0 ;
3403 int arg2
= (int) 0 ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3408 (char *) "w",(char *) "h", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 arg1
= (int)(SWIG_As_int(obj0
));
3415 if (SWIG_arg_fail(1)) SWIG_fail
;
3420 arg2
= (int)(SWIG_As_int(obj1
));
3421 if (SWIG_arg_fail(2)) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3438 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxSize
*arg1
= (wxSize
*) 0 ;
3441 PyObject
* obj0
= 0 ;
3443 (char *) "self", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3448 if (SWIG_arg_fail(1)) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 Py_INCREF(Py_None
); resultobj
= Py_None
;
3463 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxSize
*arg1
= (wxSize
*) 0 ;
3469 PyObject
* obj0
= 0 ;
3470 PyObject
* obj1
= 0 ;
3472 (char *) "self",(char *) "sz", NULL
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3477 if (SWIG_arg_fail(1)) SWIG_fail
;
3480 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3498 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxSize
*arg1
= (wxSize
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3507 (char *) "self",(char *) "sz", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3533 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxSize
*arg1
= (wxSize
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "sz", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3550 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3561 resultptr
= new wxSize((wxSize
&)(result
));
3562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3570 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxSize
*arg1
= (wxSize
*) 0 ;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3579 (char *) "self",(char *) "sz", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3584 if (SWIG_arg_fail(1)) SWIG_fail
;
3587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3598 resultptr
= new wxSize((wxSize
&)(result
));
3599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3607 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxSize
*arg1
= (wxSize
*) 0 ;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3615 (char *) "self",(char *) "sz", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3620 if (SWIG_arg_fail(1)) SWIG_fail
;
3623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 (arg1
)->IncTo((wxSize
const &)*arg2
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 Py_INCREF(Py_None
); resultobj
= Py_None
;
3639 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxSize
*arg1
= (wxSize
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3647 (char *) "self",(char *) "sz", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3652 if (SWIG_arg_fail(1)) SWIG_fail
;
3655 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->DecTo((wxSize
const &)*arg2
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxSize
*arg1
= (wxSize
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3678 PyObject
* obj2
= 0 ;
3680 (char *) "self",(char *) "w",(char *) "h", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail
;
3687 arg2
= (int)(SWIG_As_int(obj1
));
3688 if (SWIG_arg_fail(2)) SWIG_fail
;
3691 arg3
= (int)(SWIG_As_int(obj2
));
3692 if (SWIG_arg_fail(3)) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 (arg1
)->Set(arg2
,arg3
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 Py_INCREF(Py_None
); resultobj
= Py_None
;
3708 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3710 wxSize
*arg1
= (wxSize
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3715 (char *) "self",(char *) "w", NULL
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3720 if (SWIG_arg_fail(1)) SWIG_fail
;
3722 arg2
= (int)(SWIG_As_int(obj1
));
3723 if (SWIG_arg_fail(2)) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 (arg1
)->SetWidth(arg2
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 Py_INCREF(Py_None
); resultobj
= Py_None
;
3739 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxSize
*arg1
= (wxSize
*) 0 ;
3743 PyObject
* obj0
= 0 ;
3744 PyObject
* obj1
= 0 ;
3746 (char *) "self",(char *) "h", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3751 if (SWIG_arg_fail(1)) SWIG_fail
;
3753 arg2
= (int)(SWIG_As_int(obj1
));
3754 if (SWIG_arg_fail(2)) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 (arg1
)->SetHeight(arg2
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxSize
*arg1
= (wxSize
*) 0 ;
3774 PyObject
* obj0
= 0 ;
3776 (char *) "self", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3781 if (SWIG_arg_fail(1)) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_From_int((int)(result
));
3798 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxSize
*arg1
= (wxSize
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_From_int((int)(result
));
3826 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxSize
*arg1
= (wxSize
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3854 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxSize
*arg1
= (wxSize
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3860 PyObject
* obj1
= 0 ;
3862 (char *) "self",(char *) "size", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3867 if (SWIG_arg_fail(1)) SWIG_fail
;
3870 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 Py_INCREF(Py_None
); resultobj
= Py_None
;
3886 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxSize
*arg1
= (wxSize
*) 0 ;
3890 PyObject
* obj0
= 0 ;
3892 (char *) "self", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3897 if (SWIG_arg_fail(1)) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (PyObject
*)wxSize_Get(arg1
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3912 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3915 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3917 return Py_BuildValue((char *)"");
3919 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3924 PyObject
* obj1
= 0 ;
3926 (char *) "self",(char *) "x", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3931 if (SWIG_arg_fail(1)) SWIG_fail
;
3933 arg2
= (double)(SWIG_As_double(obj1
));
3934 if (SWIG_arg_fail(2)) SWIG_fail
;
3936 if (arg1
) (arg1
)->x
= arg2
;
3938 Py_INCREF(Py_None
); resultobj
= Py_None
;
3945 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "self", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3956 if (SWIG_arg_fail(1)) SWIG_fail
;
3957 result
= (double) ((arg1
)->x
);
3960 resultobj
= SWIG_From_double((double)(result
));
3968 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3975 (char *) "self",(char *) "y", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3980 if (SWIG_arg_fail(1)) SWIG_fail
;
3982 arg2
= (double)(SWIG_As_double(obj1
));
3983 if (SWIG_arg_fail(2)) SWIG_fail
;
3985 if (arg1
) (arg1
)->y
= arg2
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4005 if (SWIG_arg_fail(1)) SWIG_fail
;
4006 result
= (double) ((arg1
)->y
);
4009 resultobj
= SWIG_From_double((double)(result
));
4017 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 double arg1
= (double) 0.0 ;
4020 double arg2
= (double) 0.0 ;
4021 wxRealPoint
*result
;
4022 PyObject
* obj0
= 0 ;
4023 PyObject
* obj1
= 0 ;
4025 (char *) "x",(char *) "y", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4031 arg1
= (double)(SWIG_As_double(obj0
));
4032 if (SWIG_arg_fail(1)) SWIG_fail
;
4037 arg2
= (double)(SWIG_As_double(obj1
));
4038 if (SWIG_arg_fail(2)) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4055 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4058 PyObject
* obj0
= 0 ;
4060 (char *) "self", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4065 if (SWIG_arg_fail(1)) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4083 wxRealPoint
*arg2
= 0 ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4089 (char *) "self",(char *) "pt", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4094 if (SWIG_arg_fail(1)) SWIG_fail
;
4097 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4115 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4118 wxRealPoint
*arg2
= 0 ;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4124 (char *) "self",(char *) "pt", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4129 if (SWIG_arg_fail(1)) SWIG_fail
;
4132 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4150 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4153 wxRealPoint
*arg2
= 0 ;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4159 (char *) "self",(char *) "pt", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4164 if (SWIG_arg_fail(1)) SWIG_fail
;
4167 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 wxRealPoint
* resultptr
;
4178 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4187 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4190 wxRealPoint
*arg2
= 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "pt", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4201 if (SWIG_arg_fail(1)) SWIG_fail
;
4204 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4214 wxRealPoint
* resultptr
;
4215 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4224 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 PyObject
* obj2
= 0 ;
4233 (char *) "self",(char *) "x",(char *) "y", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4238 if (SWIG_arg_fail(1)) SWIG_fail
;
4240 arg2
= (double)(SWIG_As_double(obj1
));
4241 if (SWIG_arg_fail(2)) SWIG_fail
;
4244 arg3
= (double)(SWIG_As_double(obj2
));
4245 if (SWIG_arg_fail(3)) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 wxRealPoint_Set(arg1
,arg2
,arg3
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4287 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4290 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4292 return Py_BuildValue((char *)"");
4294 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxPoint
*arg1
= (wxPoint
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4301 (char *) "self",(char *) "x", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4306 if (SWIG_arg_fail(1)) SWIG_fail
;
4308 arg2
= (int)(SWIG_As_int(obj1
));
4309 if (SWIG_arg_fail(2)) SWIG_fail
;
4311 if (arg1
) (arg1
)->x
= arg2
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxPoint
*arg1
= (wxPoint
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "self", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail
;
4332 result
= (int) ((arg1
)->x
);
4335 resultobj
= SWIG_From_int((int)(result
));
4343 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxPoint
*arg1
= (wxPoint
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4350 (char *) "self",(char *) "y", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4355 if (SWIG_arg_fail(1)) SWIG_fail
;
4357 arg2
= (int)(SWIG_As_int(obj1
));
4358 if (SWIG_arg_fail(2)) SWIG_fail
;
4360 if (arg1
) (arg1
)->y
= arg2
;
4362 Py_INCREF(Py_None
); resultobj
= Py_None
;
4369 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxPoint
*arg1
= (wxPoint
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "self", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4380 if (SWIG_arg_fail(1)) SWIG_fail
;
4381 result
= (int) ((arg1
)->y
);
4384 resultobj
= SWIG_From_int((int)(result
));
4392 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 int arg1
= (int) 0 ;
4395 int arg2
= (int) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4400 (char *) "x",(char *) "y", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4406 arg1
= (int)(SWIG_As_int(obj0
));
4407 if (SWIG_arg_fail(1)) SWIG_fail
;
4412 arg2
= (int)(SWIG_As_int(obj1
));
4413 if (SWIG_arg_fail(2)) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4430 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxPoint
*arg1
= (wxPoint
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4435 (char *) "self", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4440 if (SWIG_arg_fail(1)) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 Py_INCREF(Py_None
); resultobj
= Py_None
;
4455 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxPoint
*arg1
= (wxPoint
*) 0 ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 (char *) "self",(char *) "pt", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail
;
4472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4490 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxPoint
*arg1
= (wxPoint
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "pt", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4504 if (SWIG_arg_fail(1)) SWIG_fail
;
4507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4525 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxPoint
*arg1
= (wxPoint
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4532 PyObject
* obj1
= 0 ;
4534 (char *) "self",(char *) "pt", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4552 wxPoint
* resultptr
;
4553 resultptr
= new wxPoint((wxPoint
&)(result
));
4554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4562 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxPoint
*arg1
= (wxPoint
*) 0 ;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4571 (char *) "self",(char *) "pt", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4576 if (SWIG_arg_fail(1)) SWIG_fail
;
4579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4589 wxPoint
* resultptr
;
4590 resultptr
= new wxPoint((wxPoint
&)(result
));
4591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4599 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxPoint
*arg1
= (wxPoint
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4608 (char *) "self",(char *) "pt", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4613 if (SWIG_arg_fail(1)) SWIG_fail
;
4616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4622 result
= (wxPoint
*) &_result_ref
;
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4635 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxPoint
*arg1
= (wxPoint
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4644 (char *) "self",(char *) "pt", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4649 if (SWIG_arg_fail(1)) SWIG_fail
;
4652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4658 result
= (wxPoint
*) &_result_ref
;
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4671 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxPoint
*arg1
= (wxPoint
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4680 (char *) "self",(char *) "x",(char *) "y", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4685 if (SWIG_arg_fail(1)) SWIG_fail
;
4687 arg2
= (long)(SWIG_As_long(obj1
));
4688 if (SWIG_arg_fail(2)) SWIG_fail
;
4691 arg3
= (long)(SWIG_As_long(obj2
));
4692 if (SWIG_arg_fail(3)) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPoint_Set(arg1
,arg2
,arg3
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxPoint
*arg1
= (wxPoint
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4719 if (SWIG_arg_fail(1)) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (PyObject
*)wxPoint_Get(arg1
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4734 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4737 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4739 return Py_BuildValue((char *)"");
4741 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 int arg1
= (int) 0 ;
4744 int arg2
= (int) 0 ;
4745 int arg3
= (int) 0 ;
4746 int arg4
= (int) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4751 PyObject
* obj3
= 0 ;
4753 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4759 arg1
= (int)(SWIG_As_int(obj0
));
4760 if (SWIG_arg_fail(1)) SWIG_fail
;
4765 arg2
= (int)(SWIG_As_int(obj1
));
4766 if (SWIG_arg_fail(2)) SWIG_fail
;
4771 arg3
= (int)(SWIG_As_int(obj2
));
4772 if (SWIG_arg_fail(3)) SWIG_fail
;
4777 arg4
= (int)(SWIG_As_int(obj3
));
4778 if (SWIG_arg_fail(4)) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4795 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4805 (char *) "topLeft",(char *) "bottomRight", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4831 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4841 (char *) "pos",(char *) "size", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4847 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4867 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4872 PyObject
* obj0
= 0 ;
4874 (char *) "size", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4880 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4896 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxRect
*arg1
= (wxRect
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 Py_INCREF(Py_None
); resultobj
= Py_None
;
4921 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxRect
*arg1
= (wxRect
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4927 (char *) "self", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (int)((wxRect
const *)arg1
)->GetX();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= SWIG_From_int((int)(result
));
4949 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxRect
*arg1
= (wxRect
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4956 (char *) "self",(char *) "x", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4961 if (SWIG_arg_fail(1)) SWIG_fail
;
4963 arg2
= (int)(SWIG_As_int(obj1
));
4964 if (SWIG_arg_fail(2)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxRect
*arg1
= (wxRect
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4986 (char *) "self", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4991 if (SWIG_arg_fail(1)) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (int)(arg1
)->GetY();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= SWIG_From_int((int)(result
));
5008 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxRect
*arg1
= (wxRect
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5015 (char *) "self",(char *) "y", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail
;
5022 arg2
= (int)(SWIG_As_int(obj1
));
5023 if (SWIG_arg_fail(2)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxRect
*arg1
= (wxRect
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5050 if (SWIG_arg_fail(1)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= SWIG_From_int((int)(result
));
5067 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxRect
*arg1
= (wxRect
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5074 (char *) "self",(char *) "w", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5079 if (SWIG_arg_fail(1)) SWIG_fail
;
5081 arg2
= (int)(SWIG_As_int(obj1
));
5082 if (SWIG_arg_fail(2)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetWidth(arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 Py_INCREF(Py_None
); resultobj
= Py_None
;
5098 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5100 wxRect
*arg1
= (wxRect
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_From_int((int)(result
));
5126 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxRect
*arg1
= (wxRect
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5133 (char *) "self",(char *) "h", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5138 if (SWIG_arg_fail(1)) SWIG_fail
;
5140 arg2
= (int)(SWIG_As_int(obj1
));
5141 if (SWIG_arg_fail(2)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 (arg1
)->SetHeight(arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 Py_INCREF(Py_None
); resultobj
= Py_None
;
5157 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxRect
*arg1
= (wxRect
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= ((wxRect
const *)arg1
)->GetPosition();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 wxPoint
* resultptr
;
5178 resultptr
= new wxPoint((wxPoint
&)(result
));
5179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5187 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxRect
*arg1
= (wxRect
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5195 (char *) "self",(char *) "p", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 Py_INCREF(Py_None
); resultobj
= Py_None
;
5219 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxRect
*arg1
= (wxRect
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= ((wxRect
const *)arg1
)->GetSize();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5240 resultptr
= new wxSize((wxSize
&)(result
));
5241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5249 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxRect
*arg1
= (wxRect
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5257 (char *) "self",(char *) "s", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5262 if (SWIG_arg_fail(1)) SWIG_fail
;
5265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->SetSize((wxSize
const &)*arg2
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 Py_INCREF(Py_None
); resultobj
= Py_None
;
5281 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxRect
*arg1
= (wxRect
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5287 (char *) "self", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5292 if (SWIG_arg_fail(1)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 wxPoint
* resultptr
;
5302 resultptr
= new wxPoint((wxPoint
&)(result
));
5303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5311 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxRect
*arg1
= (wxRect
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5319 (char *) "self",(char *) "p", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5324 if (SWIG_arg_fail(1)) SWIG_fail
;
5327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxRect
*arg1
= (wxRect
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5349 (char *) "self", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5354 if (SWIG_arg_fail(1)) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5363 wxPoint
* resultptr
;
5364 resultptr
= new wxPoint((wxPoint
&)(result
));
5365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5373 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxRect
*arg1
= (wxRect
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5381 (char *) "self",(char *) "p", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5386 if (SWIG_arg_fail(1)) SWIG_fail
;
5389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 Py_INCREF(Py_None
); resultobj
= Py_None
;
5405 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxRect
*arg1
= (wxRect
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5411 (char *) "self", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5416 if (SWIG_arg_fail(1)) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= SWIG_From_int((int)(result
));
5433 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxRect
*arg1
= (wxRect
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5439 (char *) "self", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5444 if (SWIG_arg_fail(1)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (int)((wxRect
const *)arg1
)->GetTop();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_From_int((int)(result
));
5461 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxRect
*arg1
= (wxRect
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_From_int((int)(result
));
5489 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxRect
*arg1
= (wxRect
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5495 (char *) "self", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)((wxRect
const *)arg1
)->GetRight();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int((int)(result
));
5517 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxRect
*arg1
= (wxRect
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5524 (char *) "self",(char *) "left", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5529 if (SWIG_arg_fail(1)) SWIG_fail
;
5531 arg2
= (int)(SWIG_As_int(obj1
));
5532 if (SWIG_arg_fail(2)) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 (arg1
)->SetLeft(arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 Py_INCREF(Py_None
); resultobj
= Py_None
;
5548 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxRect
*arg1
= (wxRect
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5555 (char *) "self",(char *) "right", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5560 if (SWIG_arg_fail(1)) SWIG_fail
;
5562 arg2
= (int)(SWIG_As_int(obj1
));
5563 if (SWIG_arg_fail(2)) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->SetRight(arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxRect
*arg1
= (wxRect
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "top", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail
;
5593 arg2
= (int)(SWIG_As_int(obj1
));
5594 if (SWIG_arg_fail(2)) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 (arg1
)->SetTop(arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 Py_INCREF(Py_None
); resultobj
= Py_None
;
5610 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxRect
*arg1
= (wxRect
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5617 (char *) "self",(char *) "bottom", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5622 if (SWIG_arg_fail(1)) SWIG_fail
;
5624 arg2
= (int)(SWIG_As_int(obj1
));
5625 if (SWIG_arg_fail(2)) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->SetBottom(arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxRect
*arg1
= (wxRect
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 PyObject
* obj2
= 0 ;
5651 (char *) "self",(char *) "dx",(char *) "dy", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5656 if (SWIG_arg_fail(1)) SWIG_fail
;
5658 arg2
= (int)(SWIG_As_int(obj1
));
5659 if (SWIG_arg_fail(2)) SWIG_fail
;
5662 arg3
= (int)(SWIG_As_int(obj2
));
5663 if (SWIG_arg_fail(3)) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5669 result
= (wxRect
*) &_result_ref
;
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5682 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxRect
*arg1
= (wxRect
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 PyObject
* obj2
= 0 ;
5692 (char *) "self",(char *) "dx",(char *) "dy", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail
;
5699 arg2
= (int)(SWIG_As_int(obj1
));
5700 if (SWIG_arg_fail(2)) SWIG_fail
;
5703 arg3
= (int)(SWIG_As_int(obj2
));
5704 if (SWIG_arg_fail(3)) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5710 result
= (wxRect
*) &_result_ref
;
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5723 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxRect
*arg1
= (wxRect
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5730 PyObject
* obj2
= 0 ;
5732 (char *) "self",(char *) "dx",(char *) "dy", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5737 if (SWIG_arg_fail(1)) SWIG_fail
;
5739 arg2
= (int)(SWIG_As_int(obj1
));
5740 if (SWIG_arg_fail(2)) SWIG_fail
;
5743 arg3
= (int)(SWIG_As_int(obj2
));
5744 if (SWIG_arg_fail(3)) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 (arg1
)->Offset(arg2
,arg3
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 Py_INCREF(Py_None
); resultobj
= Py_None
;
5760 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxRect
*arg1
= (wxRect
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5768 (char *) "self",(char *) "pt", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail
;
5776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 (arg1
)->Offset((wxPoint
const &)*arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 Py_INCREF(Py_None
); resultobj
= Py_None
;
5792 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxRect
*arg1
= (wxRect
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5801 (char *) "self",(char *) "rect", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5806 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5820 resultptr
= new wxRect((wxRect
&)(result
));
5821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5829 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxRect
*arg1
= (wxRect
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5838 (char *) "self",(char *) "rect", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5857 resultptr
= new wxRect((wxRect
&)(result
));
5858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5866 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxRect
*arg1
= (wxRect
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5875 (char *) "self",(char *) "rect", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5880 if (SWIG_arg_fail(1)) SWIG_fail
;
5883 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5894 resultptr
= new wxRect((wxRect
&)(result
));
5895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5903 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxRect
*arg1
= (wxRect
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5912 (char *) "self",(char *) "rect", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5917 if (SWIG_arg_fail(1)) SWIG_fail
;
5920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5926 result
= (wxRect
*) &_result_ref
;
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5939 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxRect
*arg1
= (wxRect
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5948 (char *) "self",(char *) "rect", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail
;
5956 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5974 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxRect
*arg1
= (wxRect
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5983 (char *) "self",(char *) "rect", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5988 if (SWIG_arg_fail(1)) SWIG_fail
;
5991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxRect
*arg1
= (wxRect
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6017 PyObject
* obj2
= 0 ;
6019 (char *) "self",(char *) "x",(char *) "y", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6024 if (SWIG_arg_fail(1)) SWIG_fail
;
6026 arg2
= (int)(SWIG_As_int(obj1
));
6027 if (SWIG_arg_fail(2)) SWIG_fail
;
6030 arg3
= (int)(SWIG_As_int(obj2
));
6031 if (SWIG_arg_fail(3)) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxRect
*arg1
= (wxRect
*) 0 ;
6055 PyObject
* obj0
= 0 ;
6056 PyObject
* obj1
= 0 ;
6058 (char *) "self",(char *) "pt", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6063 if (SWIG_arg_fail(1)) SWIG_fail
;
6066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxRect
*arg1
= (wxRect
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6091 PyObject
* obj1
= 0 ;
6093 (char *) "self",(char *) "rect", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6098 if (SWIG_arg_fail(1)) SWIG_fail
;
6101 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6119 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxRect
*arg1
= (wxRect
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "x", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6131 if (SWIG_arg_fail(1)) SWIG_fail
;
6133 arg2
= (int)(SWIG_As_int(obj1
));
6134 if (SWIG_arg_fail(2)) SWIG_fail
;
6136 if (arg1
) (arg1
)->x
= arg2
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxRect
*arg1
= (wxRect
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6151 (char *) "self", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6156 if (SWIG_arg_fail(1)) SWIG_fail
;
6157 result
= (int) ((arg1
)->x
);
6160 resultobj
= SWIG_From_int((int)(result
));
6168 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxRect
*arg1
= (wxRect
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6175 (char *) "self",(char *) "y", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail
;
6182 arg2
= (int)(SWIG_As_int(obj1
));
6183 if (SWIG_arg_fail(2)) SWIG_fail
;
6185 if (arg1
) (arg1
)->y
= arg2
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxRect
*arg1
= (wxRect
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6205 if (SWIG_arg_fail(1)) SWIG_fail
;
6206 result
= (int) ((arg1
)->y
);
6209 resultobj
= SWIG_From_int((int)(result
));
6217 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxRect
*arg1
= (wxRect
*) 0 ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6224 (char *) "self",(char *) "width", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6229 if (SWIG_arg_fail(1)) SWIG_fail
;
6231 arg2
= (int)(SWIG_As_int(obj1
));
6232 if (SWIG_arg_fail(2)) SWIG_fail
;
6234 if (arg1
) (arg1
)->width
= arg2
;
6236 Py_INCREF(Py_None
); resultobj
= Py_None
;
6243 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxRect
*arg1
= (wxRect
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6249 (char *) "self", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6254 if (SWIG_arg_fail(1)) SWIG_fail
;
6255 result
= (int) ((arg1
)->width
);
6258 resultobj
= SWIG_From_int((int)(result
));
6266 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxRect
*arg1
= (wxRect
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "height", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6278 if (SWIG_arg_fail(1)) SWIG_fail
;
6280 arg2
= (int)(SWIG_As_int(obj1
));
6281 if (SWIG_arg_fail(2)) SWIG_fail
;
6283 if (arg1
) (arg1
)->height
= arg2
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxRect
*arg1
= (wxRect
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6298 (char *) "self", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6303 if (SWIG_arg_fail(1)) SWIG_fail
;
6304 result
= (int) ((arg1
)->height
);
6307 resultobj
= SWIG_From_int((int)(result
));
6315 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxRect
*arg1
= (wxRect
*) 0 ;
6318 int arg2
= (int) 0 ;
6319 int arg3
= (int) 0 ;
6320 int arg4
= (int) 0 ;
6321 int arg5
= (int) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 PyObject
* obj2
= 0 ;
6325 PyObject
* obj3
= 0 ;
6326 PyObject
* obj4
= 0 ;
6328 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6333 if (SWIG_arg_fail(1)) SWIG_fail
;
6336 arg2
= (int)(SWIG_As_int(obj1
));
6337 if (SWIG_arg_fail(2)) SWIG_fail
;
6342 arg3
= (int)(SWIG_As_int(obj2
));
6343 if (SWIG_arg_fail(3)) SWIG_fail
;
6348 arg4
= (int)(SWIG_As_int(obj3
));
6349 if (SWIG_arg_fail(4)) SWIG_fail
;
6354 arg5
= (int)(SWIG_As_int(obj4
));
6355 if (SWIG_arg_fail(5)) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 Py_INCREF(Py_None
); resultobj
= Py_None
;
6372 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxRect
*arg1
= (wxRect
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 (char *) "self", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6383 if (SWIG_arg_fail(1)) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (PyObject
*)wxRect_Get(arg1
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6398 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6401 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6403 return Py_BuildValue((char *)"");
6405 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxRect
*arg1
= (wxRect
*) 0 ;
6408 wxRect
*arg2
= (wxRect
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6413 (char *) "r1",(char *) "r2", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail
;
6419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6420 if (SWIG_arg_fail(2)) SWIG_fail
;
6422 if (!wxPyCheckForApp()) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6436 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 double arg1
= (double) 0.0 ;
6439 double arg2
= (double) 0.0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6444 (char *) "x",(char *) "y", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6450 arg1
= (double)(SWIG_As_double(obj0
));
6451 if (SWIG_arg_fail(1)) SWIG_fail
;
6456 arg2
= (double)(SWIG_As_double(obj1
));
6457 if (SWIG_arg_fail(2)) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6474 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxPoint2D
*arg1
= 0 ;
6479 PyObject
* obj0
= 0 ;
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6487 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6503 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6508 PyObject
* obj0
= 0 ;
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6516 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6532 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6535 int *arg2
= (int *) 0 ;
6536 int *arg3
= (int *) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6547 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6560 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6561 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6562 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6569 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6572 int *arg2
= (int *) 0 ;
6573 int *arg3
= (int *) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6584 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6597 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6598 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6599 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6606 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_From_double((double)(result
));
6634 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "self", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_From_double((double)(result
));
6662 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6669 (char *) "self",(char *) "length", NULL
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6674 if (SWIG_arg_fail(1)) SWIG_fail
;
6676 arg2
= (double)(SWIG_As_double(obj1
));
6677 if (SWIG_arg_fail(2)) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 (arg1
)->SetVectorLength(arg2
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 Py_INCREF(Py_None
); resultobj
= Py_None
;
6693 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6700 (char *) "self",(char *) "degrees", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6705 if (SWIG_arg_fail(1)) SWIG_fail
;
6707 arg2
= (double)(SWIG_As_double(obj1
));
6708 if (SWIG_arg_fail(2)) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 (arg1
)->SetVectorAngle(arg2
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 Py_INCREF(Py_None
); resultobj
= Py_None
;
6724 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6727 wxPoint2D
*arg2
= 0 ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6733 (char *) "self",(char *) "pt", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6738 if (SWIG_arg_fail(1)) SWIG_fail
;
6741 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= SWIG_From_double((double)(result
));
6759 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6762 wxPoint2D
*arg2
= 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6768 (char *) "self",(char *) "pt", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= SWIG_From_double((double)(result
));
6794 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6797 wxPoint2D
*arg2
= 0 ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6803 (char *) "self",(char *) "vec", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6808 if (SWIG_arg_fail(1)) SWIG_fail
;
6811 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_From_double((double)(result
));
6829 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6832 wxPoint2D
*arg2
= 0 ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6838 (char *) "self",(char *) "vec", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6843 if (SWIG_arg_fail(1)) SWIG_fail
;
6846 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_From_double((double)(result
));
6864 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6875 if (SWIG_arg_fail(1)) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (arg1
)->operator -();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 wxPoint2D
* resultptr
;
6885 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6894 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6897 wxPoint2D
*arg2
= 0 ;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6903 (char *) "self",(char *) "pt", NULL
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6908 if (SWIG_arg_fail(1)) SWIG_fail
;
6911 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6917 result
= (wxPoint2D
*) &_result_ref
;
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6930 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6933 wxPoint2D
*arg2
= 0 ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6939 (char *) "self",(char *) "pt", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6944 if (SWIG_arg_fail(1)) SWIG_fail
;
6947 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6953 result
= (wxPoint2D
*) &_result_ref
;
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6966 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6969 wxPoint2D
*arg2
= 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "pt", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6980 if (SWIG_arg_fail(1)) SWIG_fail
;
6983 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6989 result
= (wxPoint2D
*) &_result_ref
;
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7002 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7005 wxPoint2D
*arg2
= 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7011 (char *) "self",(char *) "pt", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7016 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7025 result
= (wxPoint2D
*) &_result_ref
;
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7038 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7041 wxPoint2D
*arg2
= 0 ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7047 (char *) "self",(char *) "pt", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7052 if (SWIG_arg_fail(1)) SWIG_fail
;
7055 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7073 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7076 wxPoint2D
*arg2
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "pt", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7087 if (SWIG_arg_fail(1)) SWIG_fail
;
7090 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7108 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "m_x", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 arg2
= (double)(SWIG_As_double(obj1
));
7123 if (SWIG_arg_fail(2)) SWIG_fail
;
7125 if (arg1
) (arg1
)->m_x
= arg2
;
7127 Py_INCREF(Py_None
); resultobj
= Py_None
;
7134 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "self", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7145 if (SWIG_arg_fail(1)) SWIG_fail
;
7146 result
= (double) ((arg1
)->m_x
);
7149 resultobj
= SWIG_From_double((double)(result
));
7157 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7164 (char *) "self",(char *) "m_y", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7169 if (SWIG_arg_fail(1)) SWIG_fail
;
7171 arg2
= (double)(SWIG_As_double(obj1
));
7172 if (SWIG_arg_fail(2)) SWIG_fail
;
7174 if (arg1
) (arg1
)->m_y
= arg2
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "self", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail
;
7195 result
= (double) ((arg1
)->m_y
);
7198 resultobj
= SWIG_From_double((double)(result
));
7206 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7209 double arg2
= (double) 0 ;
7210 double arg3
= (double) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7215 (char *) "self",(char *) "x",(char *) "y", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail
;
7223 arg2
= (double)(SWIG_As_double(obj1
));
7224 if (SWIG_arg_fail(2)) SWIG_fail
;
7229 arg3
= (double)(SWIG_As_double(obj2
));
7230 if (SWIG_arg_fail(3)) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxPoint2D_Set(arg1
,arg2
,arg3
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7258 if (SWIG_arg_fail(1)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7273 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7276 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7278 return Py_BuildValue((char *)"");
7280 static int _wrap_DefaultPosition_set(PyObject
*) {
7281 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7286 static PyObject
*_wrap_DefaultPosition_get(void) {
7289 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7294 static int _wrap_DefaultSize_set(PyObject
*) {
7295 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7300 static PyObject
*_wrap_DefaultSize_get(void) {
7303 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7308 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 PyObject
*arg1
= (PyObject
*) 0 ;
7311 wxPyInputStream
*result
;
7312 PyObject
* obj0
= 0 ;
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7333 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7343 if (SWIG_arg_fail(1)) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7363 (char *) "self", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7368 if (SWIG_arg_fail(1)) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 Py_INCREF(Py_None
); resultobj
= Py_None
;
7383 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "self", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7393 if (SWIG_arg_fail(1)) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (bool)(arg1
)->eof();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7436 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7439 int arg2
= (int) -1 ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7444 (char *) "self",(char *) "size", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail
;
7452 arg2
= (int)(SWIG_As_int(obj1
));
7453 if (SWIG_arg_fail(2)) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (PyObject
*)(arg1
)->read(arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7470 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7473 int arg2
= (int) -1 ;
7475 PyObject
* obj0
= 0 ;
7476 PyObject
* obj1
= 0 ;
7478 (char *) "self",(char *) "size", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7483 if (SWIG_arg_fail(1)) SWIG_fail
;
7486 arg2
= (int)(SWIG_As_int(obj1
));
7487 if (SWIG_arg_fail(2)) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (PyObject
*)(arg1
)->readline(arg2
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7504 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7507 int arg2
= (int) -1 ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7512 (char *) "self",(char *) "sizehint", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7517 if (SWIG_arg_fail(1)) SWIG_fail
;
7520 arg2
= (int)(SWIG_As_int(obj1
));
7521 if (SWIG_arg_fail(2)) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7538 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7542 int arg3
= (int) 0 ;
7543 PyObject
* obj0
= 0 ;
7544 PyObject
* obj1
= 0 ;
7545 PyObject
* obj2
= 0 ;
7547 (char *) "self",(char *) "offset",(char *) "whence", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7552 if (SWIG_arg_fail(1)) SWIG_fail
;
7554 arg2
= (int)(SWIG_As_int(obj1
));
7555 if (SWIG_arg_fail(2)) SWIG_fail
;
7559 arg3
= (int)(SWIG_As_int(obj2
));
7560 if (SWIG_arg_fail(3)) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 (arg1
)->seek(arg2
,arg3
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (int)(arg1
)->tell();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_From_int((int)(result
));
7605 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7611 (char *) "self", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7616 if (SWIG_arg_fail(1)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (char)(arg1
)->Peek();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_From_char((char)(result
));
7633 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "self", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (char)(arg1
)->GetC();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_From_char((char)(result
));
7661 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (size_t)(arg1
)->LastRead();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7689 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (bool)(arg1
)->CanRead();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7717 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (bool)(arg1
)->Eof();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7745 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7753 (char *) "self",(char *) "c", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail
;
7760 arg2
= (char)(SWIG_As_char(obj1
));
7761 if (SWIG_arg_fail(2)) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (bool)(arg1
)->Ungetch(arg2
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7779 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7783 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7787 PyObject
* obj2
= 0 ;
7789 (char *) "self",(char *) "pos",(char *) "mode", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 arg2
= (long)(SWIG_As_long(obj1
));
7797 if (SWIG_arg_fail(2)) SWIG_fail
;
7801 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7802 if (SWIG_arg_fail(3)) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_From_long((long)(result
));
7821 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7832 if (SWIG_arg_fail(1)) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (long)(arg1
)->TellI();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_From_long((long)(result
));
7849 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7852 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7854 return Py_BuildValue((char *)"");
7856 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7859 PyObject
*arg2
= (PyObject
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "self",(char *) "obj", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 wxOutputStream_write(arg1
,arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7887 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7889 return Py_BuildValue((char *)"");
7891 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7894 wxString
*arg2
= 0 ;
7895 wxString
*arg3
= 0 ;
7896 wxString
*arg4
= 0 ;
7899 wxPyInputStream
*temp1
;
7901 bool temp2
= false ;
7902 bool temp3
= false ;
7903 bool temp4
= false ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7906 PyObject
* obj2
= 0 ;
7907 PyObject
* obj3
= 0 ;
7908 PyObject
* obj4
= 0 ;
7910 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7915 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7916 arg1
= temp1
->m_wxis
;
7919 PyErr_Clear(); // clear the failure of the wxPyConvert above
7920 arg1
= wxPyCBInputStream_create(obj0
, false);
7922 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7929 arg2
= wxString_in_helper(obj1
);
7930 if (arg2
== NULL
) SWIG_fail
;
7934 arg3
= wxString_in_helper(obj2
);
7935 if (arg3
== NULL
) SWIG_fail
;
7939 arg4
= wxString_in_helper(obj3
);
7940 if (arg4
== NULL
) SWIG_fail
;
7945 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7946 if (SWIG_arg_fail(5)) SWIG_fail
;
7948 SWIG_null_ref("wxDateTime");
7950 if (SWIG_arg_fail(5)) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= wxPyMake_wxObject(result
, 1);
8001 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "self", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8029 wxInputStream
*result
;
8030 PyObject
* obj0
= 0 ;
8032 (char *) "self", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8037 if (SWIG_arg_fail(1)) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (wxInputStream
*)(arg1
)->GetStream();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8046 wxPyInputStream
* _ptr
= NULL
;
8049 _ptr
= new wxPyInputStream(result
);
8051 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8059 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8070 if (SWIG_arg_fail(1)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8075 result
= (wxString
*) &_result_ref
;
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8094 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8100 (char *) "self", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8105 if (SWIG_arg_fail(1)) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 wxString
const &_result_ref
= (arg1
)->GetLocation();
8110 result
= (wxString
*) &_result_ref
;
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8120 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8129 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8140 if (SWIG_arg_fail(1)) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8145 result
= (wxString
*) &_result_ref
;
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8155 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8164 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8175 if (SWIG_arg_fail(1)) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (arg1
)->GetModificationTime();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8184 wxDateTime
* resultptr
;
8185 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8194 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8197 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8199 return Py_BuildValue((char *)"");
8201 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8204 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8206 return Py_BuildValue((char *)"");
8208 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxPyFileSystemHandler
*result
;
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8230 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8233 PyObject
*arg2
= (PyObject
*) 0 ;
8234 PyObject
*arg3
= (PyObject
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8237 PyObject
* obj2
= 0 ;
8239 (char *) "self",(char *) "self",(char *) "_class", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8244 if (SWIG_arg_fail(1)) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 Py_INCREF(Py_None
); resultobj
= Py_None
;
8261 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8264 wxString
*arg2
= 0 ;
8266 bool temp2
= false ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "location", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail
;
8277 arg2
= wxString_in_helper(obj1
);
8278 if (arg2
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8305 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8308 wxFileSystem
*arg2
= 0 ;
8309 wxString
*arg3
= 0 ;
8311 bool temp3
= false ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8316 (char *) "self",(char *) "fs",(char *) "location", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8321 if (SWIG_arg_fail(1)) SWIG_fail
;
8323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(2)) SWIG_fail
;
8326 SWIG_null_ref("wxFileSystem");
8328 if (SWIG_arg_fail(2)) SWIG_fail
;
8331 arg3
= wxString_in_helper(obj2
);
8332 if (arg3
== NULL
) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= wxPyMake_wxObject(result
, 1);
8359 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8362 wxString
*arg2
= 0 ;
8363 int arg3
= (int) 0 ;
8365 bool temp2
= false ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8368 PyObject
* obj2
= 0 ;
8370 (char *) "self",(char *) "spec",(char *) "flags", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8375 if (SWIG_arg_fail(1)) SWIG_fail
;
8377 arg2
= wxString_in_helper(obj1
);
8378 if (arg2
== NULL
) SWIG_fail
;
8383 arg3
= (int)(SWIG_As_int(obj2
));
8384 if (SWIG_arg_fail(3)) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8415 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8419 PyObject
* obj0
= 0 ;
8421 (char *) "self", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8426 if (SWIG_arg_fail(1)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (arg1
)->FindNext();
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8447 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8450 wxString
*arg2
= 0 ;
8452 bool temp2
= false ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 (char *) "self",(char *) "location", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8461 if (SWIG_arg_fail(1)) SWIG_fail
;
8463 arg2
= wxString_in_helper(obj1
);
8464 if (arg2
== NULL
) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8495 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8498 wxString
*arg2
= 0 ;
8500 bool temp2
= false ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8504 (char *) "self",(char *) "location", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8509 if (SWIG_arg_fail(1)) SWIG_fail
;
8511 arg2
= wxString_in_helper(obj1
);
8512 if (arg2
== NULL
) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8543 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8546 wxString
*arg2
= 0 ;
8548 bool temp2
= false ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8552 (char *) "self",(char *) "location", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8557 if (SWIG_arg_fail(1)) SWIG_fail
;
8559 arg2
= wxString_in_helper(obj1
);
8560 if (arg2
== NULL
) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8591 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8594 wxString
*arg2
= 0 ;
8596 bool temp2
= false ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8600 (char *) "self",(char *) "location", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8605 if (SWIG_arg_fail(1)) SWIG_fail
;
8607 arg2
= wxString_in_helper(obj1
);
8608 if (arg2
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8639 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8642 wxString
*arg2
= 0 ;
8644 bool temp2
= false ;
8645 PyObject
* obj0
= 0 ;
8646 PyObject
* obj1
= 0 ;
8648 (char *) "self",(char *) "location", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8653 if (SWIG_arg_fail(1)) SWIG_fail
;
8655 arg2
= wxString_in_helper(obj1
);
8656 if (arg2
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8687 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8690 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8692 return Py_BuildValue((char *)"");
8694 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxFileSystem
*result
;
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (wxFileSystem
*)new wxFileSystem();
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= wxPyMake_wxObject(result
, 1);
8718 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8728 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8746 wxString
*arg2
= 0 ;
8747 bool arg3
= (bool) false ;
8748 bool temp2
= false ;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8751 PyObject
* obj2
= 0 ;
8753 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8758 if (SWIG_arg_fail(1)) SWIG_fail
;
8760 arg2
= wxString_in_helper(obj1
);
8761 if (arg2
== NULL
) SWIG_fail
;
8766 arg3
= (bool)(SWIG_As_bool(obj2
));
8767 if (SWIG_arg_fail(3)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8798 (char *) "self", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (arg1
)->GetPath();
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8824 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8827 wxString
*arg2
= 0 ;
8829 bool temp2
= false ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "location", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8838 if (SWIG_arg_fail(1)) SWIG_fail
;
8840 arg2
= wxString_in_helper(obj1
);
8841 if (arg2
== NULL
) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= wxPyMake_wxObject(result
, 1);
8868 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8871 wxString
*arg2
= 0 ;
8872 int arg3
= (int) 0 ;
8874 bool temp2
= false ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8879 (char *) "self",(char *) "spec",(char *) "flags", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8884 if (SWIG_arg_fail(1)) SWIG_fail
;
8886 arg2
= wxString_in_helper(obj1
);
8887 if (arg2
== NULL
) SWIG_fail
;
8892 arg3
= (int)(SWIG_As_int(obj2
));
8893 if (SWIG_arg_fail(3)) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8924 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8935 if (SWIG_arg_fail(1)) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (arg1
)->FindNext();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8956 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "handler", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8966 if (SWIG_arg_fail(1)) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 wxFileSystem::AddHandler(arg1
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 Py_INCREF(Py_None
); resultobj
= Py_None
;
8981 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 wxFileSystem::CleanUpHandlers();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxString
*arg1
= 0 ;
9006 bool temp1
= false ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "filename", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9014 arg1
= wxString_in_helper(obj0
);
9015 if (arg1
== NULL
) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9046 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxString
*arg1
= 0 ;
9050 bool temp1
= false ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "url", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9058 arg1
= wxString_in_helper(obj0
);
9059 if (arg1
== NULL
) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9090 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9093 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9095 return Py_BuildValue((char *)"");
9097 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxInternetFSHandler
*result
;
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9119 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9122 wxString
*arg2
= 0 ;
9124 bool temp2
= false ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9128 (char *) "self",(char *) "location", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail
;
9135 arg2
= wxString_in_helper(obj1
);
9136 if (arg2
== NULL
) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9163 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9166 wxFileSystem
*arg2
= 0 ;
9167 wxString
*arg3
= 0 ;
9169 bool temp3
= false ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9174 (char *) "self",(char *) "fs",(char *) "location", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail
;
9181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(2)) SWIG_fail
;
9184 SWIG_null_ref("wxFileSystem");
9186 if (SWIG_arg_fail(2)) SWIG_fail
;
9189 arg3
= wxString_in_helper(obj2
);
9190 if (arg3
== NULL
) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= wxPyMake_wxObject(result
, 1);
9217 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9220 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9222 return Py_BuildValue((char *)"");
9224 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxZipFSHandler
*result
;
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9246 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9249 wxString
*arg2
= 0 ;
9251 bool temp2
= false ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9255 (char *) "self",(char *) "location", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail
;
9262 arg2
= wxString_in_helper(obj1
);
9263 if (arg2
== NULL
) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9290 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9293 wxFileSystem
*arg2
= 0 ;
9294 wxString
*arg3
= 0 ;
9296 bool temp3
= false ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9299 PyObject
* obj2
= 0 ;
9301 (char *) "self",(char *) "fs",(char *) "location", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9309 if (SWIG_arg_fail(2)) SWIG_fail
;
9311 SWIG_null_ref("wxFileSystem");
9313 if (SWIG_arg_fail(2)) SWIG_fail
;
9316 arg3
= wxString_in_helper(obj2
);
9317 if (arg3
== NULL
) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= wxPyMake_wxObject(result
, 1);
9344 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9347 wxString
*arg2
= 0 ;
9348 int arg3
= (int) 0 ;
9350 bool temp2
= false ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9353 PyObject
* obj2
= 0 ;
9355 (char *) "self",(char *) "spec",(char *) "flags", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail
;
9362 arg2
= wxString_in_helper(obj1
);
9363 if (arg2
== NULL
) SWIG_fail
;
9368 arg3
= (int)(SWIG_As_int(obj2
));
9369 if (SWIG_arg_fail(3)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9400 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9411 if (SWIG_arg_fail(1)) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (arg1
)->FindNext();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9432 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9435 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9437 return Py_BuildValue((char *)"");
9439 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxString
*arg1
= 0 ;
9444 bool temp1
= false ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 PyObject
* obj2
= 0 ;
9449 (char *) "filename",(char *) "image",(char *) "type", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9454 arg1
= wxString_in_helper(obj0
);
9455 if (arg1
== NULL
) SWIG_fail
;
9459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9460 if (SWIG_arg_fail(2)) SWIG_fail
;
9462 SWIG_null_ref("wxImage");
9464 if (SWIG_arg_fail(2)) SWIG_fail
;
9467 arg3
= (long)(SWIG_As_long(obj2
));
9468 if (SWIG_arg_fail(3)) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 Py_INCREF(Py_None
); resultobj
= Py_None
;
9492 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxString
*arg1
= 0 ;
9495 wxBitmap
*arg2
= 0 ;
9497 bool temp1
= false ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 PyObject
* obj2
= 0 ;
9502 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9507 arg1
= wxString_in_helper(obj0
);
9508 if (arg1
== NULL
) SWIG_fail
;
9512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9513 if (SWIG_arg_fail(2)) SWIG_fail
;
9515 SWIG_null_ref("wxBitmap");
9517 if (SWIG_arg_fail(2)) SWIG_fail
;
9520 arg3
= (long)(SWIG_As_long(obj2
));
9521 if (SWIG_arg_fail(3)) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 Py_INCREF(Py_None
); resultobj
= Py_None
;
9545 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxString
*arg1
= 0 ;
9548 PyObject
*arg2
= (PyObject
*) 0 ;
9549 bool temp1
= false ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "filename",(char *) "data", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9558 arg1
= wxString_in_helper(obj0
);
9559 if (arg1
== NULL
) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxMemoryFSHandler
*result
;
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9607 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxString
*arg1
= 0 ;
9610 bool temp1
= false ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "filename", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9618 arg1
= wxString_in_helper(obj0
);
9619 if (arg1
== NULL
) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9647 wxString
*arg2
= 0 ;
9649 bool temp2
= false ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "self",(char *) "location", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail
;
9660 arg2
= wxString_in_helper(obj1
);
9661 if (arg2
== NULL
) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9691 wxFileSystem
*arg2
= 0 ;
9692 wxString
*arg3
= 0 ;
9694 bool temp3
= false ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 PyObject
* obj2
= 0 ;
9699 (char *) "self",(char *) "fs",(char *) "location", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9704 if (SWIG_arg_fail(1)) SWIG_fail
;
9706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9707 if (SWIG_arg_fail(2)) SWIG_fail
;
9709 SWIG_null_ref("wxFileSystem");
9711 if (SWIG_arg_fail(2)) SWIG_fail
;
9714 arg3
= wxString_in_helper(obj2
);
9715 if (arg3
== NULL
) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= wxPyMake_wxObject(result
, 1);
9742 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9745 wxString
*arg2
= 0 ;
9746 int arg3
= (int) 0 ;
9748 bool temp2
= false ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9751 PyObject
* obj2
= 0 ;
9753 (char *) "self",(char *) "spec",(char *) "flags", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9758 if (SWIG_arg_fail(1)) SWIG_fail
;
9760 arg2
= wxString_in_helper(obj1
);
9761 if (arg2
== NULL
) SWIG_fail
;
9766 arg3
= (int)(SWIG_As_int(obj2
));
9767 if (SWIG_arg_fail(3)) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9798 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9809 if (SWIG_arg_fail(1)) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (arg1
)->FindNext();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9830 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9833 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9835 return Py_BuildValue((char *)"");
9837 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9848 if (SWIG_arg_fail(1)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (arg1
)->GetName();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9869 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (arg1
)->GetExtension();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9901 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9912 if (SWIG_arg_fail(1)) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (long)(arg1
)->GetType();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_From_long((long)(result
));
9929 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(1)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (arg1
)->GetMimeType();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9961 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9964 wxString
*arg2
= 0 ;
9966 bool temp2
= false ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9970 (char *) "self",(char *) "name", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail
;
9977 arg2
= wxString_in_helper(obj1
);
9978 if (arg2
== NULL
) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10005 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10008 wxString
*arg2
= 0 ;
10009 bool temp2
= false ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "name", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 arg2
= wxString_in_helper(obj1
);
10021 if (arg2
== NULL
) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 (arg1
)->SetName((wxString
const &)*arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 Py_INCREF(Py_None
); resultobj
= Py_None
;
10046 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10049 wxString
*arg2
= 0 ;
10050 bool temp2
= false ;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self",(char *) "extension", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10059 if (SWIG_arg_fail(1)) SWIG_fail
;
10061 arg2
= wxString_in_helper(obj1
);
10062 if (arg2
== NULL
) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->SetExtension((wxString
const &)*arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10087 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "type", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10099 if (SWIG_arg_fail(1)) SWIG_fail
;
10101 arg2
= (long)(SWIG_As_long(obj1
));
10102 if (SWIG_arg_fail(2)) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 (arg1
)->SetType(arg2
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 Py_INCREF(Py_None
); resultobj
= Py_None
;
10118 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10121 wxString
*arg2
= 0 ;
10122 bool temp2
= false ;
10123 PyObject
* obj0
= 0 ;
10124 PyObject
* obj1
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self",(char *) "mimetype", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10131 if (SWIG_arg_fail(1)) SWIG_fail
;
10133 arg2
= wxString_in_helper(obj1
);
10134 if (arg2
== NULL
) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 Py_INCREF(Py_None
); resultobj
= Py_None
;
10159 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10162 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10164 return Py_BuildValue((char *)"");
10166 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxImageHistogram
*result
;
10169 char *kwnames
[] = {
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (wxImageHistogram
*)new wxImageHistogram();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10188 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 unsigned char arg1
;
10191 unsigned char arg2
;
10192 unsigned char arg3
;
10193 unsigned long result
;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 PyObject
* obj2
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "r",(char *) "g",(char *) "b", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10203 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10204 if (SWIG_arg_fail(1)) SWIG_fail
;
10207 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10208 if (SWIG_arg_fail(2)) SWIG_fail
;
10211 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10212 if (SWIG_arg_fail(3)) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10230 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10233 unsigned char *arg2
= (unsigned char *) 0 ;
10234 unsigned char *arg3
= (unsigned char *) 0 ;
10235 unsigned char *arg4
= (unsigned char *) 0 ;
10236 unsigned char arg5
= (unsigned char) 1 ;
10237 unsigned char arg6
= (unsigned char) 0 ;
10238 unsigned char arg7
= (unsigned char) 0 ;
10240 unsigned char temp2
;
10242 unsigned char temp3
;
10244 unsigned char temp4
;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 PyObject
* obj2
= 0 ;
10249 PyObject
* obj3
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10254 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10255 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10256 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10259 if (SWIG_arg_fail(1)) SWIG_fail
;
10262 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10263 if (SWIG_arg_fail(5)) SWIG_fail
;
10268 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10269 if (SWIG_arg_fail(6)) SWIG_fail
;
10274 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10275 if (SWIG_arg_fail(7)) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10288 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10289 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10291 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10292 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10293 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10300 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10303 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10305 return Py_BuildValue((char *)"");
10307 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxString
*arg1
= 0 ;
10310 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10311 int arg3
= (int) -1 ;
10313 bool temp1
= false ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "name",(char *) "type",(char *) "index", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10323 arg1
= wxString_in_helper(obj0
);
10324 if (arg1
== NULL
) SWIG_fail
;
10329 arg2
= (long)(SWIG_As_long(obj1
));
10330 if (SWIG_arg_fail(2)) SWIG_fail
;
10335 arg3
= (int)(SWIG_As_int(obj2
));
10336 if (SWIG_arg_fail(3)) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10361 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxImage
*arg1
= (wxImage
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10371 if (SWIG_arg_fail(1)) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxString
*arg1
= 0 ;
10389 wxString
*arg2
= 0 ;
10390 int arg3
= (int) -1 ;
10392 bool temp1
= false ;
10393 bool temp2
= false ;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 PyObject
* obj2
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10403 arg1
= wxString_in_helper(obj0
);
10404 if (arg1
== NULL
) SWIG_fail
;
10408 arg2
= wxString_in_helper(obj1
);
10409 if (arg2
== NULL
) SWIG_fail
;
10414 arg3
= (int)(SWIG_As_int(obj2
));
10415 if (SWIG_arg_fail(3)) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10448 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxInputStream
*arg1
= 0 ;
10451 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10452 int arg3
= (int) -1 ;
10454 wxPyInputStream
*temp1
;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 PyObject
* obj2
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "stream",(char *) "type",(char *) "index", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10465 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10466 arg1
= temp1
->m_wxis
;
10469 PyErr_Clear(); // clear the failure of the wxPyConvert above
10470 arg1
= wxPyCBInputStream_create(obj0
, false);
10471 if (arg1
== NULL
) {
10472 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10480 arg2
= (long)(SWIG_As_long(obj1
));
10481 if (SWIG_arg_fail(2)) SWIG_fail
;
10486 arg3
= (int)(SWIG_As_int(obj2
));
10487 if (SWIG_arg_fail(3)) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10512 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxInputStream
*arg1
= 0 ;
10515 wxString
*arg2
= 0 ;
10516 int arg3
= (int) -1 ;
10518 wxPyInputStream
*temp1
;
10520 bool temp2
= false ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 PyObject
* obj2
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10530 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10531 arg1
= temp1
->m_wxis
;
10534 PyErr_Clear(); // clear the failure of the wxPyConvert above
10535 arg1
= wxPyCBInputStream_create(obj0
, false);
10536 if (arg1
== NULL
) {
10537 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10544 arg2
= wxString_in_helper(obj1
);
10545 if (arg2
== NULL
) SWIG_fail
;
10550 arg3
= (int)(SWIG_As_int(obj2
));
10551 if (SWIG_arg_fail(3)) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10584 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 int arg1
= (int) 0 ;
10587 int arg2
= (int) 0 ;
10588 bool arg3
= (bool) true ;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 PyObject
* obj2
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "width",(char *) "height",(char *) "clear", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10600 arg1
= (int)(SWIG_As_int(obj0
));
10601 if (SWIG_arg_fail(1)) SWIG_fail
;
10606 arg2
= (int)(SWIG_As_int(obj1
));
10607 if (SWIG_arg_fail(2)) SWIG_fail
;
10612 arg3
= (bool)(SWIG_As_bool(obj2
));
10613 if (SWIG_arg_fail(3)) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10630 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxBitmap
*arg1
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "bitmap", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10642 if (SWIG_arg_fail(1)) SWIG_fail
;
10643 if (arg1
== NULL
) {
10644 SWIG_null_ref("wxBitmap");
10646 if (SWIG_arg_fail(1)) SWIG_fail
;
10649 if (!wxPyCheckForApp()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10663 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10667 unsigned char *arg3
= (unsigned char *) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 PyObject
* obj2
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "width",(char *) "height",(char *) "data", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10678 arg1
= (int)(SWIG_As_int(obj0
));
10679 if (SWIG_arg_fail(1)) SWIG_fail
;
10682 arg2
= (int)(SWIG_As_int(obj1
));
10683 if (SWIG_arg_fail(2)) SWIG_fail
;
10685 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10686 if (SWIG_arg_fail(3)) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10701 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10705 unsigned char *arg3
= (unsigned char *) 0 ;
10706 unsigned char *arg4
= (unsigned char *) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 PyObject
* obj2
= 0 ;
10711 PyObject
* obj3
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10718 arg1
= (int)(SWIG_As_int(obj0
));
10719 if (SWIG_arg_fail(1)) SWIG_fail
;
10722 arg2
= (int)(SWIG_As_int(obj1
));
10723 if (SWIG_arg_fail(2)) SWIG_fail
;
10725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10726 if (SWIG_arg_fail(3)) SWIG_fail
;
10727 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10728 if (SWIG_arg_fail(4)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10743 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxImage
*arg1
= (wxImage
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 PyObject
* obj2
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "width",(char *) "height", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10757 if (SWIG_arg_fail(1)) SWIG_fail
;
10759 arg2
= (int)(SWIG_As_int(obj1
));
10760 if (SWIG_arg_fail(2)) SWIG_fail
;
10763 arg3
= (int)(SWIG_As_int(obj2
));
10764 if (SWIG_arg_fail(3)) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->Create(arg2
,arg3
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxImage
*arg1
= (wxImage
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "self", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10790 if (SWIG_arg_fail(1)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxImage
*arg1
= (wxImage
*) 0 ;
10810 SwigValueWrapper
<wxImage
> result
;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 PyObject
* obj2
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self",(char *) "width",(char *) "height", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10820 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 arg2
= (int)(SWIG_As_int(obj1
));
10823 if (SWIG_arg_fail(2)) SWIG_fail
;
10826 arg3
= (int)(SWIG_As_int(obj2
));
10827 if (SWIG_arg_fail(3)) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (arg1
)->Scale(arg2
,arg3
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 wxImage
* resultptr
;
10838 resultptr
= new wxImage((wxImage
&)(result
));
10839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10847 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxImage
*arg1
= (wxImage
*) 0 ;
10852 SwigValueWrapper
<wxImage
> result
;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 PyObject
* obj2
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10862 if (SWIG_arg_fail(1)) SWIG_fail
;
10864 arg2
= (int)(SWIG_As_int(obj1
));
10865 if (SWIG_arg_fail(2)) SWIG_fail
;
10868 arg3
= (int)(SWIG_As_int(obj2
));
10869 if (SWIG_arg_fail(3)) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 wxImage
* resultptr
;
10880 resultptr
= new wxImage((wxImage
&)(result
));
10881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10889 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxImage
*arg1
= (wxImage
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 PyObject
* obj2
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "width",(char *) "height", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail
;
10906 arg2
= (int)(SWIG_As_int(obj1
));
10907 if (SWIG_arg_fail(2)) SWIG_fail
;
10910 arg3
= (int)(SWIG_As_int(obj2
));
10911 if (SWIG_arg_fail(3)) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10917 result
= (wxImage
*) &_result_ref
;
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10930 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxImage
*arg1
= (wxImage
*) 0 ;
10935 unsigned char arg4
;
10936 unsigned char arg5
;
10937 unsigned char arg6
;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 PyObject
* obj2
= 0 ;
10941 PyObject
* obj3
= 0 ;
10942 PyObject
* obj4
= 0 ;
10943 PyObject
* obj5
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10950 if (SWIG_arg_fail(1)) SWIG_fail
;
10952 arg2
= (int)(SWIG_As_int(obj1
));
10953 if (SWIG_arg_fail(2)) SWIG_fail
;
10956 arg3
= (int)(SWIG_As_int(obj2
));
10957 if (SWIG_arg_fail(3)) SWIG_fail
;
10960 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10961 if (SWIG_arg_fail(4)) SWIG_fail
;
10964 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10965 if (SWIG_arg_fail(5)) SWIG_fail
;
10968 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10969 if (SWIG_arg_fail(6)) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 Py_INCREF(Py_None
); resultobj
= Py_None
;
10985 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxImage
*arg1
= (wxImage
*) 0 ;
10990 unsigned char result
;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 PyObject
* obj2
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self",(char *) "x",(char *) "y", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11000 if (SWIG_arg_fail(1)) SWIG_fail
;
11002 arg2
= (int)(SWIG_As_int(obj1
));
11003 if (SWIG_arg_fail(2)) SWIG_fail
;
11006 arg3
= (int)(SWIG_As_int(obj2
));
11007 if (SWIG_arg_fail(3)) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11025 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxImage
*arg1
= (wxImage
*) 0 ;
11030 unsigned char result
;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 PyObject
* obj2
= 0 ;
11034 char *kwnames
[] = {
11035 (char *) "self",(char *) "x",(char *) "y", NULL
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11040 if (SWIG_arg_fail(1)) SWIG_fail
;
11042 arg2
= (int)(SWIG_As_int(obj1
));
11043 if (SWIG_arg_fail(2)) SWIG_fail
;
11046 arg3
= (int)(SWIG_As_int(obj2
));
11047 if (SWIG_arg_fail(3)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11065 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxImage
*arg1
= (wxImage
*) 0 ;
11070 unsigned char result
;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 PyObject
* obj2
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "x",(char *) "y", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail
;
11082 arg2
= (int)(SWIG_As_int(obj1
));
11083 if (SWIG_arg_fail(2)) SWIG_fail
;
11086 arg3
= (int)(SWIG_As_int(obj2
));
11087 if (SWIG_arg_fail(3)) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11105 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxImage
*arg1
= (wxImage
*) 0 ;
11110 unsigned char arg4
;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 arg2
= (int)(SWIG_As_int(obj1
));
11124 if (SWIG_arg_fail(2)) SWIG_fail
;
11127 arg3
= (int)(SWIG_As_int(obj2
));
11128 if (SWIG_arg_fail(3)) SWIG_fail
;
11131 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11132 if (SWIG_arg_fail(4)) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 Py_INCREF(Py_None
); resultobj
= Py_None
;
11148 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxImage
*arg1
= (wxImage
*) 0 ;
11153 unsigned char result
;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 PyObject
* obj2
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "x",(char *) "y", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail
;
11165 arg2
= (int)(SWIG_As_int(obj1
));
11166 if (SWIG_arg_fail(2)) SWIG_fail
;
11169 arg3
= (int)(SWIG_As_int(obj2
));
11170 if (SWIG_arg_fail(3)) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11188 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxImage
*arg1
= (wxImage
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11199 if (SWIG_arg_fail(1)) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (bool)(arg1
)->HasAlpha();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11216 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxImage
*arg1
= (wxImage
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11226 if (SWIG_arg_fail(1)) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 (arg1
)->InitAlpha();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 Py_INCREF(Py_None
); resultobj
= Py_None
;
11241 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxImage
*arg1
= (wxImage
*) 0 ;
11244 byte
*arg2
= (byte
*) 0 ;
11245 byte
*arg3
= (byte
*) 0 ;
11246 byte
*arg4
= (byte
*) 0 ;
11247 byte arg5
= (byte
) 0 ;
11248 byte arg6
= (byte
) 0 ;
11249 byte arg7
= (byte
) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 PyObject
* obj3
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11265 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11266 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11267 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11270 if (SWIG_arg_fail(1)) SWIG_fail
;
11273 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11274 if (SWIG_arg_fail(5)) SWIG_fail
;
11279 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11280 if (SWIG_arg_fail(6)) SWIG_fail
;
11285 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11286 if (SWIG_arg_fail(7)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11299 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11300 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11301 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11302 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11303 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11304 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11311 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxImage
*arg1
= (wxImage
*) 0 ;
11314 byte arg2
= (byte
) 128 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "threshold", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11327 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11328 if (SWIG_arg_fail(2)) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11347 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxImage
*arg1
= (wxImage
*) 0 ;
11350 unsigned char arg2
;
11351 unsigned char arg3
;
11352 unsigned char arg4
;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 PyObject
* obj2
= 0 ;
11357 PyObject
* obj3
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11364 if (SWIG_arg_fail(1)) SWIG_fail
;
11366 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11367 if (SWIG_arg_fail(2)) SWIG_fail
;
11370 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11371 if (SWIG_arg_fail(3)) SWIG_fail
;
11374 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11375 if (SWIG_arg_fail(4)) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11393 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxImage
*arg1
= (wxImage
*) 0 ;
11396 wxImage
*arg2
= 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 PyObject
* obj2
= 0 ;
11404 PyObject
* obj3
= 0 ;
11405 PyObject
* obj4
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail
;
11414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11415 if (SWIG_arg_fail(2)) SWIG_fail
;
11416 if (arg2
== NULL
) {
11417 SWIG_null_ref("wxImage");
11419 if (SWIG_arg_fail(2)) SWIG_fail
;
11422 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11423 if (SWIG_arg_fail(3)) SWIG_fail
;
11426 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11427 if (SWIG_arg_fail(4)) SWIG_fail
;
11430 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11431 if (SWIG_arg_fail(5)) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11449 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxString
*arg1
= 0 ;
11453 bool temp1
= false ;
11454 PyObject
* obj0
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "name", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11461 arg1
= wxString_in_helper(obj0
);
11462 if (arg1
== NULL
) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxString
*arg1
= 0 ;
11492 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11494 bool temp1
= false ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "name",(char *) "type", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11503 arg1
= wxString_in_helper(obj0
);
11504 if (arg1
== NULL
) SWIG_fail
;
11509 arg2
= (long)(SWIG_As_long(obj1
));
11510 if (SWIG_arg_fail(2)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_From_int((int)(result
));
11537 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxImage
*arg1
= (wxImage
*) 0 ;
11540 wxString
*arg2
= 0 ;
11541 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11542 int arg4
= (int) -1 ;
11544 bool temp2
= false ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 PyObject
* obj2
= 0 ;
11548 PyObject
* obj3
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail
;
11557 arg2
= wxString_in_helper(obj1
);
11558 if (arg2
== NULL
) SWIG_fail
;
11563 arg3
= (long)(SWIG_As_long(obj2
));
11564 if (SWIG_arg_fail(3)) SWIG_fail
;
11569 arg4
= (int)(SWIG_As_int(obj3
));
11570 if (SWIG_arg_fail(4)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11597 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxImage
*arg1
= (wxImage
*) 0 ;
11600 wxString
*arg2
= 0 ;
11601 wxString
*arg3
= 0 ;
11602 int arg4
= (int) -1 ;
11604 bool temp2
= false ;
11605 bool temp3
= false ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 PyObject
* obj2
= 0 ;
11609 PyObject
* obj3
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11616 if (SWIG_arg_fail(1)) SWIG_fail
;
11618 arg2
= wxString_in_helper(obj1
);
11619 if (arg2
== NULL
) SWIG_fail
;
11623 arg3
= wxString_in_helper(obj2
);
11624 if (arg3
== NULL
) SWIG_fail
;
11629 arg4
= (int)(SWIG_As_int(obj3
));
11630 if (SWIG_arg_fail(4)) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11665 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxImage
*arg1
= (wxImage
*) 0 ;
11668 wxString
*arg2
= 0 ;
11671 bool temp2
= false ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 PyObject
* obj2
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self",(char *) "name",(char *) "type", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail
;
11683 arg2
= wxString_in_helper(obj1
);
11684 if (arg2
== NULL
) SWIG_fail
;
11688 arg3
= (int)(SWIG_As_int(obj2
));
11689 if (SWIG_arg_fail(3)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11715 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxImage
*arg1
= (wxImage
*) 0 ;
11718 wxString
*arg2
= 0 ;
11719 wxString
*arg3
= 0 ;
11721 bool temp2
= false ;
11722 bool temp3
= false ;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 arg2
= wxString_in_helper(obj1
);
11735 if (arg2
== NULL
) SWIG_fail
;
11739 arg3
= wxString_in_helper(obj2
);
11740 if (arg3
== NULL
) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11775 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxInputStream
*arg1
= 0 ;
11779 wxPyInputStream
*temp1
;
11781 PyObject
* obj0
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "stream", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11788 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11789 arg1
= temp1
->m_wxis
;
11792 PyErr_Clear(); // clear the failure of the wxPyConvert above
11793 arg1
= wxPyCBInputStream_create(obj0
, false);
11794 if (arg1
== NULL
) {
11795 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (bool)wxImage::CanRead(*arg1
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11825 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxImage
*arg1
= (wxImage
*) 0 ;
11828 wxInputStream
*arg2
= 0 ;
11829 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11830 int arg4
= (int) -1 ;
11832 wxPyInputStream
*temp2
;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 PyObject
* obj2
= 0 ;
11837 PyObject
* obj3
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail
;
11846 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11847 arg2
= temp2
->m_wxis
;
11850 PyErr_Clear(); // clear the failure of the wxPyConvert above
11851 arg2
= wxPyCBInputStream_create(obj1
, false);
11852 if (arg2
== NULL
) {
11853 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11861 arg3
= (long)(SWIG_As_long(obj2
));
11862 if (SWIG_arg_fail(3)) SWIG_fail
;
11867 arg4
= (int)(SWIG_As_int(obj3
));
11868 if (SWIG_arg_fail(4)) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11895 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxImage
*arg1
= (wxImage
*) 0 ;
11898 wxInputStream
*arg2
= 0 ;
11899 wxString
*arg3
= 0 ;
11900 int arg4
= (int) -1 ;
11902 wxPyInputStream
*temp2
;
11904 bool temp3
= false ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 PyObject
* obj2
= 0 ;
11908 PyObject
* obj3
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11918 arg2
= temp2
->m_wxis
;
11921 PyErr_Clear(); // clear the failure of the wxPyConvert above
11922 arg2
= wxPyCBInputStream_create(obj1
, false);
11923 if (arg2
== NULL
) {
11924 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11931 arg3
= wxString_in_helper(obj2
);
11932 if (arg3
== NULL
) SWIG_fail
;
11937 arg4
= (int)(SWIG_As_int(obj3
));
11938 if (SWIG_arg_fail(4)) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11973 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxImage
*arg1
= (wxImage
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11984 if (SWIG_arg_fail(1)) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (bool)(arg1
)->Ok();
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12001 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxImage
*arg1
= (wxImage
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12012 if (SWIG_arg_fail(1)) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (int)(arg1
)->GetWidth();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_From_int((int)(result
));
12029 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxImage
*arg1
= (wxImage
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12040 if (SWIG_arg_fail(1)) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (int)(arg1
)->GetHeight();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_From_int((int)(result
));
12057 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxImage
*arg1
= (wxImage
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12068 if (SWIG_arg_fail(1)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= wxImage_GetSize(arg1
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 wxSize
* resultptr
;
12078 resultptr
= new wxSize((wxSize
&)(result
));
12079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12087 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxImage
*arg1
= (wxImage
*) 0 ;
12091 SwigValueWrapper
<wxImage
> result
;
12093 PyObject
* obj0
= 0 ;
12094 PyObject
* obj1
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self",(char *) "rect", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12101 if (SWIG_arg_fail(1)) SWIG_fail
;
12104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 wxImage
* resultptr
;
12115 resultptr
= new wxImage((wxImage
&)(result
));
12116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12124 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxImage
*arg1
= (wxImage
*) 0 ;
12127 SwigValueWrapper
<wxImage
> result
;
12128 PyObject
* obj0
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12135 if (SWIG_arg_fail(1)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (arg1
)->Copy();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 wxImage
* resultptr
;
12145 resultptr
= new wxImage((wxImage
&)(result
));
12146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12154 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxImage
*arg1
= (wxImage
*) 0 ;
12157 wxImage
*arg2
= 0 ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 PyObject
* obj3
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail
;
12172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(2)) SWIG_fail
;
12174 if (arg2
== NULL
) {
12175 SWIG_null_ref("wxImage");
12177 if (SWIG_arg_fail(2)) SWIG_fail
;
12180 arg3
= (int)(SWIG_As_int(obj2
));
12181 if (SWIG_arg_fail(3)) SWIG_fail
;
12184 arg4
= (int)(SWIG_As_int(obj3
));
12185 if (SWIG_arg_fail(4)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxImage
*arg1
= (wxImage
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (PyObject
*)wxImage_GetData(arg1
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= result
;
12227 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxImage
*arg1
= (wxImage
*) 0 ;
12230 PyObject
*arg2
= (PyObject
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "data", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 wxImage_SetData(arg1
,arg2
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxImage
*arg1
= (wxImage
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12266 if (SWIG_arg_fail(1)) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
;
12281 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxImage
*arg1
= (wxImage
*) 0 ;
12284 PyObject
*arg2
= (PyObject
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 PyObject
* obj1
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "data", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxImage_SetDataBuffer(arg1
,arg2
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 Py_INCREF(Py_None
); resultobj
= Py_None
;
12309 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxImage
*arg1
= (wxImage
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12320 if (SWIG_arg_fail(1)) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= result
;
12335 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxImage
*arg1
= (wxImage
*) 0 ;
12338 PyObject
*arg2
= (PyObject
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self",(char *) "data", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12347 if (SWIG_arg_fail(1)) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 wxImage_SetAlphaData(arg1
,arg2
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 Py_INCREF(Py_None
); resultobj
= Py_None
;
12363 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxImage
*arg1
= (wxImage
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12374 if (SWIG_arg_fail(1)) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= result
;
12389 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxImage
*arg1
= (wxImage
*) 0 ;
12392 PyObject
*arg2
= (PyObject
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "data", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12401 if (SWIG_arg_fail(1)) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 wxImage_SetAlphaBuffer(arg1
,arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxImage
*arg1
= (wxImage
*) 0 ;
12420 unsigned char arg2
;
12421 unsigned char arg3
;
12422 unsigned char arg4
;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 PyObject
* obj2
= 0 ;
12426 PyObject
* obj3
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12436 if (SWIG_arg_fail(2)) SWIG_fail
;
12439 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12440 if (SWIG_arg_fail(3)) SWIG_fail
;
12443 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12444 if (SWIG_arg_fail(4)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxImage
*arg1
= (wxImage
*) 0 ;
12463 unsigned char result
;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (unsigned char)(arg1
)->GetMaskRed();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12488 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxImage
*arg1
= (wxImage
*) 0 ;
12491 unsigned char result
;
12492 PyObject
* obj0
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12499 if (SWIG_arg_fail(1)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (unsigned char)(arg1
)->GetMaskGreen();
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12516 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxImage
*arg1
= (wxImage
*) 0 ;
12519 unsigned char result
;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12527 if (SWIG_arg_fail(1)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (unsigned char)(arg1
)->GetMaskBlue();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12544 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxImage
*arg1
= (wxImage
*) 0 ;
12547 bool arg2
= (bool) true ;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self",(char *) "mask", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12556 if (SWIG_arg_fail(1)) SWIG_fail
;
12559 arg2
= (bool)(SWIG_As_bool(obj1
));
12560 if (SWIG_arg_fail(2)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetMask(arg2
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12577 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxImage
*arg1
= (wxImage
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12588 if (SWIG_arg_fail(1)) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)(arg1
)->HasMask();
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12605 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxImage
*arg1
= (wxImage
*) 0 ;
12609 wxPoint
*arg3
= 0 ;
12610 bool arg4
= (bool) true ;
12611 wxPoint
*arg5
= (wxPoint
*) NULL
;
12612 SwigValueWrapper
<wxImage
> result
;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 PyObject
* obj2
= 0 ;
12617 PyObject
* obj3
= 0 ;
12618 PyObject
* obj4
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12625 if (SWIG_arg_fail(1)) SWIG_fail
;
12627 arg2
= (double)(SWIG_As_double(obj1
));
12628 if (SWIG_arg_fail(2)) SWIG_fail
;
12632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12636 arg4
= (bool)(SWIG_As_bool(obj3
));
12637 if (SWIG_arg_fail(4)) SWIG_fail
;
12641 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12642 if (SWIG_arg_fail(5)) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12652 wxImage
* resultptr
;
12653 resultptr
= new wxImage((wxImage
&)(result
));
12654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12662 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxImage
*arg1
= (wxImage
*) 0 ;
12665 bool arg2
= (bool) true ;
12666 SwigValueWrapper
<wxImage
> result
;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self",(char *) "clockwise", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12675 if (SWIG_arg_fail(1)) SWIG_fail
;
12678 arg2
= (bool)(SWIG_As_bool(obj1
));
12679 if (SWIG_arg_fail(2)) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (arg1
)->Rotate90(arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 wxImage
* resultptr
;
12691 resultptr
= new wxImage((wxImage
&)(result
));
12692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12700 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxImage
*arg1
= (wxImage
*) 0 ;
12703 bool arg2
= (bool) true ;
12704 SwigValueWrapper
<wxImage
> result
;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "horizontally", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail
;
12716 arg2
= (bool)(SWIG_As_bool(obj1
));
12717 if (SWIG_arg_fail(2)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (arg1
)->Mirror(arg2
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 wxImage
* resultptr
;
12729 resultptr
= new wxImage((wxImage
&)(result
));
12730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12738 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxImage
*arg1
= (wxImage
*) 0 ;
12741 unsigned char arg2
;
12742 unsigned char arg3
;
12743 unsigned char arg4
;
12744 unsigned char arg5
;
12745 unsigned char arg6
;
12746 unsigned char arg7
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 PyObject
* obj4
= 0 ;
12752 PyObject
* obj5
= 0 ;
12753 PyObject
* obj6
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail
;
12762 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12763 if (SWIG_arg_fail(2)) SWIG_fail
;
12766 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12767 if (SWIG_arg_fail(3)) SWIG_fail
;
12770 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12771 if (SWIG_arg_fail(4)) SWIG_fail
;
12774 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12775 if (SWIG_arg_fail(5)) SWIG_fail
;
12778 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12779 if (SWIG_arg_fail(6)) SWIG_fail
;
12782 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12783 if (SWIG_arg_fail(7)) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 Py_INCREF(Py_None
); resultobj
= Py_None
;
12799 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxImage
*arg1
= (wxImage
*) 0 ;
12802 unsigned char arg2
;
12803 unsigned char arg3
;
12804 unsigned char arg4
;
12805 SwigValueWrapper
<wxImage
> result
;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 PyObject
* obj3
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12816 if (SWIG_arg_fail(1)) SWIG_fail
;
12818 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12819 if (SWIG_arg_fail(2)) SWIG_fail
;
12822 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12823 if (SWIG_arg_fail(3)) SWIG_fail
;
12826 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12827 if (SWIG_arg_fail(4)) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 wxImage
* resultptr
;
12838 resultptr
= new wxImage((wxImage
&)(result
));
12839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12847 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxImage
*arg1
= (wxImage
*) 0 ;
12850 wxString
*arg2
= 0 ;
12851 wxString
*arg3
= 0 ;
12852 bool temp2
= false ;
12853 bool temp3
= false ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 PyObject
* obj2
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "name",(char *) "value", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail
;
12865 arg2
= wxString_in_helper(obj1
);
12866 if (arg2
== NULL
) SWIG_fail
;
12870 arg3
= wxString_in_helper(obj2
);
12871 if (arg3
== NULL
) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxImage
*arg1
= (wxImage
*) 0 ;
12907 wxString
*arg2
= 0 ;
12909 bool temp2
= false ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self",(char *) "name",(char *) "value", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail
;
12921 arg2
= wxString_in_helper(obj1
);
12922 if (arg2
== NULL
) SWIG_fail
;
12926 arg3
= (int)(SWIG_As_int(obj2
));
12927 if (SWIG_arg_fail(3)) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12951 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxImage
*arg1
= (wxImage
*) 0 ;
12954 wxString
*arg2
= 0 ;
12956 bool temp2
= false ;
12957 PyObject
* obj0
= 0 ;
12958 PyObject
* obj1
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self",(char *) "name", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12965 if (SWIG_arg_fail(1)) SWIG_fail
;
12967 arg2
= wxString_in_helper(obj1
);
12968 if (arg2
== NULL
) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12999 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxImage
*arg1
= (wxImage
*) 0 ;
13002 wxString
*arg2
= 0 ;
13004 bool temp2
= false ;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 char *kwnames
[] = {
13008 (char *) "self",(char *) "name", NULL
13011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13013 if (SWIG_arg_fail(1)) SWIG_fail
;
13015 arg2
= wxString_in_helper(obj1
);
13016 if (arg2
== NULL
) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_From_int((int)(result
));
13043 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxImage
*arg1
= (wxImage
*) 0 ;
13046 wxString
*arg2
= 0 ;
13048 bool temp2
= false ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "name", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail
;
13059 arg2
= wxString_in_helper(obj1
);
13060 if (arg2
== NULL
) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13087 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxImage
*arg1
= (wxImage
*) 0 ;
13090 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13091 unsigned long result
;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "stopafter", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail
;
13103 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13104 if (SWIG_arg_fail(2)) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13123 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxImage
*arg1
= (wxImage
*) 0 ;
13126 wxImageHistogram
*arg2
= 0 ;
13127 unsigned long result
;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "h", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13136 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13139 if (SWIG_arg_fail(2)) SWIG_fail
;
13140 if (arg2
== NULL
) {
13141 SWIG_null_ref("wxImageHistogram");
13143 if (SWIG_arg_fail(2)) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13161 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "handler", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 wxImage::AddHandler(arg1
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "handler", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 wxImage::InsertHandler(arg1
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13211 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxString
*arg1
= 0 ;
13215 bool temp1
= false ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "name", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13223 arg1
= wxString_in_helper(obj0
);
13224 if (arg1
== NULL
) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13251 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13254 char *kwnames
[] = {
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= wxImage::GetImageExtWildcard();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13279 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxImage
*arg1
= (wxImage
*) 0 ;
13282 int arg2
= (int) -1 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "depth", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 arg2
= (int)(SWIG_As_int(obj1
));
13296 if (SWIG_arg_fail(2)) SWIG_fail
;
13300 if (!wxPyCheckForApp()) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13308 wxBitmap
* resultptr
;
13309 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13318 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxImage
*arg1
= (wxImage
*) 0 ;
13321 unsigned char arg2
;
13322 unsigned char arg3
;
13323 unsigned char arg4
;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 PyObject
* obj2
= 0 ;
13328 PyObject
* obj3
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13335 if (SWIG_arg_fail(1)) SWIG_fail
;
13337 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13338 if (SWIG_arg_fail(2)) SWIG_fail
;
13341 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13342 if (SWIG_arg_fail(3)) SWIG_fail
;
13345 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13346 if (SWIG_arg_fail(4)) SWIG_fail
;
13349 if (!wxPyCheckForApp()) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13357 wxBitmap
* resultptr
;
13358 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13367 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13370 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13372 return Py_BuildValue((char *)"");
13374 static int _wrap_NullImage_set(PyObject
*) {
13375 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13380 static PyObject
*_wrap_NullImage_get(void) {
13383 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13388 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13389 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13394 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13399 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13401 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13408 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13409 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13414 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13419 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13421 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13428 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13429 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13434 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13439 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13441 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13448 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13449 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13454 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13459 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13461 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13468 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13469 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13474 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13479 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13481 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13488 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13489 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13494 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13499 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13501 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13508 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13509 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13514 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13519 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13521 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13528 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13529 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13534 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13539 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13541 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13548 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13549 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13554 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13559 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13561 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13568 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13569 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13574 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13579 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13581 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13588 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13589 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13594 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13599 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13601 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13608 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13609 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13614 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13619 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13621 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13628 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13629 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13634 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13639 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13641 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13648 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13649 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13654 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13659 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13661 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13668 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13669 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13674 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13679 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13681 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13688 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxBMPHandler
*result
;
13691 char *kwnames
[] = {
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (wxBMPHandler
*)new wxBMPHandler();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13710 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13713 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13715 return Py_BuildValue((char *)"");
13717 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxICOHandler
*result
;
13720 char *kwnames
[] = {
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxICOHandler
*)new wxICOHandler();
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13739 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13742 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13744 return Py_BuildValue((char *)"");
13746 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxCURHandler
*result
;
13749 char *kwnames
[] = {
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (wxCURHandler
*)new wxCURHandler();
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13768 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxANIHandler
*result
;
13778 char *kwnames
[] = {
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 result
= (wxANIHandler
*)new wxANIHandler();
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13797 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13800 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13802 return Py_BuildValue((char *)"");
13804 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxPNGHandler
*result
;
13807 char *kwnames
[] = {
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (wxPNGHandler
*)new wxPNGHandler();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13826 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13829 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13831 return Py_BuildValue((char *)"");
13833 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxGIFHandler
*result
;
13836 char *kwnames
[] = {
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxGIFHandler
*)new wxGIFHandler();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13855 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13858 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13860 return Py_BuildValue((char *)"");
13862 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxPCXHandler
*result
;
13865 char *kwnames
[] = {
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (wxPCXHandler
*)new wxPCXHandler();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13884 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13887 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13889 return Py_BuildValue((char *)"");
13891 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxJPEGHandler
*result
;
13894 char *kwnames
[] = {
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13913 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13916 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13918 return Py_BuildValue((char *)"");
13920 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxPNMHandler
*result
;
13923 char *kwnames
[] = {
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (wxPNMHandler
*)new wxPNMHandler();
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13942 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13945 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13947 return Py_BuildValue((char *)"");
13949 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxXPMHandler
*result
;
13952 char *kwnames
[] = {
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (wxXPMHandler
*)new wxXPMHandler();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13971 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13974 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13976 return Py_BuildValue((char *)"");
13978 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxTIFFHandler
*result
;
13981 char *kwnames
[] = {
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14000 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14003 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14005 return Py_BuildValue((char *)"");
14007 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxImage
*arg1
= 0 ;
14010 wxImage
*arg2
= 0 ;
14011 int arg3
= (int) 236 ;
14012 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 PyObject
* obj2
= 0 ;
14017 PyObject
* obj3
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14025 if (SWIG_arg_fail(1)) SWIG_fail
;
14026 if (arg1
== NULL
) {
14027 SWIG_null_ref("wxImage");
14029 if (SWIG_arg_fail(1)) SWIG_fail
;
14032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14033 if (SWIG_arg_fail(2)) SWIG_fail
;
14034 if (arg2
== NULL
) {
14035 SWIG_null_ref("wxImage");
14037 if (SWIG_arg_fail(2)) SWIG_fail
;
14041 arg3
= (int)(SWIG_As_int(obj2
));
14042 if (SWIG_arg_fail(3)) SWIG_fail
;
14047 arg4
= (int)(SWIG_As_int(obj3
));
14048 if (SWIG_arg_fail(4)) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14067 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14070 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14072 return Py_BuildValue((char *)"");
14074 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxEvtHandler
*result
;
14077 char *kwnames
[] = {
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (wxEvtHandler
*)new wxEvtHandler();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14096 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14099 wxEvtHandler
*result
;
14100 PyObject
* obj0
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14107 if (SWIG_arg_fail(1)) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= wxPyMake_wxObject(result
, 0);
14124 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14127 wxEvtHandler
*result
;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= wxPyMake_wxObject(result
, 0);
14152 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14155 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self",(char *) "handler", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14164 if (SWIG_arg_fail(1)) SWIG_fail
;
14165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14166 if (SWIG_arg_fail(2)) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 (arg1
)->SetNextHandler(arg2
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 Py_INCREF(Py_None
); resultobj
= Py_None
;
14181 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14184 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "handler", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail
;
14194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14195 if (SWIG_arg_fail(2)) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 (arg1
)->SetPreviousHandler(arg2
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 Py_INCREF(Py_None
); resultobj
= Py_None
;
14210 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14238 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "enabled", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail
;
14252 arg2
= (bool)(SWIG_As_bool(obj1
));
14253 if (SWIG_arg_fail(2)) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->SetEvtHandlerEnabled(arg2
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14272 wxEvent
*arg2
= 0 ;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self",(char *) "event", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14285 if (SWIG_arg_fail(2)) SWIG_fail
;
14286 if (arg2
== NULL
) {
14287 SWIG_null_ref("wxEvent");
14289 if (SWIG_arg_fail(2)) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14307 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14310 wxEvent
*arg2
= 0 ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self",(char *) "event", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail
;
14321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(2)) SWIG_fail
;
14323 if (arg2
== NULL
) {
14324 SWIG_null_ref("wxEvent");
14326 if (SWIG_arg_fail(2)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->AddPendingEvent(*arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14352 if (SWIG_arg_fail(1)) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->ProcessPendingEvents();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 Py_INCREF(Py_None
); resultobj
= Py_None
;
14367 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14373 PyObject
*arg5
= (PyObject
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 PyObject
* obj2
= 0 ;
14377 PyObject
* obj3
= 0 ;
14378 PyObject
* obj4
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14385 if (SWIG_arg_fail(1)) SWIG_fail
;
14387 arg2
= (int)(SWIG_As_int(obj1
));
14388 if (SWIG_arg_fail(2)) SWIG_fail
;
14391 arg3
= (int)(SWIG_As_int(obj2
));
14392 if (SWIG_arg_fail(3)) SWIG_fail
;
14395 arg4
= (int)(SWIG_As_int(obj3
));
14396 if (SWIG_arg_fail(4)) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 Py_INCREF(Py_None
); resultobj
= Py_None
;
14413 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14417 int arg3
= (int) -1 ;
14418 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 PyObject
* obj2
= 0 ;
14423 PyObject
* obj3
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14430 if (SWIG_arg_fail(1)) SWIG_fail
;
14432 arg2
= (int)(SWIG_As_int(obj1
));
14433 if (SWIG_arg_fail(2)) SWIG_fail
;
14437 arg3
= (int)(SWIG_As_int(obj2
));
14438 if (SWIG_arg_fail(3)) SWIG_fail
;
14443 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14444 if (SWIG_arg_fail(4)) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14463 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14466 PyObject
*arg2
= (PyObject
*) 0 ;
14467 bool arg3
= (bool) true ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "_self",(char *) "incref", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14477 if (SWIG_arg_fail(1)) SWIG_fail
;
14481 arg3
= (bool)(SWIG_As_bool(obj2
));
14482 if (SWIG_arg_fail(3)) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 Py_INCREF(Py_None
); resultobj
= Py_None
;
14499 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14502 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14504 return Py_BuildValue((char *)"");
14506 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxEventType result
;
14509 char *kwnames
[] = {
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (wxEventType
)wxNewEventType();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_From_int((int)(result
));
14530 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxEvent
*arg1
= (wxEvent
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14540 if (SWIG_arg_fail(1)) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 Py_INCREF(Py_None
); resultobj
= Py_None
;
14555 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxEvent
*arg1
= (wxEvent
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 PyObject
* obj1
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "typ", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail
;
14569 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14570 if (SWIG_arg_fail(2)) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->SetEventType(arg2
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxEvent
*arg1
= (wxEvent
*) 0 ;
14589 wxEventType result
;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14597 if (SWIG_arg_fail(1)) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= SWIG_From_int((int)(result
));
14614 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxEvent
*arg1
= (wxEvent
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14625 if (SWIG_arg_fail(1)) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= wxPyMake_wxObject(result
, 0);
14642 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxEvent
*arg1
= (wxEvent
*) 0 ;
14645 wxObject
*arg2
= (wxObject
*) 0 ;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self",(char *) "obj", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14654 if (SWIG_arg_fail(1)) SWIG_fail
;
14655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14656 if (SWIG_arg_fail(2)) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->SetEventObject(arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 Py_INCREF(Py_None
); resultobj
= Py_None
;
14671 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxEvent
*arg1
= (wxEvent
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14682 if (SWIG_arg_fail(1)) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_From_long((long)(result
));
14699 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxEvent
*arg1
= (wxEvent
*) 0 ;
14702 long arg2
= (long) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "ts", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14711 if (SWIG_arg_fail(1)) SWIG_fail
;
14714 arg2
= (long)(SWIG_As_long(obj1
));
14715 if (SWIG_arg_fail(2)) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->SetTimestamp(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 Py_INCREF(Py_None
); resultobj
= Py_None
;
14732 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxEvent
*arg1
= (wxEvent
*) 0 ;
14736 PyObject
* obj0
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "self", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14743 if (SWIG_arg_fail(1)) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (int)((wxEvent
const *)arg1
)->GetId();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_From_int((int)(result
));
14760 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxEvent
*arg1
= (wxEvent
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self",(char *) "Id", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14772 if (SWIG_arg_fail(1)) SWIG_fail
;
14774 arg2
= (int)(SWIG_As_int(obj1
));
14775 if (SWIG_arg_fail(2)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetId(arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxEvent
*arg1
= (wxEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxEvent
*arg1
= (wxEvent
*) 0 ;
14822 bool arg2
= (bool) true ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self",(char *) "skip", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14831 if (SWIG_arg_fail(1)) SWIG_fail
;
14834 arg2
= (bool)(SWIG_As_bool(obj1
));
14835 if (SWIG_arg_fail(2)) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 (arg1
)->Skip(arg2
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 Py_INCREF(Py_None
); resultobj
= Py_None
;
14852 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxEvent
*arg1
= (wxEvent
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14863 if (SWIG_arg_fail(1)) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14880 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxEvent
*arg1
= (wxEvent
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14891 if (SWIG_arg_fail(1)) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14908 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxEvent
*arg1
= (wxEvent
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14919 if (SWIG_arg_fail(1)) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (int)(arg1
)->StopPropagation();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_From_int((int)(result
));
14936 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxEvent
*arg1
= (wxEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self",(char *) "propagationLevel", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14948 if (SWIG_arg_fail(1)) SWIG_fail
;
14950 arg2
= (int)(SWIG_As_int(obj1
));
14951 if (SWIG_arg_fail(2)) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 (arg1
)->ResumePropagation(arg2
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 Py_INCREF(Py_None
); resultobj
= Py_None
;
14967 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxEvent
*arg1
= (wxEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14978 if (SWIG_arg_fail(1)) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (wxEvent
*)(arg1
)->Clone();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14993 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14996 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14998 return Py_BuildValue((char *)"");
15000 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxEvent
*arg1
= 0 ;
15003 wxPropagationDisabler
*result
;
15004 PyObject
* obj0
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "event", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15012 if (SWIG_arg_fail(1)) SWIG_fail
;
15013 if (arg1
== NULL
) {
15014 SWIG_null_ref("wxEvent");
15016 if (SWIG_arg_fail(1)) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15032 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15042 if (SWIG_arg_fail(1)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15060 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15062 return Py_BuildValue((char *)"");
15064 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxEvent
*arg1
= 0 ;
15067 wxPropagateOnce
*result
;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "event", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15076 if (SWIG_arg_fail(1)) SWIG_fail
;
15077 if (arg1
== NULL
) {
15078 SWIG_null_ref("wxEvent");
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15096 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15124 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15126 return Py_BuildValue((char *)"");
15128 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15131 int arg2
= (int) 0 ;
15132 wxCommandEvent
*result
;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "commandType",(char *) "winid", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15143 if (SWIG_arg_fail(1)) SWIG_fail
;
15148 arg2
= (int)(SWIG_As_int(obj1
));
15149 if (SWIG_arg_fail(2)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15166 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15177 if (SWIG_arg_fail(1)) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_From_int((int)(result
));
15194 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15197 wxString
*arg2
= 0 ;
15198 bool temp2
= false ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "s", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15207 if (SWIG_arg_fail(1)) SWIG_fail
;
15209 arg2
= wxString_in_helper(obj1
);
15210 if (arg2
== NULL
) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 (arg1
)->SetString((wxString
const &)*arg2
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 Py_INCREF(Py_None
); resultobj
= Py_None
;
15235 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15246 if (SWIG_arg_fail(1)) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15267 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15278 if (SWIG_arg_fail(1)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15295 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15306 if (SWIG_arg_fail(1)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self",(char *) "extraLong", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 arg2
= (long)(SWIG_As_long(obj1
));
15338 if (SWIG_arg_fail(2)) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 (arg1
)->SetExtraLong(arg2
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 Py_INCREF(Py_None
); resultobj
= Py_None
;
15354 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15365 if (SWIG_arg_fail(1)) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_From_long((long)(result
));
15382 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self",(char *) "i", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15396 arg2
= (int)(SWIG_As_int(obj1
));
15397 if (SWIG_arg_fail(2)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->SetInt(arg2
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15424 if (SWIG_arg_fail(1)) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_From_long((long)(result
));
15441 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15452 if (SWIG_arg_fail(1)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15467 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15470 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15472 return Py_BuildValue((char *)"");
15474 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15477 int arg2
= (int) 0 ;
15478 wxNotifyEvent
*result
;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "commandType",(char *) "winid", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15488 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15489 if (SWIG_arg_fail(1)) SWIG_fail
;
15494 arg2
= (int)(SWIG_As_int(obj1
));
15495 if (SWIG_arg_fail(2)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15512 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 Py_INCREF(Py_None
); resultobj
= Py_None
;
15537 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (bool)(arg1
)->IsAllowed();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15590 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15593 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15595 return Py_BuildValue((char *)"");
15597 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15600 int arg2
= (int) 0 ;
15601 int arg3
= (int) 0 ;
15602 int arg4
= (int) 0 ;
15603 wxScrollEvent
*result
;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 PyObject
* obj2
= 0 ;
15607 PyObject
* obj3
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15615 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15616 if (SWIG_arg_fail(1)) SWIG_fail
;
15621 arg2
= (int)(SWIG_As_int(obj1
));
15622 if (SWIG_arg_fail(2)) SWIG_fail
;
15627 arg3
= (int)(SWIG_As_int(obj2
));
15628 if (SWIG_arg_fail(3)) SWIG_fail
;
15633 arg4
= (int)(SWIG_As_int(obj3
));
15634 if (SWIG_arg_fail(4)) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15651 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15655 PyObject
* obj0
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15662 if (SWIG_arg_fail(1)) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_From_int((int)(result
));
15679 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15690 if (SWIG_arg_fail(1)) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_From_int((int)(result
));
15707 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "orient", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15719 if (SWIG_arg_fail(1)) SWIG_fail
;
15721 arg2
= (int)(SWIG_As_int(obj1
));
15722 if (SWIG_arg_fail(2)) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 (arg1
)->SetOrientation(arg2
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 Py_INCREF(Py_None
); resultobj
= Py_None
;
15738 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "pos", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail
;
15752 arg2
= (int)(SWIG_As_int(obj1
));
15753 if (SWIG_arg_fail(2)) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 (arg1
)->SetPosition(arg2
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 Py_INCREF(Py_None
); resultobj
= Py_None
;
15769 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15772 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15774 return Py_BuildValue((char *)"");
15776 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15779 int arg2
= (int) 0 ;
15780 int arg3
= (int) 0 ;
15781 wxScrollWinEvent
*result
;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 PyObject
* obj2
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15792 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15793 if (SWIG_arg_fail(1)) SWIG_fail
;
15798 arg2
= (int)(SWIG_As_int(obj1
));
15799 if (SWIG_arg_fail(2)) SWIG_fail
;
15804 arg3
= (int)(SWIG_As_int(obj2
));
15805 if (SWIG_arg_fail(3)) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15822 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_From_int((int)(result
));
15850 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int((int)(result
));
15878 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "orient", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15892 arg2
= (int)(SWIG_As_int(obj1
));
15893 if (SWIG_arg_fail(2)) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetOrientation(arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 PyObject
* obj1
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self",(char *) "pos", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail
;
15923 arg2
= (int)(SWIG_As_int(obj1
));
15924 if (SWIG_arg_fail(2)) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 (arg1
)->SetPosition(arg2
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 Py_INCREF(Py_None
); resultobj
= Py_None
;
15940 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15943 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15945 return Py_BuildValue((char *)"");
15947 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15950 wxMouseEvent
*result
;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "mouseType", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15959 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15960 if (SWIG_arg_fail(1)) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= wxPyMake_wxObject(result
, 1);
15979 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15990 if (SWIG_arg_fail(1)) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16007 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16010 int arg2
= (int) wxMOUSE_BTN_ANY
;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "but", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16020 if (SWIG_arg_fail(1)) SWIG_fail
;
16023 arg2
= (int)(SWIG_As_int(obj1
));
16024 if (SWIG_arg_fail(2)) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16046 int arg2
= (int) wxMOUSE_BTN_ANY
;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "but", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail
;
16059 arg2
= (int)(SWIG_As_int(obj1
));
16060 if (SWIG_arg_fail(2)) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16082 int arg2
= (int) wxMOUSE_BTN_ANY
;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "but", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16092 if (SWIG_arg_fail(1)) SWIG_fail
;
16095 arg2
= (int)(SWIG_As_int(obj1
));
16096 if (SWIG_arg_fail(2)) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16115 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "but", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 arg2
= (int)(SWIG_As_int(obj1
));
16131 if (SWIG_arg_fail(2)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16149 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "but", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16162 if (SWIG_arg_fail(1)) SWIG_fail
;
16164 arg2
= (int)(SWIG_As_int(obj1
));
16165 if (SWIG_arg_fail(2)) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16183 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16194 if (SWIG_arg_fail(1)) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= SWIG_From_int((int)(result
));
16211 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16267 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16278 if (SWIG_arg_fail(1)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16295 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16306 if (SWIG_arg_fail(1)) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16323 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16334 if (SWIG_arg_fail(1)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16379 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16435 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16446 if (SWIG_arg_fail(1)) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16463 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16502 if (SWIG_arg_fail(1)) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16519 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16530 if (SWIG_arg_fail(1)) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16558 if (SWIG_arg_fail(1)) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (bool)(arg1
)->LeftIsDown();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16631 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16642 if (SWIG_arg_fail(1)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (bool)(arg1
)->MiddleIsDown();
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16659 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (bool)(arg1
)->RightIsDown();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16698 if (SWIG_arg_fail(1)) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16715 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16743 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16754 if (SWIG_arg_fail(1)) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16771 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16782 if (SWIG_arg_fail(1)) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16799 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16810 if (SWIG_arg_fail(1)) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (arg1
)->GetPosition();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 wxPoint
* resultptr
;
16820 resultptr
= new wxPoint((wxPoint
&)(result
));
16821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16829 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16832 long *arg2
= (long *) 0 ;
16833 long *arg3
= (long *) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self", NULL
16843 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16844 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->GetPosition(arg2
,arg3
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16856 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16857 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16858 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16859 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16866 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self",(char *) "dc", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail
;
16881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16882 if (SWIG_arg_fail(2)) SWIG_fail
;
16883 if (arg2
== NULL
) {
16884 SWIG_null_ref("wxDC");
16886 if (SWIG_arg_fail(2)) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 wxPoint
* resultptr
;
16897 resultptr
= new wxPoint((wxPoint
&)(result
));
16898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16906 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_From_int((int)(result
));
16934 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16945 if (SWIG_arg_fail(1)) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_From_int((int)(result
));
16962 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_From_int((int)(result
));
16990 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 char *kwnames
[] = {
16996 (char *) "self", NULL
16999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17001 if (SWIG_arg_fail(1)) SWIG_fail
;
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_From_int((int)(result
));
17018 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17029 if (SWIG_arg_fail(1)) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_From_int((int)(result
));
17046 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17074 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 PyObject
* obj1
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "m_x", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17088 arg2
= (int)(SWIG_As_int(obj1
));
17089 if (SWIG_arg_fail(2)) SWIG_fail
;
17091 if (arg1
) (arg1
)->m_x
= arg2
;
17093 Py_INCREF(Py_None
); resultobj
= Py_None
;
17100 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17111 if (SWIG_arg_fail(1)) SWIG_fail
;
17112 result
= (int) ((arg1
)->m_x
);
17115 resultobj
= SWIG_From_int((int)(result
));
17123 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self",(char *) "m_y", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17135 if (SWIG_arg_fail(1)) SWIG_fail
;
17137 arg2
= (int)(SWIG_As_int(obj1
));
17138 if (SWIG_arg_fail(2)) SWIG_fail
;
17140 if (arg1
) (arg1
)->m_y
= arg2
;
17142 Py_INCREF(Py_None
); resultobj
= Py_None
;
17149 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17160 if (SWIG_arg_fail(1)) SWIG_fail
;
17161 result
= (int) ((arg1
)->m_y
);
17164 resultobj
= SWIG_From_int((int)(result
));
17172 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "m_leftDown", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17184 if (SWIG_arg_fail(1)) SWIG_fail
;
17186 arg2
= (bool)(SWIG_As_bool(obj1
));
17187 if (SWIG_arg_fail(2)) SWIG_fail
;
17189 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17191 Py_INCREF(Py_None
); resultobj
= Py_None
;
17198 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17209 if (SWIG_arg_fail(1)) SWIG_fail
;
17210 result
= (bool) ((arg1
)->m_leftDown
);
17213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17221 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "m_middleDown", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17233 if (SWIG_arg_fail(1)) SWIG_fail
;
17235 arg2
= (bool)(SWIG_As_bool(obj1
));
17236 if (SWIG_arg_fail(2)) SWIG_fail
;
17238 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17240 Py_INCREF(Py_None
); resultobj
= Py_None
;
17247 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17259 result
= (bool) ((arg1
)->m_middleDown
);
17262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17270 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self",(char *) "m_rightDown", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17282 if (SWIG_arg_fail(1)) SWIG_fail
;
17284 arg2
= (bool)(SWIG_As_bool(obj1
));
17285 if (SWIG_arg_fail(2)) SWIG_fail
;
17287 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17289 Py_INCREF(Py_None
); resultobj
= Py_None
;
17296 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail
;
17308 result
= (bool) ((arg1
)->m_rightDown
);
17311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17319 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "m_controlDown", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 arg2
= (bool)(SWIG_As_bool(obj1
));
17334 if (SWIG_arg_fail(2)) SWIG_fail
;
17336 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17356 if (SWIG_arg_fail(1)) SWIG_fail
;
17357 result
= (bool) ((arg1
)->m_controlDown
);
17360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17368 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "m_shiftDown", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17380 if (SWIG_arg_fail(1)) SWIG_fail
;
17382 arg2
= (bool)(SWIG_As_bool(obj1
));
17383 if (SWIG_arg_fail(2)) SWIG_fail
;
17385 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17387 Py_INCREF(Py_None
); resultobj
= Py_None
;
17394 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17405 if (SWIG_arg_fail(1)) SWIG_fail
;
17406 result
= (bool) ((arg1
)->m_shiftDown
);
17409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17417 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "m_altDown", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17429 if (SWIG_arg_fail(1)) SWIG_fail
;
17431 arg2
= (bool)(SWIG_As_bool(obj1
));
17432 if (SWIG_arg_fail(2)) SWIG_fail
;
17434 if (arg1
) (arg1
)->m_altDown
= arg2
;
17436 Py_INCREF(Py_None
); resultobj
= Py_None
;
17443 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17454 if (SWIG_arg_fail(1)) SWIG_fail
;
17455 result
= (bool) ((arg1
)->m_altDown
);
17458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17466 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self",(char *) "m_metaDown", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17478 if (SWIG_arg_fail(1)) SWIG_fail
;
17480 arg2
= (bool)(SWIG_As_bool(obj1
));
17481 if (SWIG_arg_fail(2)) SWIG_fail
;
17483 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17485 Py_INCREF(Py_None
); resultobj
= Py_None
;
17492 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17496 PyObject
* obj0
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17503 if (SWIG_arg_fail(1)) SWIG_fail
;
17504 result
= (bool) ((arg1
)->m_metaDown
);
17507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17515 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "m_wheelRotation", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17527 if (SWIG_arg_fail(1)) SWIG_fail
;
17529 arg2
= (int)(SWIG_As_int(obj1
));
17530 if (SWIG_arg_fail(2)) SWIG_fail
;
17532 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17534 Py_INCREF(Py_None
); resultobj
= Py_None
;
17541 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail
;
17553 result
= (int) ((arg1
)->m_wheelRotation
);
17556 resultobj
= SWIG_From_int((int)(result
));
17564 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "m_wheelDelta", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail
;
17578 arg2
= (int)(SWIG_As_int(obj1
));
17579 if (SWIG_arg_fail(2)) SWIG_fail
;
17581 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17583 Py_INCREF(Py_None
); resultobj
= Py_None
;
17590 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17601 if (SWIG_arg_fail(1)) SWIG_fail
;
17602 result
= (int) ((arg1
)->m_wheelDelta
);
17605 resultobj
= SWIG_From_int((int)(result
));
17613 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "m_linesPerAction", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17625 if (SWIG_arg_fail(1)) SWIG_fail
;
17627 arg2
= (int)(SWIG_As_int(obj1
));
17628 if (SWIG_arg_fail(2)) SWIG_fail
;
17630 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17632 Py_INCREF(Py_None
); resultobj
= Py_None
;
17639 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17650 if (SWIG_arg_fail(1)) SWIG_fail
;
17651 result
= (int) ((arg1
)->m_linesPerAction
);
17654 resultobj
= SWIG_From_int((int)(result
));
17662 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17665 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17667 return Py_BuildValue((char *)"");
17669 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 int arg1
= (int) 0 ;
17672 int arg2
= (int) 0 ;
17673 wxSetCursorEvent
*result
;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "x",(char *) "y", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 arg1
= (int)(SWIG_As_int(obj0
));
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 arg2
= (int)(SWIG_As_int(obj1
));
17690 if (SWIG_arg_fail(2)) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17707 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17718 if (SWIG_arg_fail(1)) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_From_int((int)(result
));
17735 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17746 if (SWIG_arg_fail(1)) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_From_int((int)(result
));
17763 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17766 wxCursor
*arg2
= 0 ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self",(char *) "cursor", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17775 if (SWIG_arg_fail(1)) SWIG_fail
;
17777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(2)) SWIG_fail
;
17779 if (arg2
== NULL
) {
17780 SWIG_null_ref("wxCursor");
17782 if (SWIG_arg_fail(2)) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 Py_INCREF(Py_None
); resultobj
= Py_None
;
17798 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17814 result
= (wxCursor
*) &_result_ref
;
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 wxCursor
* resultptr
= new wxCursor(*result
);
17822 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17830 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17841 if (SWIG_arg_fail(1)) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17858 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17861 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17863 return Py_BuildValue((char *)"");
17865 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17868 wxKeyEvent
*result
;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "keyType", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17877 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17878 if (SWIG_arg_fail(1)) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17895 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17906 if (SWIG_arg_fail(1)) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17923 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17934 if (SWIG_arg_fail(1)) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17951 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17962 if (SWIG_arg_fail(1)) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17979 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18007 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18018 if (SWIG_arg_fail(1)) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18035 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18046 if (SWIG_arg_fail(1)) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18063 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_From_int((int)(result
));
18091 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18102 if (SWIG_arg_fail(1)) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_From_int((int)(result
));
18119 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18122 unsigned int result
;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18130 if (SWIG_arg_fail(1)) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18147 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18150 unsigned int result
;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18175 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18179 PyObject
* obj0
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "self", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18186 if (SWIG_arg_fail(1)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (arg1
)->GetPosition();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 wxPoint
* resultptr
;
18196 resultptr
= new wxPoint((wxPoint
&)(result
));
18197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18205 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18208 long *arg2
= (long *) 0 ;
18209 long *arg3
= (long *) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self", NULL
18219 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18220 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18223 if (SWIG_arg_fail(1)) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->GetPosition(arg2
,arg3
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 Py_INCREF(Py_None
); resultobj
= Py_None
;
18232 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18233 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18234 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18235 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18242 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18253 if (SWIG_arg_fail(1)) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_From_int((int)(result
));
18270 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_From_int((int)(result
));
18298 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self",(char *) "m_x", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 arg2
= (int)(SWIG_As_int(obj1
));
18313 if (SWIG_arg_fail(2)) SWIG_fail
;
18315 if (arg1
) (arg1
)->m_x
= arg2
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail
;
18336 result
= (int) ((arg1
)->m_x
);
18339 resultobj
= SWIG_From_int((int)(result
));
18347 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "m_y", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail
;
18361 arg2
= (int)(SWIG_As_int(obj1
));
18362 if (SWIG_arg_fail(2)) SWIG_fail
;
18364 if (arg1
) (arg1
)->m_y
= arg2
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail
;
18385 result
= (int) ((arg1
)->m_y
);
18388 resultobj
= SWIG_From_int((int)(result
));
18396 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "m_keyCode", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 arg2
= (long)(SWIG_As_long(obj1
));
18411 if (SWIG_arg_fail(2)) SWIG_fail
;
18413 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18433 if (SWIG_arg_fail(1)) SWIG_fail
;
18434 result
= (long) ((arg1
)->m_keyCode
);
18437 resultobj
= SWIG_From_long((long)(result
));
18445 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self",(char *) "m_controlDown", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail
;
18459 arg2
= (bool)(SWIG_As_bool(obj1
));
18460 if (SWIG_arg_fail(2)) SWIG_fail
;
18462 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18464 Py_INCREF(Py_None
); resultobj
= Py_None
;
18471 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18482 if (SWIG_arg_fail(1)) SWIG_fail
;
18483 result
= (bool) ((arg1
)->m_controlDown
);
18486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18494 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "m_shiftDown", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18506 if (SWIG_arg_fail(1)) SWIG_fail
;
18508 arg2
= (bool)(SWIG_As_bool(obj1
));
18509 if (SWIG_arg_fail(2)) SWIG_fail
;
18511 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18513 Py_INCREF(Py_None
); resultobj
= Py_None
;
18520 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail
;
18532 result
= (bool) ((arg1
)->m_shiftDown
);
18535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18543 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "m_altDown", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18555 if (SWIG_arg_fail(1)) SWIG_fail
;
18557 arg2
= (bool)(SWIG_As_bool(obj1
));
18558 if (SWIG_arg_fail(2)) SWIG_fail
;
18560 if (arg1
) (arg1
)->m_altDown
= arg2
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18569 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18573 PyObject
* obj0
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 result
= (bool) ((arg1
)->m_altDown
);
18584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18592 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "self",(char *) "m_metaDown", NULL
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18604 if (SWIG_arg_fail(1)) SWIG_fail
;
18606 arg2
= (bool)(SWIG_As_bool(obj1
));
18607 if (SWIG_arg_fail(2)) SWIG_fail
;
18609 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18629 if (SWIG_arg_fail(1)) SWIG_fail
;
18630 result
= (bool) ((arg1
)->m_metaDown
);
18633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18641 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "m_scanCode", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18653 if (SWIG_arg_fail(1)) SWIG_fail
;
18655 arg2
= (bool)(SWIG_As_bool(obj1
));
18656 if (SWIG_arg_fail(2)) SWIG_fail
;
18658 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18660 Py_INCREF(Py_None
); resultobj
= Py_None
;
18667 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18678 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 result
= (bool) ((arg1
)->m_scanCode
);
18682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18690 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18693 unsigned int arg2
;
18694 PyObject
* obj0
= 0 ;
18695 PyObject
* obj1
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self",(char *) "m_rawCode", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18702 if (SWIG_arg_fail(1)) SWIG_fail
;
18704 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18705 if (SWIG_arg_fail(2)) SWIG_fail
;
18707 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18709 Py_INCREF(Py_None
); resultobj
= Py_None
;
18716 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18719 unsigned int result
;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18727 if (SWIG_arg_fail(1)) SWIG_fail
;
18728 result
= (unsigned int) ((arg1
)->m_rawCode
);
18731 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18739 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18742 unsigned int arg2
;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "m_rawFlags", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail
;
18753 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18754 if (SWIG_arg_fail(2)) SWIG_fail
;
18756 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18758 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18768 unsigned int result
;
18769 PyObject
* obj0
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18776 if (SWIG_arg_fail(1)) SWIG_fail
;
18777 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18780 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18788 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18791 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18793 return Py_BuildValue((char *)"");
18795 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18798 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18799 int arg2
= (int) 0 ;
18800 wxSizeEvent
*result
;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "sz",(char *) "winid", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18812 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18817 arg2
= (int)(SWIG_As_int(obj1
));
18818 if (SWIG_arg_fail(2)) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18835 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 wxSize
* resultptr
;
18856 resultptr
= new wxSize((wxSize
&)(result
));
18857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18865 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 wxRect
* resultptr
;
18886 resultptr
= new wxRect((wxRect
&)(result
));
18887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18895 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "rect", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18910 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18911 if (SWIG_arg_fail(2)) SWIG_fail
;
18912 if (argp
== NULL
) {
18913 SWIG_null_ref("wxRect");
18915 if (SWIG_arg_fail(2)) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->SetRect(arg2
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 Py_INCREF(Py_None
); resultobj
= Py_None
;
18932 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "size", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18944 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18949 if (argp
== NULL
) {
18950 SWIG_null_ref("wxSize");
18952 if (SWIG_arg_fail(2)) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 wxSizeEvent_SetSize(arg1
,arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 Py_INCREF(Py_None
); resultobj
= Py_None
;
18969 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18972 wxSize
*arg2
= (wxSize
*) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self",(char *) "m_size", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18983 if (SWIG_arg_fail(2)) SWIG_fail
;
18984 if (arg1
) (arg1
)->m_size
= *arg2
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19004 if (SWIG_arg_fail(1)) SWIG_fail
;
19005 result
= (wxSize
*)& ((arg1
)->m_size
);
19007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19014 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19017 wxRect
*arg2
= (wxRect
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "m_rect", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19026 if (SWIG_arg_fail(1)) SWIG_fail
;
19027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19028 if (SWIG_arg_fail(2)) SWIG_fail
;
19029 if (arg1
) (arg1
)->m_rect
= *arg2
;
19031 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19049 if (SWIG_arg_fail(1)) SWIG_fail
;
19050 result
= (wxRect
*)& ((arg1
)->m_rect
);
19052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19059 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19062 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19064 return Py_BuildValue((char *)"");
19066 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19069 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19070 int arg2
= (int) 0 ;
19071 wxMoveEvent
*result
;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "pos",(char *) "winid", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19088 arg2
= (int)(SWIG_As_int(obj1
));
19089 if (SWIG_arg_fail(2)) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19106 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 wxPoint
* resultptr
;
19127 resultptr
= new wxPoint((wxPoint
&)(result
));
19128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19136 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19147 if (SWIG_arg_fail(1)) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19156 wxRect
* resultptr
;
19157 resultptr
= new wxRect((wxRect
&)(result
));
19158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19166 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "rect", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail
;
19182 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetRect((wxRect
const &)*arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19201 wxPoint
*arg2
= 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "pos", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19211 if (SWIG_arg_fail(1)) SWIG_fail
;
19214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 Py_INCREF(Py_None
); resultobj
= Py_None
;
19230 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19233 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19235 return Py_BuildValue((char *)"");
19237 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 int arg1
= (int) 0 ;
19240 wxPaintEvent
*result
;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "Id", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19249 arg1
= (int)(SWIG_As_int(obj0
));
19250 if (SWIG_arg_fail(1)) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19267 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19270 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19272 return Py_BuildValue((char *)"");
19274 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 int arg1
= (int) 0 ;
19277 wxNcPaintEvent
*result
;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "winid", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19286 arg1
= (int)(SWIG_As_int(obj0
));
19287 if (SWIG_arg_fail(1)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19304 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19307 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19309 return Py_BuildValue((char *)"");
19311 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 int arg1
= (int) 0 ;
19314 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19315 wxEraseEvent
*result
;
19316 PyObject
* obj0
= 0 ;
19317 PyObject
* obj1
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "Id",(char *) "dc", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19325 arg1
= (int)(SWIG_As_int(obj0
));
19326 if (SWIG_arg_fail(1)) SWIG_fail
;
19330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19331 if (SWIG_arg_fail(2)) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19347 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19358 if (SWIG_arg_fail(1)) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= wxPyMake_wxObject(result
, 0);
19375 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19378 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19380 return Py_BuildValue((char *)"");
19382 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19385 int arg2
= (int) 0 ;
19386 wxFocusEvent
*result
;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "type",(char *) "winid", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19396 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19397 if (SWIG_arg_fail(1)) SWIG_fail
;
19402 arg2
= (int)(SWIG_As_int(obj1
));
19403 if (SWIG_arg_fail(2)) SWIG_fail
;
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19420 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19422 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19424 PyObject
* obj0
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= wxPyMake_wxObject(result
, 0);
19448 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19451 wxWindow
*arg2
= (wxWindow
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "win", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19460 if (SWIG_arg_fail(1)) SWIG_fail
;
19461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19462 if (SWIG_arg_fail(2)) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 (arg1
)->SetWindow(arg2
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 Py_INCREF(Py_None
); resultobj
= Py_None
;
19477 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19480 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19482 return Py_BuildValue((char *)"");
19484 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxWindow
*arg1
= (wxWindow
*) NULL
;
19487 wxChildFocusEvent
*result
;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "win", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19496 if (SWIG_arg_fail(1)) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19512 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19523 if (SWIG_arg_fail(1)) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= wxPyMake_wxObject(result
, 0);
19540 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19543 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19545 return Py_BuildValue((char *)"");
19547 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19550 bool arg2
= (bool) true ;
19551 int arg3
= (int) 0 ;
19552 wxActivateEvent
*result
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "type",(char *) "active",(char *) "Id", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19563 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19564 if (SWIG_arg_fail(1)) SWIG_fail
;
19569 arg2
= (bool)(SWIG_As_bool(obj1
));
19570 if (SWIG_arg_fail(2)) SWIG_fail
;
19575 arg3
= (int)(SWIG_As_int(obj2
));
19576 if (SWIG_arg_fail(3)) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19593 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19604 if (SWIG_arg_fail(1)) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19621 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19624 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19626 return Py_BuildValue((char *)"");
19628 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 int arg1
= (int) 0 ;
19631 wxInitDialogEvent
*result
;
19632 PyObject
* obj0
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "Id", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19640 arg1
= (int)(SWIG_As_int(obj0
));
19641 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19658 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19661 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19663 return Py_BuildValue((char *)"");
19665 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19668 int arg2
= (int) 0 ;
19669 wxMenu
*arg3
= (wxMenu
*) NULL
;
19670 wxMenuEvent
*result
;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 PyObject
* obj2
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "type",(char *) "winid",(char *) "menu", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19681 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19682 if (SWIG_arg_fail(1)) SWIG_fail
;
19687 arg2
= (int)(SWIG_As_int(obj1
));
19688 if (SWIG_arg_fail(2)) SWIG_fail
;
19692 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19693 if (SWIG_arg_fail(3)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19709 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19720 if (SWIG_arg_fail(1)) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_From_int((int)(result
));
19737 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19748 if (SWIG_arg_fail(1)) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19765 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "self", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19776 if (SWIG_arg_fail(1)) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= wxPyMake_wxObject(result
, 0);
19793 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19796 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19798 return Py_BuildValue((char *)"");
19800 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19803 int arg2
= (int) 0 ;
19804 wxCloseEvent
*result
;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "type",(char *) "winid", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19815 if (SWIG_arg_fail(1)) SWIG_fail
;
19820 arg2
= (int)(SWIG_As_int(obj1
));
19821 if (SWIG_arg_fail(2)) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19838 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self",(char *) "logOff", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19850 if (SWIG_arg_fail(1)) SWIG_fail
;
19852 arg2
= (bool)(SWIG_As_bool(obj1
));
19853 if (SWIG_arg_fail(2)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->SetLoggingOff(arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 Py_INCREF(Py_None
); resultobj
= Py_None
;
19869 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19900 bool arg2
= (bool) true ;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self",(char *) "veto", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19912 arg2
= (bool)(SWIG_As_bool(obj1
));
19913 if (SWIG_arg_fail(2)) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 (arg1
)->Veto(arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 Py_INCREF(Py_None
); resultobj
= Py_None
;
19930 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "canVeto", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19942 if (SWIG_arg_fail(1)) SWIG_fail
;
19944 arg2
= (bool)(SWIG_As_bool(obj1
));
19945 if (SWIG_arg_fail(2)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->SetCanVeto(arg2
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19989 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20000 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20017 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20020 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20022 return Py_BuildValue((char *)"");
20024 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 int arg1
= (int) 0 ;
20027 bool arg2
= (bool) false ;
20028 wxShowEvent
*result
;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "winid",(char *) "show", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20038 arg1
= (int)(SWIG_As_int(obj0
));
20039 if (SWIG_arg_fail(1)) SWIG_fail
;
20044 arg2
= (bool)(SWIG_As_bool(obj1
));
20045 if (SWIG_arg_fail(2)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20062 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "show", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail
;
20076 arg2
= (bool)(SWIG_As_bool(obj1
));
20077 if (SWIG_arg_fail(2)) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 (arg1
)->SetShow(arg2
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 Py_INCREF(Py_None
); resultobj
= Py_None
;
20093 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20104 if (SWIG_arg_fail(1)) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20124 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20126 return Py_BuildValue((char *)"");
20128 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 int arg1
= (int) 0 ;
20131 bool arg2
= (bool) true ;
20132 wxIconizeEvent
*result
;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "id",(char *) "iconized", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20142 arg1
= (int)(SWIG_As_int(obj0
));
20143 if (SWIG_arg_fail(1)) SWIG_fail
;
20148 arg2
= (bool)(SWIG_As_bool(obj1
));
20149 if (SWIG_arg_fail(2)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20166 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20177 if (SWIG_arg_fail(1)) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (bool)(arg1
)->Iconized();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20194 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20197 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20199 return Py_BuildValue((char *)"");
20201 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 int arg1
= (int) 0 ;
20204 wxMaximizeEvent
*result
;
20205 PyObject
* obj0
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "id", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20213 arg1
= (int)(SWIG_As_int(obj0
));
20214 if (SWIG_arg_fail(1)) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20231 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20234 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20236 return Py_BuildValue((char *)"");
20238 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20249 if (SWIG_arg_fail(1)) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (arg1
)->GetPosition();
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20258 wxPoint
* resultptr
;
20259 resultptr
= new wxPoint((wxPoint
&)(result
));
20260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20268 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (int)(arg1
)->GetNumberOfFiles();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_From_int((int)(result
));
20296 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= result
;
20322 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20325 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20327 return Py_BuildValue((char *)"");
20329 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 int arg1
= (int) 0 ;
20332 wxUpdateUIEvent
*result
;
20333 PyObject
* obj0
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "commandId", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20341 arg1
= (int)(SWIG_As_int(obj0
));
20342 if (SWIG_arg_fail(1)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20359 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20370 if (SWIG_arg_fail(1)) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20387 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 char *kwnames
[] = {
20393 (char *) "self", NULL
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20398 if (SWIG_arg_fail(1)) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20415 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20447 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20458 if (SWIG_arg_fail(1)) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20475 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20479 PyObject
* obj0
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20486 if (SWIG_arg_fail(1)) SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20503 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20507 PyObject
* obj0
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20514 if (SWIG_arg_fail(1)) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20531 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self",(char *) "check", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 arg2
= (bool)(SWIG_As_bool(obj1
));
20546 if (SWIG_arg_fail(2)) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 (arg1
)->Check(arg2
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 Py_INCREF(Py_None
); resultobj
= Py_None
;
20562 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self",(char *) "enable", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail
;
20576 arg2
= (bool)(SWIG_As_bool(obj1
));
20577 if (SWIG_arg_fail(2)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 (arg1
)->Enable(arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 Py_INCREF(Py_None
); resultobj
= Py_None
;
20593 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20595 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20596 wxString
*arg2
= 0 ;
20597 bool temp2
= false ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self",(char *) "text", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 arg2
= wxString_in_helper(obj1
);
20609 if (arg2
== NULL
) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 (arg1
)->SetText((wxString
const &)*arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 Py_INCREF(Py_None
); resultobj
= Py_None
;
20634 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "updateInterval", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20644 arg1
= (long)(SWIG_As_long(obj0
));
20645 if (SWIG_arg_fail(1)) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20664 char *kwnames
[] = {
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_From_long((long)(result
));
20685 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxWindow
*arg1
= (wxWindow
*) 0 ;
20689 PyObject
* obj0
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "win", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20713 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 char *kwnames
[] = {
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 wxUpdateUIEvent::ResetUpdateTime();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxUpdateUIMode arg1
;
20737 PyObject
* obj0
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "mode", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20744 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20745 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 Py_INCREF(Py_None
); resultobj
= Py_None
;
20761 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxUpdateUIMode result
;
20764 char *kwnames
[] = {
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_From_int((result
));
20783 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20786 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20788 return Py_BuildValue((char *)"");
20790 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxSysColourChangedEvent
*result
;
20793 char *kwnames
[] = {
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20812 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20815 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20817 return Py_BuildValue((char *)"");
20819 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 int arg1
= (int) 0 ;
20822 wxWindow
*arg2
= (wxWindow
*) NULL
;
20823 wxMouseCaptureChangedEvent
*result
;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "winid",(char *) "gainedCapture", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20833 arg1
= (int)(SWIG_As_int(obj0
));
20834 if (SWIG_arg_fail(1)) SWIG_fail
;
20838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20839 if (SWIG_arg_fail(2)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20855 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= wxPyMake_wxObject(result
, 0);
20883 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20886 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20888 return Py_BuildValue((char *)"");
20890 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxDisplayChangedEvent
*result
;
20893 char *kwnames
[] = {
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20912 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20915 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20917 return Py_BuildValue((char *)"");
20919 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 int arg1
= (int) 0 ;
20922 wxPaletteChangedEvent
*result
;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "id", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20931 arg1
= (int)(SWIG_As_int(obj0
));
20932 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20949 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20952 wxWindow
*arg2
= (wxWindow
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "win", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20961 if (SWIG_arg_fail(1)) SWIG_fail
;
20962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(2)) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 (arg1
)->SetChangedWindow(arg2
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20978 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20989 if (SWIG_arg_fail(1)) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= wxPyMake_wxObject(result
, 0);
21006 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21009 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21011 return Py_BuildValue((char *)"");
21013 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 int arg1
= (int) 0 ;
21016 wxQueryNewPaletteEvent
*result
;
21017 PyObject
* obj0
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "winid", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21025 arg1
= (int)(SWIG_As_int(obj0
));
21026 if (SWIG_arg_fail(1)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21043 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self",(char *) "realized", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21055 if (SWIG_arg_fail(1)) SWIG_fail
;
21057 arg2
= (bool)(SWIG_As_bool(obj1
));
21058 if (SWIG_arg_fail(2)) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->SetPaletteRealized(arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 Py_INCREF(Py_None
); resultobj
= Py_None
;
21074 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21105 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21107 return Py_BuildValue((char *)"");
21109 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxNavigationKeyEvent
*result
;
21112 char *kwnames
[] = {
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21131 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
;
21133 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "self", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21142 if (SWIG_arg_fail(1)) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21159 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self",(char *) "forward", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21171 if (SWIG_arg_fail(1)) SWIG_fail
;
21173 arg2
= (bool)(SWIG_As_bool(obj1
));
21174 if (SWIG_arg_fail(2)) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 (arg1
)->SetDirection(arg2
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 Py_INCREF(Py_None
); resultobj
= Py_None
;
21190 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21218 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "ischange", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21230 if (SWIG_arg_fail(1)) SWIG_fail
;
21232 arg2
= (bool)(SWIG_As_bool(obj1
));
21233 if (SWIG_arg_fail(2)) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 (arg1
)->SetWindowChange(arg2
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 Py_INCREF(Py_None
); resultobj
= Py_None
;
21249 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21253 PyObject
* obj0
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21260 if (SWIG_arg_fail(1)) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21277 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self",(char *) "bIs", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21289 if (SWIG_arg_fail(1)) SWIG_fail
;
21291 arg2
= (bool)(SWIG_As_bool(obj1
));
21292 if (SWIG_arg_fail(2)) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 (arg1
)->SetFromTab(arg2
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self",(char *) "flags", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21320 if (SWIG_arg_fail(1)) SWIG_fail
;
21322 arg2
= (long)(SWIG_As_long(obj1
));
21323 if (SWIG_arg_fail(2)) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 (arg1
)->SetFlags(arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= wxPyMake_wxObject(result
, 0);
21367 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21370 wxWindow
*arg2
= (wxWindow
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "win", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21379 if (SWIG_arg_fail(1)) SWIG_fail
;
21380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21381 if (SWIG_arg_fail(2)) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 (arg1
)->SetCurrentFocus(arg2
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 Py_INCREF(Py_None
); resultobj
= Py_None
;
21396 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21399 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21401 return Py_BuildValue((char *)"");
21403 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxWindow
*arg1
= (wxWindow
*) NULL
;
21406 wxWindowCreateEvent
*result
;
21407 PyObject
* obj0
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "win", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21431 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= wxPyMake_wxObject(result
, 0);
21459 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21462 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21464 return Py_BuildValue((char *)"");
21466 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxWindow
*arg1
= (wxWindow
*) NULL
;
21469 wxWindowDestroyEvent
*result
;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "win", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21478 if (SWIG_arg_fail(1)) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21494 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21498 PyObject
* obj0
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= wxPyMake_wxObject(result
, 0);
21522 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21525 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21527 return Py_BuildValue((char *)"");
21529 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21532 int arg2
= (int) 0 ;
21533 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21534 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21535 wxContextMenuEvent
*result
;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 PyObject
* obj2
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "type",(char *) "winid",(char *) "pt", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21547 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21548 if (SWIG_arg_fail(1)) SWIG_fail
;
21553 arg2
= (int)(SWIG_As_int(obj1
));
21554 if (SWIG_arg_fail(2)) SWIG_fail
;
21560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21577 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21588 if (SWIG_arg_fail(1)) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21593 result
= (wxPoint
*) &_result_ref
;
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21606 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21609 wxPoint
*arg2
= 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "pos", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21619 if (SWIG_arg_fail(1)) SWIG_fail
;
21622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 Py_INCREF(Py_None
); resultobj
= Py_None
;
21638 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21641 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21643 return Py_BuildValue((char *)"");
21645 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxIdleEvent
*result
;
21648 char *kwnames
[] = {
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (wxIdleEvent
*)new wxIdleEvent();
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21667 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21670 bool arg2
= (bool) true ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "needMore", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21679 if (SWIG_arg_fail(1)) SWIG_fail
;
21682 arg2
= (bool)(SWIG_As_bool(obj1
));
21683 if (SWIG_arg_fail(2)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->RequestMore(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21711 if (SWIG_arg_fail(1)) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21728 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21731 PyObject
* obj0
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "mode", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21738 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21739 if (SWIG_arg_fail(1)) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 Py_INCREF(Py_None
); resultobj
= Py_None
;
21755 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21758 char *kwnames
[] = {
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_From_int((result
));
21777 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxWindow
*arg1
= (wxWindow
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "win", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (bool)wxIdleEvent::CanSend(arg1
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21805 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21808 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21810 return Py_BuildValue((char *)"");
21812 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 int arg1
= (int) 0 ;
21815 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "winid",(char *) "commandType", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 arg1
= (int)(SWIG_As_int(obj0
));
21827 if (SWIG_arg_fail(1)) SWIG_fail
;
21832 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21833 if (SWIG_arg_fail(2)) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21850 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21860 if (SWIG_arg_fail(1)) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21878 PyObject
*arg2
= (PyObject
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "self", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21887 if (SWIG_arg_fail(1)) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetSelf(arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21914 if (SWIG_arg_fail(1)) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (PyObject
*)(arg1
)->GetSelf();
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= result
;
21929 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21932 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21934 return Py_BuildValue((char *)"");
21936 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21939 int arg2
= (int) 0 ;
21940 wxPyCommandEvent
*result
;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "commandType",(char *) "id", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21950 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21951 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 arg2
= (int)(SWIG_As_int(obj1
));
21957 if (SWIG_arg_fail(2)) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21974 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21977 PyObject
* obj0
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 Py_INCREF(Py_None
); resultobj
= Py_None
;
21999 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22002 PyObject
*arg2
= (PyObject
*) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "self", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22011 if (SWIG_arg_fail(1)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->SetSelf(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (PyObject
*)(arg1
)->GetSelf();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= result
;
22053 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22056 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22058 return Py_BuildValue((char *)"");
22060 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxWindow
*arg1
= (wxWindow
*) 0 ;
22063 wxDateTime
*arg2
= 0 ;
22065 wxDateEvent
*result
;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "win",(char *) "dt",(char *) "type", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail
;
22077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(2)) SWIG_fail
;
22079 if (arg2
== NULL
) {
22080 SWIG_null_ref("wxDateTime");
22082 if (SWIG_arg_fail(2)) SWIG_fail
;
22085 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22086 if (SWIG_arg_fail(3)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22102 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22105 wxDateTime
*result
;
22106 PyObject
* obj0
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22113 if (SWIG_arg_fail(1)) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22118 result
= (wxDateTime
*) &_result_ref
;
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22131 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22134 wxDateTime
*arg2
= 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "date", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22146 if (SWIG_arg_fail(2)) SWIG_fail
;
22147 if (arg2
== NULL
) {
22148 SWIG_null_ref("wxDateTime");
22150 if (SWIG_arg_fail(2)) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22169 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22171 return Py_BuildValue((char *)"");
22173 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22176 char *kwnames
[] = {
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (wxPyApp
*)new_wxPyApp();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22195 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22198 PyObject
* obj0
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(1)) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 Py_INCREF(Py_None
); resultobj
= Py_None
;
22220 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22223 PyObject
*arg2
= (PyObject
*) 0 ;
22224 PyObject
*arg3
= (PyObject
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "self",(char *) "_class", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22234 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 Py_INCREF(Py_None
); resultobj
= Py_None
;
22251 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22262 if (SWIG_arg_fail(1)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22283 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22286 wxString
*arg2
= 0 ;
22287 bool temp2
= false ;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self",(char *) "name", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 arg2
= wxString_in_helper(obj1
);
22299 if (arg2
== NULL
) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 (arg1
)->SetAppName((wxString
const &)*arg2
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 Py_INCREF(Py_None
); resultobj
= Py_None
;
22324 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(1)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22356 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22359 wxString
*arg2
= 0 ;
22360 bool temp2
= false ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "name", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22369 if (SWIG_arg_fail(1)) SWIG_fail
;
22371 arg2
= wxString_in_helper(obj1
);
22372 if (arg2
== NULL
) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->SetClassName((wxString
const &)*arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 Py_INCREF(Py_None
); resultobj
= Py_None
;
22397 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22408 if (SWIG_arg_fail(1)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22413 result
= (wxString
*) &_result_ref
;
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22423 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22432 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22435 wxString
*arg2
= 0 ;
22436 bool temp2
= false ;
22437 PyObject
* obj0
= 0 ;
22438 PyObject
* obj1
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self",(char *) "name", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22445 if (SWIG_arg_fail(1)) SWIG_fail
;
22447 arg2
= wxString_in_helper(obj1
);
22448 if (arg2
== NULL
) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22473 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22476 wxAppTraits
*result
;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22484 if (SWIG_arg_fail(1)) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22499 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22509 if (SWIG_arg_fail(1)) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->ProcessPendingEvents();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22524 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22527 bool arg2
= (bool) false ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self",(char *) "onlyIfNeeded", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22537 if (SWIG_arg_fail(1)) SWIG_fail
;
22540 arg2
= (bool)(SWIG_As_bool(obj1
));
22541 if (SWIG_arg_fail(2)) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (bool)(arg1
)->Yield(arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22560 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 (arg1
)->WakeUpIdle();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 Py_INCREF(Py_None
); resultobj
= Py_None
;
22585 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22588 char *kwnames
[] = {
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (bool)wxPyApp::IsMainLoopRunning();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22609 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
;
22611 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22620 if (SWIG_arg_fail(1)) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 result
= (int)(arg1
)->MainLoop();
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_From_int((int)(result
));
22637 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22647 if (SWIG_arg_fail(1)) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 Py_INCREF(Py_None
); resultobj
= Py_None
;
22662 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 (arg1
)->ExitMainLoop();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22698 if (SWIG_arg_fail(1)) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= (bool)(arg1
)->Pending();
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22715 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22726 if (SWIG_arg_fail(1)) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (bool)(arg1
)->Dispatch();
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22743 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (bool)(arg1
)->ProcessIdle();
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22771 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22774 wxWindow
*arg2
= (wxWindow
*) 0 ;
22775 wxIdleEvent
*arg3
= 0 ;
22777 PyObject
* obj0
= 0 ;
22778 PyObject
* obj1
= 0 ;
22779 PyObject
* obj2
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self",(char *) "win",(char *) "event", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22786 if (SWIG_arg_fail(1)) SWIG_fail
;
22787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22788 if (SWIG_arg_fail(2)) SWIG_fail
;
22790 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22791 if (SWIG_arg_fail(3)) SWIG_fail
;
22792 if (arg3
== NULL
) {
22793 SWIG_null_ref("wxIdleEvent");
22795 if (SWIG_arg_fail(3)) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22813 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22841 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22844 wxWindow
*arg2
= (wxWindow
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "win", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail
;
22854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22855 if (SWIG_arg_fail(2)) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->SetTopWindow(arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22881 if (SWIG_arg_fail(1)) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= wxPyMake_wxObject(result
, 0);
22898 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self",(char *) "flag", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail
;
22912 arg2
= (bool)(SWIG_As_bool(obj1
));
22913 if (SWIG_arg_fail(2)) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 (arg1
)->SetExitOnFrameDelete(arg2
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22957 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22959 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "self",(char *) "flag", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22969 if (SWIG_arg_fail(1)) SWIG_fail
;
22971 arg2
= (bool)(SWIG_As_bool(obj1
));
22972 if (SWIG_arg_fail(2)) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 (arg1
)->SetUseBestVisual(arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 Py_INCREF(Py_None
); resultobj
= Py_None
;
22988 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22999 if (SWIG_arg_fail(1)) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23016 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "mode", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail
;
23030 arg2
= (int)(SWIG_As_int(obj1
));
23031 if (SWIG_arg_fail(2)) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 (arg1
)->SetPrintMode(arg2
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 Py_INCREF(Py_None
); resultobj
= Py_None
;
23047 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_From_int((int)(result
));
23075 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 PyObject
* obj1
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self",(char *) "mode", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23087 if (SWIG_arg_fail(1)) SWIG_fail
;
23089 arg2
= (int)(SWIG_As_int(obj1
));
23090 if (SWIG_arg_fail(2)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 (arg1
)->SetAssertMode(arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23117 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (int)(arg1
)->GetAssertMode();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_From_int((int)(result
));
23134 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23137 char *kwnames
[] = {
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23158 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23161 char *kwnames
[] = {
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_From_long((long)(result
));
23182 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23185 char *kwnames
[] = {
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_From_long((long)(result
));
23206 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23209 char *kwnames
[] = {
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (long)wxPyApp::GetMacExitMenuItemId();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= SWIG_From_long((long)(result
));
23230 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23233 char *kwnames
[] = {
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= wxPyApp::GetMacHelpMenuTitleName();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23258 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23261 PyObject
* obj0
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "val", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23268 arg1
= (bool)(SWIG_As_bool(obj0
));
23269 if (SWIG_arg_fail(1)) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23288 PyObject
* obj0
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "val", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23295 arg1
= (long)(SWIG_As_long(obj0
));
23296 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 wxPyApp::SetMacAboutMenuItemId(arg1
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 Py_INCREF(Py_None
); resultobj
= Py_None
;
23312 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23315 PyObject
* obj0
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "val", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23322 arg1
= (long)(SWIG_As_long(obj0
));
23323 if (SWIG_arg_fail(1)) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 Py_INCREF(Py_None
); resultobj
= Py_None
;
23339 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "val", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23349 arg1
= (long)(SWIG_As_long(obj0
));
23350 if (SWIG_arg_fail(1)) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 wxPyApp::SetMacExitMenuItemId(arg1
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 Py_INCREF(Py_None
); resultobj
= Py_None
;
23366 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxString
*arg1
= 0 ;
23369 bool temp1
= false ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "val", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23377 arg1
= wxString_in_helper(obj0
);
23378 if (arg1
== NULL
) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 Py_INCREF(Py_None
); resultobj
= Py_None
;
23403 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 (arg1
)->_BootstrapApp();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 Py_INCREF(Py_None
); resultobj
= Py_None
;
23428 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23431 char *kwnames
[] = {
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 result
= (int)wxPyApp::GetComCtl32Version();
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= SWIG_From_int((int)(result
));
23452 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23455 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23457 return Py_BuildValue((char *)"");
23459 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
;
23461 char *kwnames
[] = {
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 Py_INCREF(Py_None
); resultobj
= Py_None
;
23480 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23483 char *kwnames
[] = {
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (bool)wxYield();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23504 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23507 char *kwnames
[] = {
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= (bool)wxYieldIfNeeded();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23528 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxWindow
*arg1
= (wxWindow
*) NULL
;
23531 bool arg2
= (bool) false ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "win",(char *) "onlyIfNeeded", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23542 if (SWIG_arg_fail(1)) SWIG_fail
;
23546 arg2
= (bool)(SWIG_As_bool(obj1
));
23547 if (SWIG_arg_fail(2)) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (bool)wxSafeYield(arg1
,arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23566 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 char *kwnames
[] = {
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 Py_INCREF(Py_None
); resultobj
= Py_None
;
23587 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23590 wxEvent
*arg2
= 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "dest",(char *) "event", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23599 if (SWIG_arg_fail(1)) SWIG_fail
;
23601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23602 if (SWIG_arg_fail(2)) SWIG_fail
;
23603 if (arg2
== NULL
) {
23604 SWIG_null_ref("wxEvent");
23606 if (SWIG_arg_fail(2)) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 wxPostEvent(arg1
,*arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 char *kwnames
[] = {
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 Py_INCREF(Py_None
); resultobj
= Py_None
;
23643 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23646 char *kwnames
[] = {
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (wxPyApp
*)wxPyGetApp();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= wxPyMake_wxObject(result
, 0);
23667 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 char *arg1
= (char *) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 char *kwnames
[] = {
23672 (char *) "encoding", NULL
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23676 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23677 SWIG_arg_fail(1);SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 wxSetDefaultPyEncoding((char const *)arg1
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 Py_INCREF(Py_None
); resultobj
= Py_None
;
23693 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23696 char *kwnames
[] = {
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (char *)wxGetDefaultPyEncoding();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_FromCharPtr(result
);
23715 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxEventLoop
*result
;
23718 char *kwnames
[] = {
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (wxEventLoop
*)new wxEventLoop();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23737 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 Py_INCREF(Py_None
); resultobj
= Py_None
;
23762 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23773 if (SWIG_arg_fail(1)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (int)(arg1
)->Run();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int((int)(result
));
23790 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23793 int arg2
= (int) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "rc", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23802 if (SWIG_arg_fail(1)) SWIG_fail
;
23805 arg2
= (int)(SWIG_As_int(obj1
));
23806 if (SWIG_arg_fail(2)) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 (arg1
)->Exit(arg2
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 Py_INCREF(Py_None
); resultobj
= Py_None
;
23823 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23834 if (SWIG_arg_fail(1)) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23851 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23862 if (SWIG_arg_fail(1)) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (bool)(arg1
)->Dispatch();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23879 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23880 PyObject
*resultobj
;
23881 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23883 PyObject
* obj0
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23890 if (SWIG_arg_fail(1)) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxEventLoop
*result
;
23910 char *kwnames
[] = {
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23929 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "loop", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23939 if (SWIG_arg_fail(1)) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 wxEventLoop::SetActive(arg1
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 Py_INCREF(Py_None
); resultobj
= Py_None
;
23954 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23957 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23959 return Py_BuildValue((char *)"");
23961 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 int arg1
= (int) 0 ;
23964 int arg2
= (int) 0 ;
23965 int arg3
= (int) 0 ;
23966 wxAcceleratorEntry
*result
;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 PyObject
* obj2
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23977 arg1
= (int)(SWIG_As_int(obj0
));
23978 if (SWIG_arg_fail(1)) SWIG_fail
;
23983 arg2
= (int)(SWIG_As_int(obj1
));
23984 if (SWIG_arg_fail(2)) SWIG_fail
;
23989 arg3
= (int)(SWIG_As_int(obj2
));
23990 if (SWIG_arg_fail(3)) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24007 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24017 if (SWIG_arg_fail(1)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 Py_INCREF(Py_None
); resultobj
= Py_None
;
24032 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 PyObject
* obj3
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24048 if (SWIG_arg_fail(1)) SWIG_fail
;
24050 arg2
= (int)(SWIG_As_int(obj1
));
24051 if (SWIG_arg_fail(2)) SWIG_fail
;
24054 arg3
= (int)(SWIG_As_int(obj2
));
24055 if (SWIG_arg_fail(3)) SWIG_fail
;
24058 arg4
= (int)(SWIG_As_int(obj3
));
24059 if (SWIG_arg_fail(4)) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 (arg1
)->Set(arg2
,arg3
,arg4
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 Py_INCREF(Py_None
); resultobj
= Py_None
;
24075 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (int)(arg1
)->GetFlags();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= SWIG_From_int((int)(result
));
24103 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24114 if (SWIG_arg_fail(1)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (int)(arg1
)->GetKeyCode();
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_From_int((int)(result
));
24131 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (int)(arg1
)->GetCommand();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_From_int((int)(result
));
24159 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24162 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24164 return Py_BuildValue((char *)"");
24166 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24169 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24170 wxAcceleratorTable
*result
;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24178 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24179 if (arg2
) arg1
= PyList_Size(obj0
);
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24202 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "self", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(1)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 Py_INCREF(Py_None
); resultobj
= Py_None
;
24227 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24231 PyObject
* obj0
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24255 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24258 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24260 return Py_BuildValue((char *)"");
24262 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24263 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24268 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24271 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24276 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxString
*arg1
= 0 ;
24279 wxAcceleratorEntry
*result
;
24280 bool temp1
= false ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "label", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24288 arg1
= wxString_in_helper(obj0
);
24289 if (arg1
== NULL
) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24314 static int _wrap_PanelNameStr_set(PyObject
*) {
24315 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24320 static PyObject
*_wrap_PanelNameStr_get(void) {
24325 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24327 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24334 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxVisualAttributes
*result
;
24337 char *kwnames
[] = {
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24356 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24366 if (SWIG_arg_fail(1)) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 delete_wxVisualAttributes(arg1
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 Py_INCREF(Py_None
); resultobj
= Py_None
;
24381 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24384 wxFont
*arg2
= (wxFont
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "font", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24393 if (SWIG_arg_fail(1)) SWIG_fail
;
24394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24395 if (SWIG_arg_fail(2)) SWIG_fail
;
24396 if (arg1
) (arg1
)->font
= *arg2
;
24398 Py_INCREF(Py_None
); resultobj
= Py_None
;
24405 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24409 PyObject
* obj0
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24416 if (SWIG_arg_fail(1)) SWIG_fail
;
24417 result
= (wxFont
*)& ((arg1
)->font
);
24419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24426 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24429 wxColour
*arg2
= (wxColour
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "colFg", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24438 if (SWIG_arg_fail(1)) SWIG_fail
;
24439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(2)) SWIG_fail
;
24441 if (arg1
) (arg1
)->colFg
= *arg2
;
24443 Py_INCREF(Py_None
); resultobj
= Py_None
;
24450 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24452 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24461 if (SWIG_arg_fail(1)) SWIG_fail
;
24462 result
= (wxColour
*)& ((arg1
)->colFg
);
24464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24471 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24474 wxColour
*arg2
= (wxColour
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "colBg", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24483 if (SWIG_arg_fail(1)) SWIG_fail
;
24484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(2)) SWIG_fail
;
24486 if (arg1
) (arg1
)->colBg
= *arg2
;
24488 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24506 if (SWIG_arg_fail(1)) SWIG_fail
;
24507 result
= (wxColour
*)& ((arg1
)->colBg
);
24509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24516 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24519 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24521 return Py_BuildValue((char *)"");
24523 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxWindow
*arg1
= (wxWindow
*) 0 ;
24526 int arg2
= (int) (int)-1 ;
24527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24531 long arg5
= (long) 0 ;
24532 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24537 bool temp6
= false ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 PyObject
* obj2
= 0 ;
24541 PyObject
* obj3
= 0 ;
24542 PyObject
* obj4
= 0 ;
24543 PyObject
* obj5
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail
;
24553 arg2
= (int const)(SWIG_As_int(obj1
));
24554 if (SWIG_arg_fail(2)) SWIG_fail
;
24560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24571 arg5
= (long)(SWIG_As_long(obj4
));
24572 if (SWIG_arg_fail(5)) SWIG_fail
;
24577 arg6
= wxString_in_helper(obj5
);
24578 if (arg6
== NULL
) SWIG_fail
;
24583 if (!wxPyCheckForApp()) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24605 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24608 char *kwnames
[] = {
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24614 if (!wxPyCheckForApp()) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (wxWindow
*)new wxWindow();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24628 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxWindow
*arg1
= (wxWindow
*) 0 ;
24631 wxWindow
*arg2
= (wxWindow
*) 0 ;
24632 int arg3
= (int) (int)-1 ;
24633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24637 long arg6
= (long) 0 ;
24638 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24639 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24643 bool temp7
= false ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 PyObject
* obj3
= 0 ;
24648 PyObject
* obj4
= 0 ;
24649 PyObject
* obj5
= 0 ;
24650 PyObject
* obj6
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail
;
24658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24659 if (SWIG_arg_fail(2)) SWIG_fail
;
24662 arg3
= (int const)(SWIG_As_int(obj2
));
24663 if (SWIG_arg_fail(3)) SWIG_fail
;
24669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24680 arg6
= (long)(SWIG_As_long(obj5
));
24681 if (SWIG_arg_fail(6)) SWIG_fail
;
24686 arg7
= wxString_in_helper(obj6
);
24687 if (arg7
== NULL
) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxWindow
*arg1
= (wxWindow
*) 0 ;
24718 bool arg2
= (bool) false ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "force", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24731 arg2
= (bool)(SWIG_As_bool(obj1
));
24732 if (SWIG_arg_fail(2)) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)(arg1
)->Close(arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24751 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxWindow
*arg1
= (wxWindow
*) 0 ;
24755 PyObject
* obj0
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24762 if (SWIG_arg_fail(1)) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)(arg1
)->Destroy();
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24779 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxWindow
*arg1
= (wxWindow
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24790 if (SWIG_arg_fail(1)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (bool)(arg1
)->DestroyChildren();
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24807 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxWindow
*arg1
= (wxWindow
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24818 if (SWIG_arg_fail(1)) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24835 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxWindow
*arg1
= (wxWindow
*) 0 ;
24838 wxString
*arg2
= 0 ;
24839 bool temp2
= false ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "title", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail
;
24850 arg2
= wxString_in_helper(obj1
);
24851 if (arg2
== NULL
) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->SetTitle((wxString
const &)*arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 Py_INCREF(Py_None
); resultobj
= Py_None
;
24876 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxWindow
*arg1
= (wxWindow
*) 0 ;
24880 PyObject
* obj0
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24887 if (SWIG_arg_fail(1)) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= ((wxWindow
const *)arg1
)->GetTitle();
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24908 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxWindow
*arg1
= (wxWindow
*) 0 ;
24911 wxString
*arg2
= 0 ;
24912 bool temp2
= false ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self",(char *) "label", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24921 if (SWIG_arg_fail(1)) SWIG_fail
;
24923 arg2
= wxString_in_helper(obj1
);
24924 if (arg2
== NULL
) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 (arg1
)->SetLabel((wxString
const &)*arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 Py_INCREF(Py_None
); resultobj
= Py_None
;
24949 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxWindow
*arg1
= (wxWindow
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= ((wxWindow
const *)arg1
)->GetLabel();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24981 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 wxString
*arg2
= 0 ;
24985 bool temp2
= false ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "name", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail
;
24996 arg2
= wxString_in_helper(obj1
);
24997 if (arg2
== NULL
) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 (arg1
)->SetName((wxString
const &)*arg2
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 Py_INCREF(Py_None
); resultobj
= Py_None
;
25022 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
;
25024 wxWindow
*arg1
= (wxWindow
*) 0 ;
25026 PyObject
* obj0
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= ((wxWindow
const *)arg1
)->GetName();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25054 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxWindow
*arg1
= (wxWindow
*) 0 ;
25057 wxWindowVariant arg2
;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "variant", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail
;
25068 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25069 if (SWIG_arg_fail(2)) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxWindow
*arg1
= (wxWindow
*) 0 ;
25088 wxWindowVariant result
;
25089 PyObject
* obj0
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25096 if (SWIG_arg_fail(1)) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_From_int((result
));
25111 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxWindow
*arg1
= (wxWindow
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "winid", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail
;
25125 arg2
= (int)(SWIG_As_int(obj1
));
25126 if (SWIG_arg_fail(2)) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->SetId(arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxWindow
*arg1
= (wxWindow
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25153 if (SWIG_arg_fail(1)) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (int)((wxWindow
const *)arg1
)->GetId();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_From_int((int)(result
));
25170 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25173 char *kwnames
[] = {
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (int)wxWindow::NewControlId();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_From_int((int)(result
));
25194 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25198 PyObject
* obj0
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "winid", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25205 arg1
= (int)(SWIG_As_int(obj0
));
25206 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= (int)wxWindow::NextControlId(arg1
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_From_int((int)(result
));
25224 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "winid", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25235 arg1
= (int)(SWIG_As_int(obj0
));
25236 if (SWIG_arg_fail(1)) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (int)wxWindow::PrevControlId(arg1
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= SWIG_From_int((int)(result
));
25254 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxWindow
*arg1
= (wxWindow
*) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "size", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25270 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 (arg1
)->SetSize((wxSize
const &)*arg2
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 Py_INCREF(Py_None
); resultobj
= Py_None
;
25286 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxWindow
*arg1
= (wxWindow
*) 0 ;
25293 int arg6
= (int) wxSIZE_AUTO
;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 PyObject
* obj2
= 0 ;
25297 PyObject
* obj3
= 0 ;
25298 PyObject
* obj4
= 0 ;
25299 PyObject
* obj5
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail
;
25308 arg2
= (int)(SWIG_As_int(obj1
));
25309 if (SWIG_arg_fail(2)) SWIG_fail
;
25312 arg3
= (int)(SWIG_As_int(obj2
));
25313 if (SWIG_arg_fail(3)) SWIG_fail
;
25316 arg4
= (int)(SWIG_As_int(obj3
));
25317 if (SWIG_arg_fail(4)) SWIG_fail
;
25320 arg5
= (int)(SWIG_As_int(obj4
));
25321 if (SWIG_arg_fail(5)) SWIG_fail
;
25325 arg6
= (int)(SWIG_As_int(obj5
));
25326 if (SWIG_arg_fail(6)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 Py_INCREF(Py_None
); resultobj
= Py_None
;
25343 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxWindow
*arg1
= (wxWindow
*) 0 ;
25347 int arg3
= (int) wxSIZE_AUTO
;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 PyObject
* obj2
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25358 if (SWIG_arg_fail(1)) SWIG_fail
;
25361 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25365 arg3
= (int)(SWIG_As_int(obj2
));
25366 if (SWIG_arg_fail(3)) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 Py_INCREF(Py_None
); resultobj
= Py_None
;
25383 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxWindow
*arg1
= (wxWindow
*) 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 PyObject
* obj2
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self",(char *) "width",(char *) "height", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25397 if (SWIG_arg_fail(1)) SWIG_fail
;
25399 arg2
= (int)(SWIG_As_int(obj1
));
25400 if (SWIG_arg_fail(2)) SWIG_fail
;
25403 arg3
= (int)(SWIG_As_int(obj2
));
25404 if (SWIG_arg_fail(3)) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->SetSize(arg2
,arg3
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 wxPoint
*arg2
= 0 ;
25424 int arg3
= (int) wxSIZE_USE_EXISTING
;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 PyObject
* obj2
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "pt",(char *) "flags", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail
;
25438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25442 arg3
= (int)(SWIG_As_int(obj2
));
25443 if (SWIG_arg_fail(3)) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 Py_INCREF(Py_None
); resultobj
= Py_None
;
25460 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxWindow
*arg1
= (wxWindow
*) 0 ;
25465 int arg4
= (int) wxSIZE_USE_EXISTING
;
25466 PyObject
* obj0
= 0 ;
25467 PyObject
* obj1
= 0 ;
25468 PyObject
* obj2
= 0 ;
25469 PyObject
* obj3
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25476 if (SWIG_arg_fail(1)) SWIG_fail
;
25478 arg2
= (int)(SWIG_As_int(obj1
));
25479 if (SWIG_arg_fail(2)) SWIG_fail
;
25482 arg3
= (int)(SWIG_As_int(obj2
));
25483 if (SWIG_arg_fail(3)) SWIG_fail
;
25487 arg4
= (int)(SWIG_As_int(obj3
));
25488 if (SWIG_arg_fail(4)) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 (arg1
)->Move(arg2
,arg3
,arg4
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 Py_INCREF(Py_None
); resultobj
= Py_None
;
25505 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxWindow
*arg1
= (wxWindow
*) 0 ;
25508 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25509 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "size", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail
;
25523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxWindow
*arg1
= (wxWindow
*) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxWindow
*arg1
= (wxWindow
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 Py_INCREF(Py_None
); resultobj
= Py_None
;
25590 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self",(char *) "size", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail
;
25606 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 Py_INCREF(Py_None
); resultobj
= Py_None
;
25622 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxWindow
*arg1
= (wxWindow
*) 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 PyObject
* obj2
= 0 ;
25630 char *kwnames
[] = {
25631 (char *) "self",(char *) "width",(char *) "height", NULL
25634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25636 if (SWIG_arg_fail(1)) SWIG_fail
;
25638 arg2
= (int)(SWIG_As_int(obj1
));
25639 if (SWIG_arg_fail(2)) SWIG_fail
;
25642 arg3
= (int)(SWIG_As_int(obj2
));
25643 if (SWIG_arg_fail(3)) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 (arg1
)->SetClientSize(arg2
,arg3
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 Py_INCREF(Py_None
); resultobj
= Py_None
;
25659 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxWindow
*arg1
= (wxWindow
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self",(char *) "rect", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail
;
25675 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 Py_INCREF(Py_None
); resultobj
= Py_None
;
25691 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxWindow
*arg1
= (wxWindow
*) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (arg1
)->GetPosition();
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25711 wxPoint
* resultptr
;
25712 resultptr
= new wxPoint((wxPoint
&)(result
));
25713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25721 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxWindow
*arg1
= (wxWindow
*) 0 ;
25724 int *arg2
= (int *) 0 ;
25725 int *arg3
= (int *) 0 ;
25730 PyObject
* obj0
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self", NULL
25735 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25736 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 (arg1
)->GetPosition(arg2
,arg3
);
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 Py_INCREF(Py_None
); resultobj
= Py_None
;
25748 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25749 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25750 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25751 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25758 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxWindow
*arg1
= (wxWindow
*) 0 ;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25769 if (SWIG_arg_fail(1)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= ((wxWindow
const *)arg1
)->GetSize();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 wxSize
* resultptr
;
25779 resultptr
= new wxSize((wxSize
&)(result
));
25780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25788 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxWindow
*arg1
= (wxWindow
*) 0 ;
25791 int *arg2
= (int *) 0 ;
25792 int *arg3
= (int *) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self", NULL
25802 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25803 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 Py_INCREF(Py_None
); resultobj
= Py_None
;
25815 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25816 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25817 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25818 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25825 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxWindow
*arg1
= (wxWindow
*) 0 ;
25829 PyObject
* obj0
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25836 if (SWIG_arg_fail(1)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= ((wxWindow
const *)arg1
)->GetRect();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25845 wxRect
* resultptr
;
25846 resultptr
= new wxRect((wxRect
&)(result
));
25847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25855 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxWindow
*arg1
= (wxWindow
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25866 if (SWIG_arg_fail(1)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 wxSize
* resultptr
;
25876 resultptr
= new wxSize((wxSize
&)(result
));
25877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25885 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxWindow
*arg1
= (wxWindow
*) 0 ;
25888 int *arg2
= (int *) 0 ;
25889 int *arg3
= (int *) 0 ;
25894 PyObject
* obj0
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self", NULL
25899 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25900 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25903 if (SWIG_arg_fail(1)) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 Py_INCREF(Py_None
); resultobj
= Py_None
;
25912 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25913 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25914 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25915 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25922 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
;
25924 wxWindow
*arg1
= (wxWindow
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 wxPoint
* resultptr
;
25943 resultptr
= new wxPoint((wxPoint
&)(result
));
25944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25952 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
;
25954 wxWindow
*arg1
= (wxWindow
*) 0 ;
25956 PyObject
* obj0
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25963 if (SWIG_arg_fail(1)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 wxRect
* resultptr
;
25973 resultptr
= new wxRect((wxRect
&)(result
));
25974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25982 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxWindow
*arg1
= (wxWindow
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail
;
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 wxSize
* resultptr
;
26003 resultptr
= new wxSize((wxSize
&)(result
));
26004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26012 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxWindow
*arg1
= (wxWindow
*) 0 ;
26015 int *arg2
= (int *) 0 ;
26016 int *arg3
= (int *) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self", NULL
26026 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26027 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26030 if (SWIG_arg_fail(1)) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 Py_INCREF(Py_None
); resultobj
= Py_None
;
26039 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26040 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26041 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26042 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26049 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxWindow
*arg1
= (wxWindow
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 (arg1
)->InvalidateBestSize();
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 Py_INCREF(Py_None
); resultobj
= Py_None
;
26074 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxWindow
*arg1
= (wxWindow
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26094 wxSize
* resultptr
;
26095 resultptr
= new wxSize((wxSize
&)(result
));
26096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26104 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 wxSize
* resultptr
;
26125 resultptr
= new wxSize((wxSize
&)(result
));
26126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26134 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxWindow
*arg1
= (wxWindow
*) 0 ;
26137 int arg2
= (int) wxBOTH
;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self",(char *) "direction", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26149 arg2
= (int)(SWIG_As_int(obj1
));
26150 if (SWIG_arg_fail(2)) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->Center(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxWindow
*arg1
= (wxWindow
*) 0 ;
26170 int arg2
= (int) wxBOTH
;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "dir", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26179 if (SWIG_arg_fail(1)) SWIG_fail
;
26182 arg2
= (int)(SWIG_As_int(obj1
));
26183 if (SWIG_arg_fail(2)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->CenterOnScreen(arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 Py_INCREF(Py_None
); resultobj
= Py_None
;
26200 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxWindow
*arg1
= (wxWindow
*) 0 ;
26203 int arg2
= (int) wxBOTH
;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "dir", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 arg2
= (int)(SWIG_As_int(obj1
));
26216 if (SWIG_arg_fail(2)) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 (arg1
)->CenterOnParent(arg2
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 Py_INCREF(Py_None
); resultobj
= Py_None
;
26233 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxWindow
*arg1
= (wxWindow
*) 0 ;
26236 PyObject
* obj0
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 Py_INCREF(Py_None
); resultobj
= Py_None
;
26258 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxWindow
*arg1
= (wxWindow
*) 0 ;
26261 PyObject
* obj0
= 0 ;
26262 char *kwnames
[] = {
26263 (char *) "self", NULL
26266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26268 if (SWIG_arg_fail(1)) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 (arg1
)->FitInside();
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 Py_INCREF(Py_None
); resultobj
= Py_None
;
26283 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxWindow
*arg1
= (wxWindow
*) 0 ;
26288 int arg4
= (int) -1 ;
26289 int arg5
= (int) -1 ;
26290 int arg6
= (int) -1 ;
26291 int arg7
= (int) -1 ;
26292 PyObject
* obj0
= 0 ;
26293 PyObject
* obj1
= 0 ;
26294 PyObject
* obj2
= 0 ;
26295 PyObject
* obj3
= 0 ;
26296 PyObject
* obj4
= 0 ;
26297 PyObject
* obj5
= 0 ;
26298 PyObject
* obj6
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26305 if (SWIG_arg_fail(1)) SWIG_fail
;
26307 arg2
= (int)(SWIG_As_int(obj1
));
26308 if (SWIG_arg_fail(2)) SWIG_fail
;
26311 arg3
= (int)(SWIG_As_int(obj2
));
26312 if (SWIG_arg_fail(3)) SWIG_fail
;
26316 arg4
= (int)(SWIG_As_int(obj3
));
26317 if (SWIG_arg_fail(4)) SWIG_fail
;
26322 arg5
= (int)(SWIG_As_int(obj4
));
26323 if (SWIG_arg_fail(5)) SWIG_fail
;
26328 arg6
= (int)(SWIG_As_int(obj5
));
26329 if (SWIG_arg_fail(6)) SWIG_fail
;
26334 arg7
= (int)(SWIG_As_int(obj6
));
26335 if (SWIG_arg_fail(7)) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 Py_INCREF(Py_None
); resultobj
= Py_None
;
26352 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxWindow
*arg1
= (wxWindow
*) 0 ;
26356 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26357 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26363 PyObject
* obj0
= 0 ;
26364 PyObject
* obj1
= 0 ;
26365 PyObject
* obj2
= 0 ;
26366 PyObject
* obj3
= 0 ;
26367 char *kwnames
[] = {
26368 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail
;
26376 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26381 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26387 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 Py_INCREF(Py_None
); resultobj
= Py_None
;
26404 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxWindow
*arg1
= (wxWindow
*) 0 ;
26409 int arg4
= (int) -1 ;
26410 int arg5
= (int) -1 ;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 PyObject
* obj2
= 0 ;
26414 PyObject
* obj3
= 0 ;
26415 PyObject
* obj4
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26422 if (SWIG_arg_fail(1)) SWIG_fail
;
26424 arg2
= (int)(SWIG_As_int(obj1
));
26425 if (SWIG_arg_fail(2)) SWIG_fail
;
26428 arg3
= (int)(SWIG_As_int(obj2
));
26429 if (SWIG_arg_fail(3)) SWIG_fail
;
26433 arg4
= (int)(SWIG_As_int(obj3
));
26434 if (SWIG_arg_fail(4)) SWIG_fail
;
26439 arg5
= (int)(SWIG_As_int(obj4
));
26440 if (SWIG_arg_fail(5)) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26462 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26465 PyObject
* obj0
= 0 ;
26466 PyObject
* obj1
= 0 ;
26467 PyObject
* obj2
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26482 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 Py_INCREF(Py_None
); resultobj
= Py_None
;
26499 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26501 wxWindow
*arg1
= (wxWindow
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26510 if (SWIG_arg_fail(1)) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26519 wxSize
* resultptr
;
26520 resultptr
= new wxSize((wxSize
&)(result
));
26521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26529 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
;
26531 wxWindow
*arg1
= (wxWindow
*) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 char *kwnames
[] = {
26535 (char *) "self", NULL
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(1)) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26549 wxSize
* resultptr
;
26550 resultptr
= new wxSize((wxSize
&)(result
));
26551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26559 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindow
*arg1
= (wxWindow
*) 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "minSize", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26572 if (SWIG_arg_fail(1)) SWIG_fail
;
26575 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 Py_INCREF(Py_None
); resultobj
= Py_None
;
26591 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
;
26593 wxWindow
*arg1
= (wxWindow
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "maxSize", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail
;
26607 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 Py_INCREF(Py_None
); resultobj
= Py_None
;
26623 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxWindow
*arg1
= (wxWindow
*) 0 ;
26627 PyObject
* obj0
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_From_int((int)(result
));
26651 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxWindow
*arg1
= (wxWindow
*) 0 ;
26655 PyObject
* obj0
= 0 ;
26656 char *kwnames
[] = {
26657 (char *) "self", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26662 if (SWIG_arg_fail(1)) SWIG_fail
;
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_From_int((int)(result
));
26679 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxWindow
*arg1
= (wxWindow
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "self", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26690 if (SWIG_arg_fail(1)) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_From_int((int)(result
));
26707 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxWindow
*arg1
= (wxWindow
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= SWIG_From_int((int)(result
));
26735 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self",(char *) "size", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26748 if (SWIG_arg_fail(1)) SWIG_fail
;
26751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 Py_INCREF(Py_None
); resultobj
= Py_None
;
26767 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxWindow
*arg1
= (wxWindow
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 PyObject
* obj2
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "w",(char *) "h", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26781 if (SWIG_arg_fail(1)) SWIG_fail
;
26783 arg2
= (int)(SWIG_As_int(obj1
));
26784 if (SWIG_arg_fail(2)) SWIG_fail
;
26787 arg3
= (int)(SWIG_As_int(obj2
));
26788 if (SWIG_arg_fail(3)) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 (arg1
)->SetVirtualSize(arg2
,arg3
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 Py_INCREF(Py_None
); resultobj
= Py_None
;
26804 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxWindow
*arg1
= (wxWindow
*) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26824 wxSize
* resultptr
;
26825 resultptr
= new wxSize((wxSize
&)(result
));
26826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26834 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxWindow
*arg1
= (wxWindow
*) 0 ;
26837 int *arg2
= (int *) 0 ;
26838 int *arg3
= (int *) 0 ;
26843 PyObject
* obj0
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self", NULL
26848 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26849 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26852 if (SWIG_arg_fail(1)) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 Py_INCREF(Py_None
); resultobj
= Py_None
;
26861 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26862 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26863 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26864 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26871 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxWindow
*arg1
= (wxWindow
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 wxSize
* resultptr
;
26892 resultptr
= new wxSize((wxSize
&)(result
));
26893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26901 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 bool arg2
= (bool) true ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "show", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26917 arg2
= (bool)(SWIG_As_bool(obj1
));
26918 if (SWIG_arg_fail(2)) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)(arg1
)->Show(arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxWindow
*arg1
= (wxWindow
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26948 if (SWIG_arg_fail(1)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)(arg1
)->Hide();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26965 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
;
26967 wxWindow
*arg1
= (wxWindow
*) 0 ;
26968 bool arg2
= (bool) true ;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 char *kwnames
[] = {
26973 (char *) "self",(char *) "enable", NULL
26976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26978 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 arg2
= (bool)(SWIG_As_bool(obj1
));
26982 if (SWIG_arg_fail(2)) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= (bool)(arg1
)->Enable(arg2
);
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27001 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
;
27003 wxWindow
*arg1
= (wxWindow
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= (bool)(arg1
)->Disable();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27029 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxWindow
*arg1
= (wxWindow
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27057 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxWindow
*arg1
= (wxWindow
*) 0 ;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27068 if (SWIG_arg_fail(1)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27085 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxWindow
*arg1
= (wxWindow
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self",(char *) "style", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27097 if (SWIG_arg_fail(1)) SWIG_fail
;
27099 arg2
= (long)(SWIG_As_long(obj1
));
27100 if (SWIG_arg_fail(2)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 (arg1
)->SetWindowStyleFlag(arg2
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 Py_INCREF(Py_None
); resultobj
= Py_None
;
27116 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxWindow
*arg1
= (wxWindow
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27127 if (SWIG_arg_fail(1)) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_long((long)(result
));
27144 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 wxWindow
*arg1
= (wxWindow
*) 0 ;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "flag", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail
;
27159 arg2
= (int)(SWIG_As_int(obj1
));
27160 if (SWIG_arg_fail(2)) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27178 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxWindow
*arg1
= (wxWindow
*) 0 ;
27182 PyObject
* obj0
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27206 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxWindow
*arg1
= (wxWindow
*) 0 ;
27210 PyObject
* obj0
= 0 ;
27211 PyObject
* obj1
= 0 ;
27212 char *kwnames
[] = {
27213 (char *) "self",(char *) "exStyle", NULL
27216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27218 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 arg2
= (long)(SWIG_As_long(obj1
));
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 (arg1
)->SetExtraStyle(arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 Py_INCREF(Py_None
); resultobj
= Py_None
;
27237 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= SWIG_From_long((long)(result
));
27265 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27268 bool arg2
= (bool) true ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self",(char *) "modal", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(1)) SWIG_fail
;
27280 arg2
= (bool)(SWIG_As_bool(obj1
));
27281 if (SWIG_arg_fail(2)) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 (arg1
)->MakeModal(arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 Py_INCREF(Py_None
); resultobj
= Py_None
;
27298 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxWindow
*arg1
= (wxWindow
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self",(char *) "enableTheme", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27310 if (SWIG_arg_fail(1)) SWIG_fail
;
27312 arg2
= (bool)(SWIG_As_bool(obj1
));
27313 if (SWIG_arg_fail(2)) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 (arg1
)->SetThemeEnabled(arg2
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 Py_INCREF(Py_None
); resultobj
= Py_None
;
27329 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxWindow
*arg1
= (wxWindow
*) 0 ;
27333 PyObject
* obj0
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27340 if (SWIG_arg_fail(1)) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27357 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxWindow
*arg1
= (wxWindow
*) 0 ;
27360 PyObject
* obj0
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail
;
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 (arg1
)->SetFocus();
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 Py_INCREF(Py_None
); resultobj
= Py_None
;
27382 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 (arg1
)->SetFocusFromKbd();
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27400 Py_INCREF(Py_None
); resultobj
= Py_None
;
27407 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27408 PyObject
*resultobj
;
27410 char *kwnames
[] = {
27414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27416 if (!wxPyCheckForApp()) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (wxWindow
*)wxWindow::FindFocus();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= wxPyMake_wxObject(result
, 0);
27432 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxWindow
*arg1
= (wxWindow
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27460 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27471 if (SWIG_arg_fail(1)) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27488 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxWindow
*arg1
= (wxWindow
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= wxPyMake_wxObject(result
, 0);
27516 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxWindow
*arg1
= (wxWindow
*) 0 ;
27519 wxWindow
*arg2
= (wxWindow
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "child", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27540 resultobj
= wxPyMake_wxObject(result
, 0);
27548 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
;
27550 wxWindow
*arg1
= (wxWindow
*) 0 ;
27551 wxWindow
*arg2
= (wxWindow
*) 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self",(char *) "win", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail
;
27561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27562 if (SWIG_arg_fail(2)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 (arg1
)->SetTmpDefaultItem(arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 Py_INCREF(Py_None
); resultobj
= Py_None
;
27577 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxWindow
*arg1
= (wxWindow
*) 0 ;
27580 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27582 PyObject
* obj0
= 0 ;
27583 PyObject
* obj1
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self",(char *) "flags", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27593 arg2
= (int)(SWIG_As_int(obj1
));
27594 if (SWIG_arg_fail(2)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (bool)(arg1
)->Navigate(arg2
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27613 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxWindow
*arg1
= (wxWindow
*) 0 ;
27616 wxWindow
*arg2
= (wxWindow
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 PyObject
* obj1
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self",(char *) "win", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail
;
27626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27627 if (SWIG_arg_fail(2)) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 (arg1
)->MoveAfterInTabOrder(arg2
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 Py_INCREF(Py_None
); resultobj
= Py_None
;
27642 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxWindow
*arg1
= (wxWindow
*) 0 ;
27645 wxWindow
*arg2
= (wxWindow
*) 0 ;
27646 PyObject
* obj0
= 0 ;
27647 PyObject
* obj1
= 0 ;
27648 char *kwnames
[] = {
27649 (char *) "self",(char *) "win", NULL
27652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27654 if (SWIG_arg_fail(1)) SWIG_fail
;
27655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27656 if (SWIG_arg_fail(2)) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 (arg1
)->MoveBeforeInTabOrder(arg2
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 Py_INCREF(Py_None
); resultobj
= Py_None
;
27671 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxWindow
*arg1
= (wxWindow
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27682 if (SWIG_arg_fail(1)) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= result
;
27697 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxWindow
*arg1
= (wxWindow
*) 0 ;
27701 PyObject
* obj0
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27708 if (SWIG_arg_fail(1)) SWIG_fail
;
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= wxPyMake_wxObject(result
, 0);
27725 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxWindow
*arg1
= (wxWindow
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= wxPyMake_wxObject(result
, 0);
27753 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxWindow
*arg1
= (wxWindow
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27764 if (SWIG_arg_fail(1)) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27781 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxWindow
*arg1
= (wxWindow
*) 0 ;
27784 wxWindow
*arg2
= (wxWindow
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self",(char *) "newParent", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27794 if (SWIG_arg_fail(1)) SWIG_fail
;
27795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27796 if (SWIG_arg_fail(2)) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (bool)(arg1
)->Reparent(arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27813 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27816 wxWindow
*arg2
= (wxWindow
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self",(char *) "child", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27827 if (SWIG_arg_fail(2)) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 (arg1
)->AddChild(arg2
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 Py_INCREF(Py_None
); resultobj
= Py_None
;
27842 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxWindow
*arg1
= (wxWindow
*) 0 ;
27845 wxWindow
*arg2
= (wxWindow
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 PyObject
* obj1
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self",(char *) "child", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27854 if (SWIG_arg_fail(1)) SWIG_fail
;
27855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27856 if (SWIG_arg_fail(2)) SWIG_fail
;
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 (arg1
)->RemoveChild(arg2
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 Py_INCREF(Py_None
); resultobj
= Py_None
;
27871 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxWindow
*arg1
= (wxWindow
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "winid", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27884 if (SWIG_arg_fail(1)) SWIG_fail
;
27886 arg2
= (long)(SWIG_As_long(obj1
));
27887 if (SWIG_arg_fail(2)) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= wxPyMake_wxObject(result
, 0);
27905 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxWindow
*arg1
= (wxWindow
*) 0 ;
27908 wxString
*arg2
= 0 ;
27910 bool temp2
= false ;
27911 PyObject
* obj0
= 0 ;
27912 PyObject
* obj1
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "self",(char *) "name", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27919 if (SWIG_arg_fail(1)) SWIG_fail
;
27921 arg2
= wxString_in_helper(obj1
);
27922 if (arg2
== NULL
) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= wxPyMake_wxObject(result
, 0);
27949 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27952 wxEvtHandler
*result
;
27953 PyObject
* obj0
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27960 if (SWIG_arg_fail(1)) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= wxPyMake_wxObject(result
, 0);
27977 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self",(char *) "handler", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27989 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27991 if (SWIG_arg_fail(2)) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 (arg1
)->SetEventHandler(arg2
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 Py_INCREF(Py_None
); resultobj
= Py_None
;
28006 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
;
28008 wxWindow
*arg1
= (wxWindow
*) 0 ;
28009 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28010 PyObject
* obj0
= 0 ;
28011 PyObject
* obj1
= 0 ;
28012 char *kwnames
[] = {
28013 (char *) "self",(char *) "handler", NULL
28016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28018 if (SWIG_arg_fail(1)) SWIG_fail
;
28019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28020 if (SWIG_arg_fail(2)) SWIG_fail
;
28022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28023 (arg1
)->PushEventHandler(arg2
);
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28028 Py_INCREF(Py_None
); resultobj
= Py_None
;
28035 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28036 PyObject
*resultobj
;
28037 wxWindow
*arg1
= (wxWindow
*) 0 ;
28038 bool arg2
= (bool) false ;
28039 wxEvtHandler
*result
;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self",(char *) "deleteHandler", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28048 if (SWIG_arg_fail(1)) SWIG_fail
;
28051 arg2
= (bool)(SWIG_As_bool(obj1
));
28052 if (SWIG_arg_fail(2)) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= wxPyMake_wxObject(result
, 0);
28071 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxWindow
*arg1
= (wxWindow
*) 0 ;
28074 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28076 PyObject
* obj0
= 0 ;
28077 PyObject
* obj1
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "handler", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28084 if (SWIG_arg_fail(1)) SWIG_fail
;
28085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28086 if (SWIG_arg_fail(2)) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28103 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxWindow
*arg1
= (wxWindow
*) 0 ;
28106 wxValidator
*arg2
= 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self",(char *) "validator", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28118 if (SWIG_arg_fail(2)) SWIG_fail
;
28119 if (arg2
== NULL
) {
28120 SWIG_null_ref("wxValidator");
28122 if (SWIG_arg_fail(2)) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28131 Py_INCREF(Py_None
); resultobj
= Py_None
;
28138 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
;
28140 wxWindow
*arg1
= (wxWindow
*) 0 ;
28141 wxValidator
*result
;
28142 PyObject
* obj0
= 0 ;
28143 char *kwnames
[] = {
28144 (char *) "self", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28149 if (SWIG_arg_fail(1)) SWIG_fail
;
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 result
= (wxValidator
*)(arg1
)->GetValidator();
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= wxPyMake_wxObject(result
, 0);
28166 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxWindow
*arg1
= (wxWindow
*) 0 ;
28170 PyObject
* obj0
= 0 ;
28171 char *kwnames
[] = {
28172 (char *) "self", NULL
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28177 if (SWIG_arg_fail(1)) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (bool)(arg1
)->Validate();
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28194 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxWindow
*arg1
= (wxWindow
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28205 if (SWIG_arg_fail(1)) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 result
= (bool)(arg1
)->TransferDataToWindow();
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28222 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxWindow
*arg1
= (wxWindow
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (bool)(arg1
)->TransferDataFromWindow();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28250 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxWindow
*arg1
= (wxWindow
*) 0 ;
28253 PyObject
* obj0
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28260 if (SWIG_arg_fail(1)) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 (arg1
)->InitDialog();
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 Py_INCREF(Py_None
); resultobj
= Py_None
;
28275 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxWindow
*arg1
= (wxWindow
*) 0 ;
28278 wxAcceleratorTable
*arg2
= 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self",(char *) "accel", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28287 if (SWIG_arg_fail(1)) SWIG_fail
;
28289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28290 if (SWIG_arg_fail(2)) SWIG_fail
;
28291 if (arg2
== NULL
) {
28292 SWIG_null_ref("wxAcceleratorTable");
28294 if (SWIG_arg_fail(2)) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 Py_INCREF(Py_None
); resultobj
= Py_None
;
28310 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxWindow
*arg1
= (wxWindow
*) 0 ;
28313 wxAcceleratorTable
*result
;
28314 PyObject
* obj0
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28321 if (SWIG_arg_fail(1)) SWIG_fail
;
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28336 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxWindow
*arg1
= (wxWindow
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 PyObject
* obj1
= 0 ;
28345 PyObject
* obj2
= 0 ;
28346 PyObject
* obj3
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28353 if (SWIG_arg_fail(1)) SWIG_fail
;
28355 arg2
= (int)(SWIG_As_int(obj1
));
28356 if (SWIG_arg_fail(2)) SWIG_fail
;
28359 arg3
= (int)(SWIG_As_int(obj2
));
28360 if (SWIG_arg_fail(3)) SWIG_fail
;
28363 arg4
= (int)(SWIG_As_int(obj3
));
28364 if (SWIG_arg_fail(4)) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28382 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxWindow
*arg1
= (wxWindow
*) 0 ;
28387 PyObject
* obj0
= 0 ;
28388 PyObject
* obj1
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self",(char *) "hotkeyId", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28395 if (SWIG_arg_fail(1)) SWIG_fail
;
28397 arg2
= (int)(SWIG_As_int(obj1
));
28398 if (SWIG_arg_fail(2)) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28416 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
;
28418 wxWindow
*arg1
= (wxWindow
*) 0 ;
28419 wxPoint
*arg2
= 0 ;
28422 PyObject
* obj0
= 0 ;
28423 PyObject
* obj1
= 0 ;
28424 char *kwnames
[] = {
28425 (char *) "self",(char *) "pt", NULL
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28430 if (SWIG_arg_fail(1)) SWIG_fail
;
28433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28443 wxPoint
* resultptr
;
28444 resultptr
= new wxPoint((wxPoint
&)(result
));
28445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28453 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
;
28455 wxWindow
*arg1
= (wxWindow
*) 0 ;
28459 PyObject
* obj0
= 0 ;
28460 PyObject
* obj1
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self",(char *) "sz", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28480 wxSize
* resultptr
;
28481 resultptr
= new wxSize((wxSize
&)(result
));
28482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28490 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxWindow
*arg1
= (wxWindow
*) 0 ;
28493 wxPoint
*arg2
= 0 ;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self",(char *) "pt", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28504 if (SWIG_arg_fail(1)) SWIG_fail
;
28507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 wxPoint
* resultptr
;
28518 resultptr
= new wxPoint((wxPoint
&)(result
));
28519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28527 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxWindow
*arg1
= (wxWindow
*) 0 ;
28533 PyObject
* obj0
= 0 ;
28534 PyObject
* obj1
= 0 ;
28535 char *kwnames
[] = {
28536 (char *) "self",(char *) "sz", NULL
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28541 if (SWIG_arg_fail(1)) SWIG_fail
;
28544 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 wxSize
* resultptr
;
28555 resultptr
= new wxSize((wxSize
&)(result
));
28556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28564 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 wxPoint
*arg2
= 0 ;
28570 PyObject
* obj0
= 0 ;
28571 PyObject
* obj1
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "pt", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28591 wxPoint
* resultptr
;
28592 resultptr
= new wxPoint((wxPoint
&)(result
));
28593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28601 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxWindow
*arg1
= (wxWindow
*) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "self",(char *) "sz", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28615 if (SWIG_arg_fail(1)) SWIG_fail
;
28618 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28628 wxSize
* resultptr
;
28629 resultptr
= new wxSize((wxSize
&)(result
));
28630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28638 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxWindow
*arg1
= (wxWindow
*) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 PyObject
* obj2
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self",(char *) "x",(char *) "y", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28652 if (SWIG_arg_fail(1)) SWIG_fail
;
28654 arg2
= (int)(SWIG_As_int(obj1
));
28655 if (SWIG_arg_fail(2)) SWIG_fail
;
28658 arg3
= (int)(SWIG_As_int(obj2
));
28659 if (SWIG_arg_fail(3)) SWIG_fail
;
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 (arg1
)->WarpPointer(arg2
,arg3
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 Py_INCREF(Py_None
); resultobj
= Py_None
;
28675 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
;
28677 wxWindow
*arg1
= (wxWindow
*) 0 ;
28678 PyObject
* obj0
= 0 ;
28679 char *kwnames
[] = {
28680 (char *) "self", NULL
28683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28685 if (SWIG_arg_fail(1)) SWIG_fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 (arg1
)->CaptureMouse();
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxWindow
*arg1
= (wxWindow
*) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28710 if (SWIG_arg_fail(1)) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 (arg1
)->ReleaseMouse();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 Py_INCREF(Py_None
); resultobj
= Py_None
;
28725 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28728 char *kwnames
[] = {
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28734 if (!wxPyCheckForApp()) SWIG_fail
;
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (wxWindow
*)wxWindow::GetCapture();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= wxPyMake_wxObject(result
, 0);
28750 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxWindow
*arg1
= (wxWindow
*) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28761 if (SWIG_arg_fail(1)) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28778 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
;
28780 wxWindow
*arg1
= (wxWindow
*) 0 ;
28781 bool arg2
= (bool) true ;
28782 wxRect
*arg3
= (wxRect
*) NULL
;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 PyObject
* obj2
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28792 if (SWIG_arg_fail(1)) SWIG_fail
;
28795 arg2
= (bool)(SWIG_As_bool(obj1
));
28796 if (SWIG_arg_fail(2)) SWIG_fail
;
28800 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28801 if (SWIG_arg_fail(3)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 Py_INCREF(Py_None
); resultobj
= Py_None
;
28817 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxWindow
*arg1
= (wxWindow
*) 0 ;
28821 bool arg3
= (bool) true ;
28823 PyObject
* obj0
= 0 ;
28824 PyObject
* obj1
= 0 ;
28825 PyObject
* obj2
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28832 if (SWIG_arg_fail(1)) SWIG_fail
;
28835 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28839 arg3
= (bool)(SWIG_As_bool(obj2
));
28840 if (SWIG_arg_fail(3)) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 Py_INCREF(Py_None
); resultobj
= Py_None
;
28857 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28859 wxWindow
*arg1
= (wxWindow
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 Py_INCREF(Py_None
); resultobj
= Py_None
;
28882 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
;
28884 wxWindow
*arg1
= (wxWindow
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28892 if (SWIG_arg_fail(1)) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 (arg1
)->ClearBackground();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 Py_INCREF(Py_None
); resultobj
= Py_None
;
28907 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxWindow
*arg1
= (wxWindow
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28917 if (SWIG_arg_fail(1)) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 Py_INCREF(Py_None
); resultobj
= Py_None
;
28932 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxWindow
*arg1
= (wxWindow
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28950 Py_INCREF(Py_None
); resultobj
= Py_None
;
28957 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28958 PyObject
*resultobj
;
28959 wxWindow
*arg1
= (wxWindow
*) 0 ;
28961 PyObject
* obj0
= 0 ;
28962 PyObject
* obj1
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "self",(char *) "dc", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail
;
28971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(2)) SWIG_fail
;
28973 if (arg2
== NULL
) {
28974 SWIG_null_ref("wxDC");
28976 if (SWIG_arg_fail(2)) SWIG_fail
;
28979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28980 (arg1
)->PrepareDC(*arg2
);
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 Py_INCREF(Py_None
); resultobj
= Py_None
;
28992 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxWindow
*arg1
= (wxWindow
*) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29003 if (SWIG_arg_fail(1)) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29008 result
= (wxRegion
*) &_result_ref
;
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29021 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
;
29023 wxWindow
*arg1
= (wxWindow
*) 0 ;
29025 PyObject
* obj0
= 0 ;
29026 char *kwnames
[] = {
29027 (char *) "self", NULL
29030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29032 if (SWIG_arg_fail(1)) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29041 wxRect
* resultptr
;
29042 resultptr
= new wxRect((wxRect
&)(result
));
29043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29051 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxWindow
*arg1
= (wxWindow
*) 0 ;
29056 int arg4
= (int) 1 ;
29057 int arg5
= (int) 1 ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 PyObject
* obj3
= 0 ;
29063 PyObject
* obj4
= 0 ;
29064 char *kwnames
[] = {
29065 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29070 if (SWIG_arg_fail(1)) SWIG_fail
;
29072 arg2
= (int)(SWIG_As_int(obj1
));
29073 if (SWIG_arg_fail(2)) SWIG_fail
;
29076 arg3
= (int)(SWIG_As_int(obj2
));
29077 if (SWIG_arg_fail(3)) SWIG_fail
;
29081 arg4
= (int)(SWIG_As_int(obj3
));
29082 if (SWIG_arg_fail(4)) SWIG_fail
;
29087 arg5
= (int)(SWIG_As_int(obj4
));
29088 if (SWIG_arg_fail(5)) SWIG_fail
;
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29107 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
;
29109 wxWindow
*arg1
= (wxWindow
*) 0 ;
29110 wxPoint
*arg2
= 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "pt", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail
;
29124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29128 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29142 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxWindow
*arg1
= (wxWindow
*) 0 ;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "rect", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29156 if (SWIG_arg_fail(1)) SWIG_fail
;
29159 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29177 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxWindow
*arg1
= (wxWindow
*) 0 ;
29180 wxVisualAttributes result
;
29181 PyObject
* obj0
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29188 if (SWIG_arg_fail(1)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29197 wxVisualAttributes
* resultptr
;
29198 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29207 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29210 wxVisualAttributes result
;
29211 PyObject
* obj0
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "variant", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29219 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29220 if (SWIG_arg_fail(1)) SWIG_fail
;
29224 if (!wxPyCheckForApp()) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 wxVisualAttributes
* resultptr
;
29233 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29242 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxWindow
*arg1
= (wxWindow
*) 0 ;
29245 wxColour
*arg2
= 0 ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self",(char *) "colour", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29256 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29277 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
;
29279 wxWindow
*arg1
= (wxWindow
*) 0 ;
29280 wxColour
*arg2
= 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 char *kwnames
[] = {
29285 (char *) "self",(char *) "colour", NULL
29288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29290 if (SWIG_arg_fail(1)) SWIG_fail
;
29293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29297 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29302 Py_INCREF(Py_None
); resultobj
= Py_None
;
29309 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
;
29311 wxWindow
*arg1
= (wxWindow
*) 0 ;
29312 wxColour
*arg2
= 0 ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char *kwnames
[] = {
29318 (char *) "self",(char *) "colour", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29323 if (SWIG_arg_fail(1)) SWIG_fail
;
29326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29344 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxWindow
*arg1
= (wxWindow
*) 0 ;
29347 wxColour
*arg2
= 0 ;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "colour", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29357 if (SWIG_arg_fail(1)) SWIG_fail
;
29360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29376 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxWindow
*arg1
= (wxWindow
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 char *kwnames
[] = {
29382 (char *) "self", NULL
29385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29387 if (SWIG_arg_fail(1)) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29396 wxColour
* resultptr
;
29397 resultptr
= new wxColour((wxColour
&)(result
));
29398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29406 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxWindow
*arg1
= (wxWindow
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29417 if (SWIG_arg_fail(1)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 wxColour
* resultptr
;
29427 resultptr
= new wxColour((wxColour
&)(result
));
29428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29436 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxWindow
*arg1
= (wxWindow
*) 0 ;
29439 wxBackgroundStyle arg2
;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "style", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29449 if (SWIG_arg_fail(1)) SWIG_fail
;
29451 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29452 if (SWIG_arg_fail(2)) SWIG_fail
;
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29470 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxWindow
*arg1
= (wxWindow
*) 0 ;
29473 wxBackgroundStyle result
;
29474 PyObject
* obj0
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(1)) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= SWIG_From_int((result
));
29496 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
;
29498 wxWindow
*arg1
= (wxWindow
*) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 char *kwnames
[] = {
29502 (char *) "self", NULL
29505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29507 if (SWIG_arg_fail(1)) SWIG_fail
;
29509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 result
= (bool)(arg1
)->HasTransparentBackground();
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29524 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
;
29526 wxWindow
*arg1
= (wxWindow
*) 0 ;
29527 wxCursor
*arg2
= 0 ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self",(char *) "cursor", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail
;
29539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29540 if (SWIG_arg_fail(2)) SWIG_fail
;
29541 if (arg2
== NULL
) {
29542 SWIG_null_ref("wxCursor");
29544 if (SWIG_arg_fail(2)) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29562 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
;
29564 wxWindow
*arg1
= (wxWindow
*) 0 ;
29566 PyObject
* obj0
= 0 ;
29567 char *kwnames
[] = {
29568 (char *) "self", NULL
29571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29573 if (SWIG_arg_fail(1)) SWIG_fail
;
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= (arg1
)->GetCursor();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29582 wxCursor
* resultptr
;
29583 resultptr
= new wxCursor((wxCursor
&)(result
));
29584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29592 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
;
29594 wxWindow
*arg1
= (wxWindow
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 char *kwnames
[] = {
29600 (char *) "self",(char *) "font", NULL
29603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29605 if (SWIG_arg_fail(1)) SWIG_fail
;
29607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29608 if (SWIG_arg_fail(2)) SWIG_fail
;
29609 if (arg2
== NULL
) {
29610 SWIG_null_ref("wxFont");
29612 if (SWIG_arg_fail(2)) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29630 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxWindow
*arg1
= (wxWindow
*) 0 ;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "self",(char *) "font", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29642 if (SWIG_arg_fail(1)) SWIG_fail
;
29644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29645 if (SWIG_arg_fail(2)) SWIG_fail
;
29646 if (arg2
== NULL
) {
29647 SWIG_null_ref("wxFont");
29649 if (SWIG_arg_fail(2)) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 Py_INCREF(Py_None
); resultobj
= Py_None
;
29665 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
;
29667 wxWindow
*arg1
= (wxWindow
*) 0 ;
29669 PyObject
* obj0
= 0 ;
29670 char *kwnames
[] = {
29671 (char *) "self", NULL
29674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 result
= (arg1
)->GetFont();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29685 wxFont
* resultptr
;
29686 resultptr
= new wxFont((wxFont
&)(result
));
29687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29695 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxWindow
*arg1
= (wxWindow
*) 0 ;
29698 wxCaret
*arg2
= (wxCaret
*) 0 ;
29699 PyObject
* obj0
= 0 ;
29700 PyObject
* obj1
= 0 ;
29701 char *kwnames
[] = {
29702 (char *) "self",(char *) "caret", NULL
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29707 if (SWIG_arg_fail(1)) SWIG_fail
;
29708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29709 if (SWIG_arg_fail(2)) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 (arg1
)->SetCaret(arg2
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 Py_INCREF(Py_None
); resultobj
= Py_None
;
29724 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
;
29726 wxWindow
*arg1
= (wxWindow
*) 0 ;
29728 PyObject
* obj0
= 0 ;
29729 char *kwnames
[] = {
29730 (char *) "self", NULL
29733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29735 if (SWIG_arg_fail(1)) SWIG_fail
;
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29750 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
;
29752 wxWindow
*arg1
= (wxWindow
*) 0 ;
29754 PyObject
* obj0
= 0 ;
29755 char *kwnames
[] = {
29756 (char *) "self", NULL
29759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29761 if (SWIG_arg_fail(1)) SWIG_fail
;
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29766 wxPyEndAllowThreads(__tstate
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29770 resultobj
= SWIG_From_int((int)(result
));
29778 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
;
29780 wxWindow
*arg1
= (wxWindow
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 char *kwnames
[] = {
29784 (char *) "self", NULL
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29789 if (SWIG_arg_fail(1)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29798 resultobj
= SWIG_From_int((int)(result
));
29806 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29807 PyObject
*resultobj
;
29808 wxWindow
*arg1
= (wxWindow
*) 0 ;
29809 wxString
*arg2
= 0 ;
29810 int *arg3
= (int *) 0 ;
29811 int *arg4
= (int *) 0 ;
29812 bool temp2
= false ;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self",(char *) "string", NULL
29823 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29824 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29827 if (SWIG_arg_fail(1)) SWIG_fail
;
29829 arg2
= wxString_in_helper(obj1
);
29830 if (arg2
== NULL
) SWIG_fail
;
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 Py_INCREF(Py_None
); resultobj
= Py_None
;
29841 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29842 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29843 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29844 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29859 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxWindow
*arg1
= (wxWindow
*) 0 ;
29862 wxString
*arg2
= 0 ;
29863 int *arg3
= (int *) 0 ;
29864 int *arg4
= (int *) 0 ;
29865 int *arg5
= (int *) 0 ;
29866 int *arg6
= (int *) 0 ;
29867 wxFont
*arg7
= (wxFont
*) NULL
;
29868 bool temp2
= false ;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 PyObject
* obj2
= 0 ;
29880 char *kwnames
[] = {
29881 (char *) "self",(char *) "string",(char *) "font", NULL
29884 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29885 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29886 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29887 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29890 if (SWIG_arg_fail(1)) SWIG_fail
;
29892 arg2
= wxString_in_helper(obj1
);
29893 if (arg2
== NULL
) SWIG_fail
;
29897 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29898 if (SWIG_arg_fail(7)) SWIG_fail
;
29901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29902 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29904 wxPyEndAllowThreads(__tstate
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 Py_INCREF(Py_None
); resultobj
= Py_None
;
29908 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29909 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29910 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29911 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29912 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29913 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29914 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29915 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29930 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxWindow
*arg1
= (wxWindow
*) 0 ;
29933 int *arg2
= (int *) 0 ;
29934 int *arg3
= (int *) 0 ;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 PyObject
* obj2
= 0 ;
29942 char *kwnames
[] = {
29943 (char *) "self",(char *) "x",(char *) "y", NULL
29946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29948 if (SWIG_arg_fail(1)) SWIG_fail
;
29950 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29951 temp2
= SWIG_As_int(obj1
);
29952 if (SWIG_arg_fail(2)) SWIG_fail
;
29954 res2
= SWIG_NEWOBJ
;
29958 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29959 temp3
= SWIG_As_int(obj2
);
29960 if (SWIG_arg_fail(3)) SWIG_fail
;
29962 res3
= SWIG_NEWOBJ
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29972 Py_INCREF(Py_None
); resultobj
= Py_None
;
29973 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29974 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29975 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29976 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29983 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxWindow
*arg1
= (wxWindow
*) 0 ;
29986 int *arg2
= (int *) 0 ;
29987 int *arg3
= (int *) 0 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self",(char *) "x",(char *) "y", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30001 if (SWIG_arg_fail(1)) SWIG_fail
;
30003 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30004 temp2
= SWIG_As_int(obj1
);
30005 if (SWIG_arg_fail(2)) SWIG_fail
;
30007 res2
= SWIG_NEWOBJ
;
30011 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30012 temp3
= SWIG_As_int(obj2
);
30013 if (SWIG_arg_fail(3)) SWIG_fail
;
30015 res3
= SWIG_NEWOBJ
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 Py_INCREF(Py_None
); resultobj
= Py_None
;
30026 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30027 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30028 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30029 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30036 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30037 PyObject
*resultobj
;
30038 wxWindow
*arg1
= (wxWindow
*) 0 ;
30039 wxPoint
*arg2
= 0 ;
30042 PyObject
* obj0
= 0 ;
30043 PyObject
* obj1
= 0 ;
30044 char *kwnames
[] = {
30045 (char *) "self",(char *) "pt", NULL
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30050 if (SWIG_arg_fail(1)) SWIG_fail
;
30053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 wxPoint
* resultptr
;
30064 resultptr
= new wxPoint((wxPoint
&)(result
));
30065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30073 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
;
30075 wxWindow
*arg1
= (wxWindow
*) 0 ;
30076 wxPoint
*arg2
= 0 ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self",(char *) "pt", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(1)) SWIG_fail
;
30090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 wxPoint
* resultptr
;
30101 resultptr
= new wxPoint((wxPoint
&)(result
));
30102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30110 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
;
30112 wxWindow
*arg1
= (wxWindow
*) 0 ;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 PyObject
* obj2
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self",(char *) "x",(char *) "y", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30125 if (SWIG_arg_fail(1)) SWIG_fail
;
30127 arg2
= (int)(SWIG_As_int(obj1
));
30128 if (SWIG_arg_fail(2)) SWIG_fail
;
30131 arg3
= (int)(SWIG_As_int(obj2
));
30132 if (SWIG_arg_fail(3)) SWIG_fail
;
30135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30136 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= SWIG_From_int((result
));
30148 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
;
30150 wxWindow
*arg1
= (wxWindow
*) 0 ;
30151 wxPoint
*arg2
= 0 ;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 char *kwnames
[] = {
30157 (char *) "self",(char *) "pt", NULL
30160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30162 if (SWIG_arg_fail(1)) SWIG_fail
;
30165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30171 wxPyEndAllowThreads(__tstate
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30174 resultobj
= SWIG_From_int((result
));
30181 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30182 PyObject
*resultobj
;
30183 wxWindow
*arg1
= (wxWindow
*) 0 ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30189 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30191 if (SWIG_arg_fail(1)) SWIG_fail
;
30193 arg2
= (long)(SWIG_As_long(obj1
));
30194 if (SWIG_arg_fail(2)) SWIG_fail
;
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= SWIG_From_int((result
));
30210 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30211 PyObject
*resultobj
;
30212 wxWindow
*arg1
= (wxWindow
*) 0 ;
30214 PyObject
* obj0
= 0 ;
30216 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(1)) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= SWIG_From_int((result
));
30233 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30238 argc
= PyObject_Length(args
);
30239 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30240 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30246 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30254 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30261 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30269 _v
= SWIG_Check_long(argv
[1]);
30271 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30276 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30281 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
;
30283 wxWindow
*arg1
= (wxWindow
*) 0 ;
30284 long arg2
= (long) wxUPDATE_UI_NONE
;
30285 PyObject
* obj0
= 0 ;
30286 PyObject
* obj1
= 0 ;
30287 char *kwnames
[] = {
30288 (char *) "self",(char *) "flags", NULL
30291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail
;
30296 arg2
= (long)(SWIG_As_long(obj1
));
30297 if (SWIG_arg_fail(2)) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 (arg1
)->UpdateWindowUI(arg2
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 Py_INCREF(Py_None
); resultobj
= Py_None
;
30314 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
;
30316 wxWindow
*arg1
= (wxWindow
*) 0 ;
30317 wxMenu
*arg2
= (wxMenu
*) 0 ;
30318 int arg3
= (int) -1 ;
30319 int arg4
= (int) -1 ;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 PyObject
* obj2
= 0 ;
30324 PyObject
* obj3
= 0 ;
30325 char *kwnames
[] = {
30326 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30331 if (SWIG_arg_fail(1)) SWIG_fail
;
30332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30333 if (SWIG_arg_fail(2)) SWIG_fail
;
30336 arg3
= (int)(SWIG_As_int(obj2
));
30337 if (SWIG_arg_fail(3)) SWIG_fail
;
30342 arg4
= (int)(SWIG_As_int(obj3
));
30343 if (SWIG_arg_fail(4)) SWIG_fail
;
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30362 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxWindow
*arg1
= (wxWindow
*) 0 ;
30365 wxMenu
*arg2
= (wxMenu
*) 0 ;
30366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 PyObject
* obj2
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self",(char *) "menu",(char *) "pos", NULL
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(1)) SWIG_fail
;
30380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30381 if (SWIG_arg_fail(2)) SWIG_fail
;
30385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30404 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxWindow
*arg1
= (wxWindow
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(1)) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= (long)wxWindow_GetHandle(arg1
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= SWIG_From_long((long)(result
));
30432 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxWindow
*arg1
= (wxWindow
*) 0 ;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self",(char *) "handle", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30444 if (SWIG_arg_fail(1)) SWIG_fail
;
30446 arg2
= (long)(SWIG_As_long(obj1
));
30447 if (SWIG_arg_fail(2)) SWIG_fail
;
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 wxWindow_AssociateHandle(arg1
,arg2
);
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 Py_INCREF(Py_None
); resultobj
= Py_None
;
30463 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
;
30465 wxWindow
*arg1
= (wxWindow
*) 0 ;
30466 PyObject
* obj0
= 0 ;
30467 char *kwnames
[] = {
30468 (char *) "self", NULL
30471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30473 if (SWIG_arg_fail(1)) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 (arg1
)->DissociateHandle();
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 Py_INCREF(Py_None
); resultobj
= Py_None
;
30488 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxWindow
*arg1
= (wxWindow
*) 0 ;
30491 wxPaintEvent
*arg2
= 0 ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "event", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30500 if (SWIG_arg_fail(1)) SWIG_fail
;
30502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30503 if (SWIG_arg_fail(2)) SWIG_fail
;
30504 if (arg2
== NULL
) {
30505 SWIG_null_ref("wxPaintEvent");
30507 if (SWIG_arg_fail(2)) SWIG_fail
;
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 (arg1
)->OnPaint(*arg2
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 Py_INCREF(Py_None
); resultobj
= Py_None
;
30523 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
;
30525 wxWindow
*arg1
= (wxWindow
*) 0 ;
30528 PyObject
* obj0
= 0 ;
30529 PyObject
* obj1
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "self",(char *) "orient", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30536 if (SWIG_arg_fail(1)) SWIG_fail
;
30538 arg2
= (int)(SWIG_As_int(obj1
));
30539 if (SWIG_arg_fail(2)) SWIG_fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30557 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
;
30559 wxWindow
*arg1
= (wxWindow
*) 0 ;
30564 bool arg6
= (bool) true ;
30565 PyObject
* obj0
= 0 ;
30566 PyObject
* obj1
= 0 ;
30567 PyObject
* obj2
= 0 ;
30568 PyObject
* obj3
= 0 ;
30569 PyObject
* obj4
= 0 ;
30570 PyObject
* obj5
= 0 ;
30571 char *kwnames
[] = {
30572 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30577 if (SWIG_arg_fail(1)) SWIG_fail
;
30579 arg2
= (int)(SWIG_As_int(obj1
));
30580 if (SWIG_arg_fail(2)) SWIG_fail
;
30583 arg3
= (int)(SWIG_As_int(obj2
));
30584 if (SWIG_arg_fail(3)) SWIG_fail
;
30587 arg4
= (int)(SWIG_As_int(obj3
));
30588 if (SWIG_arg_fail(4)) SWIG_fail
;
30591 arg5
= (int)(SWIG_As_int(obj4
));
30592 if (SWIG_arg_fail(5)) SWIG_fail
;
30596 arg6
= (bool)(SWIG_As_bool(obj5
));
30597 if (SWIG_arg_fail(6)) SWIG_fail
;
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30607 Py_INCREF(Py_None
); resultobj
= Py_None
;
30614 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxWindow
*arg1
= (wxWindow
*) 0 ;
30619 bool arg4
= (bool) true ;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 PyObject
* obj2
= 0 ;
30623 PyObject
* obj3
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30630 if (SWIG_arg_fail(1)) SWIG_fail
;
30632 arg2
= (int)(SWIG_As_int(obj1
));
30633 if (SWIG_arg_fail(2)) SWIG_fail
;
30636 arg3
= (int)(SWIG_As_int(obj2
));
30637 if (SWIG_arg_fail(3)) SWIG_fail
;
30641 arg4
= (bool)(SWIG_As_bool(obj3
));
30642 if (SWIG_arg_fail(4)) SWIG_fail
;
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30652 Py_INCREF(Py_None
); resultobj
= Py_None
;
30659 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30660 PyObject
*resultobj
;
30661 wxWindow
*arg1
= (wxWindow
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 char *kwnames
[] = {
30667 (char *) "self",(char *) "orientation", NULL
30670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30672 if (SWIG_arg_fail(1)) SWIG_fail
;
30674 arg2
= (int)(SWIG_As_int(obj1
));
30675 if (SWIG_arg_fail(2)) SWIG_fail
;
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_From_int((int)(result
));
30693 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
;
30695 wxWindow
*arg1
= (wxWindow
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char *kwnames
[] = {
30701 (char *) "self",(char *) "orientation", NULL
30704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30706 if (SWIG_arg_fail(1)) SWIG_fail
;
30708 arg2
= (int)(SWIG_As_int(obj1
));
30709 if (SWIG_arg_fail(2)) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_From_int((int)(result
));
30727 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
;
30729 wxWindow
*arg1
= (wxWindow
*) 0 ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "orientation", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30740 if (SWIG_arg_fail(1)) SWIG_fail
;
30742 arg2
= (int)(SWIG_As_int(obj1
));
30743 if (SWIG_arg_fail(2)) SWIG_fail
;
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30749 wxPyEndAllowThreads(__tstate
);
30750 if (PyErr_Occurred()) SWIG_fail
;
30753 resultobj
= SWIG_From_int((int)(result
));
30761 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
;
30763 wxWindow
*arg1
= (wxWindow
*) 0 ;
30766 wxRect
*arg4
= (wxRect
*) NULL
;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 PyObject
* obj2
= 0 ;
30770 PyObject
* obj3
= 0 ;
30771 char *kwnames
[] = {
30772 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
30784 if (SWIG_arg_fail(3)) SWIG_fail
;
30787 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30788 if (SWIG_arg_fail(4)) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxWindow
*arg1
= (wxWindow
*) 0 ;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 char *kwnames
[] = {
30812 (char *) "self",(char *) "lines", NULL
30815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30817 if (SWIG_arg_fail(1)) SWIG_fail
;
30819 arg2
= (int)(SWIG_As_int(obj1
));
30820 if (SWIG_arg_fail(2)) SWIG_fail
;
30823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30824 result
= (bool)(arg1
)->ScrollLines(arg2
);
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30838 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
;
30840 wxWindow
*arg1
= (wxWindow
*) 0 ;
30843 PyObject
* obj0
= 0 ;
30844 PyObject
* obj1
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "self",(char *) "pages", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30851 if (SWIG_arg_fail(1)) SWIG_fail
;
30853 arg2
= (int)(SWIG_As_int(obj1
));
30854 if (SWIG_arg_fail(2)) SWIG_fail
;
30857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30858 result
= (bool)(arg1
)->ScrollPages(arg2
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30872 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
;
30874 wxWindow
*arg1
= (wxWindow
*) 0 ;
30876 PyObject
* obj0
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail
;
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 result
= (bool)(arg1
)->LineUp();
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30900 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
;
30902 wxWindow
*arg1
= (wxWindow
*) 0 ;
30904 PyObject
* obj0
= 0 ;
30905 char *kwnames
[] = {
30906 (char *) "self", NULL
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30911 if (SWIG_arg_fail(1)) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= (bool)(arg1
)->LineDown();
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30928 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
;
30930 wxWindow
*arg1
= (wxWindow
*) 0 ;
30932 PyObject
* obj0
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30939 if (SWIG_arg_fail(1)) SWIG_fail
;
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30942 result
= (bool)(arg1
)->PageUp();
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30956 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxWindow
*arg1
= (wxWindow
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 char *kwnames
[] = {
30962 (char *) "self", NULL
30965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30967 if (SWIG_arg_fail(1)) SWIG_fail
;
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= (bool)(arg1
)->PageDown();
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30984 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxWindow
*arg1
= (wxWindow
*) 0 ;
30987 wxString
*arg2
= 0 ;
30988 bool temp2
= false ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char *kwnames
[] = {
30992 (char *) "self",(char *) "text", NULL
30995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30997 if (SWIG_arg_fail(1)) SWIG_fail
;
30999 arg2
= wxString_in_helper(obj1
);
31000 if (arg2
== NULL
) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 Py_INCREF(Py_None
); resultobj
= Py_None
;
31025 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
;
31027 wxWindow
*arg1
= (wxWindow
*) 0 ;
31028 wxString
*arg2
= 0 ;
31029 bool temp2
= false ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 char *kwnames
[] = {
31033 (char *) "self",(char *) "text", NULL
31036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31038 if (SWIG_arg_fail(1)) SWIG_fail
;
31040 arg2
= wxString_in_helper(obj1
);
31041 if (arg2
== NULL
) SWIG_fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 Py_INCREF(Py_None
); resultobj
= Py_None
;
31066 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
;
31068 wxWindow
*arg1
= (wxWindow
*) 0 ;
31070 PyObject
* obj0
= 0 ;
31071 char *kwnames
[] = {
31072 (char *) "self", NULL
31075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31077 if (SWIG_arg_fail(1)) SWIG_fail
;
31079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31080 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31098 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31099 PyObject
*resultobj
;
31100 wxWindow
*arg1
= (wxWindow
*) 0 ;
31101 wxString
*arg2
= 0 ;
31102 bool temp2
= false ;
31103 PyObject
* obj0
= 0 ;
31104 PyObject
* obj1
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self",(char *) "tip", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31111 if (SWIG_arg_fail(1)) SWIG_fail
;
31113 arg2
= wxString_in_helper(obj1
);
31114 if (arg2
== NULL
) SWIG_fail
;
31118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31124 Py_INCREF(Py_None
); resultobj
= Py_None
;
31139 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31140 PyObject
*resultobj
;
31141 wxWindow
*arg1
= (wxWindow
*) 0 ;
31142 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31143 PyObject
* obj0
= 0 ;
31144 PyObject
* obj1
= 0 ;
31145 char *kwnames
[] = {
31146 (char *) "self",(char *) "tip", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31151 if (SWIG_arg_fail(1)) SWIG_fail
;
31152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31153 if (SWIG_arg_fail(2)) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 (arg1
)->SetToolTip(arg2
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 Py_INCREF(Py_None
); resultobj
= Py_None
;
31168 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxWindow
*arg1
= (wxWindow
*) 0 ;
31172 PyObject
* obj0
= 0 ;
31173 char *kwnames
[] = {
31174 (char *) "self", NULL
31177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31179 if (SWIG_arg_fail(1)) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= wxPyMake_wxObject(result
, 0);
31196 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxWindow
*arg1
= (wxWindow
*) 0 ;
31199 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 char *kwnames
[] = {
31203 (char *) "self",(char *) "dropTarget", NULL
31206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31208 if (SWIG_arg_fail(1)) SWIG_fail
;
31209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31210 if (SWIG_arg_fail(2)) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 (arg1
)->SetDropTarget(arg2
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 Py_INCREF(Py_None
); resultobj
= Py_None
;
31225 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
;
31227 wxWindow
*arg1
= (wxWindow
*) 0 ;
31228 wxPyDropTarget
*result
;
31229 PyObject
* obj0
= 0 ;
31230 char *kwnames
[] = {
31231 (char *) "self", NULL
31234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31236 if (SWIG_arg_fail(1)) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31251 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
;
31253 wxWindow
*arg1
= (wxWindow
*) 0 ;
31255 PyObject
* obj0
= 0 ;
31256 PyObject
* obj1
= 0 ;
31257 char *kwnames
[] = {
31258 (char *) "self",(char *) "accept", NULL
31261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31263 if (SWIG_arg_fail(1)) SWIG_fail
;
31265 arg2
= (bool)(SWIG_As_bool(obj1
));
31266 if (SWIG_arg_fail(2)) SWIG_fail
;
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 (arg1
)->DragAcceptFiles(arg2
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 Py_INCREF(Py_None
); resultobj
= Py_None
;
31282 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
;
31284 wxWindow
*arg1
= (wxWindow
*) 0 ;
31285 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self",(char *) "constraints", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31294 if (SWIG_arg_fail(1)) SWIG_fail
;
31295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31296 if (SWIG_arg_fail(2)) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 (arg1
)->SetConstraints(arg2
);
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31304 Py_INCREF(Py_None
); resultobj
= Py_None
;
31311 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31312 PyObject
*resultobj
;
31313 wxWindow
*arg1
= (wxWindow
*) 0 ;
31314 wxLayoutConstraints
*result
;
31315 PyObject
* obj0
= 0 ;
31316 char *kwnames
[] = {
31317 (char *) "self", NULL
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31322 if (SWIG_arg_fail(1)) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31337 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
;
31339 wxWindow
*arg1
= (wxWindow
*) 0 ;
31341 PyObject
* obj0
= 0 ;
31342 PyObject
* obj1
= 0 ;
31343 char *kwnames
[] = {
31344 (char *) "self",(char *) "autoLayout", NULL
31347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31349 if (SWIG_arg_fail(1)) SWIG_fail
;
31351 arg2
= (bool)(SWIG_As_bool(obj1
));
31352 if (SWIG_arg_fail(2)) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 (arg1
)->SetAutoLayout(arg2
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 Py_INCREF(Py_None
); resultobj
= Py_None
;
31368 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
;
31370 wxWindow
*arg1
= (wxWindow
*) 0 ;
31372 PyObject
* obj0
= 0 ;
31373 char *kwnames
[] = {
31374 (char *) "self", NULL
31377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31379 if (SWIG_arg_fail(1)) SWIG_fail
;
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31396 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
;
31398 wxWindow
*arg1
= (wxWindow
*) 0 ;
31400 PyObject
* obj0
= 0 ;
31401 char *kwnames
[] = {
31402 (char *) "self", NULL
31405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31407 if (SWIG_arg_fail(1)) SWIG_fail
;
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 result
= (bool)(arg1
)->Layout();
31412 wxPyEndAllowThreads(__tstate
);
31413 if (PyErr_Occurred()) SWIG_fail
;
31416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31424 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31425 PyObject
*resultobj
;
31426 wxWindow
*arg1
= (wxWindow
*) 0 ;
31427 wxSizer
*arg2
= (wxSizer
*) 0 ;
31428 bool arg3
= (bool) true ;
31429 PyObject
* obj0
= 0 ;
31430 PyObject
* obj1
= 0 ;
31431 PyObject
* obj2
= 0 ;
31432 char *kwnames
[] = {
31433 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31438 if (SWIG_arg_fail(1)) SWIG_fail
;
31439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31440 if (SWIG_arg_fail(2)) SWIG_fail
;
31443 arg3
= (bool)(SWIG_As_bool(obj2
));
31444 if (SWIG_arg_fail(3)) SWIG_fail
;
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 (arg1
)->SetSizer(arg2
,arg3
);
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31454 Py_INCREF(Py_None
); resultobj
= Py_None
;
31461 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
;
31463 wxWindow
*arg1
= (wxWindow
*) 0 ;
31464 wxSizer
*arg2
= (wxSizer
*) 0 ;
31465 bool arg3
= (bool) true ;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 char *kwnames
[] = {
31470 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31475 if (SWIG_arg_fail(1)) SWIG_fail
;
31476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31477 if (SWIG_arg_fail(2)) SWIG_fail
;
31480 arg3
= (bool)(SWIG_As_bool(obj2
));
31481 if (SWIG_arg_fail(3)) SWIG_fail
;
31485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 Py_INCREF(Py_None
); resultobj
= Py_None
;
31498 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
;
31500 wxWindow
*arg1
= (wxWindow
*) 0 ;
31502 PyObject
* obj0
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31509 if (SWIG_arg_fail(1)) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= wxPyMake_wxSizer(result
, 0);
31526 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31527 PyObject
*resultobj
;
31528 wxWindow
*arg1
= (wxWindow
*) 0 ;
31529 wxSizer
*arg2
= (wxSizer
*) 0 ;
31530 PyObject
* obj0
= 0 ;
31531 PyObject
* obj1
= 0 ;
31532 char *kwnames
[] = {
31533 (char *) "self",(char *) "sizer", NULL
31536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31538 if (SWIG_arg_fail(1)) SWIG_fail
;
31539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31540 if (SWIG_arg_fail(2)) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 (arg1
)->SetContainingSizer(arg2
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 Py_INCREF(Py_None
); resultobj
= Py_None
;
31555 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
;
31557 wxWindow
*arg1
= (wxWindow
*) 0 ;
31559 PyObject
* obj0
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31575 resultobj
= wxPyMake_wxSizer(result
, 0);
31583 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31584 PyObject
*resultobj
;
31585 wxWindow
*arg1
= (wxWindow
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 char *kwnames
[] = {
31588 (char *) "self", NULL
31591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31593 if (SWIG_arg_fail(1)) SWIG_fail
;
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 (arg1
)->InheritAttributes();
31598 wxPyEndAllowThreads(__tstate
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 Py_INCREF(Py_None
); resultobj
= Py_None
;
31608 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
;
31610 wxWindow
*arg1
= (wxWindow
*) 0 ;
31612 PyObject
* obj0
= 0 ;
31613 char *kwnames
[] = {
31614 (char *) "self", NULL
31617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31619 if (SWIG_arg_fail(1)) SWIG_fail
;
31621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31622 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31624 wxPyEndAllowThreads(__tstate
);
31625 if (PyErr_Occurred()) SWIG_fail
;
31628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31636 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31639 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31641 return Py_BuildValue((char *)"");
31643 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
;
31646 wxWindow
*arg2
= (wxWindow
*) NULL
;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 char *kwnames
[] = {
31651 (char *) "id",(char *) "parent", NULL
31654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31656 arg1
= (long)(SWIG_As_long(obj0
));
31657 if (SWIG_arg_fail(1)) SWIG_fail
;
31660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31661 if (SWIG_arg_fail(2)) SWIG_fail
;
31664 if (!wxPyCheckForApp()) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= wxPyMake_wxObject(result
, 0);
31680 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31681 PyObject
*resultobj
;
31682 wxString
*arg1
= 0 ;
31683 wxWindow
*arg2
= (wxWindow
*) NULL
;
31685 bool temp1
= false ;
31686 PyObject
* obj0
= 0 ;
31687 PyObject
* obj1
= 0 ;
31688 char *kwnames
[] = {
31689 (char *) "name",(char *) "parent", NULL
31692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31694 arg1
= wxString_in_helper(obj0
);
31695 if (arg1
== NULL
) SWIG_fail
;
31699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31700 if (SWIG_arg_fail(2)) SWIG_fail
;
31703 if (!wxPyCheckForApp()) SWIG_fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= wxPyMake_wxObject(result
, 0);
31727 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
;
31729 wxString
*arg1
= 0 ;
31730 wxWindow
*arg2
= (wxWindow
*) NULL
;
31732 bool temp1
= false ;
31733 PyObject
* obj0
= 0 ;
31734 PyObject
* obj1
= 0 ;
31735 char *kwnames
[] = {
31736 (char *) "label",(char *) "parent", NULL
31739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31741 arg1
= wxString_in_helper(obj0
);
31742 if (arg1
== NULL
) SWIG_fail
;
31746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31747 if (SWIG_arg_fail(2)) SWIG_fail
;
31750 if (!wxPyCheckForApp()) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= wxPyMake_wxObject(result
, 0);
31774 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
;
31776 wxWindow
*arg1
= (wxWindow
*) 0 ;
31777 unsigned long arg2
;
31779 PyObject
* obj0
= 0 ;
31780 PyObject
* obj1
= 0 ;
31781 char *kwnames
[] = {
31782 (char *) "parent",(char *) "_hWnd", NULL
31785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31787 if (SWIG_arg_fail(1)) SWIG_fail
;
31789 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31790 if (SWIG_arg_fail(2)) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= wxPyMake_wxObject(result
, 0);
31808 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
;
31810 wxValidator
*result
;
31811 char *kwnames
[] = {
31815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 result
= (wxValidator
*)new wxValidator();
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31830 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
;
31832 wxValidator
*arg1
= (wxValidator
*) 0 ;
31833 wxValidator
*result
;
31834 PyObject
* obj0
= 0 ;
31835 char *kwnames
[] = {
31836 (char *) "self", NULL
31839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31841 if (SWIG_arg_fail(1)) SWIG_fail
;
31843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31844 result
= (wxValidator
*)(arg1
)->Clone();
31846 wxPyEndAllowThreads(__tstate
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31850 resultobj
= wxPyMake_wxObject(result
, 0);
31858 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31859 PyObject
*resultobj
;
31860 wxValidator
*arg1
= (wxValidator
*) 0 ;
31861 wxWindow
*arg2
= (wxWindow
*) 0 ;
31863 PyObject
* obj0
= 0 ;
31864 PyObject
* obj1
= 0 ;
31865 char *kwnames
[] = {
31866 (char *) "self",(char *) "parent", NULL
31869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31871 if (SWIG_arg_fail(1)) SWIG_fail
;
31872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31873 if (SWIG_arg_fail(2)) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 result
= (bool)(arg1
)->Validate(arg2
);
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31890 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
;
31892 wxValidator
*arg1
= (wxValidator
*) 0 ;
31894 PyObject
* obj0
= 0 ;
31895 char *kwnames
[] = {
31896 (char *) "self", NULL
31899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31901 if (SWIG_arg_fail(1)) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 result
= (bool)(arg1
)->TransferToWindow();
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31918 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
;
31920 wxValidator
*arg1
= (wxValidator
*) 0 ;
31922 PyObject
* obj0
= 0 ;
31923 char *kwnames
[] = {
31924 (char *) "self", NULL
31927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31929 if (SWIG_arg_fail(1)) SWIG_fail
;
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 result
= (bool)(arg1
)->TransferFromWindow();
31934 wxPyEndAllowThreads(__tstate
);
31935 if (PyErr_Occurred()) SWIG_fail
;
31938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31946 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
;
31948 wxValidator
*arg1
= (wxValidator
*) 0 ;
31950 PyObject
* obj0
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (wxWindow
*)(arg1
)->GetWindow();
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= wxPyMake_wxObject(result
, 0);
31974 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
;
31976 wxValidator
*arg1
= (wxValidator
*) 0 ;
31977 wxWindow
*arg2
= (wxWindow
*) 0 ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 char *kwnames
[] = {
31981 (char *) "self",(char *) "window", NULL
31984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31986 if (SWIG_arg_fail(1)) SWIG_fail
;
31987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31988 if (SWIG_arg_fail(2)) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 (arg1
)->SetWindow(arg2
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 Py_INCREF(Py_None
); resultobj
= Py_None
;
32003 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
;
32006 char *kwnames
[] = {
32010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 result
= (bool)wxValidator::IsSilent();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32027 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32028 PyObject
*resultobj
;
32029 int arg1
= (int) true ;
32030 PyObject
* obj0
= 0 ;
32031 char *kwnames
[] = {
32032 (char *) "doIt", NULL
32035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32038 arg1
= (int)(SWIG_As_int(obj0
));
32039 if (SWIG_arg_fail(1)) SWIG_fail
;
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 wxValidator::SetBellOnError(arg1
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 Py_INCREF(Py_None
); resultobj
= Py_None
;
32056 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32059 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32061 return Py_BuildValue((char *)"");
32063 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
;
32065 wxPyValidator
*result
;
32066 char *kwnames
[] = {
32070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 result
= (wxPyValidator
*)new wxPyValidator();
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32085 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32086 PyObject
*resultobj
;
32087 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32088 PyObject
*arg2
= (PyObject
*) 0 ;
32089 PyObject
*arg3
= (PyObject
*) 0 ;
32090 int arg4
= (int) true ;
32091 PyObject
* obj0
= 0 ;
32092 PyObject
* obj1
= 0 ;
32093 PyObject
* obj2
= 0 ;
32094 PyObject
* obj3
= 0 ;
32095 char *kwnames
[] = {
32096 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32101 if (SWIG_arg_fail(1)) SWIG_fail
;
32106 arg4
= (int)(SWIG_As_int(obj3
));
32107 if (SWIG_arg_fail(4)) SWIG_fail
;
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 Py_INCREF(Py_None
); resultobj
= Py_None
;
32124 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32127 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32129 return Py_BuildValue((char *)"");
32131 static int _wrap_DefaultValidator_set(PyObject
*) {
32132 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32137 static PyObject
*_wrap_DefaultValidator_get(void) {
32140 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32145 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32146 PyObject
*resultobj
;
32147 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32148 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32149 long arg2
= (long) 0 ;
32151 bool temp1
= false ;
32152 PyObject
* obj0
= 0 ;
32153 PyObject
* obj1
= 0 ;
32154 char *kwnames
[] = {
32155 (char *) "title",(char *) "style", NULL
32158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32161 arg1
= wxString_in_helper(obj0
);
32162 if (arg1
== NULL
) SWIG_fail
;
32168 arg2
= (long)(SWIG_As_long(obj1
));
32169 if (SWIG_arg_fail(2)) SWIG_fail
;
32173 if (!wxPyCheckForApp()) SWIG_fail
;
32174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32175 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32177 wxPyEndAllowThreads(__tstate
);
32178 if (PyErr_Occurred()) SWIG_fail
;
32180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32195 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
;
32197 wxMenu
*arg1
= (wxMenu
*) 0 ;
32199 wxString
*arg3
= 0 ;
32200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32202 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32203 wxMenuItem
*result
;
32204 bool temp3
= false ;
32205 bool temp4
= false ;
32206 PyObject
* obj0
= 0 ;
32207 PyObject
* obj1
= 0 ;
32208 PyObject
* obj2
= 0 ;
32209 PyObject
* obj3
= 0 ;
32210 PyObject
* obj4
= 0 ;
32211 char *kwnames
[] = {
32212 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32217 if (SWIG_arg_fail(1)) SWIG_fail
;
32219 arg2
= (int)(SWIG_As_int(obj1
));
32220 if (SWIG_arg_fail(2)) SWIG_fail
;
32223 arg3
= wxString_in_helper(obj2
);
32224 if (arg3
== NULL
) SWIG_fail
;
32229 arg4
= wxString_in_helper(obj3
);
32230 if (arg4
== NULL
) SWIG_fail
;
32236 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32237 if (SWIG_arg_fail(5)) SWIG_fail
;
32241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32242 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32244 wxPyEndAllowThreads(__tstate
);
32245 if (PyErr_Occurred()) SWIG_fail
;
32248 resultobj
= wxPyMake_wxObject(result
, 0);
32272 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
;
32274 wxMenu
*arg1
= (wxMenu
*) 0 ;
32275 wxMenuItem
*result
;
32276 PyObject
* obj0
= 0 ;
32277 char *kwnames
[] = {
32278 (char *) "self", NULL
32281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32283 if (SWIG_arg_fail(1)) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= wxPyMake_wxObject(result
, 0);
32300 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32302 wxMenu
*arg1
= (wxMenu
*) 0 ;
32304 wxString
*arg3
= 0 ;
32305 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32306 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32307 wxMenuItem
*result
;
32308 bool temp3
= false ;
32309 bool temp4
= false ;
32310 PyObject
* obj0
= 0 ;
32311 PyObject
* obj1
= 0 ;
32312 PyObject
* obj2
= 0 ;
32313 PyObject
* obj3
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32320 if (SWIG_arg_fail(1)) SWIG_fail
;
32322 arg2
= (int)(SWIG_As_int(obj1
));
32323 if (SWIG_arg_fail(2)) SWIG_fail
;
32326 arg3
= wxString_in_helper(obj2
);
32327 if (arg3
== NULL
) SWIG_fail
;
32332 arg4
= wxString_in_helper(obj3
);
32333 if (arg4
== NULL
) SWIG_fail
;
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32341 wxPyEndAllowThreads(__tstate
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= wxPyMake_wxObject(result
, 0);
32369 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
;
32371 wxMenu
*arg1
= (wxMenu
*) 0 ;
32373 wxString
*arg3
= 0 ;
32374 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32375 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32376 wxMenuItem
*result
;
32377 bool temp3
= false ;
32378 bool temp4
= false ;
32379 PyObject
* obj0
= 0 ;
32380 PyObject
* obj1
= 0 ;
32381 PyObject
* obj2
= 0 ;
32382 PyObject
* obj3
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32389 if (SWIG_arg_fail(1)) SWIG_fail
;
32391 arg2
= (int)(SWIG_As_int(obj1
));
32392 if (SWIG_arg_fail(2)) SWIG_fail
;
32395 arg3
= wxString_in_helper(obj2
);
32396 if (arg3
== NULL
) SWIG_fail
;
32401 arg4
= wxString_in_helper(obj3
);
32402 if (arg4
== NULL
) SWIG_fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= wxPyMake_wxObject(result
, 0);
32438 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32439 PyObject
*resultobj
;
32440 wxMenu
*arg1
= (wxMenu
*) 0 ;
32442 wxString
*arg3
= 0 ;
32443 wxMenu
*arg4
= (wxMenu
*) 0 ;
32444 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32445 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32446 wxMenuItem
*result
;
32447 bool temp3
= false ;
32448 bool temp5
= false ;
32449 PyObject
* obj0
= 0 ;
32450 PyObject
* obj1
= 0 ;
32451 PyObject
* obj2
= 0 ;
32452 PyObject
* obj3
= 0 ;
32453 PyObject
* obj4
= 0 ;
32454 char *kwnames
[] = {
32455 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32460 if (SWIG_arg_fail(1)) SWIG_fail
;
32462 arg2
= (int)(SWIG_As_int(obj1
));
32463 if (SWIG_arg_fail(2)) SWIG_fail
;
32466 arg3
= wxString_in_helper(obj2
);
32467 if (arg3
== NULL
) SWIG_fail
;
32470 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32471 if (SWIG_arg_fail(4)) SWIG_fail
;
32474 arg5
= wxString_in_helper(obj4
);
32475 if (arg5
== NULL
) SWIG_fail
;
32480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32481 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32487 resultobj
= wxPyMake_wxObject(result
, 0);
32511 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
;
32513 wxMenu
*arg1
= (wxMenu
*) 0 ;
32514 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32515 wxMenuItem
*result
;
32516 PyObject
* obj0
= 0 ;
32517 PyObject
* obj1
= 0 ;
32518 char *kwnames
[] = {
32519 (char *) "self",(char *) "item", NULL
32522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32524 if (SWIG_arg_fail(1)) SWIG_fail
;
32525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32526 if (SWIG_arg_fail(2)) SWIG_fail
;
32528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32529 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32535 resultobj
= wxPyMake_wxObject(result
, 0);
32543 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
;
32545 wxMenu
*arg1
= (wxMenu
*) 0 ;
32546 PyObject
* obj0
= 0 ;
32547 char *kwnames
[] = {
32548 (char *) "self", NULL
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32553 if (SWIG_arg_fail(1)) SWIG_fail
;
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32561 Py_INCREF(Py_None
); resultobj
= Py_None
;
32568 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32569 PyObject
*resultobj
;
32570 wxMenu
*arg1
= (wxMenu
*) 0 ;
32572 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32573 wxMenuItem
*result
;
32574 PyObject
* obj0
= 0 ;
32575 PyObject
* obj1
= 0 ;
32576 PyObject
* obj2
= 0 ;
32577 char *kwnames
[] = {
32578 (char *) "self",(char *) "pos",(char *) "item", NULL
32581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32583 if (SWIG_arg_fail(1)) SWIG_fail
;
32585 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32586 if (SWIG_arg_fail(2)) SWIG_fail
;
32588 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32589 if (SWIG_arg_fail(3)) SWIG_fail
;
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32594 wxPyEndAllowThreads(__tstate
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32598 resultobj
= wxPyMake_wxObject(result
, 0);
32606 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32607 PyObject
*resultobj
;
32608 wxMenu
*arg1
= (wxMenu
*) 0 ;
32611 wxString
*arg4
= 0 ;
32612 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32613 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32614 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32615 wxMenuItem
*result
;
32616 bool temp4
= false ;
32617 bool temp5
= false ;
32618 PyObject
* obj0
= 0 ;
32619 PyObject
* obj1
= 0 ;
32620 PyObject
* obj2
= 0 ;
32621 PyObject
* obj3
= 0 ;
32622 PyObject
* obj4
= 0 ;
32623 PyObject
* obj5
= 0 ;
32624 char *kwnames
[] = {
32625 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32630 if (SWIG_arg_fail(1)) SWIG_fail
;
32632 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32633 if (SWIG_arg_fail(2)) SWIG_fail
;
32636 arg3
= (int)(SWIG_As_int(obj2
));
32637 if (SWIG_arg_fail(3)) SWIG_fail
;
32640 arg4
= wxString_in_helper(obj3
);
32641 if (arg4
== NULL
) SWIG_fail
;
32646 arg5
= wxString_in_helper(obj4
);
32647 if (arg5
== NULL
) SWIG_fail
;
32653 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32654 if (SWIG_arg_fail(6)) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32665 resultobj
= wxPyMake_wxObject(result
, 0);
32689 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32690 PyObject
*resultobj
;
32691 wxMenu
*arg1
= (wxMenu
*) 0 ;
32693 wxMenuItem
*result
;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 char *kwnames
[] = {
32697 (char *) "self",(char *) "pos", NULL
32700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32702 if (SWIG_arg_fail(1)) SWIG_fail
;
32704 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32705 if (SWIG_arg_fail(2)) SWIG_fail
;
32708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32709 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32711 wxPyEndAllowThreads(__tstate
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32715 resultobj
= wxPyMake_wxObject(result
, 0);
32723 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
;
32725 wxMenu
*arg1
= (wxMenu
*) 0 ;
32728 wxString
*arg4
= 0 ;
32729 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32730 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32731 wxMenuItem
*result
;
32732 bool temp4
= false ;
32733 bool temp5
= false ;
32734 PyObject
* obj0
= 0 ;
32735 PyObject
* obj1
= 0 ;
32736 PyObject
* obj2
= 0 ;
32737 PyObject
* obj3
= 0 ;
32738 PyObject
* obj4
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32745 if (SWIG_arg_fail(1)) SWIG_fail
;
32747 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32748 if (SWIG_arg_fail(2)) SWIG_fail
;
32751 arg3
= (int)(SWIG_As_int(obj2
));
32752 if (SWIG_arg_fail(3)) SWIG_fail
;
32755 arg4
= wxString_in_helper(obj3
);
32756 if (arg4
== NULL
) SWIG_fail
;
32761 arg5
= wxString_in_helper(obj4
);
32762 if (arg5
== NULL
) SWIG_fail
;
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= wxPyMake_wxObject(result
, 0);
32798 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
;
32800 wxMenu
*arg1
= (wxMenu
*) 0 ;
32803 wxString
*arg4
= 0 ;
32804 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32805 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32806 wxMenuItem
*result
;
32807 bool temp4
= false ;
32808 bool temp5
= false ;
32809 PyObject
* obj0
= 0 ;
32810 PyObject
* obj1
= 0 ;
32811 PyObject
* obj2
= 0 ;
32812 PyObject
* obj3
= 0 ;
32813 PyObject
* obj4
= 0 ;
32814 char *kwnames
[] = {
32815 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32820 if (SWIG_arg_fail(1)) SWIG_fail
;
32822 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32823 if (SWIG_arg_fail(2)) SWIG_fail
;
32826 arg3
= (int)(SWIG_As_int(obj2
));
32827 if (SWIG_arg_fail(3)) SWIG_fail
;
32830 arg4
= wxString_in_helper(obj3
);
32831 if (arg4
== NULL
) SWIG_fail
;
32836 arg5
= wxString_in_helper(obj4
);
32837 if (arg5
== NULL
) SWIG_fail
;
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32849 resultobj
= wxPyMake_wxObject(result
, 0);
32873 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
;
32875 wxMenu
*arg1
= (wxMenu
*) 0 ;
32878 wxString
*arg4
= 0 ;
32879 wxMenu
*arg5
= (wxMenu
*) 0 ;
32880 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32881 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32882 wxMenuItem
*result
;
32883 bool temp4
= false ;
32884 bool temp6
= false ;
32885 PyObject
* obj0
= 0 ;
32886 PyObject
* obj1
= 0 ;
32887 PyObject
* obj2
= 0 ;
32888 PyObject
* obj3
= 0 ;
32889 PyObject
* obj4
= 0 ;
32890 PyObject
* obj5
= 0 ;
32891 char *kwnames
[] = {
32892 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32897 if (SWIG_arg_fail(1)) SWIG_fail
;
32899 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32900 if (SWIG_arg_fail(2)) SWIG_fail
;
32903 arg3
= (int)(SWIG_As_int(obj2
));
32904 if (SWIG_arg_fail(3)) SWIG_fail
;
32907 arg4
= wxString_in_helper(obj3
);
32908 if (arg4
== NULL
) SWIG_fail
;
32911 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32912 if (SWIG_arg_fail(5)) SWIG_fail
;
32915 arg6
= wxString_in_helper(obj5
);
32916 if (arg6
== NULL
) SWIG_fail
;
32921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32922 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= wxPyMake_wxObject(result
, 0);
32952 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
;
32954 wxMenu
*arg1
= (wxMenu
*) 0 ;
32955 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32956 wxMenuItem
*result
;
32957 PyObject
* obj0
= 0 ;
32958 PyObject
* obj1
= 0 ;
32959 char *kwnames
[] = {
32960 (char *) "self",(char *) "item", NULL
32963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32965 if (SWIG_arg_fail(1)) SWIG_fail
;
32966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32967 if (SWIG_arg_fail(2)) SWIG_fail
;
32969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32970 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= wxPyMake_wxObject(result
, 0);
32984 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32985 PyObject
*resultobj
;
32986 wxMenu
*arg1
= (wxMenu
*) 0 ;
32988 wxString
*arg3
= 0 ;
32989 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32990 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32991 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32992 wxMenuItem
*result
;
32993 bool temp3
= false ;
32994 bool temp4
= false ;
32995 PyObject
* obj0
= 0 ;
32996 PyObject
* obj1
= 0 ;
32997 PyObject
* obj2
= 0 ;
32998 PyObject
* obj3
= 0 ;
32999 PyObject
* obj4
= 0 ;
33000 char *kwnames
[] = {
33001 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33006 if (SWIG_arg_fail(1)) SWIG_fail
;
33008 arg2
= (int)(SWIG_As_int(obj1
));
33009 if (SWIG_arg_fail(2)) SWIG_fail
;
33012 arg3
= wxString_in_helper(obj2
);
33013 if (arg3
== NULL
) SWIG_fail
;
33018 arg4
= wxString_in_helper(obj3
);
33019 if (arg4
== NULL
) SWIG_fail
;
33025 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33026 if (SWIG_arg_fail(5)) SWIG_fail
;
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= wxPyMake_wxObject(result
, 0);
33061 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxMenu
*arg1
= (wxMenu
*) 0 ;
33064 wxMenuItem
*result
;
33065 PyObject
* obj0
= 0 ;
33066 char *kwnames
[] = {
33067 (char *) "self", NULL
33070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33072 if (SWIG_arg_fail(1)) SWIG_fail
;
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33081 resultobj
= wxPyMake_wxObject(result
, 0);
33089 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33090 PyObject
*resultobj
;
33091 wxMenu
*arg1
= (wxMenu
*) 0 ;
33093 wxString
*arg3
= 0 ;
33094 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33095 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33096 wxMenuItem
*result
;
33097 bool temp3
= false ;
33098 bool temp4
= false ;
33099 PyObject
* obj0
= 0 ;
33100 PyObject
* obj1
= 0 ;
33101 PyObject
* obj2
= 0 ;
33102 PyObject
* obj3
= 0 ;
33103 char *kwnames
[] = {
33104 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33109 if (SWIG_arg_fail(1)) SWIG_fail
;
33111 arg2
= (int)(SWIG_As_int(obj1
));
33112 if (SWIG_arg_fail(2)) SWIG_fail
;
33115 arg3
= wxString_in_helper(obj2
);
33116 if (arg3
== NULL
) SWIG_fail
;
33121 arg4
= wxString_in_helper(obj3
);
33122 if (arg4
== NULL
) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= wxPyMake_wxObject(result
, 0);
33158 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
;
33160 wxMenu
*arg1
= (wxMenu
*) 0 ;
33162 wxString
*arg3
= 0 ;
33163 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33164 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33165 wxMenuItem
*result
;
33166 bool temp3
= false ;
33167 bool temp4
= false ;
33168 PyObject
* obj0
= 0 ;
33169 PyObject
* obj1
= 0 ;
33170 PyObject
* obj2
= 0 ;
33171 PyObject
* obj3
= 0 ;
33172 char *kwnames
[] = {
33173 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33178 if (SWIG_arg_fail(1)) SWIG_fail
;
33180 arg2
= (int)(SWIG_As_int(obj1
));
33181 if (SWIG_arg_fail(2)) SWIG_fail
;
33184 arg3
= wxString_in_helper(obj2
);
33185 if (arg3
== NULL
) SWIG_fail
;
33190 arg4
= wxString_in_helper(obj3
);
33191 if (arg4
== NULL
) SWIG_fail
;
33196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33197 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33203 resultobj
= wxPyMake_wxObject(result
, 0);
33227 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxMenu
*arg1
= (wxMenu
*) 0 ;
33231 wxString
*arg3
= 0 ;
33232 wxMenu
*arg4
= (wxMenu
*) 0 ;
33233 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33234 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33235 wxMenuItem
*result
;
33236 bool temp3
= false ;
33237 bool temp5
= false ;
33238 PyObject
* obj0
= 0 ;
33239 PyObject
* obj1
= 0 ;
33240 PyObject
* obj2
= 0 ;
33241 PyObject
* obj3
= 0 ;
33242 PyObject
* obj4
= 0 ;
33243 char *kwnames
[] = {
33244 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33249 if (SWIG_arg_fail(1)) SWIG_fail
;
33251 arg2
= (int)(SWIG_As_int(obj1
));
33252 if (SWIG_arg_fail(2)) SWIG_fail
;
33255 arg3
= wxString_in_helper(obj2
);
33256 if (arg3
== NULL
) SWIG_fail
;
33259 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33260 if (SWIG_arg_fail(4)) SWIG_fail
;
33263 arg5
= wxString_in_helper(obj4
);
33264 if (arg5
== NULL
) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= wxPyMake_wxObject(result
, 0);
33300 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
;
33302 wxMenu
*arg1
= (wxMenu
*) 0 ;
33304 wxMenuItem
*result
;
33305 PyObject
* obj0
= 0 ;
33306 PyObject
* obj1
= 0 ;
33307 char *kwnames
[] = {
33308 (char *) "self",(char *) "id", NULL
33311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33313 if (SWIG_arg_fail(1)) SWIG_fail
;
33315 arg2
= (int)(SWIG_As_int(obj1
));
33316 if (SWIG_arg_fail(2)) SWIG_fail
;
33319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33320 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33322 wxPyEndAllowThreads(__tstate
);
33323 if (PyErr_Occurred()) SWIG_fail
;
33326 resultobj
= wxPyMake_wxObject(result
, 0);
33334 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33335 PyObject
*resultobj
;
33336 wxMenu
*arg1
= (wxMenu
*) 0 ;
33337 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33338 wxMenuItem
*result
;
33339 PyObject
* obj0
= 0 ;
33340 PyObject
* obj1
= 0 ;
33341 char *kwnames
[] = {
33342 (char *) "self",(char *) "item", NULL
33345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33347 if (SWIG_arg_fail(1)) SWIG_fail
;
33348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33349 if (SWIG_arg_fail(2)) SWIG_fail
;
33351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33352 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= wxPyMake_wxObject(result
, 0);
33366 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33367 PyObject
*resultobj
;
33368 wxMenu
*arg1
= (wxMenu
*) 0 ;
33371 PyObject
* obj0
= 0 ;
33372 PyObject
* obj1
= 0 ;
33373 char *kwnames
[] = {
33374 (char *) "self",(char *) "id", NULL
33377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33379 if (SWIG_arg_fail(1)) SWIG_fail
;
33381 arg2
= (int)(SWIG_As_int(obj1
));
33382 if (SWIG_arg_fail(2)) SWIG_fail
;
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 result
= (bool)(arg1
)->Delete(arg2
);
33388 wxPyEndAllowThreads(__tstate
);
33389 if (PyErr_Occurred()) SWIG_fail
;
33392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33400 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
;
33402 wxMenu
*arg1
= (wxMenu
*) 0 ;
33403 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33405 PyObject
* obj0
= 0 ;
33406 PyObject
* obj1
= 0 ;
33407 char *kwnames
[] = {
33408 (char *) "self",(char *) "item", NULL
33411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33413 if (SWIG_arg_fail(1)) SWIG_fail
;
33414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33415 if (SWIG_arg_fail(2)) SWIG_fail
;
33417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33418 result
= (bool)(arg1
)->Delete(arg2
);
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33432 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33433 PyObject
*resultobj
;
33434 wxMenu
*arg1
= (wxMenu
*) 0 ;
33435 PyObject
* obj0
= 0 ;
33436 char *kwnames
[] = {
33437 (char *) "self", NULL
33440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33442 if (SWIG_arg_fail(1)) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 wxMenu_Destroy(arg1
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 Py_INCREF(Py_None
); resultobj
= Py_None
;
33457 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33458 PyObject
*resultobj
;
33459 wxMenu
*arg1
= (wxMenu
*) 0 ;
33462 PyObject
* obj0
= 0 ;
33463 PyObject
* obj1
= 0 ;
33464 char *kwnames
[] = {
33465 (char *) "self",(char *) "id", NULL
33468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33470 if (SWIG_arg_fail(1)) SWIG_fail
;
33472 arg2
= (int)(SWIG_As_int(obj1
));
33473 if (SWIG_arg_fail(2)) SWIG_fail
;
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 result
= (bool)(arg1
)->Destroy(arg2
);
33479 wxPyEndAllowThreads(__tstate
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33491 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33492 PyObject
*resultobj
;
33493 wxMenu
*arg1
= (wxMenu
*) 0 ;
33494 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33496 PyObject
* obj0
= 0 ;
33497 PyObject
* obj1
= 0 ;
33498 char *kwnames
[] = {
33499 (char *) "self",(char *) "item", NULL
33502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33504 if (SWIG_arg_fail(1)) SWIG_fail
;
33505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33506 if (SWIG_arg_fail(2)) SWIG_fail
;
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 result
= (bool)(arg1
)->Destroy(arg2
);
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33523 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33524 PyObject
*resultobj
;
33525 wxMenu
*arg1
= (wxMenu
*) 0 ;
33527 PyObject
* obj0
= 0 ;
33528 char *kwnames
[] = {
33529 (char *) "self", NULL
33532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33534 if (SWIG_arg_fail(1)) SWIG_fail
;
33536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33537 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33551 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33552 PyObject
*resultobj
;
33553 wxMenu
*arg1
= (wxMenu
*) 0 ;
33555 PyObject
* obj0
= 0 ;
33556 char *kwnames
[] = {
33557 (char *) "self", NULL
33560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33562 if (SWIG_arg_fail(1)) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= result
;
33577 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33578 PyObject
*resultobj
;
33579 wxMenu
*arg1
= (wxMenu
*) 0 ;
33580 wxString
*arg2
= 0 ;
33582 bool temp2
= false ;
33583 PyObject
* obj0
= 0 ;
33584 PyObject
* obj1
= 0 ;
33585 char *kwnames
[] = {
33586 (char *) "self",(char *) "item", NULL
33589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33591 if (SWIG_arg_fail(1)) SWIG_fail
;
33593 arg2
= wxString_in_helper(obj1
);
33594 if (arg2
== NULL
) SWIG_fail
;
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= SWIG_From_int((int)(result
));
33621 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33622 PyObject
*resultobj
;
33623 wxMenu
*arg1
= (wxMenu
*) 0 ;
33625 wxMenuItem
*result
;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self",(char *) "id", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33634 if (SWIG_arg_fail(1)) SWIG_fail
;
33636 arg2
= (int)(SWIG_As_int(obj1
));
33637 if (SWIG_arg_fail(2)) SWIG_fail
;
33640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33641 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= wxPyMake_wxObject(result
, 0);
33655 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxMenu
*arg1
= (wxMenu
*) 0 ;
33659 wxMenuItem
*result
;
33660 PyObject
* obj0
= 0 ;
33661 PyObject
* obj1
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "self",(char *) "position", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33668 if (SWIG_arg_fail(1)) SWIG_fail
;
33670 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33671 if (SWIG_arg_fail(2)) SWIG_fail
;
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33681 resultobj
= wxPyMake_wxObject(result
, 0);
33689 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33690 PyObject
*resultobj
;
33691 wxMenu
*arg1
= (wxMenu
*) 0 ;
33694 PyObject
* obj0
= 0 ;
33695 PyObject
* obj1
= 0 ;
33696 PyObject
* obj2
= 0 ;
33697 char *kwnames
[] = {
33698 (char *) "self",(char *) "id",(char *) "enable", NULL
33701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33703 if (SWIG_arg_fail(1)) SWIG_fail
;
33705 arg2
= (int)(SWIG_As_int(obj1
));
33706 if (SWIG_arg_fail(2)) SWIG_fail
;
33709 arg3
= (bool)(SWIG_As_bool(obj2
));
33710 if (SWIG_arg_fail(3)) SWIG_fail
;
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 (arg1
)->Enable(arg2
,arg3
);
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33719 Py_INCREF(Py_None
); resultobj
= Py_None
;
33726 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
;
33728 wxMenu
*arg1
= (wxMenu
*) 0 ;
33731 PyObject
* obj0
= 0 ;
33732 PyObject
* obj1
= 0 ;
33733 char *kwnames
[] = {
33734 (char *) "self",(char *) "id", NULL
33737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33739 if (SWIG_arg_fail(1)) SWIG_fail
;
33741 arg2
= (int)(SWIG_As_int(obj1
));
33742 if (SWIG_arg_fail(2)) SWIG_fail
;
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33760 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33761 PyObject
*resultobj
;
33762 wxMenu
*arg1
= (wxMenu
*) 0 ;
33765 PyObject
* obj0
= 0 ;
33766 PyObject
* obj1
= 0 ;
33767 PyObject
* obj2
= 0 ;
33768 char *kwnames
[] = {
33769 (char *) "self",(char *) "id",(char *) "check", NULL
33772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33774 if (SWIG_arg_fail(1)) SWIG_fail
;
33776 arg2
= (int)(SWIG_As_int(obj1
));
33777 if (SWIG_arg_fail(2)) SWIG_fail
;
33780 arg3
= (bool)(SWIG_As_bool(obj2
));
33781 if (SWIG_arg_fail(3)) SWIG_fail
;
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 (arg1
)->Check(arg2
,arg3
);
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 Py_INCREF(Py_None
); resultobj
= Py_None
;
33797 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33798 PyObject
*resultobj
;
33799 wxMenu
*arg1
= (wxMenu
*) 0 ;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 char *kwnames
[] = {
33805 (char *) "self",(char *) "id", NULL
33808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33810 if (SWIG_arg_fail(1)) SWIG_fail
;
33812 arg2
= (int)(SWIG_As_int(obj1
));
33813 if (SWIG_arg_fail(2)) SWIG_fail
;
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33819 wxPyEndAllowThreads(__tstate
);
33820 if (PyErr_Occurred()) SWIG_fail
;
33823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33831 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33832 PyObject
*resultobj
;
33833 wxMenu
*arg1
= (wxMenu
*) 0 ;
33835 wxString
*arg3
= 0 ;
33836 bool temp3
= false ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 PyObject
* obj2
= 0 ;
33840 char *kwnames
[] = {
33841 (char *) "self",(char *) "id",(char *) "label", NULL
33844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33846 if (SWIG_arg_fail(1)) SWIG_fail
;
33848 arg2
= (int)(SWIG_As_int(obj1
));
33849 if (SWIG_arg_fail(2)) SWIG_fail
;
33852 arg3
= wxString_in_helper(obj2
);
33853 if (arg3
== NULL
) SWIG_fail
;
33857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33858 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33860 wxPyEndAllowThreads(__tstate
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33863 Py_INCREF(Py_None
); resultobj
= Py_None
;
33878 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
;
33880 wxMenu
*arg1
= (wxMenu
*) 0 ;
33883 PyObject
* obj0
= 0 ;
33884 PyObject
* obj1
= 0 ;
33885 char *kwnames
[] = {
33886 (char *) "self",(char *) "id", NULL
33889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33891 if (SWIG_arg_fail(1)) SWIG_fail
;
33893 arg2
= (int)(SWIG_As_int(obj1
));
33894 if (SWIG_arg_fail(2)) SWIG_fail
;
33897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33900 wxPyEndAllowThreads(__tstate
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33916 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33917 PyObject
*resultobj
;
33918 wxMenu
*arg1
= (wxMenu
*) 0 ;
33920 wxString
*arg3
= 0 ;
33921 bool temp3
= false ;
33922 PyObject
* obj0
= 0 ;
33923 PyObject
* obj1
= 0 ;
33924 PyObject
* obj2
= 0 ;
33925 char *kwnames
[] = {
33926 (char *) "self",(char *) "id",(char *) "helpString", NULL
33929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33931 if (SWIG_arg_fail(1)) SWIG_fail
;
33933 arg2
= (int)(SWIG_As_int(obj1
));
33934 if (SWIG_arg_fail(2)) SWIG_fail
;
33937 arg3
= wxString_in_helper(obj2
);
33938 if (arg3
== NULL
) SWIG_fail
;
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33948 Py_INCREF(Py_None
); resultobj
= Py_None
;
33963 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33964 PyObject
*resultobj
;
33965 wxMenu
*arg1
= (wxMenu
*) 0 ;
33968 PyObject
* obj0
= 0 ;
33969 PyObject
* obj1
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "self",(char *) "id", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33976 if (SWIG_arg_fail(1)) SWIG_fail
;
33978 arg2
= (int)(SWIG_As_int(obj1
));
33979 if (SWIG_arg_fail(2)) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34001 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34002 PyObject
*resultobj
;
34003 wxMenu
*arg1
= (wxMenu
*) 0 ;
34004 wxString
*arg2
= 0 ;
34005 bool temp2
= false ;
34006 PyObject
* obj0
= 0 ;
34007 PyObject
* obj1
= 0 ;
34008 char *kwnames
[] = {
34009 (char *) "self",(char *) "title", NULL
34012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34014 if (SWIG_arg_fail(1)) SWIG_fail
;
34016 arg2
= wxString_in_helper(obj1
);
34017 if (arg2
== NULL
) SWIG_fail
;
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 (arg1
)->SetTitle((wxString
const &)*arg2
);
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34027 Py_INCREF(Py_None
); resultobj
= Py_None
;
34042 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34043 PyObject
*resultobj
;
34044 wxMenu
*arg1
= (wxMenu
*) 0 ;
34046 PyObject
* obj0
= 0 ;
34047 char *kwnames
[] = {
34048 (char *) "self", NULL
34051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34053 if (SWIG_arg_fail(1)) SWIG_fail
;
34055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34056 result
= ((wxMenu
const *)arg1
)->GetTitle();
34058 wxPyEndAllowThreads(__tstate
);
34059 if (PyErr_Occurred()) SWIG_fail
;
34063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34074 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34075 PyObject
*resultobj
;
34076 wxMenu
*arg1
= (wxMenu
*) 0 ;
34077 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34078 PyObject
* obj0
= 0 ;
34079 PyObject
* obj1
= 0 ;
34080 char *kwnames
[] = {
34081 (char *) "self",(char *) "handler", NULL
34084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34086 if (SWIG_arg_fail(1)) SWIG_fail
;
34087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34088 if (SWIG_arg_fail(2)) SWIG_fail
;
34090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34091 (arg1
)->SetEventHandler(arg2
);
34093 wxPyEndAllowThreads(__tstate
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34096 Py_INCREF(Py_None
); resultobj
= Py_None
;
34103 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
;
34105 wxMenu
*arg1
= (wxMenu
*) 0 ;
34106 wxEvtHandler
*result
;
34107 PyObject
* obj0
= 0 ;
34108 char *kwnames
[] = {
34109 (char *) "self", NULL
34112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34114 if (SWIG_arg_fail(1)) SWIG_fail
;
34116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34117 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34123 resultobj
= wxPyMake_wxObject(result
, 0);
34131 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34132 PyObject
*resultobj
;
34133 wxMenu
*arg1
= (wxMenu
*) 0 ;
34134 wxWindow
*arg2
= (wxWindow
*) 0 ;
34135 PyObject
* obj0
= 0 ;
34136 PyObject
* obj1
= 0 ;
34137 char *kwnames
[] = {
34138 (char *) "self",(char *) "win", NULL
34141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34143 if (SWIG_arg_fail(1)) SWIG_fail
;
34144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34145 if (SWIG_arg_fail(2)) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 (arg1
)->SetInvokingWindow(arg2
);
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 Py_INCREF(Py_None
); resultobj
= Py_None
;
34160 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
;
34162 wxMenu
*arg1
= (wxMenu
*) 0 ;
34164 PyObject
* obj0
= 0 ;
34165 char *kwnames
[] = {
34166 (char *) "self", NULL
34169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34171 if (SWIG_arg_fail(1)) SWIG_fail
;
34173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34174 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34176 wxPyEndAllowThreads(__tstate
);
34177 if (PyErr_Occurred()) SWIG_fail
;
34180 resultobj
= wxPyMake_wxObject(result
, 0);
34188 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
;
34190 wxMenu
*arg1
= (wxMenu
*) 0 ;
34192 PyObject
* obj0
= 0 ;
34193 char *kwnames
[] = {
34194 (char *) "self", NULL
34197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail
;
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34208 resultobj
= SWIG_From_long((long)(result
));
34216 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
;
34218 wxMenu
*arg1
= (wxMenu
*) 0 ;
34219 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34220 PyObject
* obj0
= 0 ;
34221 PyObject
* obj1
= 0 ;
34222 char *kwnames
[] = {
34223 (char *) "self",(char *) "source", NULL
34226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34228 if (SWIG_arg_fail(1)) SWIG_fail
;
34230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34231 if (SWIG_arg_fail(2)) SWIG_fail
;
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 (arg1
)->UpdateUI(arg2
);
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34240 Py_INCREF(Py_None
); resultobj
= Py_None
;
34247 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34248 PyObject
*resultobj
;
34249 wxMenu
*arg1
= (wxMenu
*) 0 ;
34251 PyObject
* obj0
= 0 ;
34252 char *kwnames
[] = {
34253 (char *) "self", NULL
34256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34258 if (SWIG_arg_fail(1)) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= wxPyMake_wxObject(result
, 0);
34275 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34276 PyObject
*resultobj
;
34277 wxMenu
*arg1
= (wxMenu
*) 0 ;
34278 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 char *kwnames
[] = {
34282 (char *) "self",(char *) "menubar", NULL
34285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34287 if (SWIG_arg_fail(1)) SWIG_fail
;
34288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34289 if (SWIG_arg_fail(2)) SWIG_fail
;
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 (arg1
)->Attach(arg2
);
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34297 Py_INCREF(Py_None
); resultobj
= Py_None
;
34304 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34305 PyObject
*resultobj
;
34306 wxMenu
*arg1
= (wxMenu
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 char *kwnames
[] = {
34309 (char *) "self", NULL
34312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34314 if (SWIG_arg_fail(1)) SWIG_fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 Py_INCREF(Py_None
); resultobj
= Py_None
;
34329 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
;
34331 wxMenu
*arg1
= (wxMenu
*) 0 ;
34333 PyObject
* obj0
= 0 ;
34334 char *kwnames
[] = {
34335 (char *) "self", NULL
34338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34340 if (SWIG_arg_fail(1)) SWIG_fail
;
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34357 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34358 PyObject
*resultobj
;
34359 wxMenu
*arg1
= (wxMenu
*) 0 ;
34360 wxMenu
*arg2
= (wxMenu
*) 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 char *kwnames
[] = {
34364 (char *) "self",(char *) "parent", NULL
34367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34369 if (SWIG_arg_fail(1)) SWIG_fail
;
34370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34371 if (SWIG_arg_fail(2)) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 (arg1
)->SetParent(arg2
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 Py_INCREF(Py_None
); resultobj
= Py_None
;
34386 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34387 PyObject
*resultobj
;
34388 wxMenu
*arg1
= (wxMenu
*) 0 ;
34390 PyObject
* obj0
= 0 ;
34391 char *kwnames
[] = {
34392 (char *) "self", NULL
34395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34397 if (SWIG_arg_fail(1)) SWIG_fail
;
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34402 wxPyEndAllowThreads(__tstate
);
34403 if (PyErr_Occurred()) SWIG_fail
;
34406 resultobj
= wxPyMake_wxObject(result
, 0);
34414 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34417 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34419 return Py_BuildValue((char *)"");
34421 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34422 PyObject
*resultobj
;
34423 long arg1
= (long) 0 ;
34425 PyObject
* obj0
= 0 ;
34426 char *kwnames
[] = {
34427 (char *) "style", NULL
34430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34433 arg1
= (long)(SWIG_As_long(obj0
));
34434 if (SWIG_arg_fail(1)) SWIG_fail
;
34438 if (!wxPyCheckForApp()) SWIG_fail
;
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34442 wxPyEndAllowThreads(__tstate
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34452 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34453 PyObject
*resultobj
;
34454 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34455 wxMenu
*arg2
= (wxMenu
*) 0 ;
34456 wxString
*arg3
= 0 ;
34458 bool temp3
= false ;
34459 PyObject
* obj0
= 0 ;
34460 PyObject
* obj1
= 0 ;
34461 PyObject
* obj2
= 0 ;
34462 char *kwnames
[] = {
34463 (char *) "self",(char *) "menu",(char *) "title", NULL
34466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34468 if (SWIG_arg_fail(1)) SWIG_fail
;
34469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34470 if (SWIG_arg_fail(2)) SWIG_fail
;
34472 arg3
= wxString_in_helper(obj2
);
34473 if (arg3
== NULL
) SWIG_fail
;
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34500 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
;
34502 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34504 wxMenu
*arg3
= (wxMenu
*) 0 ;
34505 wxString
*arg4
= 0 ;
34507 bool temp4
= false ;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 PyObject
* obj2
= 0 ;
34511 PyObject
* obj3
= 0 ;
34512 char *kwnames
[] = {
34513 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34518 if (SWIG_arg_fail(1)) SWIG_fail
;
34520 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34521 if (SWIG_arg_fail(2)) SWIG_fail
;
34523 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34524 if (SWIG_arg_fail(3)) SWIG_fail
;
34526 arg4
= wxString_in_helper(obj3
);
34527 if (arg4
== NULL
) SWIG_fail
;
34531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34532 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34534 wxPyEndAllowThreads(__tstate
);
34535 if (PyErr_Occurred()) SWIG_fail
;
34538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34554 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34555 PyObject
*resultobj
;
34556 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34558 PyObject
* obj0
= 0 ;
34559 char *kwnames
[] = {
34560 (char *) "self", NULL
34563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34565 if (SWIG_arg_fail(1)) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34574 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34582 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
;
34584 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34587 PyObject
* obj0
= 0 ;
34588 PyObject
* obj1
= 0 ;
34589 char *kwnames
[] = {
34590 (char *) "self",(char *) "pos", NULL
34593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34595 if (SWIG_arg_fail(1)) SWIG_fail
;
34597 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34598 if (SWIG_arg_fail(2)) SWIG_fail
;
34601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34602 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34608 resultobj
= wxPyMake_wxObject(result
, 0);
34616 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34617 PyObject
*resultobj
;
34618 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34620 wxMenu
*arg3
= (wxMenu
*) 0 ;
34621 wxString
*arg4
= 0 ;
34623 bool temp4
= false ;
34624 PyObject
* obj0
= 0 ;
34625 PyObject
* obj1
= 0 ;
34626 PyObject
* obj2
= 0 ;
34627 PyObject
* obj3
= 0 ;
34628 char *kwnames
[] = {
34629 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34634 if (SWIG_arg_fail(1)) SWIG_fail
;
34636 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34637 if (SWIG_arg_fail(2)) SWIG_fail
;
34639 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34640 if (SWIG_arg_fail(3)) SWIG_fail
;
34642 arg4
= wxString_in_helper(obj3
);
34643 if (arg4
== NULL
) SWIG_fail
;
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= wxPyMake_wxObject(result
, 0);
34670 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34671 PyObject
*resultobj
;
34672 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 PyObject
* obj1
= 0 ;
34677 char *kwnames
[] = {
34678 (char *) "self",(char *) "pos", NULL
34681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34683 if (SWIG_arg_fail(1)) SWIG_fail
;
34685 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34686 if (SWIG_arg_fail(2)) SWIG_fail
;
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34692 wxPyEndAllowThreads(__tstate
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34696 resultobj
= wxPyMake_wxObject(result
, 0);
34704 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
;
34706 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34709 PyObject
* obj0
= 0 ;
34710 PyObject
* obj1
= 0 ;
34711 PyObject
* obj2
= 0 ;
34712 char *kwnames
[] = {
34713 (char *) "self",(char *) "pos",(char *) "enable", NULL
34716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34718 if (SWIG_arg_fail(1)) SWIG_fail
;
34720 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34721 if (SWIG_arg_fail(2)) SWIG_fail
;
34724 arg3
= (bool)(SWIG_As_bool(obj2
));
34725 if (SWIG_arg_fail(3)) SWIG_fail
;
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34729 (arg1
)->EnableTop(arg2
,arg3
);
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34734 Py_INCREF(Py_None
); resultobj
= Py_None
;
34741 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
;
34743 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34746 PyObject
* obj0
= 0 ;
34747 PyObject
* obj1
= 0 ;
34748 char *kwnames
[] = {
34749 (char *) "self",(char *) "pos", NULL
34752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34754 if (SWIG_arg_fail(1)) SWIG_fail
;
34756 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34757 if (SWIG_arg_fail(2)) SWIG_fail
;
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34775 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
;
34777 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34779 wxString
*arg3
= 0 ;
34780 bool temp3
= false ;
34781 PyObject
* obj0
= 0 ;
34782 PyObject
* obj1
= 0 ;
34783 PyObject
* obj2
= 0 ;
34784 char *kwnames
[] = {
34785 (char *) "self",(char *) "pos",(char *) "label", NULL
34788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34790 if (SWIG_arg_fail(1)) SWIG_fail
;
34792 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34793 if (SWIG_arg_fail(2)) SWIG_fail
;
34796 arg3
= wxString_in_helper(obj2
);
34797 if (arg3
== NULL
) SWIG_fail
;
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 Py_INCREF(Py_None
); resultobj
= Py_None
;
34822 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34823 PyObject
*resultobj
;
34824 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34827 PyObject
* obj0
= 0 ;
34828 PyObject
* obj1
= 0 ;
34829 char *kwnames
[] = {
34830 (char *) "self",(char *) "pos", NULL
34833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34835 if (SWIG_arg_fail(1)) SWIG_fail
;
34837 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34838 if (SWIG_arg_fail(2)) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34860 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
;
34862 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34863 wxString
*arg2
= 0 ;
34864 wxString
*arg3
= 0 ;
34866 bool temp2
= false ;
34867 bool temp3
= false ;
34868 PyObject
* obj0
= 0 ;
34869 PyObject
* obj1
= 0 ;
34870 PyObject
* obj2
= 0 ;
34871 char *kwnames
[] = {
34872 (char *) "self",(char *) "menu",(char *) "item", NULL
34875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34877 if (SWIG_arg_fail(1)) SWIG_fail
;
34879 arg2
= wxString_in_helper(obj1
);
34880 if (arg2
== NULL
) SWIG_fail
;
34884 arg3
= wxString_in_helper(obj2
);
34885 if (arg3
== NULL
) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34896 resultobj
= SWIG_From_int((int)(result
));
34920 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
;
34922 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34924 wxMenuItem
*result
;
34925 PyObject
* obj0
= 0 ;
34926 PyObject
* obj1
= 0 ;
34927 char *kwnames
[] = {
34928 (char *) "self",(char *) "id", NULL
34931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34933 if (SWIG_arg_fail(1)) SWIG_fail
;
34935 arg2
= (int)(SWIG_As_int(obj1
));
34936 if (SWIG_arg_fail(2)) SWIG_fail
;
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34940 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34946 resultobj
= wxPyMake_wxObject(result
, 0);
34954 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34955 PyObject
*resultobj
;
34956 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34957 wxString
*arg2
= 0 ;
34959 bool temp2
= false ;
34960 PyObject
* obj0
= 0 ;
34961 PyObject
* obj1
= 0 ;
34962 char *kwnames
[] = {
34963 (char *) "self",(char *) "title", NULL
34966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34968 if (SWIG_arg_fail(1)) SWIG_fail
;
34970 arg2
= wxString_in_helper(obj1
);
34971 if (arg2
== NULL
) SWIG_fail
;
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34982 resultobj
= SWIG_From_int((int)(result
));
34998 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35003 PyObject
* obj0
= 0 ;
35004 PyObject
* obj1
= 0 ;
35005 PyObject
* obj2
= 0 ;
35006 char *kwnames
[] = {
35007 (char *) "self",(char *) "id",(char *) "enable", NULL
35010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35012 if (SWIG_arg_fail(1)) SWIG_fail
;
35014 arg2
= (int)(SWIG_As_int(obj1
));
35015 if (SWIG_arg_fail(2)) SWIG_fail
;
35018 arg3
= (bool)(SWIG_As_bool(obj2
));
35019 if (SWIG_arg_fail(3)) SWIG_fail
;
35022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 (arg1
)->Enable(arg2
,arg3
);
35025 wxPyEndAllowThreads(__tstate
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35028 Py_INCREF(Py_None
); resultobj
= Py_None
;
35035 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
;
35037 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35040 PyObject
* obj0
= 0 ;
35041 PyObject
* obj1
= 0 ;
35042 PyObject
* obj2
= 0 ;
35043 char *kwnames
[] = {
35044 (char *) "self",(char *) "id",(char *) "check", NULL
35047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35049 if (SWIG_arg_fail(1)) SWIG_fail
;
35051 arg2
= (int)(SWIG_As_int(obj1
));
35052 if (SWIG_arg_fail(2)) SWIG_fail
;
35055 arg3
= (bool)(SWIG_As_bool(obj2
));
35056 if (SWIG_arg_fail(3)) SWIG_fail
;
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35060 (arg1
)->Check(arg2
,arg3
);
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 Py_INCREF(Py_None
); resultobj
= Py_None
;
35072 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
;
35074 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35077 PyObject
* obj0
= 0 ;
35078 PyObject
* obj1
= 0 ;
35079 char *kwnames
[] = {
35080 (char *) "self",(char *) "id", NULL
35083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35085 if (SWIG_arg_fail(1)) SWIG_fail
;
35087 arg2
= (int)(SWIG_As_int(obj1
));
35088 if (SWIG_arg_fail(2)) SWIG_fail
;
35091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35092 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35106 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35107 PyObject
*resultobj
;
35108 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35111 PyObject
* obj0
= 0 ;
35112 PyObject
* obj1
= 0 ;
35113 char *kwnames
[] = {
35114 (char *) "self",(char *) "id", NULL
35117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35119 if (SWIG_arg_fail(1)) SWIG_fail
;
35121 arg2
= (int)(SWIG_As_int(obj1
));
35122 if (SWIG_arg_fail(2)) SWIG_fail
;
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35128 wxPyEndAllowThreads(__tstate
);
35129 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35140 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35141 PyObject
*resultobj
;
35142 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35144 wxString
*arg3
= 0 ;
35145 bool temp3
= false ;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 PyObject
* obj2
= 0 ;
35149 char *kwnames
[] = {
35150 (char *) "self",(char *) "id",(char *) "label", NULL
35153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35155 if (SWIG_arg_fail(1)) SWIG_fail
;
35157 arg2
= (int)(SWIG_As_int(obj1
));
35158 if (SWIG_arg_fail(2)) SWIG_fail
;
35161 arg3
= wxString_in_helper(obj2
);
35162 if (arg3
== NULL
) SWIG_fail
;
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 Py_INCREF(Py_None
); resultobj
= Py_None
;
35187 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
;
35189 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35192 PyObject
* obj0
= 0 ;
35193 PyObject
* obj1
= 0 ;
35194 char *kwnames
[] = {
35195 (char *) "self",(char *) "id", NULL
35198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35200 if (SWIG_arg_fail(1)) SWIG_fail
;
35202 arg2
= (int)(SWIG_As_int(obj1
));
35203 if (SWIG_arg_fail(2)) SWIG_fail
;
35206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35207 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35225 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
;
35227 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35229 wxString
*arg3
= 0 ;
35230 bool temp3
= false ;
35231 PyObject
* obj0
= 0 ;
35232 PyObject
* obj1
= 0 ;
35233 PyObject
* obj2
= 0 ;
35234 char *kwnames
[] = {
35235 (char *) "self",(char *) "id",(char *) "helpString", NULL
35238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35240 if (SWIG_arg_fail(1)) SWIG_fail
;
35242 arg2
= (int)(SWIG_As_int(obj1
));
35243 if (SWIG_arg_fail(2)) SWIG_fail
;
35246 arg3
= wxString_in_helper(obj2
);
35247 if (arg3
== NULL
) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35257 Py_INCREF(Py_None
); resultobj
= Py_None
;
35272 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35273 PyObject
*resultobj
;
35274 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35277 PyObject
* obj0
= 0 ;
35278 PyObject
* obj1
= 0 ;
35279 char *kwnames
[] = {
35280 (char *) "self",(char *) "id", NULL
35283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35285 if (SWIG_arg_fail(1)) SWIG_fail
;
35287 arg2
= (int)(SWIG_As_int(obj1
));
35288 if (SWIG_arg_fail(2)) SWIG_fail
;
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35310 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35311 PyObject
*resultobj
;
35312 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35314 PyObject
* obj0
= 0 ;
35315 char *kwnames
[] = {
35316 (char *) "self", NULL
35319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35321 if (SWIG_arg_fail(1)) SWIG_fail
;
35323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35326 wxPyEndAllowThreads(__tstate
);
35327 if (PyErr_Occurred()) SWIG_fail
;
35330 resultobj
= wxPyMake_wxObject(result
, 0);
35338 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35339 PyObject
*resultobj
;
35340 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35342 PyObject
* obj0
= 0 ;
35343 char *kwnames
[] = {
35344 (char *) "self", NULL
35347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35349 if (SWIG_arg_fail(1)) SWIG_fail
;
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35366 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35367 PyObject
*resultobj
;
35368 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35369 wxFrame
*arg2
= (wxFrame
*) 0 ;
35370 PyObject
* obj0
= 0 ;
35371 PyObject
* obj1
= 0 ;
35372 char *kwnames
[] = {
35373 (char *) "self",(char *) "frame", NULL
35376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35378 if (SWIG_arg_fail(1)) SWIG_fail
;
35379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35380 if (SWIG_arg_fail(2)) SWIG_fail
;
35382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 (arg1
)->Attach(arg2
);
35385 wxPyEndAllowThreads(__tstate
);
35386 if (PyErr_Occurred()) SWIG_fail
;
35388 Py_INCREF(Py_None
); resultobj
= Py_None
;
35395 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
;
35397 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35398 PyObject
* obj0
= 0 ;
35399 char *kwnames
[] = {
35400 (char *) "self", NULL
35403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35405 if (SWIG_arg_fail(1)) SWIG_fail
;
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35413 Py_INCREF(Py_None
); resultobj
= Py_None
;
35420 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35423 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35425 return Py_BuildValue((char *)"");
35427 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
;
35429 wxMenu
*arg1
= (wxMenu
*) NULL
;
35430 int arg2
= (int) wxID_ANY
;
35431 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35432 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35433 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35434 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35435 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35436 wxMenu
*arg6
= (wxMenu
*) NULL
;
35437 wxMenuItem
*result
;
35438 bool temp3
= false ;
35439 bool temp4
= false ;
35440 PyObject
* obj0
= 0 ;
35441 PyObject
* obj1
= 0 ;
35442 PyObject
* obj2
= 0 ;
35443 PyObject
* obj3
= 0 ;
35444 PyObject
* obj4
= 0 ;
35445 PyObject
* obj5
= 0 ;
35446 char *kwnames
[] = {
35447 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35453 if (SWIG_arg_fail(1)) SWIG_fail
;
35457 arg2
= (int)(SWIG_As_int(obj1
));
35458 if (SWIG_arg_fail(2)) SWIG_fail
;
35463 arg3
= wxString_in_helper(obj2
);
35464 if (arg3
== NULL
) SWIG_fail
;
35470 arg4
= wxString_in_helper(obj3
);
35471 if (arg4
== NULL
) SWIG_fail
;
35477 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35478 if (SWIG_arg_fail(5)) SWIG_fail
;
35482 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35483 if (SWIG_arg_fail(6)) SWIG_fail
;
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35493 resultobj
= wxPyMake_wxObject(result
, 1);
35517 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35518 PyObject
*resultobj
;
35519 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35521 PyObject
* obj0
= 0 ;
35522 char *kwnames
[] = {
35523 (char *) "self", NULL
35526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35528 if (SWIG_arg_fail(1)) SWIG_fail
;
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35537 resultobj
= wxPyMake_wxObject(result
, 0);
35545 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
;
35547 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35548 wxMenu
*arg2
= (wxMenu
*) 0 ;
35549 PyObject
* obj0
= 0 ;
35550 PyObject
* obj1
= 0 ;
35551 char *kwnames
[] = {
35552 (char *) "self",(char *) "menu", NULL
35555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35557 if (SWIG_arg_fail(1)) SWIG_fail
;
35558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35559 if (SWIG_arg_fail(2)) SWIG_fail
;
35561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35562 (arg1
)->SetMenu(arg2
);
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35567 Py_INCREF(Py_None
); resultobj
= Py_None
;
35574 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
;
35576 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35578 PyObject
* obj0
= 0 ;
35579 PyObject
* obj1
= 0 ;
35580 char *kwnames
[] = {
35581 (char *) "self",(char *) "id", NULL
35584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35586 if (SWIG_arg_fail(1)) SWIG_fail
;
35588 arg2
= (int)(SWIG_As_int(obj1
));
35589 if (SWIG_arg_fail(2)) SWIG_fail
;
35592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35593 (arg1
)->SetId(arg2
);
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 Py_INCREF(Py_None
); resultobj
= Py_None
;
35605 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35606 PyObject
*resultobj
;
35607 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35609 PyObject
* obj0
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35616 if (SWIG_arg_fail(1)) SWIG_fail
;
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= SWIG_From_int((int)(result
));
35633 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35634 PyObject
*resultobj
;
35635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35637 PyObject
* obj0
= 0 ;
35638 char *kwnames
[] = {
35639 (char *) "self", NULL
35642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35644 if (SWIG_arg_fail(1)) SWIG_fail
;
35646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35647 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35649 wxPyEndAllowThreads(__tstate
);
35650 if (PyErr_Occurred()) SWIG_fail
;
35653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35661 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35662 PyObject
*resultobj
;
35663 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35664 wxString
*arg2
= 0 ;
35665 bool temp2
= false ;
35666 PyObject
* obj0
= 0 ;
35667 PyObject
* obj1
= 0 ;
35668 char *kwnames
[] = {
35669 (char *) "self",(char *) "str", NULL
35672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35674 if (SWIG_arg_fail(1)) SWIG_fail
;
35676 arg2
= wxString_in_helper(obj1
);
35677 if (arg2
== NULL
) SWIG_fail
;
35681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35682 (arg1
)->SetText((wxString
const &)*arg2
);
35684 wxPyEndAllowThreads(__tstate
);
35685 if (PyErr_Occurred()) SWIG_fail
;
35687 Py_INCREF(Py_None
); resultobj
= Py_None
;
35702 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35703 PyObject
*resultobj
;
35704 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35706 PyObject
* obj0
= 0 ;
35707 char *kwnames
[] = {
35708 (char *) "self", NULL
35711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35713 if (SWIG_arg_fail(1)) SWIG_fail
;
35715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35716 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35718 wxPyEndAllowThreads(__tstate
);
35719 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35734 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
;
35736 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35738 PyObject
* obj0
= 0 ;
35739 char *kwnames
[] = {
35740 (char *) "self", NULL
35743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35745 if (SWIG_arg_fail(1)) SWIG_fail
;
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35749 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35750 result
= (wxString
*) &_result_ref
;
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35769 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35770 PyObject
*resultobj
;
35771 wxString
*arg1
= 0 ;
35773 bool temp1
= false ;
35774 PyObject
* obj0
= 0 ;
35775 char *kwnames
[] = {
35776 (char *) "text", NULL
35779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35781 arg1
= wxString_in_helper(obj0
);
35782 if (arg1
== NULL
) SWIG_fail
;
35786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35787 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35789 wxPyEndAllowThreads(__tstate
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35813 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35814 PyObject
*resultobj
;
35815 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35817 PyObject
* obj0
= 0 ;
35818 char *kwnames
[] = {
35819 (char *) "self", NULL
35822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35824 if (SWIG_arg_fail(1)) SWIG_fail
;
35826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35827 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35832 resultobj
= SWIG_From_int((result
));
35839 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35840 PyObject
*resultobj
;
35841 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35843 PyObject
* obj0
= 0 ;
35844 PyObject
* obj1
= 0 ;
35845 char *kwnames
[] = {
35846 (char *) "self",(char *) "kind", NULL
35849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35851 if (SWIG_arg_fail(1)) SWIG_fail
;
35853 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35854 if (SWIG_arg_fail(2)) SWIG_fail
;
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 (arg1
)->SetKind((wxItemKind
)arg2
);
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35863 Py_INCREF(Py_None
); resultobj
= Py_None
;
35870 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35871 PyObject
*resultobj
;
35872 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35874 PyObject
* obj0
= 0 ;
35875 PyObject
* obj1
= 0 ;
35876 char *kwnames
[] = {
35877 (char *) "self",(char *) "checkable", NULL
35880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35882 if (SWIG_arg_fail(1)) SWIG_fail
;
35884 arg2
= (bool)(SWIG_As_bool(obj1
));
35885 if (SWIG_arg_fail(2)) SWIG_fail
;
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 (arg1
)->SetCheckable(arg2
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 Py_INCREF(Py_None
); resultobj
= Py_None
;
35901 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
;
35903 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35905 PyObject
* obj0
= 0 ;
35906 char *kwnames
[] = {
35907 (char *) "self", NULL
35910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35912 if (SWIG_arg_fail(1)) SWIG_fail
;
35914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35915 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35917 wxPyEndAllowThreads(__tstate
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35929 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35930 PyObject
*resultobj
;
35931 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35933 PyObject
* obj0
= 0 ;
35934 char *kwnames
[] = {
35935 (char *) "self", NULL
35938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35940 if (SWIG_arg_fail(1)) SWIG_fail
;
35942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35945 wxPyEndAllowThreads(__tstate
);
35946 if (PyErr_Occurred()) SWIG_fail
;
35949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35957 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
;
35959 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35960 wxMenu
*arg2
= (wxMenu
*) 0 ;
35961 PyObject
* obj0
= 0 ;
35962 PyObject
* obj1
= 0 ;
35963 char *kwnames
[] = {
35964 (char *) "self",(char *) "menu", NULL
35967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35969 if (SWIG_arg_fail(1)) SWIG_fail
;
35970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35971 if (SWIG_arg_fail(2)) SWIG_fail
;
35973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35974 (arg1
)->SetSubMenu(arg2
);
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 Py_INCREF(Py_None
); resultobj
= Py_None
;
35986 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35987 PyObject
*resultobj
;
35988 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35990 PyObject
* obj0
= 0 ;
35991 char *kwnames
[] = {
35992 (char *) "self", NULL
35995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35997 if (SWIG_arg_fail(1)) SWIG_fail
;
35999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36000 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36002 wxPyEndAllowThreads(__tstate
);
36003 if (PyErr_Occurred()) SWIG_fail
;
36006 resultobj
= wxPyMake_wxObject(result
, 0);
36014 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36015 PyObject
*resultobj
;
36016 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36017 bool arg2
= (bool) true ;
36018 PyObject
* obj0
= 0 ;
36019 PyObject
* obj1
= 0 ;
36020 char *kwnames
[] = {
36021 (char *) "self",(char *) "enable", NULL
36024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36026 if (SWIG_arg_fail(1)) SWIG_fail
;
36029 arg2
= (bool)(SWIG_As_bool(obj1
));
36030 if (SWIG_arg_fail(2)) SWIG_fail
;
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 (arg1
)->Enable(arg2
);
36037 wxPyEndAllowThreads(__tstate
);
36038 if (PyErr_Occurred()) SWIG_fail
;
36040 Py_INCREF(Py_None
); resultobj
= Py_None
;
36047 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36048 PyObject
*resultobj
;
36049 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36051 PyObject
* obj0
= 0 ;
36052 char *kwnames
[] = {
36053 (char *) "self", NULL
36056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36058 if (SWIG_arg_fail(1)) SWIG_fail
;
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36075 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36076 PyObject
*resultobj
;
36077 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36078 bool arg2
= (bool) true ;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 char *kwnames
[] = {
36082 (char *) "self",(char *) "check", NULL
36085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36087 if (SWIG_arg_fail(1)) SWIG_fail
;
36090 arg2
= (bool)(SWIG_As_bool(obj1
));
36091 if (SWIG_arg_fail(2)) SWIG_fail
;
36095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36096 (arg1
)->Check(arg2
);
36098 wxPyEndAllowThreads(__tstate
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36101 Py_INCREF(Py_None
); resultobj
= Py_None
;
36108 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36109 PyObject
*resultobj
;
36110 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36112 PyObject
* obj0
= 0 ;
36113 char *kwnames
[] = {
36114 (char *) "self", NULL
36117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36119 if (SWIG_arg_fail(1)) SWIG_fail
;
36121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36122 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36124 wxPyEndAllowThreads(__tstate
);
36125 if (PyErr_Occurred()) SWIG_fail
;
36128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36136 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
;
36138 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36139 PyObject
* obj0
= 0 ;
36140 char *kwnames
[] = {
36141 (char *) "self", NULL
36144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36146 if (SWIG_arg_fail(1)) SWIG_fail
;
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36151 wxPyEndAllowThreads(__tstate
);
36152 if (PyErr_Occurred()) SWIG_fail
;
36154 Py_INCREF(Py_None
); resultobj
= Py_None
;
36161 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36162 PyObject
*resultobj
;
36163 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36164 wxString
*arg2
= 0 ;
36165 bool temp2
= false ;
36166 PyObject
* obj0
= 0 ;
36167 PyObject
* obj1
= 0 ;
36168 char *kwnames
[] = {
36169 (char *) "self",(char *) "str", NULL
36172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36174 if (SWIG_arg_fail(1)) SWIG_fail
;
36176 arg2
= wxString_in_helper(obj1
);
36177 if (arg2
== NULL
) SWIG_fail
;
36181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 (arg1
)->SetHelp((wxString
const &)*arg2
);
36184 wxPyEndAllowThreads(__tstate
);
36185 if (PyErr_Occurred()) SWIG_fail
;
36187 Py_INCREF(Py_None
); resultobj
= Py_None
;
36202 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36203 PyObject
*resultobj
;
36204 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36206 PyObject
* obj0
= 0 ;
36207 char *kwnames
[] = {
36208 (char *) "self", NULL
36211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36213 if (SWIG_arg_fail(1)) SWIG_fail
;
36215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36217 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36218 result
= (wxString
*) &_result_ref
;
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36226 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36228 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36237 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36238 PyObject
*resultobj
;
36239 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36240 wxAcceleratorEntry
*result
;
36241 PyObject
* obj0
= 0 ;
36242 char *kwnames
[] = {
36243 (char *) "self", NULL
36246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36248 if (SWIG_arg_fail(1)) SWIG_fail
;
36250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36251 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36253 wxPyEndAllowThreads(__tstate
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36263 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36264 PyObject
*resultobj
;
36265 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36266 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36267 PyObject
* obj0
= 0 ;
36268 PyObject
* obj1
= 0 ;
36269 char *kwnames
[] = {
36270 (char *) "self",(char *) "accel", NULL
36273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36275 if (SWIG_arg_fail(1)) SWIG_fail
;
36276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36277 if (SWIG_arg_fail(2)) SWIG_fail
;
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 (arg1
)->SetAccel(arg2
);
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 Py_INCREF(Py_None
); resultobj
= Py_None
;
36292 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
;
36294 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36296 PyObject
* obj0
= 0 ;
36297 PyObject
* obj1
= 0 ;
36298 char *kwnames
[] = {
36299 (char *) "self",(char *) "font", NULL
36302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36304 if (SWIG_arg_fail(1)) SWIG_fail
;
36306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36307 if (SWIG_arg_fail(2)) SWIG_fail
;
36308 if (arg2
== NULL
) {
36309 SWIG_null_ref("wxFont");
36311 if (SWIG_arg_fail(2)) SWIG_fail
;
36314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36315 (arg1
)->SetFont((wxFont
const &)*arg2
);
36317 wxPyEndAllowThreads(__tstate
);
36318 if (PyErr_Occurred()) SWIG_fail
;
36320 Py_INCREF(Py_None
); resultobj
= Py_None
;
36327 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36328 PyObject
*resultobj
;
36329 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36331 PyObject
* obj0
= 0 ;
36332 char *kwnames
[] = {
36333 (char *) "self", NULL
36336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36338 if (SWIG_arg_fail(1)) SWIG_fail
;
36340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36341 result
= (arg1
)->GetFont();
36343 wxPyEndAllowThreads(__tstate
);
36344 if (PyErr_Occurred()) SWIG_fail
;
36347 wxFont
* resultptr
;
36348 resultptr
= new wxFont((wxFont
&)(result
));
36349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36357 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
;
36359 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36360 wxColour
*arg2
= 0 ;
36362 PyObject
* obj0
= 0 ;
36363 PyObject
* obj1
= 0 ;
36364 char *kwnames
[] = {
36365 (char *) "self",(char *) "colText", NULL
36368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36370 if (SWIG_arg_fail(1)) SWIG_fail
;
36373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36377 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36379 wxPyEndAllowThreads(__tstate
);
36380 if (PyErr_Occurred()) SWIG_fail
;
36382 Py_INCREF(Py_None
); resultobj
= Py_None
;
36389 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36390 PyObject
*resultobj
;
36391 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36393 PyObject
* obj0
= 0 ;
36394 char *kwnames
[] = {
36395 (char *) "self", NULL
36398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36400 if (SWIG_arg_fail(1)) SWIG_fail
;
36402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36403 result
= (arg1
)->GetTextColour();
36405 wxPyEndAllowThreads(__tstate
);
36406 if (PyErr_Occurred()) SWIG_fail
;
36409 wxColour
* resultptr
;
36410 resultptr
= new wxColour((wxColour
&)(result
));
36411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36419 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36420 PyObject
*resultobj
;
36421 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36422 wxColour
*arg2
= 0 ;
36424 PyObject
* obj0
= 0 ;
36425 PyObject
* obj1
= 0 ;
36426 char *kwnames
[] = {
36427 (char *) "self",(char *) "colBack", NULL
36430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36432 if (SWIG_arg_fail(1)) SWIG_fail
;
36435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36439 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 Py_INCREF(Py_None
); resultobj
= Py_None
;
36451 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36455 PyObject
* obj0
= 0 ;
36456 char *kwnames
[] = {
36457 (char *) "self", NULL
36460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36462 if (SWIG_arg_fail(1)) SWIG_fail
;
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (arg1
)->GetBackgroundColour();
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36471 wxColour
* resultptr
;
36472 resultptr
= new wxColour((wxColour
&)(result
));
36473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36481 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36482 PyObject
*resultobj
;
36483 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36484 wxBitmap
*arg2
= 0 ;
36485 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36486 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36487 PyObject
* obj0
= 0 ;
36488 PyObject
* obj1
= 0 ;
36489 PyObject
* obj2
= 0 ;
36490 char *kwnames
[] = {
36491 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36496 if (SWIG_arg_fail(1)) SWIG_fail
;
36498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36499 if (SWIG_arg_fail(2)) SWIG_fail
;
36500 if (arg2
== NULL
) {
36501 SWIG_null_ref("wxBitmap");
36503 if (SWIG_arg_fail(2)) SWIG_fail
;
36507 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36508 if (SWIG_arg_fail(3)) SWIG_fail
;
36509 if (arg3
== NULL
) {
36510 SWIG_null_ref("wxBitmap");
36512 if (SWIG_arg_fail(3)) SWIG_fail
;
36516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36517 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36519 wxPyEndAllowThreads(__tstate
);
36520 if (PyErr_Occurred()) SWIG_fail
;
36522 Py_INCREF(Py_None
); resultobj
= Py_None
;
36529 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
;
36531 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36532 wxBitmap
*arg2
= 0 ;
36533 PyObject
* obj0
= 0 ;
36534 PyObject
* obj1
= 0 ;
36535 char *kwnames
[] = {
36536 (char *) "self",(char *) "bmpDisabled", NULL
36539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36541 if (SWIG_arg_fail(1)) SWIG_fail
;
36543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36544 if (SWIG_arg_fail(2)) SWIG_fail
;
36545 if (arg2
== NULL
) {
36546 SWIG_null_ref("wxBitmap");
36548 if (SWIG_arg_fail(2)) SWIG_fail
;
36551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36552 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36557 Py_INCREF(Py_None
); resultobj
= Py_None
;
36564 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
;
36566 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36568 PyObject
* obj0
= 0 ;
36569 char *kwnames
[] = {
36570 (char *) "self", NULL
36573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36575 if (SWIG_arg_fail(1)) SWIG_fail
;
36577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36579 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36580 result
= (wxBitmap
*) &_result_ref
;
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36587 wxBitmap
* resultptr
= new wxBitmap(*result
);
36588 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36596 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36597 PyObject
*resultobj
;
36598 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36600 PyObject
* obj0
= 0 ;
36601 PyObject
* obj1
= 0 ;
36602 char *kwnames
[] = {
36603 (char *) "self",(char *) "nWidth", NULL
36606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36608 if (SWIG_arg_fail(1)) SWIG_fail
;
36610 arg2
= (int)(SWIG_As_int(obj1
));
36611 if (SWIG_arg_fail(2)) SWIG_fail
;
36614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 (arg1
)->SetMarginWidth(arg2
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 Py_INCREF(Py_None
); resultobj
= Py_None
;
36627 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
;
36629 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36631 PyObject
* obj0
= 0 ;
36632 char *kwnames
[] = {
36633 (char *) "self", NULL
36636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36638 if (SWIG_arg_fail(1)) SWIG_fail
;
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 result
= (int)(arg1
)->GetMarginWidth();
36643 wxPyEndAllowThreads(__tstate
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36647 resultobj
= SWIG_From_int((int)(result
));
36655 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36656 PyObject
*resultobj
;
36658 char *kwnames
[] = {
36662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36667 wxPyEndAllowThreads(__tstate
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36671 resultobj
= SWIG_From_int((int)(result
));
36679 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
;
36681 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36683 PyObject
* obj0
= 0 ;
36684 char *kwnames
[] = {
36685 (char *) "self", NULL
36688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36690 if (SWIG_arg_fail(1)) SWIG_fail
;
36692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36693 result
= (bool)(arg1
)->IsOwnerDrawn();
36695 wxPyEndAllowThreads(__tstate
);
36696 if (PyErr_Occurred()) SWIG_fail
;
36699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36707 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36708 PyObject
*resultobj
;
36709 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36710 bool arg2
= (bool) true ;
36711 PyObject
* obj0
= 0 ;
36712 PyObject
* obj1
= 0 ;
36713 char *kwnames
[] = {
36714 (char *) "self",(char *) "ownerDrawn", NULL
36717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36719 if (SWIG_arg_fail(1)) SWIG_fail
;
36722 arg2
= (bool)(SWIG_As_bool(obj1
));
36723 if (SWIG_arg_fail(2)) SWIG_fail
;
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 (arg1
)->SetOwnerDrawn(arg2
);
36730 wxPyEndAllowThreads(__tstate
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36733 Py_INCREF(Py_None
); resultobj
= Py_None
;
36740 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36741 PyObject
*resultobj
;
36742 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36743 PyObject
* obj0
= 0 ;
36744 char *kwnames
[] = {
36745 (char *) "self", NULL
36748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36750 if (SWIG_arg_fail(1)) SWIG_fail
;
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->ResetOwnerDrawn();
36755 wxPyEndAllowThreads(__tstate
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36758 Py_INCREF(Py_None
); resultobj
= Py_None
;
36765 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36766 PyObject
*resultobj
;
36767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36768 wxBitmap
*arg2
= 0 ;
36769 PyObject
* obj0
= 0 ;
36770 PyObject
* obj1
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "self",(char *) "bitmap", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36777 if (SWIG_arg_fail(1)) SWIG_fail
;
36779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36780 if (SWIG_arg_fail(2)) SWIG_fail
;
36781 if (arg2
== NULL
) {
36782 SWIG_null_ref("wxBitmap");
36784 if (SWIG_arg_fail(2)) SWIG_fail
;
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36793 Py_INCREF(Py_None
); resultobj
= Py_None
;
36800 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36801 PyObject
*resultobj
;
36802 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36804 PyObject
* obj0
= 0 ;
36805 char *kwnames
[] = {
36806 (char *) "self", NULL
36809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36811 if (SWIG_arg_fail(1)) SWIG_fail
;
36813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36815 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36816 result
= (wxBitmap
*) &_result_ref
;
36819 wxPyEndAllowThreads(__tstate
);
36820 if (PyErr_Occurred()) SWIG_fail
;
36823 wxBitmap
* resultptr
= new wxBitmap(*result
);
36824 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36832 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36835 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36837 return Py_BuildValue((char *)"");
36839 static int _wrap_ControlNameStr_set(PyObject
*) {
36840 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36845 static PyObject
*_wrap_ControlNameStr_get(void) {
36850 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36852 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36859 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36860 PyObject
*resultobj
;
36861 wxWindow
*arg1
= (wxWindow
*) 0 ;
36862 int arg2
= (int) -1 ;
36863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36867 long arg5
= (long) 0 ;
36868 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36869 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36870 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36875 bool temp7
= false ;
36876 PyObject
* obj0
= 0 ;
36877 PyObject
* obj1
= 0 ;
36878 PyObject
* obj2
= 0 ;
36879 PyObject
* obj3
= 0 ;
36880 PyObject
* obj4
= 0 ;
36881 PyObject
* obj5
= 0 ;
36882 PyObject
* obj6
= 0 ;
36883 char *kwnames
[] = {
36884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36889 if (SWIG_arg_fail(1)) SWIG_fail
;
36892 arg2
= (int)(SWIG_As_int(obj1
));
36893 if (SWIG_arg_fail(2)) SWIG_fail
;
36899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36905 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36910 arg5
= (long)(SWIG_As_long(obj4
));
36911 if (SWIG_arg_fail(5)) SWIG_fail
;
36916 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36917 if (SWIG_arg_fail(6)) SWIG_fail
;
36918 if (arg6
== NULL
) {
36919 SWIG_null_ref("wxValidator");
36921 if (SWIG_arg_fail(6)) SWIG_fail
;
36926 arg7
= wxString_in_helper(obj6
);
36927 if (arg7
== NULL
) SWIG_fail
;
36932 if (!wxPyCheckForApp()) SWIG_fail
;
36933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36934 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36954 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36955 PyObject
*resultobj
;
36957 char *kwnames
[] = {
36961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36963 if (!wxPyCheckForApp()) SWIG_fail
;
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 result
= (wxControl
*)new wxControl();
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36977 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36978 PyObject
*resultobj
;
36979 wxControl
*arg1
= (wxControl
*) 0 ;
36980 wxWindow
*arg2
= (wxWindow
*) 0 ;
36981 int arg3
= (int) -1 ;
36982 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36983 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36984 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36985 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36986 long arg6
= (long) 0 ;
36987 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36988 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36989 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36990 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36994 bool temp8
= false ;
36995 PyObject
* obj0
= 0 ;
36996 PyObject
* obj1
= 0 ;
36997 PyObject
* obj2
= 0 ;
36998 PyObject
* obj3
= 0 ;
36999 PyObject
* obj4
= 0 ;
37000 PyObject
* obj5
= 0 ;
37001 PyObject
* obj6
= 0 ;
37002 PyObject
* obj7
= 0 ;
37003 char *kwnames
[] = {
37004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37009 if (SWIG_arg_fail(1)) SWIG_fail
;
37010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37011 if (SWIG_arg_fail(2)) SWIG_fail
;
37014 arg3
= (int)(SWIG_As_int(obj2
));
37015 if (SWIG_arg_fail(3)) SWIG_fail
;
37021 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37027 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37032 arg6
= (long)(SWIG_As_long(obj5
));
37033 if (SWIG_arg_fail(6)) SWIG_fail
;
37038 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37039 if (SWIG_arg_fail(7)) SWIG_fail
;
37040 if (arg7
== NULL
) {
37041 SWIG_null_ref("wxValidator");
37043 if (SWIG_arg_fail(7)) SWIG_fail
;
37048 arg8
= wxString_in_helper(obj7
);
37049 if (arg8
== NULL
) SWIG_fail
;
37054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37057 wxPyEndAllowThreads(__tstate
);
37058 if (PyErr_Occurred()) SWIG_fail
;
37061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37077 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37078 PyObject
*resultobj
;
37079 wxControl
*arg1
= (wxControl
*) 0 ;
37080 wxCommandEvent
*arg2
= 0 ;
37081 PyObject
* obj0
= 0 ;
37082 PyObject
* obj1
= 0 ;
37083 char *kwnames
[] = {
37084 (char *) "self",(char *) "event", NULL
37087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37089 if (SWIG_arg_fail(1)) SWIG_fail
;
37091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37092 if (SWIG_arg_fail(2)) SWIG_fail
;
37093 if (arg2
== NULL
) {
37094 SWIG_null_ref("wxCommandEvent");
37096 if (SWIG_arg_fail(2)) SWIG_fail
;
37099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37100 (arg1
)->Command(*arg2
);
37102 wxPyEndAllowThreads(__tstate
);
37103 if (PyErr_Occurred()) SWIG_fail
;
37105 Py_INCREF(Py_None
); resultobj
= Py_None
;
37112 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37113 PyObject
*resultobj
;
37114 wxControl
*arg1
= (wxControl
*) 0 ;
37116 PyObject
* obj0
= 0 ;
37117 char *kwnames
[] = {
37118 (char *) "self", NULL
37121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37123 if (SWIG_arg_fail(1)) SWIG_fail
;
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37126 result
= (arg1
)->GetLabel();
37128 wxPyEndAllowThreads(__tstate
);
37129 if (PyErr_Occurred()) SWIG_fail
;
37133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37144 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37145 PyObject
*resultobj
;
37146 wxControl
*arg1
= (wxControl
*) 0 ;
37147 wxString
*arg2
= 0 ;
37148 bool temp2
= false ;
37149 PyObject
* obj0
= 0 ;
37150 PyObject
* obj1
= 0 ;
37151 char *kwnames
[] = {
37152 (char *) "self",(char *) "label", NULL
37155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37157 if (SWIG_arg_fail(1)) SWIG_fail
;
37159 arg2
= wxString_in_helper(obj1
);
37160 if (arg2
== NULL
) SWIG_fail
;
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 (arg1
)->SetLabel((wxString
const &)*arg2
);
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37170 Py_INCREF(Py_None
); resultobj
= Py_None
;
37185 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37186 PyObject
*resultobj
;
37187 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37188 wxVisualAttributes result
;
37189 PyObject
* obj0
= 0 ;
37190 char *kwnames
[] = {
37191 (char *) "variant", NULL
37194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37197 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37198 if (SWIG_arg_fail(1)) SWIG_fail
;
37202 if (!wxPyCheckForApp()) SWIG_fail
;
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37206 wxPyEndAllowThreads(__tstate
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37210 wxVisualAttributes
* resultptr
;
37211 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37220 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37223 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37225 return Py_BuildValue((char *)"");
37227 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37228 PyObject
*resultobj
;
37229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37230 wxString
*arg2
= 0 ;
37231 PyObject
*arg3
= (PyObject
*) NULL
;
37233 bool temp2
= false ;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 PyObject
* obj2
= 0 ;
37237 char *kwnames
[] = {
37238 (char *) "self",(char *) "item",(char *) "clientData", NULL
37241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37243 if (SWIG_arg_fail(1)) SWIG_fail
;
37245 arg2
= wxString_in_helper(obj1
);
37246 if (arg2
== NULL
) SWIG_fail
;
37253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37254 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37256 wxPyEndAllowThreads(__tstate
);
37257 if (PyErr_Occurred()) SWIG_fail
;
37260 resultobj
= SWIG_From_int((int)(result
));
37276 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37277 PyObject
*resultobj
;
37278 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37279 wxArrayString
*arg2
= 0 ;
37280 bool temp2
= false ;
37281 PyObject
* obj0
= 0 ;
37282 PyObject
* obj1
= 0 ;
37283 char *kwnames
[] = {
37284 (char *) "self",(char *) "strings", NULL
37287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37289 if (SWIG_arg_fail(1)) SWIG_fail
;
37291 if (! PySequence_Check(obj1
)) {
37292 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37295 arg2
= new wxArrayString
;
37297 int i
, len
=PySequence_Length(obj1
);
37298 for (i
=0; i
<len
; i
++) {
37299 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37301 PyObject
* str
= PyObject_Unicode(item
);
37303 PyObject
* str
= PyObject_Str(item
);
37305 if (PyErr_Occurred()) SWIG_fail
;
37306 arg2
->Add(Py2wxString(str
));
37312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37313 (arg1
)->Append((wxArrayString
const &)*arg2
);
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37318 Py_INCREF(Py_None
); resultobj
= Py_None
;
37320 if (temp2
) delete arg2
;
37325 if (temp2
) delete arg2
;
37331 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37332 PyObject
*resultobj
;
37333 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37334 wxString
*arg2
= 0 ;
37336 PyObject
*arg4
= (PyObject
*) NULL
;
37338 bool temp2
= false ;
37339 PyObject
* obj0
= 0 ;
37340 PyObject
* obj1
= 0 ;
37341 PyObject
* obj2
= 0 ;
37342 PyObject
* obj3
= 0 ;
37343 char *kwnames
[] = {
37344 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37349 if (SWIG_arg_fail(1)) SWIG_fail
;
37351 arg2
= wxString_in_helper(obj1
);
37352 if (arg2
== NULL
) SWIG_fail
;
37356 arg3
= (int)(SWIG_As_int(obj2
));
37357 if (SWIG_arg_fail(3)) SWIG_fail
;
37363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37364 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37366 wxPyEndAllowThreads(__tstate
);
37367 if (PyErr_Occurred()) SWIG_fail
;
37370 resultobj
= SWIG_From_int((int)(result
));
37386 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37387 PyObject
*resultobj
;
37388 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37389 PyObject
* obj0
= 0 ;
37390 char *kwnames
[] = {
37391 (char *) "self", NULL
37394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37396 if (SWIG_arg_fail(1)) SWIG_fail
;
37398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37401 wxPyEndAllowThreads(__tstate
);
37402 if (PyErr_Occurred()) SWIG_fail
;
37404 Py_INCREF(Py_None
); resultobj
= Py_None
;
37411 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37412 PyObject
*resultobj
;
37413 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37415 PyObject
* obj0
= 0 ;
37416 PyObject
* obj1
= 0 ;
37417 char *kwnames
[] = {
37418 (char *) "self",(char *) "n", NULL
37421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37423 if (SWIG_arg_fail(1)) SWIG_fail
;
37425 arg2
= (int)(SWIG_As_int(obj1
));
37426 if (SWIG_arg_fail(2)) SWIG_fail
;
37429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37430 (arg1
)->Delete(arg2
);
37432 wxPyEndAllowThreads(__tstate
);
37433 if (PyErr_Occurred()) SWIG_fail
;
37435 Py_INCREF(Py_None
); resultobj
= Py_None
;
37442 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37443 PyObject
*resultobj
;
37444 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37447 PyObject
* obj0
= 0 ;
37448 PyObject
* obj1
= 0 ;
37449 char *kwnames
[] = {
37450 (char *) "self",(char *) "n", NULL
37453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37455 if (SWIG_arg_fail(1)) SWIG_fail
;
37457 arg2
= (int)(SWIG_As_int(obj1
));
37458 if (SWIG_arg_fail(2)) SWIG_fail
;
37461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37462 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37464 wxPyEndAllowThreads(__tstate
);
37465 if (PyErr_Occurred()) SWIG_fail
;
37467 resultobj
= result
;
37474 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37475 PyObject
*resultobj
;
37476 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37478 PyObject
*arg3
= (PyObject
*) 0 ;
37479 PyObject
* obj0
= 0 ;
37480 PyObject
* obj1
= 0 ;
37481 PyObject
* obj2
= 0 ;
37482 char *kwnames
[] = {
37483 (char *) "self",(char *) "n",(char *) "clientData", NULL
37486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37488 if (SWIG_arg_fail(1)) SWIG_fail
;
37490 arg2
= (int)(SWIG_As_int(obj1
));
37491 if (SWIG_arg_fail(2)) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37501 Py_INCREF(Py_None
); resultobj
= Py_None
;
37508 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37509 PyObject
*resultobj
;
37510 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37512 PyObject
* obj0
= 0 ;
37513 char *kwnames
[] = {
37514 (char *) "self", NULL
37517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37519 if (SWIG_arg_fail(1)) SWIG_fail
;
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37524 wxPyEndAllowThreads(__tstate
);
37525 if (PyErr_Occurred()) SWIG_fail
;
37528 resultobj
= SWIG_From_int((int)(result
));
37536 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37537 PyObject
*resultobj
;
37538 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37540 PyObject
* obj0
= 0 ;
37541 char *kwnames
[] = {
37542 (char *) "self", NULL
37545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37547 if (SWIG_arg_fail(1)) SWIG_fail
;
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37552 wxPyEndAllowThreads(__tstate
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37564 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
;
37566 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37569 PyObject
* obj0
= 0 ;
37570 PyObject
* obj1
= 0 ;
37571 char *kwnames
[] = {
37572 (char *) "self",(char *) "n", NULL
37575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37577 if (SWIG_arg_fail(1)) SWIG_fail
;
37579 arg2
= (int)(SWIG_As_int(obj1
));
37580 if (SWIG_arg_fail(2)) SWIG_fail
;
37583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37584 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37586 wxPyEndAllowThreads(__tstate
);
37587 if (PyErr_Occurred()) SWIG_fail
;
37591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37602 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37603 PyObject
*resultobj
;
37604 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37605 wxArrayString result
;
37606 PyObject
* obj0
= 0 ;
37607 char *kwnames
[] = {
37608 (char *) "self", NULL
37611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37613 if (SWIG_arg_fail(1)) SWIG_fail
;
37615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37616 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37618 wxPyEndAllowThreads(__tstate
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37622 resultobj
= wxArrayString2PyList_helper(result
);
37630 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37631 PyObject
*resultobj
;
37632 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37634 wxString
*arg3
= 0 ;
37635 bool temp3
= false ;
37636 PyObject
* obj0
= 0 ;
37637 PyObject
* obj1
= 0 ;
37638 PyObject
* obj2
= 0 ;
37639 char *kwnames
[] = {
37640 (char *) "self",(char *) "n",(char *) "s", NULL
37643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37645 if (SWIG_arg_fail(1)) SWIG_fail
;
37647 arg2
= (int)(SWIG_As_int(obj1
));
37648 if (SWIG_arg_fail(2)) SWIG_fail
;
37651 arg3
= wxString_in_helper(obj2
);
37652 if (arg3
== NULL
) SWIG_fail
;
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37659 wxPyEndAllowThreads(__tstate
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37662 Py_INCREF(Py_None
); resultobj
= Py_None
;
37677 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37678 PyObject
*resultobj
;
37679 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37680 wxString
*arg2
= 0 ;
37682 bool temp2
= false ;
37683 PyObject
* obj0
= 0 ;
37684 PyObject
* obj1
= 0 ;
37685 char *kwnames
[] = {
37686 (char *) "self",(char *) "s", NULL
37689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37691 if (SWIG_arg_fail(1)) SWIG_fail
;
37693 arg2
= wxString_in_helper(obj1
);
37694 if (arg2
== NULL
) SWIG_fail
;
37698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37699 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37701 wxPyEndAllowThreads(__tstate
);
37702 if (PyErr_Occurred()) SWIG_fail
;
37705 resultobj
= SWIG_From_int((int)(result
));
37721 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37722 PyObject
*resultobj
;
37723 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37725 PyObject
* obj0
= 0 ;
37726 PyObject
* obj1
= 0 ;
37727 char *kwnames
[] = {
37728 (char *) "self",(char *) "n", NULL
37731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37733 if (SWIG_arg_fail(1)) SWIG_fail
;
37735 arg2
= (int)(SWIG_As_int(obj1
));
37736 if (SWIG_arg_fail(2)) SWIG_fail
;
37739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 (arg1
)->SetSelection(arg2
);
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 Py_INCREF(Py_None
); resultobj
= Py_None
;
37752 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37753 PyObject
*resultobj
;
37754 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37756 PyObject
* obj0
= 0 ;
37757 char *kwnames
[] = {
37758 (char *) "self", NULL
37761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37763 if (SWIG_arg_fail(1)) SWIG_fail
;
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37768 wxPyEndAllowThreads(__tstate
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= SWIG_From_int((int)(result
));
37780 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37781 PyObject
*resultobj
;
37782 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37783 wxString
*arg2
= 0 ;
37785 bool temp2
= false ;
37786 PyObject
* obj0
= 0 ;
37787 PyObject
* obj1
= 0 ;
37788 char *kwnames
[] = {
37789 (char *) "self",(char *) "s", NULL
37792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37794 if (SWIG_arg_fail(1)) SWIG_fail
;
37796 arg2
= wxString_in_helper(obj1
);
37797 if (arg2
== NULL
) SWIG_fail
;
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37824 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37825 PyObject
*resultobj
;
37826 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37828 PyObject
* obj0
= 0 ;
37829 char *kwnames
[] = {
37830 (char *) "self", NULL
37833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37835 if (SWIG_arg_fail(1)) SWIG_fail
;
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37838 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37856 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37857 PyObject
*resultobj
;
37858 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37860 PyObject
* obj0
= 0 ;
37861 PyObject
* obj1
= 0 ;
37862 char *kwnames
[] = {
37863 (char *) "self",(char *) "n", NULL
37866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37868 if (SWIG_arg_fail(1)) SWIG_fail
;
37870 arg2
= (int)(SWIG_As_int(obj1
));
37871 if (SWIG_arg_fail(2)) SWIG_fail
;
37874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37875 (arg1
)->Select(arg2
);
37877 wxPyEndAllowThreads(__tstate
);
37878 if (PyErr_Occurred()) SWIG_fail
;
37880 Py_INCREF(Py_None
); resultobj
= Py_None
;
37887 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37890 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37892 return Py_BuildValue((char *)"");
37894 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37897 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37899 return Py_BuildValue((char *)"");
37901 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37902 PyObject
*resultobj
;
37903 wxSizerItem
*result
;
37904 char *kwnames
[] = {
37908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37911 result
= (wxSizerItem
*)new wxSizerItem();
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37923 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37924 PyObject
*resultobj
;
37925 wxWindow
*arg1
= (wxWindow
*) 0 ;
37929 PyObject
*arg5
= (PyObject
*) NULL
;
37930 wxSizerItem
*result
;
37931 PyObject
* obj0
= 0 ;
37932 PyObject
* obj1
= 0 ;
37933 PyObject
* obj2
= 0 ;
37934 PyObject
* obj3
= 0 ;
37935 PyObject
* obj4
= 0 ;
37936 char *kwnames
[] = {
37937 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37942 if (SWIG_arg_fail(1)) SWIG_fail
;
37944 arg2
= (int)(SWIG_As_int(obj1
));
37945 if (SWIG_arg_fail(2)) SWIG_fail
;
37948 arg3
= (int)(SWIG_As_int(obj2
));
37949 if (SWIG_arg_fail(3)) SWIG_fail
;
37952 arg4
= (int)(SWIG_As_int(obj3
));
37953 if (SWIG_arg_fail(4)) SWIG_fail
;
37959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37960 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37962 wxPyEndAllowThreads(__tstate
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37972 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37973 PyObject
*resultobj
;
37979 PyObject
*arg6
= (PyObject
*) NULL
;
37980 wxSizerItem
*result
;
37981 PyObject
* obj0
= 0 ;
37982 PyObject
* obj1
= 0 ;
37983 PyObject
* obj2
= 0 ;
37984 PyObject
* obj3
= 0 ;
37985 PyObject
* obj4
= 0 ;
37986 PyObject
* obj5
= 0 ;
37987 char *kwnames
[] = {
37988 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37993 arg1
= (int)(SWIG_As_int(obj0
));
37994 if (SWIG_arg_fail(1)) SWIG_fail
;
37997 arg2
= (int)(SWIG_As_int(obj1
));
37998 if (SWIG_arg_fail(2)) SWIG_fail
;
38001 arg3
= (int)(SWIG_As_int(obj2
));
38002 if (SWIG_arg_fail(3)) SWIG_fail
;
38005 arg4
= (int)(SWIG_As_int(obj3
));
38006 if (SWIG_arg_fail(4)) SWIG_fail
;
38009 arg5
= (int)(SWIG_As_int(obj4
));
38010 if (SWIG_arg_fail(5)) SWIG_fail
;
38016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38017 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38019 wxPyEndAllowThreads(__tstate
);
38020 if (PyErr_Occurred()) SWIG_fail
;
38022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38029 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38030 PyObject
*resultobj
;
38031 wxSizer
*arg1
= (wxSizer
*) 0 ;
38035 PyObject
*arg5
= (PyObject
*) NULL
;
38036 wxSizerItem
*result
;
38037 PyObject
* obj0
= 0 ;
38038 PyObject
* obj1
= 0 ;
38039 PyObject
* obj2
= 0 ;
38040 PyObject
* obj3
= 0 ;
38041 PyObject
* obj4
= 0 ;
38042 char *kwnames
[] = {
38043 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38048 if (SWIG_arg_fail(1)) SWIG_fail
;
38050 arg2
= (int)(SWIG_As_int(obj1
));
38051 if (SWIG_arg_fail(2)) SWIG_fail
;
38054 arg3
= (int)(SWIG_As_int(obj2
));
38055 if (SWIG_arg_fail(3)) SWIG_fail
;
38058 arg4
= (int)(SWIG_As_int(obj3
));
38059 if (SWIG_arg_fail(4)) SWIG_fail
;
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38078 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38079 PyObject
*resultobj
;
38080 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38081 PyObject
* obj0
= 0 ;
38082 char *kwnames
[] = {
38083 (char *) "self", NULL
38086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38088 if (SWIG_arg_fail(1)) SWIG_fail
;
38090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38091 (arg1
)->DeleteWindows();
38093 wxPyEndAllowThreads(__tstate
);
38094 if (PyErr_Occurred()) SWIG_fail
;
38096 Py_INCREF(Py_None
); resultobj
= Py_None
;
38103 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38104 PyObject
*resultobj
;
38105 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38106 PyObject
* obj0
= 0 ;
38107 char *kwnames
[] = {
38108 (char *) "self", NULL
38111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38113 if (SWIG_arg_fail(1)) SWIG_fail
;
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 (arg1
)->DetachSizer();
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38121 Py_INCREF(Py_None
); resultobj
= Py_None
;
38128 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38129 PyObject
*resultobj
;
38130 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38132 PyObject
* obj0
= 0 ;
38133 char *kwnames
[] = {
38134 (char *) "self", NULL
38137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38139 if (SWIG_arg_fail(1)) SWIG_fail
;
38141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38142 result
= (arg1
)->GetSize();
38144 wxPyEndAllowThreads(__tstate
);
38145 if (PyErr_Occurred()) SWIG_fail
;
38148 wxSize
* resultptr
;
38149 resultptr
= new wxSize((wxSize
&)(result
));
38150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38158 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38159 PyObject
*resultobj
;
38160 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38162 PyObject
* obj0
= 0 ;
38163 char *kwnames
[] = {
38164 (char *) "self", NULL
38167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38169 if (SWIG_arg_fail(1)) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 result
= (arg1
)->CalcMin();
38174 wxPyEndAllowThreads(__tstate
);
38175 if (PyErr_Occurred()) SWIG_fail
;
38178 wxSize
* resultptr
;
38179 resultptr
= new wxSize((wxSize
&)(result
));
38180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38188 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38189 PyObject
*resultobj
;
38190 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38193 PyObject
* obj0
= 0 ;
38194 PyObject
* obj1
= 0 ;
38195 PyObject
* obj2
= 0 ;
38196 char *kwnames
[] = {
38197 (char *) "self",(char *) "pos",(char *) "size", NULL
38200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38202 if (SWIG_arg_fail(1)) SWIG_fail
;
38205 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38206 if (SWIG_arg_fail(2)) SWIG_fail
;
38207 if (argp
== NULL
) {
38208 SWIG_null_ref("wxPoint");
38210 if (SWIG_arg_fail(2)) SWIG_fail
;
38215 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38216 if (SWIG_arg_fail(3)) SWIG_fail
;
38217 if (argp
== NULL
) {
38218 SWIG_null_ref("wxSize");
38220 if (SWIG_arg_fail(3)) SWIG_fail
;
38224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38225 (arg1
)->SetDimension(arg2
,arg3
);
38227 wxPyEndAllowThreads(__tstate
);
38228 if (PyErr_Occurred()) SWIG_fail
;
38230 Py_INCREF(Py_None
); resultobj
= Py_None
;
38237 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38238 PyObject
*resultobj
;
38239 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38241 PyObject
* obj0
= 0 ;
38242 char *kwnames
[] = {
38243 (char *) "self", NULL
38246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38248 if (SWIG_arg_fail(1)) SWIG_fail
;
38250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38251 result
= (arg1
)->GetMinSize();
38253 wxPyEndAllowThreads(__tstate
);
38254 if (PyErr_Occurred()) SWIG_fail
;
38257 wxSize
* resultptr
;
38258 resultptr
= new wxSize((wxSize
&)(result
));
38259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38267 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38268 PyObject
*resultobj
;
38269 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38271 PyObject
* obj0
= 0 ;
38272 char *kwnames
[] = {
38273 (char *) "self", NULL
38276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38278 if (SWIG_arg_fail(1)) SWIG_fail
;
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38287 wxSize
* resultptr
;
38288 resultptr
= new wxSize((wxSize
&)(result
));
38289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38297 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38298 PyObject
*resultobj
;
38299 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38302 PyObject
* obj0
= 0 ;
38303 PyObject
* obj1
= 0 ;
38304 PyObject
* obj2
= 0 ;
38305 char *kwnames
[] = {
38306 (char *) "self",(char *) "x",(char *) "y", NULL
38309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38311 if (SWIG_arg_fail(1)) SWIG_fail
;
38313 arg2
= (int)(SWIG_As_int(obj1
));
38314 if (SWIG_arg_fail(2)) SWIG_fail
;
38317 arg3
= (int)(SWIG_As_int(obj2
));
38318 if (SWIG_arg_fail(3)) SWIG_fail
;
38321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38322 (arg1
)->SetInitSize(arg2
,arg3
);
38324 wxPyEndAllowThreads(__tstate
);
38325 if (PyErr_Occurred()) SWIG_fail
;
38327 Py_INCREF(Py_None
); resultobj
= Py_None
;
38334 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38335 PyObject
*resultobj
;
38336 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38339 PyObject
* obj0
= 0 ;
38340 PyObject
* obj1
= 0 ;
38341 PyObject
* obj2
= 0 ;
38342 char *kwnames
[] = {
38343 (char *) "self",(char *) "width",(char *) "height", NULL
38346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38348 if (SWIG_arg_fail(1)) SWIG_fail
;
38350 arg2
= (int)(SWIG_As_int(obj1
));
38351 if (SWIG_arg_fail(2)) SWIG_fail
;
38354 arg3
= (int)(SWIG_As_int(obj2
));
38355 if (SWIG_arg_fail(3)) SWIG_fail
;
38358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38359 (arg1
)->SetRatio(arg2
,arg3
);
38361 wxPyEndAllowThreads(__tstate
);
38362 if (PyErr_Occurred()) SWIG_fail
;
38364 Py_INCREF(Py_None
); resultobj
= Py_None
;
38371 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38372 PyObject
*resultobj
;
38373 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38375 PyObject
* obj0
= 0 ;
38376 PyObject
* obj1
= 0 ;
38377 char *kwnames
[] = {
38378 (char *) "self",(char *) "size", NULL
38381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38383 if (SWIG_arg_fail(1)) SWIG_fail
;
38386 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38387 if (SWIG_arg_fail(2)) SWIG_fail
;
38388 if (argp
== NULL
) {
38389 SWIG_null_ref("wxSize");
38391 if (SWIG_arg_fail(2)) SWIG_fail
;
38395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38396 (arg1
)->SetRatio(arg2
);
38398 wxPyEndAllowThreads(__tstate
);
38399 if (PyErr_Occurred()) SWIG_fail
;
38401 Py_INCREF(Py_None
); resultobj
= Py_None
;
38408 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38409 PyObject
*resultobj
;
38410 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38412 PyObject
* obj0
= 0 ;
38413 PyObject
* obj1
= 0 ;
38414 char *kwnames
[] = {
38415 (char *) "self",(char *) "ratio", NULL
38418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38420 if (SWIG_arg_fail(1)) SWIG_fail
;
38422 arg2
= (float)(SWIG_As_float(obj1
));
38423 if (SWIG_arg_fail(2)) SWIG_fail
;
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 (arg1
)->SetRatio(arg2
);
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38432 Py_INCREF(Py_None
); resultobj
= Py_None
;
38439 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38440 PyObject
*resultobj
;
38441 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38443 PyObject
* obj0
= 0 ;
38444 char *kwnames
[] = {
38445 (char *) "self", NULL
38448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38450 if (SWIG_arg_fail(1)) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (float)(arg1
)->GetRatio();
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38459 resultobj
= SWIG_From_float((float)(result
));
38467 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38468 PyObject
*resultobj
;
38469 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38471 PyObject
* obj0
= 0 ;
38472 char *kwnames
[] = {
38473 (char *) "self", NULL
38476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38478 if (SWIG_arg_fail(1)) SWIG_fail
;
38480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38481 result
= (arg1
)->GetRect();
38483 wxPyEndAllowThreads(__tstate
);
38484 if (PyErr_Occurred()) SWIG_fail
;
38487 wxRect
* resultptr
;
38488 resultptr
= new wxRect((wxRect
&)(result
));
38489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38497 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38498 PyObject
*resultobj
;
38499 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38501 PyObject
* obj0
= 0 ;
38502 char *kwnames
[] = {
38503 (char *) "self", NULL
38506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38508 if (SWIG_arg_fail(1)) SWIG_fail
;
38510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38511 result
= (bool)(arg1
)->IsWindow();
38513 wxPyEndAllowThreads(__tstate
);
38514 if (PyErr_Occurred()) SWIG_fail
;
38517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38525 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38526 PyObject
*resultobj
;
38527 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38529 PyObject
* obj0
= 0 ;
38530 char *kwnames
[] = {
38531 (char *) "self", NULL
38534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38536 if (SWIG_arg_fail(1)) SWIG_fail
;
38538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38539 result
= (bool)(arg1
)->IsSizer();
38541 wxPyEndAllowThreads(__tstate
);
38542 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38553 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38554 PyObject
*resultobj
;
38555 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38557 PyObject
* obj0
= 0 ;
38558 char *kwnames
[] = {
38559 (char *) "self", NULL
38562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38564 if (SWIG_arg_fail(1)) SWIG_fail
;
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (bool)(arg1
)->IsSpacer();
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38581 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38582 PyObject
*resultobj
;
38583 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38585 PyObject
* obj0
= 0 ;
38586 PyObject
* obj1
= 0 ;
38587 char *kwnames
[] = {
38588 (char *) "self",(char *) "proportion", NULL
38591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38593 if (SWIG_arg_fail(1)) SWIG_fail
;
38595 arg2
= (int)(SWIG_As_int(obj1
));
38596 if (SWIG_arg_fail(2)) SWIG_fail
;
38599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38600 (arg1
)->SetProportion(arg2
);
38602 wxPyEndAllowThreads(__tstate
);
38603 if (PyErr_Occurred()) SWIG_fail
;
38605 Py_INCREF(Py_None
); resultobj
= Py_None
;
38612 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38613 PyObject
*resultobj
;
38614 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38616 PyObject
* obj0
= 0 ;
38617 char *kwnames
[] = {
38618 (char *) "self", NULL
38621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38623 if (SWIG_arg_fail(1)) SWIG_fail
;
38625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38626 result
= (int)(arg1
)->GetProportion();
38628 wxPyEndAllowThreads(__tstate
);
38629 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= SWIG_From_int((int)(result
));
38640 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38641 PyObject
*resultobj
;
38642 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38644 PyObject
* obj0
= 0 ;
38645 PyObject
* obj1
= 0 ;
38646 char *kwnames
[] = {
38647 (char *) "self",(char *) "flag", NULL
38650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38652 if (SWIG_arg_fail(1)) SWIG_fail
;
38654 arg2
= (int)(SWIG_As_int(obj1
));
38655 if (SWIG_arg_fail(2)) SWIG_fail
;
38658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38659 (arg1
)->SetFlag(arg2
);
38661 wxPyEndAllowThreads(__tstate
);
38662 if (PyErr_Occurred()) SWIG_fail
;
38664 Py_INCREF(Py_None
); resultobj
= Py_None
;
38671 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38672 PyObject
*resultobj
;
38673 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38675 PyObject
* obj0
= 0 ;
38676 char *kwnames
[] = {
38677 (char *) "self", NULL
38680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38682 if (SWIG_arg_fail(1)) SWIG_fail
;
38684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38685 result
= (int)(arg1
)->GetFlag();
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38691 resultobj
= SWIG_From_int((int)(result
));
38699 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38700 PyObject
*resultobj
;
38701 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38703 PyObject
* obj0
= 0 ;
38704 PyObject
* obj1
= 0 ;
38705 char *kwnames
[] = {
38706 (char *) "self",(char *) "border", NULL
38709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38711 if (SWIG_arg_fail(1)) SWIG_fail
;
38713 arg2
= (int)(SWIG_As_int(obj1
));
38714 if (SWIG_arg_fail(2)) SWIG_fail
;
38717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38718 (arg1
)->SetBorder(arg2
);
38720 wxPyEndAllowThreads(__tstate
);
38721 if (PyErr_Occurred()) SWIG_fail
;
38723 Py_INCREF(Py_None
); resultobj
= Py_None
;
38730 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38731 PyObject
*resultobj
;
38732 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38734 PyObject
* obj0
= 0 ;
38735 char *kwnames
[] = {
38736 (char *) "self", NULL
38739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38741 if (SWIG_arg_fail(1)) SWIG_fail
;
38743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38744 result
= (int)(arg1
)->GetBorder();
38746 wxPyEndAllowThreads(__tstate
);
38747 if (PyErr_Occurred()) SWIG_fail
;
38750 resultobj
= SWIG_From_int((int)(result
));
38758 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38759 PyObject
*resultobj
;
38760 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38762 PyObject
* obj0
= 0 ;
38763 char *kwnames
[] = {
38764 (char *) "self", NULL
38767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38769 if (SWIG_arg_fail(1)) SWIG_fail
;
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 result
= (wxWindow
*)(arg1
)->GetWindow();
38774 wxPyEndAllowThreads(__tstate
);
38775 if (PyErr_Occurred()) SWIG_fail
;
38778 resultobj
= wxPyMake_wxObject(result
, 0);
38786 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38787 PyObject
*resultobj
;
38788 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38789 wxWindow
*arg2
= (wxWindow
*) 0 ;
38790 PyObject
* obj0
= 0 ;
38791 PyObject
* obj1
= 0 ;
38792 char *kwnames
[] = {
38793 (char *) "self",(char *) "window", NULL
38796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38798 if (SWIG_arg_fail(1)) SWIG_fail
;
38799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38800 if (SWIG_arg_fail(2)) SWIG_fail
;
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 (arg1
)->SetWindow(arg2
);
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38808 Py_INCREF(Py_None
); resultobj
= Py_None
;
38815 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38816 PyObject
*resultobj
;
38817 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38819 PyObject
* obj0
= 0 ;
38820 char *kwnames
[] = {
38821 (char *) "self", NULL
38824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38826 if (SWIG_arg_fail(1)) SWIG_fail
;
38828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38829 result
= (wxSizer
*)(arg1
)->GetSizer();
38831 wxPyEndAllowThreads(__tstate
);
38832 if (PyErr_Occurred()) SWIG_fail
;
38835 resultobj
= wxPyMake_wxSizer(result
, 0);
38843 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38844 PyObject
*resultobj
;
38845 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38846 wxSizer
*arg2
= (wxSizer
*) 0 ;
38847 PyObject
* obj0
= 0 ;
38848 PyObject
* obj1
= 0 ;
38849 char *kwnames
[] = {
38850 (char *) "self",(char *) "sizer", NULL
38853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38855 if (SWIG_arg_fail(1)) SWIG_fail
;
38856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38857 if (SWIG_arg_fail(2)) SWIG_fail
;
38859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38860 (arg1
)->SetSizer(arg2
);
38862 wxPyEndAllowThreads(__tstate
);
38863 if (PyErr_Occurred()) SWIG_fail
;
38865 Py_INCREF(Py_None
); resultobj
= Py_None
;
38872 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38873 PyObject
*resultobj
;
38874 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38876 PyObject
* obj0
= 0 ;
38877 char *kwnames
[] = {
38878 (char *) "self", NULL
38881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38883 if (SWIG_arg_fail(1)) SWIG_fail
;
38885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38888 result
= (wxSize
*) &_result_ref
;
38891 wxPyEndAllowThreads(__tstate
);
38892 if (PyErr_Occurred()) SWIG_fail
;
38894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38901 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38902 PyObject
*resultobj
;
38903 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38906 PyObject
* obj0
= 0 ;
38907 PyObject
* obj1
= 0 ;
38908 char *kwnames
[] = {
38909 (char *) "self",(char *) "size", NULL
38912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38914 if (SWIG_arg_fail(1)) SWIG_fail
;
38917 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38921 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 Py_INCREF(Py_None
); resultobj
= Py_None
;
38933 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38934 PyObject
*resultobj
;
38935 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38937 PyObject
* obj0
= 0 ;
38938 PyObject
* obj1
= 0 ;
38939 char *kwnames
[] = {
38940 (char *) "self",(char *) "show", NULL
38943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38945 if (SWIG_arg_fail(1)) SWIG_fail
;
38947 arg2
= (bool)(SWIG_As_bool(obj1
));
38948 if (SWIG_arg_fail(2)) SWIG_fail
;
38951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38952 (arg1
)->Show(arg2
);
38954 wxPyEndAllowThreads(__tstate
);
38955 if (PyErr_Occurred()) SWIG_fail
;
38957 Py_INCREF(Py_None
); resultobj
= Py_None
;
38964 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38965 PyObject
*resultobj
;
38966 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38968 PyObject
* obj0
= 0 ;
38969 char *kwnames
[] = {
38970 (char *) "self", NULL
38973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38975 if (SWIG_arg_fail(1)) SWIG_fail
;
38977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38978 result
= (bool)(arg1
)->IsShown();
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38992 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38993 PyObject
*resultobj
;
38994 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38996 PyObject
* obj0
= 0 ;
38997 char *kwnames
[] = {
38998 (char *) "self", NULL
39001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39003 if (SWIG_arg_fail(1)) SWIG_fail
;
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (arg1
)->GetPosition();
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39012 wxPoint
* resultptr
;
39013 resultptr
= new wxPoint((wxPoint
&)(result
));
39014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39022 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39023 PyObject
*resultobj
;
39024 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39026 PyObject
* obj0
= 0 ;
39027 char *kwnames
[] = {
39028 (char *) "self", NULL
39031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39033 if (SWIG_arg_fail(1)) SWIG_fail
;
39035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39036 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39041 resultobj
= result
;
39048 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39051 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39053 return Py_BuildValue((char *)"");
39055 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39056 PyObject
*resultobj
;
39057 wxSizer
*arg1
= (wxSizer
*) 0 ;
39058 PyObject
*arg2
= (PyObject
*) 0 ;
39059 PyObject
* obj0
= 0 ;
39060 PyObject
* obj1
= 0 ;
39061 char *kwnames
[] = {
39062 (char *) "self",(char *) "_self", NULL
39065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39067 if (SWIG_arg_fail(1)) SWIG_fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 wxSizer__setOORInfo(arg1
,arg2
);
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39076 Py_INCREF(Py_None
); resultobj
= Py_None
;
39083 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39084 PyObject
*resultobj
;
39085 wxSizer
*arg1
= (wxSizer
*) 0 ;
39086 PyObject
*arg2
= (PyObject
*) 0 ;
39087 int arg3
= (int) 0 ;
39088 int arg4
= (int) 0 ;
39089 int arg5
= (int) 0 ;
39090 PyObject
*arg6
= (PyObject
*) NULL
;
39091 wxSizerItem
*result
;
39092 PyObject
* obj0
= 0 ;
39093 PyObject
* obj1
= 0 ;
39094 PyObject
* obj2
= 0 ;
39095 PyObject
* obj3
= 0 ;
39096 PyObject
* obj4
= 0 ;
39097 PyObject
* obj5
= 0 ;
39098 char *kwnames
[] = {
39099 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39104 if (SWIG_arg_fail(1)) SWIG_fail
;
39108 arg3
= (int)(SWIG_As_int(obj2
));
39109 if (SWIG_arg_fail(3)) SWIG_fail
;
39114 arg4
= (int)(SWIG_As_int(obj3
));
39115 if (SWIG_arg_fail(4)) SWIG_fail
;
39120 arg5
= (int)(SWIG_As_int(obj4
));
39121 if (SWIG_arg_fail(5)) SWIG_fail
;
39128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39141 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39142 PyObject
*resultobj
;
39143 wxSizer
*arg1
= (wxSizer
*) 0 ;
39145 PyObject
*arg3
= (PyObject
*) 0 ;
39146 int arg4
= (int) 0 ;
39147 int arg5
= (int) 0 ;
39148 int arg6
= (int) 0 ;
39149 PyObject
*arg7
= (PyObject
*) NULL
;
39150 wxSizerItem
*result
;
39151 PyObject
* obj0
= 0 ;
39152 PyObject
* obj1
= 0 ;
39153 PyObject
* obj2
= 0 ;
39154 PyObject
* obj3
= 0 ;
39155 PyObject
* obj4
= 0 ;
39156 PyObject
* obj5
= 0 ;
39157 PyObject
* obj6
= 0 ;
39158 char *kwnames
[] = {
39159 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39164 if (SWIG_arg_fail(1)) SWIG_fail
;
39166 arg2
= (int)(SWIG_As_int(obj1
));
39167 if (SWIG_arg_fail(2)) SWIG_fail
;
39172 arg4
= (int)(SWIG_As_int(obj3
));
39173 if (SWIG_arg_fail(4)) SWIG_fail
;
39178 arg5
= (int)(SWIG_As_int(obj4
));
39179 if (SWIG_arg_fail(5)) SWIG_fail
;
39184 arg6
= (int)(SWIG_As_int(obj5
));
39185 if (SWIG_arg_fail(6)) SWIG_fail
;
39192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39193 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39195 wxPyEndAllowThreads(__tstate
);
39196 if (PyErr_Occurred()) SWIG_fail
;
39198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39205 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39206 PyObject
*resultobj
;
39207 wxSizer
*arg1
= (wxSizer
*) 0 ;
39208 PyObject
*arg2
= (PyObject
*) 0 ;
39209 int arg3
= (int) 0 ;
39210 int arg4
= (int) 0 ;
39211 int arg5
= (int) 0 ;
39212 PyObject
*arg6
= (PyObject
*) NULL
;
39213 wxSizerItem
*result
;
39214 PyObject
* obj0
= 0 ;
39215 PyObject
* obj1
= 0 ;
39216 PyObject
* obj2
= 0 ;
39217 PyObject
* obj3
= 0 ;
39218 PyObject
* obj4
= 0 ;
39219 PyObject
* obj5
= 0 ;
39220 char *kwnames
[] = {
39221 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39226 if (SWIG_arg_fail(1)) SWIG_fail
;
39230 arg3
= (int)(SWIG_As_int(obj2
));
39231 if (SWIG_arg_fail(3)) SWIG_fail
;
39236 arg4
= (int)(SWIG_As_int(obj3
));
39237 if (SWIG_arg_fail(4)) SWIG_fail
;
39242 arg5
= (int)(SWIG_As_int(obj4
));
39243 if (SWIG_arg_fail(5)) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39263 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39264 PyObject
*resultobj
;
39265 wxSizer
*arg1
= (wxSizer
*) 0 ;
39266 PyObject
*arg2
= (PyObject
*) 0 ;
39268 PyObject
* obj0
= 0 ;
39269 PyObject
* obj1
= 0 ;
39270 char *kwnames
[] = {
39271 (char *) "self",(char *) "item", NULL
39274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39276 if (SWIG_arg_fail(1)) SWIG_fail
;
39279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39280 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39282 wxPyEndAllowThreads(__tstate
);
39283 if (PyErr_Occurred()) SWIG_fail
;
39286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39294 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39295 PyObject
*resultobj
;
39296 wxSizer
*arg1
= (wxSizer
*) 0 ;
39297 PyObject
*arg2
= (PyObject
*) 0 ;
39299 PyObject
* obj0
= 0 ;
39300 PyObject
* obj1
= 0 ;
39301 char *kwnames
[] = {
39302 (char *) "self",(char *) "item", NULL
39305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39307 if (SWIG_arg_fail(1)) SWIG_fail
;
39310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39311 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39313 wxPyEndAllowThreads(__tstate
);
39314 if (PyErr_Occurred()) SWIG_fail
;
39317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39325 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39326 PyObject
*resultobj
;
39327 wxSizer
*arg1
= (wxSizer
*) 0 ;
39328 PyObject
*arg2
= (PyObject
*) 0 ;
39329 wxSizerItem
*result
;
39330 PyObject
* obj0
= 0 ;
39331 PyObject
* obj1
= 0 ;
39332 char *kwnames
[] = {
39333 (char *) "self",(char *) "item", NULL
39336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39338 if (SWIG_arg_fail(1)) SWIG_fail
;
39341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39342 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39354 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39355 PyObject
*resultobj
;
39356 wxSizer
*arg1
= (wxSizer
*) 0 ;
39357 PyObject
*arg2
= (PyObject
*) 0 ;
39360 PyObject
* obj0
= 0 ;
39361 PyObject
* obj1
= 0 ;
39362 PyObject
* obj2
= 0 ;
39363 char *kwnames
[] = {
39364 (char *) "self",(char *) "item",(char *) "size", NULL
39367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39369 if (SWIG_arg_fail(1)) SWIG_fail
;
39373 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39377 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39379 wxPyEndAllowThreads(__tstate
);
39380 if (PyErr_Occurred()) SWIG_fail
;
39382 Py_INCREF(Py_None
); resultobj
= Py_None
;
39389 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39390 PyObject
*resultobj
;
39391 wxSizer
*arg1
= (wxSizer
*) 0 ;
39392 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39393 wxSizerItem
*result
;
39394 PyObject
* obj0
= 0 ;
39395 PyObject
* obj1
= 0 ;
39396 char *kwnames
[] = {
39397 (char *) "self",(char *) "item", NULL
39400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39402 if (SWIG_arg_fail(1)) SWIG_fail
;
39403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39404 if (SWIG_arg_fail(2)) SWIG_fail
;
39406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39407 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39409 wxPyEndAllowThreads(__tstate
);
39410 if (PyErr_Occurred()) SWIG_fail
;
39412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39419 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39420 PyObject
*resultobj
;
39421 wxSizer
*arg1
= (wxSizer
*) 0 ;
39423 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39424 wxSizerItem
*result
;
39425 PyObject
* obj0
= 0 ;
39426 PyObject
* obj1
= 0 ;
39427 PyObject
* obj2
= 0 ;
39428 char *kwnames
[] = {
39429 (char *) "self",(char *) "index",(char *) "item", NULL
39432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39434 if (SWIG_arg_fail(1)) SWIG_fail
;
39436 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39437 if (SWIG_arg_fail(2)) SWIG_fail
;
39439 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39440 if (SWIG_arg_fail(3)) SWIG_fail
;
39442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39443 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39445 wxPyEndAllowThreads(__tstate
);
39446 if (PyErr_Occurred()) SWIG_fail
;
39448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39455 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39456 PyObject
*resultobj
;
39457 wxSizer
*arg1
= (wxSizer
*) 0 ;
39458 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39459 wxSizerItem
*result
;
39460 PyObject
* obj0
= 0 ;
39461 PyObject
* obj1
= 0 ;
39462 char *kwnames
[] = {
39463 (char *) "self",(char *) "item", NULL
39466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39468 if (SWIG_arg_fail(1)) SWIG_fail
;
39469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39470 if (SWIG_arg_fail(2)) SWIG_fail
;
39472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39475 wxPyEndAllowThreads(__tstate
);
39476 if (PyErr_Occurred()) SWIG_fail
;
39478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39485 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39486 PyObject
*resultobj
;
39487 wxSizer
*arg1
= (wxSizer
*) 0 ;
39492 PyObject
* obj0
= 0 ;
39493 PyObject
* obj1
= 0 ;
39494 PyObject
* obj2
= 0 ;
39495 PyObject
* obj3
= 0 ;
39496 PyObject
* obj4
= 0 ;
39497 char *kwnames
[] = {
39498 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39503 if (SWIG_arg_fail(1)) SWIG_fail
;
39505 arg2
= (int)(SWIG_As_int(obj1
));
39506 if (SWIG_arg_fail(2)) SWIG_fail
;
39509 arg3
= (int)(SWIG_As_int(obj2
));
39510 if (SWIG_arg_fail(3)) SWIG_fail
;
39513 arg4
= (int)(SWIG_As_int(obj3
));
39514 if (SWIG_arg_fail(4)) SWIG_fail
;
39517 arg5
= (int)(SWIG_As_int(obj4
));
39518 if (SWIG_arg_fail(5)) SWIG_fail
;
39521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39522 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39527 Py_INCREF(Py_None
); resultobj
= Py_None
;
39534 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39535 PyObject
*resultobj
;
39536 wxSizer
*arg1
= (wxSizer
*) 0 ;
39539 PyObject
* obj0
= 0 ;
39540 PyObject
* obj1
= 0 ;
39541 char *kwnames
[] = {
39542 (char *) "self",(char *) "size", NULL
39545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39547 if (SWIG_arg_fail(1)) SWIG_fail
;
39550 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39554 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39556 wxPyEndAllowThreads(__tstate
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39559 Py_INCREF(Py_None
); resultobj
= Py_None
;
39566 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39567 PyObject
*resultobj
;
39568 wxSizer
*arg1
= (wxSizer
*) 0 ;
39570 PyObject
* obj0
= 0 ;
39571 char *kwnames
[] = {
39572 (char *) "self", NULL
39575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39577 if (SWIG_arg_fail(1)) SWIG_fail
;
39579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39580 result
= (arg1
)->GetSize();
39582 wxPyEndAllowThreads(__tstate
);
39583 if (PyErr_Occurred()) SWIG_fail
;
39586 wxSize
* resultptr
;
39587 resultptr
= new wxSize((wxSize
&)(result
));
39588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39596 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxSizer
*arg1
= (wxSizer
*) 0 ;
39600 PyObject
* obj0
= 0 ;
39601 char *kwnames
[] = {
39602 (char *) "self", NULL
39605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39607 if (SWIG_arg_fail(1)) SWIG_fail
;
39609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39610 result
= (arg1
)->GetPosition();
39612 wxPyEndAllowThreads(__tstate
);
39613 if (PyErr_Occurred()) SWIG_fail
;
39616 wxPoint
* resultptr
;
39617 resultptr
= new wxPoint((wxPoint
&)(result
));
39618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39626 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39627 PyObject
*resultobj
;
39628 wxSizer
*arg1
= (wxSizer
*) 0 ;
39630 PyObject
* obj0
= 0 ;
39631 char *kwnames
[] = {
39632 (char *) "self", NULL
39635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39637 if (SWIG_arg_fail(1)) SWIG_fail
;
39639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39640 result
= (arg1
)->GetMinSize();
39642 wxPyEndAllowThreads(__tstate
);
39643 if (PyErr_Occurred()) SWIG_fail
;
39646 wxSize
* resultptr
;
39647 resultptr
= new wxSize((wxSize
&)(result
));
39648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39656 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39657 PyObject
*resultobj
;
39658 wxSizer
*arg1
= (wxSizer
*) 0 ;
39659 PyObject
* obj0
= 0 ;
39660 char *kwnames
[] = {
39661 (char *) "self", NULL
39664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39666 if (SWIG_arg_fail(1)) SWIG_fail
;
39668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39669 (arg1
)->RecalcSizes();
39671 wxPyEndAllowThreads(__tstate
);
39672 if (PyErr_Occurred()) SWIG_fail
;
39674 Py_INCREF(Py_None
); resultobj
= Py_None
;
39681 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39682 PyObject
*resultobj
;
39683 wxSizer
*arg1
= (wxSizer
*) 0 ;
39685 PyObject
* obj0
= 0 ;
39686 char *kwnames
[] = {
39687 (char *) "self", NULL
39690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39692 if (SWIG_arg_fail(1)) SWIG_fail
;
39694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39695 result
= (arg1
)->CalcMin();
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39701 wxSize
* resultptr
;
39702 resultptr
= new wxSize((wxSize
&)(result
));
39703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39711 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39712 PyObject
*resultobj
;
39713 wxSizer
*arg1
= (wxSizer
*) 0 ;
39714 PyObject
* obj0
= 0 ;
39715 char *kwnames
[] = {
39716 (char *) "self", NULL
39719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39721 if (SWIG_arg_fail(1)) SWIG_fail
;
39723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 wxPyEndAllowThreads(__tstate
);
39727 if (PyErr_Occurred()) SWIG_fail
;
39729 Py_INCREF(Py_None
); resultobj
= Py_None
;
39736 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39737 PyObject
*resultobj
;
39738 wxSizer
*arg1
= (wxSizer
*) 0 ;
39739 wxWindow
*arg2
= (wxWindow
*) 0 ;
39741 PyObject
* obj0
= 0 ;
39742 PyObject
* obj1
= 0 ;
39743 char *kwnames
[] = {
39744 (char *) "self",(char *) "window", NULL
39747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39749 if (SWIG_arg_fail(1)) SWIG_fail
;
39750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39751 if (SWIG_arg_fail(2)) SWIG_fail
;
39753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39754 result
= (arg1
)->Fit(arg2
);
39756 wxPyEndAllowThreads(__tstate
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39760 wxSize
* resultptr
;
39761 resultptr
= new wxSize((wxSize
&)(result
));
39762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39770 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39771 PyObject
*resultobj
;
39772 wxSizer
*arg1
= (wxSizer
*) 0 ;
39773 wxWindow
*arg2
= (wxWindow
*) 0 ;
39774 PyObject
* obj0
= 0 ;
39775 PyObject
* obj1
= 0 ;
39776 char *kwnames
[] = {
39777 (char *) "self",(char *) "window", NULL
39780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39782 if (SWIG_arg_fail(1)) SWIG_fail
;
39783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39784 if (SWIG_arg_fail(2)) SWIG_fail
;
39786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39787 (arg1
)->FitInside(arg2
);
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39792 Py_INCREF(Py_None
); resultobj
= Py_None
;
39799 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39800 PyObject
*resultobj
;
39801 wxSizer
*arg1
= (wxSizer
*) 0 ;
39802 wxWindow
*arg2
= (wxWindow
*) 0 ;
39803 PyObject
* obj0
= 0 ;
39804 PyObject
* obj1
= 0 ;
39805 char *kwnames
[] = {
39806 (char *) "self",(char *) "window", NULL
39809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39811 if (SWIG_arg_fail(1)) SWIG_fail
;
39812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39813 if (SWIG_arg_fail(2)) SWIG_fail
;
39815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39816 (arg1
)->SetSizeHints(arg2
);
39818 wxPyEndAllowThreads(__tstate
);
39819 if (PyErr_Occurred()) SWIG_fail
;
39821 Py_INCREF(Py_None
); resultobj
= Py_None
;
39828 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
;
39830 wxSizer
*arg1
= (wxSizer
*) 0 ;
39831 wxWindow
*arg2
= (wxWindow
*) 0 ;
39832 PyObject
* obj0
= 0 ;
39833 PyObject
* obj1
= 0 ;
39834 char *kwnames
[] = {
39835 (char *) "self",(char *) "window", NULL
39838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39840 if (SWIG_arg_fail(1)) SWIG_fail
;
39841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39842 if (SWIG_arg_fail(2)) SWIG_fail
;
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 (arg1
)->SetVirtualSizeHints(arg2
);
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 Py_INCREF(Py_None
); resultobj
= Py_None
;
39857 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39858 PyObject
*resultobj
;
39859 wxSizer
*arg1
= (wxSizer
*) 0 ;
39860 bool arg2
= (bool) false ;
39861 PyObject
* obj0
= 0 ;
39862 PyObject
* obj1
= 0 ;
39863 char *kwnames
[] = {
39864 (char *) "self",(char *) "deleteWindows", NULL
39867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39869 if (SWIG_arg_fail(1)) SWIG_fail
;
39872 arg2
= (bool)(SWIG_As_bool(obj1
));
39873 if (SWIG_arg_fail(2)) SWIG_fail
;
39877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39878 (arg1
)->Clear(arg2
);
39880 wxPyEndAllowThreads(__tstate
);
39881 if (PyErr_Occurred()) SWIG_fail
;
39883 Py_INCREF(Py_None
); resultobj
= Py_None
;
39890 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39891 PyObject
*resultobj
;
39892 wxSizer
*arg1
= (wxSizer
*) 0 ;
39893 PyObject
* obj0
= 0 ;
39894 char *kwnames
[] = {
39895 (char *) "self", NULL
39898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39900 if (SWIG_arg_fail(1)) SWIG_fail
;
39902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39903 (arg1
)->DeleteWindows();
39905 wxPyEndAllowThreads(__tstate
);
39906 if (PyErr_Occurred()) SWIG_fail
;
39908 Py_INCREF(Py_None
); resultobj
= Py_None
;
39915 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39916 PyObject
*resultobj
;
39917 wxSizer
*arg1
= (wxSizer
*) 0 ;
39919 PyObject
* obj0
= 0 ;
39920 char *kwnames
[] = {
39921 (char *) "self", NULL
39924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39926 if (SWIG_arg_fail(1)) SWIG_fail
;
39928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39929 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39931 wxPyEndAllowThreads(__tstate
);
39932 if (PyErr_Occurred()) SWIG_fail
;
39934 resultobj
= result
;
39941 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39942 PyObject
*resultobj
;
39943 wxSizer
*arg1
= (wxSizer
*) 0 ;
39944 PyObject
*arg2
= (PyObject
*) 0 ;
39945 bool arg3
= (bool) true ;
39946 bool arg4
= (bool) false ;
39948 PyObject
* obj0
= 0 ;
39949 PyObject
* obj1
= 0 ;
39950 PyObject
* obj2
= 0 ;
39951 PyObject
* obj3
= 0 ;
39952 char *kwnames
[] = {
39953 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39958 if (SWIG_arg_fail(1)) SWIG_fail
;
39962 arg3
= (bool)(SWIG_As_bool(obj2
));
39963 if (SWIG_arg_fail(3)) SWIG_fail
;
39968 arg4
= (bool)(SWIG_As_bool(obj3
));
39969 if (SWIG_arg_fail(4)) SWIG_fail
;
39973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39974 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39976 wxPyEndAllowThreads(__tstate
);
39977 if (PyErr_Occurred()) SWIG_fail
;
39980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39988 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39989 PyObject
*resultobj
;
39990 wxSizer
*arg1
= (wxSizer
*) 0 ;
39991 PyObject
*arg2
= (PyObject
*) 0 ;
39993 PyObject
* obj0
= 0 ;
39994 PyObject
* obj1
= 0 ;
39995 char *kwnames
[] = {
39996 (char *) "self",(char *) "item", NULL
39999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40001 if (SWIG_arg_fail(1)) SWIG_fail
;
40004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40005 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40007 wxPyEndAllowThreads(__tstate
);
40008 if (PyErr_Occurred()) SWIG_fail
;
40011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40019 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40020 PyObject
*resultobj
;
40021 wxSizer
*arg1
= (wxSizer
*) 0 ;
40023 PyObject
* obj0
= 0 ;
40024 PyObject
* obj1
= 0 ;
40025 char *kwnames
[] = {
40026 (char *) "self",(char *) "show", NULL
40029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40031 if (SWIG_arg_fail(1)) SWIG_fail
;
40033 arg2
= (bool)(SWIG_As_bool(obj1
));
40034 if (SWIG_arg_fail(2)) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 (arg1
)->ShowItems(arg2
);
40040 wxPyEndAllowThreads(__tstate
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40043 Py_INCREF(Py_None
); resultobj
= Py_None
;
40050 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40053 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40055 return Py_BuildValue((char *)"");
40057 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40058 PyObject
*resultobj
;
40060 char *kwnames
[] = {
40064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40067 result
= (wxPySizer
*)new wxPySizer();
40069 wxPyEndAllowThreads(__tstate
);
40070 if (PyErr_Occurred()) SWIG_fail
;
40072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40079 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40080 PyObject
*resultobj
;
40081 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40082 PyObject
*arg2
= (PyObject
*) 0 ;
40083 PyObject
*arg3
= (PyObject
*) 0 ;
40084 PyObject
* obj0
= 0 ;
40085 PyObject
* obj1
= 0 ;
40086 PyObject
* obj2
= 0 ;
40087 char *kwnames
[] = {
40088 (char *) "self",(char *) "self",(char *) "_class", NULL
40091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40093 if (SWIG_arg_fail(1)) SWIG_fail
;
40097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40098 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40100 wxPyEndAllowThreads(__tstate
);
40101 if (PyErr_Occurred()) SWIG_fail
;
40103 Py_INCREF(Py_None
); resultobj
= Py_None
;
40110 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40113 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40115 return Py_BuildValue((char *)"");
40117 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40118 PyObject
*resultobj
;
40119 int arg1
= (int) wxHORIZONTAL
;
40120 wxBoxSizer
*result
;
40121 PyObject
* obj0
= 0 ;
40122 char *kwnames
[] = {
40123 (char *) "orient", NULL
40126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40129 arg1
= (int)(SWIG_As_int(obj0
));
40130 if (SWIG_arg_fail(1)) SWIG_fail
;
40134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40135 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40137 wxPyEndAllowThreads(__tstate
);
40138 if (PyErr_Occurred()) SWIG_fail
;
40140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40147 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40148 PyObject
*resultobj
;
40149 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40151 PyObject
* obj0
= 0 ;
40152 char *kwnames
[] = {
40153 (char *) "self", NULL
40156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40158 if (SWIG_arg_fail(1)) SWIG_fail
;
40160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40161 result
= (int)(arg1
)->GetOrientation();
40163 wxPyEndAllowThreads(__tstate
);
40164 if (PyErr_Occurred()) SWIG_fail
;
40167 resultobj
= SWIG_From_int((int)(result
));
40175 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40176 PyObject
*resultobj
;
40177 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40179 PyObject
* obj0
= 0 ;
40180 PyObject
* obj1
= 0 ;
40181 char *kwnames
[] = {
40182 (char *) "self",(char *) "orient", NULL
40185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40187 if (SWIG_arg_fail(1)) SWIG_fail
;
40189 arg2
= (int)(SWIG_As_int(obj1
));
40190 if (SWIG_arg_fail(2)) SWIG_fail
;
40193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40194 (arg1
)->SetOrientation(arg2
);
40196 wxPyEndAllowThreads(__tstate
);
40197 if (PyErr_Occurred()) SWIG_fail
;
40199 Py_INCREF(Py_None
); resultobj
= Py_None
;
40206 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40209 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40211 return Py_BuildValue((char *)"");
40213 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
;
40215 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40216 int arg2
= (int) wxHORIZONTAL
;
40217 wxStaticBoxSizer
*result
;
40218 PyObject
* obj0
= 0 ;
40219 PyObject
* obj1
= 0 ;
40220 char *kwnames
[] = {
40221 (char *) "box",(char *) "orient", NULL
40224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40226 if (SWIG_arg_fail(1)) SWIG_fail
;
40229 arg2
= (int)(SWIG_As_int(obj1
));
40230 if (SWIG_arg_fail(2)) SWIG_fail
;
40234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40235 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40237 wxPyEndAllowThreads(__tstate
);
40238 if (PyErr_Occurred()) SWIG_fail
;
40240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40247 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40248 PyObject
*resultobj
;
40249 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40250 wxStaticBox
*result
;
40251 PyObject
* obj0
= 0 ;
40252 char *kwnames
[] = {
40253 (char *) "self", NULL
40256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40258 if (SWIG_arg_fail(1)) SWIG_fail
;
40260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40261 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40263 wxPyEndAllowThreads(__tstate
);
40264 if (PyErr_Occurred()) SWIG_fail
;
40267 resultobj
= wxPyMake_wxObject(result
, 0);
40275 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40278 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40280 return Py_BuildValue((char *)"");
40282 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40283 PyObject
*resultobj
;
40284 int arg1
= (int) 1 ;
40285 int arg2
= (int) 0 ;
40286 int arg3
= (int) 0 ;
40287 int arg4
= (int) 0 ;
40288 wxGridSizer
*result
;
40289 PyObject
* obj0
= 0 ;
40290 PyObject
* obj1
= 0 ;
40291 PyObject
* obj2
= 0 ;
40292 PyObject
* obj3
= 0 ;
40293 char *kwnames
[] = {
40294 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40300 arg1
= (int)(SWIG_As_int(obj0
));
40301 if (SWIG_arg_fail(1)) SWIG_fail
;
40306 arg2
= (int)(SWIG_As_int(obj1
));
40307 if (SWIG_arg_fail(2)) SWIG_fail
;
40312 arg3
= (int)(SWIG_As_int(obj2
));
40313 if (SWIG_arg_fail(3)) SWIG_fail
;
40318 arg4
= (int)(SWIG_As_int(obj3
));
40319 if (SWIG_arg_fail(4)) SWIG_fail
;
40323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40324 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40326 wxPyEndAllowThreads(__tstate
);
40327 if (PyErr_Occurred()) SWIG_fail
;
40329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40336 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40337 PyObject
*resultobj
;
40338 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40340 PyObject
* obj0
= 0 ;
40341 PyObject
* obj1
= 0 ;
40342 char *kwnames
[] = {
40343 (char *) "self",(char *) "cols", NULL
40346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40348 if (SWIG_arg_fail(1)) SWIG_fail
;
40350 arg2
= (int)(SWIG_As_int(obj1
));
40351 if (SWIG_arg_fail(2)) SWIG_fail
;
40354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40355 (arg1
)->SetCols(arg2
);
40357 wxPyEndAllowThreads(__tstate
);
40358 if (PyErr_Occurred()) SWIG_fail
;
40360 Py_INCREF(Py_None
); resultobj
= Py_None
;
40367 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40368 PyObject
*resultobj
;
40369 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40371 PyObject
* obj0
= 0 ;
40372 PyObject
* obj1
= 0 ;
40373 char *kwnames
[] = {
40374 (char *) "self",(char *) "rows", NULL
40377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40379 if (SWIG_arg_fail(1)) SWIG_fail
;
40381 arg2
= (int)(SWIG_As_int(obj1
));
40382 if (SWIG_arg_fail(2)) SWIG_fail
;
40385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40386 (arg1
)->SetRows(arg2
);
40388 wxPyEndAllowThreads(__tstate
);
40389 if (PyErr_Occurred()) SWIG_fail
;
40391 Py_INCREF(Py_None
); resultobj
= Py_None
;
40398 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40399 PyObject
*resultobj
;
40400 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40402 PyObject
* obj0
= 0 ;
40403 PyObject
* obj1
= 0 ;
40404 char *kwnames
[] = {
40405 (char *) "self",(char *) "gap", NULL
40408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40410 if (SWIG_arg_fail(1)) SWIG_fail
;
40412 arg2
= (int)(SWIG_As_int(obj1
));
40413 if (SWIG_arg_fail(2)) SWIG_fail
;
40416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40417 (arg1
)->SetVGap(arg2
);
40419 wxPyEndAllowThreads(__tstate
);
40420 if (PyErr_Occurred()) SWIG_fail
;
40422 Py_INCREF(Py_None
); resultobj
= Py_None
;
40429 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40430 PyObject
*resultobj
;
40431 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40433 PyObject
* obj0
= 0 ;
40434 PyObject
* obj1
= 0 ;
40435 char *kwnames
[] = {
40436 (char *) "self",(char *) "gap", NULL
40439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40441 if (SWIG_arg_fail(1)) SWIG_fail
;
40443 arg2
= (int)(SWIG_As_int(obj1
));
40444 if (SWIG_arg_fail(2)) SWIG_fail
;
40447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40448 (arg1
)->SetHGap(arg2
);
40450 wxPyEndAllowThreads(__tstate
);
40451 if (PyErr_Occurred()) SWIG_fail
;
40453 Py_INCREF(Py_None
); resultobj
= Py_None
;
40460 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40461 PyObject
*resultobj
;
40462 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40464 PyObject
* obj0
= 0 ;
40465 char *kwnames
[] = {
40466 (char *) "self", NULL
40469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40471 if (SWIG_arg_fail(1)) SWIG_fail
;
40473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40474 result
= (int)(arg1
)->GetCols();
40476 wxPyEndAllowThreads(__tstate
);
40477 if (PyErr_Occurred()) SWIG_fail
;
40480 resultobj
= SWIG_From_int((int)(result
));
40488 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40489 PyObject
*resultobj
;
40490 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40492 PyObject
* obj0
= 0 ;
40493 char *kwnames
[] = {
40494 (char *) "self", NULL
40497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40499 if (SWIG_arg_fail(1)) SWIG_fail
;
40501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40502 result
= (int)(arg1
)->GetRows();
40504 wxPyEndAllowThreads(__tstate
);
40505 if (PyErr_Occurred()) SWIG_fail
;
40508 resultobj
= SWIG_From_int((int)(result
));
40516 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40517 PyObject
*resultobj
;
40518 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40520 PyObject
* obj0
= 0 ;
40521 char *kwnames
[] = {
40522 (char *) "self", NULL
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40527 if (SWIG_arg_fail(1)) SWIG_fail
;
40529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40530 result
= (int)(arg1
)->GetVGap();
40532 wxPyEndAllowThreads(__tstate
);
40533 if (PyErr_Occurred()) SWIG_fail
;
40536 resultobj
= SWIG_From_int((int)(result
));
40544 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40545 PyObject
*resultobj
;
40546 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40548 PyObject
* obj0
= 0 ;
40549 char *kwnames
[] = {
40550 (char *) "self", NULL
40553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40555 if (SWIG_arg_fail(1)) SWIG_fail
;
40557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40558 result
= (int)(arg1
)->GetHGap();
40560 wxPyEndAllowThreads(__tstate
);
40561 if (PyErr_Occurred()) SWIG_fail
;
40564 resultobj
= SWIG_From_int((int)(result
));
40572 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40575 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40577 return Py_BuildValue((char *)"");
40579 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40580 PyObject
*resultobj
;
40581 int arg1
= (int) 1 ;
40582 int arg2
= (int) 0 ;
40583 int arg3
= (int) 0 ;
40584 int arg4
= (int) 0 ;
40585 wxFlexGridSizer
*result
;
40586 PyObject
* obj0
= 0 ;
40587 PyObject
* obj1
= 0 ;
40588 PyObject
* obj2
= 0 ;
40589 PyObject
* obj3
= 0 ;
40590 char *kwnames
[] = {
40591 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40597 arg1
= (int)(SWIG_As_int(obj0
));
40598 if (SWIG_arg_fail(1)) SWIG_fail
;
40603 arg2
= (int)(SWIG_As_int(obj1
));
40604 if (SWIG_arg_fail(2)) SWIG_fail
;
40609 arg3
= (int)(SWIG_As_int(obj2
));
40610 if (SWIG_arg_fail(3)) SWIG_fail
;
40615 arg4
= (int)(SWIG_As_int(obj3
));
40616 if (SWIG_arg_fail(4)) SWIG_fail
;
40620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40621 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40623 wxPyEndAllowThreads(__tstate
);
40624 if (PyErr_Occurred()) SWIG_fail
;
40626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40633 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40634 PyObject
*resultobj
;
40635 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40637 int arg3
= (int) 0 ;
40638 PyObject
* obj0
= 0 ;
40639 PyObject
* obj1
= 0 ;
40640 PyObject
* obj2
= 0 ;
40641 char *kwnames
[] = {
40642 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40647 if (SWIG_arg_fail(1)) SWIG_fail
;
40649 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40650 if (SWIG_arg_fail(2)) SWIG_fail
;
40654 arg3
= (int)(SWIG_As_int(obj2
));
40655 if (SWIG_arg_fail(3)) SWIG_fail
;
40659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40660 (arg1
)->AddGrowableRow(arg2
,arg3
);
40662 wxPyEndAllowThreads(__tstate
);
40663 if (PyErr_Occurred()) SWIG_fail
;
40665 Py_INCREF(Py_None
); resultobj
= Py_None
;
40672 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40673 PyObject
*resultobj
;
40674 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40676 PyObject
* obj0
= 0 ;
40677 PyObject
* obj1
= 0 ;
40678 char *kwnames
[] = {
40679 (char *) "self",(char *) "idx", NULL
40682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40684 if (SWIG_arg_fail(1)) SWIG_fail
;
40686 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40687 if (SWIG_arg_fail(2)) SWIG_fail
;
40690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40691 (arg1
)->RemoveGrowableRow(arg2
);
40693 wxPyEndAllowThreads(__tstate
);
40694 if (PyErr_Occurred()) SWIG_fail
;
40696 Py_INCREF(Py_None
); resultobj
= Py_None
;
40703 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40704 PyObject
*resultobj
;
40705 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40707 int arg3
= (int) 0 ;
40708 PyObject
* obj0
= 0 ;
40709 PyObject
* obj1
= 0 ;
40710 PyObject
* obj2
= 0 ;
40711 char *kwnames
[] = {
40712 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40717 if (SWIG_arg_fail(1)) SWIG_fail
;
40719 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40720 if (SWIG_arg_fail(2)) SWIG_fail
;
40724 arg3
= (int)(SWIG_As_int(obj2
));
40725 if (SWIG_arg_fail(3)) SWIG_fail
;
40729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40730 (arg1
)->AddGrowableCol(arg2
,arg3
);
40732 wxPyEndAllowThreads(__tstate
);
40733 if (PyErr_Occurred()) SWIG_fail
;
40735 Py_INCREF(Py_None
); resultobj
= Py_None
;
40742 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40743 PyObject
*resultobj
;
40744 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40746 PyObject
* obj0
= 0 ;
40747 PyObject
* obj1
= 0 ;
40748 char *kwnames
[] = {
40749 (char *) "self",(char *) "idx", NULL
40752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40754 if (SWIG_arg_fail(1)) SWIG_fail
;
40756 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40757 if (SWIG_arg_fail(2)) SWIG_fail
;
40760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40761 (arg1
)->RemoveGrowableCol(arg2
);
40763 wxPyEndAllowThreads(__tstate
);
40764 if (PyErr_Occurred()) SWIG_fail
;
40766 Py_INCREF(Py_None
); resultobj
= Py_None
;
40773 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40774 PyObject
*resultobj
;
40775 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40777 PyObject
* obj0
= 0 ;
40778 PyObject
* obj1
= 0 ;
40779 char *kwnames
[] = {
40780 (char *) "self",(char *) "direction", NULL
40783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40785 if (SWIG_arg_fail(1)) SWIG_fail
;
40787 arg2
= (int)(SWIG_As_int(obj1
));
40788 if (SWIG_arg_fail(2)) SWIG_fail
;
40791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40792 (arg1
)->SetFlexibleDirection(arg2
);
40794 wxPyEndAllowThreads(__tstate
);
40795 if (PyErr_Occurred()) SWIG_fail
;
40797 Py_INCREF(Py_None
); resultobj
= Py_None
;
40804 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
;
40806 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40808 PyObject
* obj0
= 0 ;
40809 char *kwnames
[] = {
40810 (char *) "self", NULL
40813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40815 if (SWIG_arg_fail(1)) SWIG_fail
;
40817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40818 result
= (int)(arg1
)->GetFlexibleDirection();
40820 wxPyEndAllowThreads(__tstate
);
40821 if (PyErr_Occurred()) SWIG_fail
;
40824 resultobj
= SWIG_From_int((int)(result
));
40832 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40833 PyObject
*resultobj
;
40834 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40835 wxFlexSizerGrowMode arg2
;
40836 PyObject
* obj0
= 0 ;
40837 PyObject
* obj1
= 0 ;
40838 char *kwnames
[] = {
40839 (char *) "self",(char *) "mode", NULL
40842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40844 if (SWIG_arg_fail(1)) SWIG_fail
;
40846 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40847 if (SWIG_arg_fail(2)) SWIG_fail
;
40850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40851 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40853 wxPyEndAllowThreads(__tstate
);
40854 if (PyErr_Occurred()) SWIG_fail
;
40856 Py_INCREF(Py_None
); resultobj
= Py_None
;
40863 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40864 PyObject
*resultobj
;
40865 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40866 wxFlexSizerGrowMode result
;
40867 PyObject
* obj0
= 0 ;
40868 char *kwnames
[] = {
40869 (char *) "self", NULL
40872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40874 if (SWIG_arg_fail(1)) SWIG_fail
;
40876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40877 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40879 wxPyEndAllowThreads(__tstate
);
40880 if (PyErr_Occurred()) SWIG_fail
;
40882 resultobj
= SWIG_From_int((result
));
40889 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40890 PyObject
*resultobj
;
40891 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40892 wxArrayInt
*result
;
40893 PyObject
* obj0
= 0 ;
40894 char *kwnames
[] = {
40895 (char *) "self", NULL
40898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40900 if (SWIG_arg_fail(1)) SWIG_fail
;
40902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40904 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40905 result
= (wxArrayInt
*) &_result_ref
;
40908 wxPyEndAllowThreads(__tstate
);
40909 if (PyErr_Occurred()) SWIG_fail
;
40912 resultobj
= PyList_New(0);
40914 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40915 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40916 PyList_Append(resultobj
, val
);
40926 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40927 PyObject
*resultobj
;
40928 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40929 wxArrayInt
*result
;
40930 PyObject
* obj0
= 0 ;
40931 char *kwnames
[] = {
40932 (char *) "self", NULL
40935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40937 if (SWIG_arg_fail(1)) SWIG_fail
;
40939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40941 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40942 result
= (wxArrayInt
*) &_result_ref
;
40945 wxPyEndAllowThreads(__tstate
);
40946 if (PyErr_Occurred()) SWIG_fail
;
40949 resultobj
= PyList_New(0);
40951 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40952 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40953 PyList_Append(resultobj
, val
);
40963 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40966 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40968 return Py_BuildValue((char *)"");
40970 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40971 PyObject
*resultobj
;
40972 wxStdDialogButtonSizer
*result
;
40973 char *kwnames
[] = {
40977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40980 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40982 wxPyEndAllowThreads(__tstate
);
40983 if (PyErr_Occurred()) SWIG_fail
;
40985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40992 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40993 PyObject
*resultobj
;
40994 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40995 wxButton
*arg2
= (wxButton
*) 0 ;
40996 PyObject
* obj0
= 0 ;
40997 PyObject
* obj1
= 0 ;
40998 char *kwnames
[] = {
40999 (char *) "self",(char *) "button", NULL
41002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41004 if (SWIG_arg_fail(1)) SWIG_fail
;
41005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41006 if (SWIG_arg_fail(2)) SWIG_fail
;
41008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41009 (arg1
)->AddButton(arg2
);
41011 wxPyEndAllowThreads(__tstate
);
41012 if (PyErr_Occurred()) SWIG_fail
;
41014 Py_INCREF(Py_None
); resultobj
= Py_None
;
41021 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41022 PyObject
*resultobj
;
41023 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41024 PyObject
* obj0
= 0 ;
41025 char *kwnames
[] = {
41026 (char *) "self", NULL
41029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41031 if (SWIG_arg_fail(1)) SWIG_fail
;
41033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41036 wxPyEndAllowThreads(__tstate
);
41037 if (PyErr_Occurred()) SWIG_fail
;
41039 Py_INCREF(Py_None
); resultobj
= Py_None
;
41046 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41047 PyObject
*resultobj
;
41048 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41049 wxButton
*arg2
= (wxButton
*) 0 ;
41050 PyObject
* obj0
= 0 ;
41051 PyObject
* obj1
= 0 ;
41052 char *kwnames
[] = {
41053 (char *) "self",(char *) "button", NULL
41056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41058 if (SWIG_arg_fail(1)) SWIG_fail
;
41059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41060 if (SWIG_arg_fail(2)) SWIG_fail
;
41062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41063 (arg1
)->SetAffirmativeButton(arg2
);
41065 wxPyEndAllowThreads(__tstate
);
41066 if (PyErr_Occurred()) SWIG_fail
;
41068 Py_INCREF(Py_None
); resultobj
= Py_None
;
41075 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41076 PyObject
*resultobj
;
41077 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41078 wxButton
*arg2
= (wxButton
*) 0 ;
41079 PyObject
* obj0
= 0 ;
41080 PyObject
* obj1
= 0 ;
41081 char *kwnames
[] = {
41082 (char *) "self",(char *) "button", NULL
41085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41087 if (SWIG_arg_fail(1)) SWIG_fail
;
41088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41089 if (SWIG_arg_fail(2)) SWIG_fail
;
41091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41092 (arg1
)->SetNegativeButton(arg2
);
41094 wxPyEndAllowThreads(__tstate
);
41095 if (PyErr_Occurred()) SWIG_fail
;
41097 Py_INCREF(Py_None
); resultobj
= Py_None
;
41104 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41105 PyObject
*resultobj
;
41106 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41107 wxButton
*arg2
= (wxButton
*) 0 ;
41108 PyObject
* obj0
= 0 ;
41109 PyObject
* obj1
= 0 ;
41110 char *kwnames
[] = {
41111 (char *) "self",(char *) "button", NULL
41114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41116 if (SWIG_arg_fail(1)) SWIG_fail
;
41117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41118 if (SWIG_arg_fail(2)) SWIG_fail
;
41120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41121 (arg1
)->SetCancelButton(arg2
);
41123 wxPyEndAllowThreads(__tstate
);
41124 if (PyErr_Occurred()) SWIG_fail
;
41126 Py_INCREF(Py_None
); resultobj
= Py_None
;
41133 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41134 PyObject
*resultobj
;
41135 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41137 PyObject
* obj0
= 0 ;
41138 char *kwnames
[] = {
41139 (char *) "self", NULL
41142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41144 if (SWIG_arg_fail(1)) SWIG_fail
;
41146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41147 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41149 wxPyEndAllowThreads(__tstate
);
41150 if (PyErr_Occurred()) SWIG_fail
;
41153 resultobj
= wxPyMake_wxObject(result
, 0);
41161 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41162 PyObject
*resultobj
;
41163 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41165 PyObject
* obj0
= 0 ;
41166 char *kwnames
[] = {
41167 (char *) "self", NULL
41170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41172 if (SWIG_arg_fail(1)) SWIG_fail
;
41174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41175 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41177 wxPyEndAllowThreads(__tstate
);
41178 if (PyErr_Occurred()) SWIG_fail
;
41181 resultobj
= wxPyMake_wxObject(result
, 0);
41189 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41190 PyObject
*resultobj
;
41191 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41193 PyObject
* obj0
= 0 ;
41194 char *kwnames
[] = {
41195 (char *) "self", NULL
41198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41200 if (SWIG_arg_fail(1)) SWIG_fail
;
41202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41203 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41205 wxPyEndAllowThreads(__tstate
);
41206 if (PyErr_Occurred()) SWIG_fail
;
41209 resultobj
= wxPyMake_wxObject(result
, 0);
41217 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41218 PyObject
*resultobj
;
41219 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41221 PyObject
* obj0
= 0 ;
41222 char *kwnames
[] = {
41223 (char *) "self", NULL
41226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41228 if (SWIG_arg_fail(1)) SWIG_fail
;
41230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41231 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41233 wxPyEndAllowThreads(__tstate
);
41234 if (PyErr_Occurred()) SWIG_fail
;
41237 resultobj
= wxPyMake_wxObject(result
, 0);
41245 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41246 PyObject
*resultobj
;
41247 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41249 PyObject
* obj0
= 0 ;
41250 char *kwnames
[] = {
41251 (char *) "self", NULL
41254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41256 if (SWIG_arg_fail(1)) SWIG_fail
;
41258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41259 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41261 wxPyEndAllowThreads(__tstate
);
41262 if (PyErr_Occurred()) SWIG_fail
;
41265 resultobj
= wxPyMake_wxObject(result
, 0);
41273 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41276 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41278 return Py_BuildValue((char *)"");
41280 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41281 PyObject
*resultobj
;
41282 int arg1
= (int) 0 ;
41283 int arg2
= (int) 0 ;
41284 wxGBPosition
*result
;
41285 PyObject
* obj0
= 0 ;
41286 PyObject
* obj1
= 0 ;
41287 char *kwnames
[] = {
41288 (char *) "row",(char *) "col", NULL
41291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41294 arg1
= (int)(SWIG_As_int(obj0
));
41295 if (SWIG_arg_fail(1)) SWIG_fail
;
41300 arg2
= (int)(SWIG_As_int(obj1
));
41301 if (SWIG_arg_fail(2)) SWIG_fail
;
41305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41306 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41308 wxPyEndAllowThreads(__tstate
);
41309 if (PyErr_Occurred()) SWIG_fail
;
41311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41318 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41319 PyObject
*resultobj
;
41320 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41322 PyObject
* obj0
= 0 ;
41323 char *kwnames
[] = {
41324 (char *) "self", NULL
41327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41329 if (SWIG_arg_fail(1)) SWIG_fail
;
41331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41332 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41334 wxPyEndAllowThreads(__tstate
);
41335 if (PyErr_Occurred()) SWIG_fail
;
41338 resultobj
= SWIG_From_int((int)(result
));
41346 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41347 PyObject
*resultobj
;
41348 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41350 PyObject
* obj0
= 0 ;
41351 char *kwnames
[] = {
41352 (char *) "self", NULL
41355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41357 if (SWIG_arg_fail(1)) SWIG_fail
;
41359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41360 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41362 wxPyEndAllowThreads(__tstate
);
41363 if (PyErr_Occurred()) SWIG_fail
;
41366 resultobj
= SWIG_From_int((int)(result
));
41374 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41375 PyObject
*resultobj
;
41376 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41378 PyObject
* obj0
= 0 ;
41379 PyObject
* obj1
= 0 ;
41380 char *kwnames
[] = {
41381 (char *) "self",(char *) "row", NULL
41384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41386 if (SWIG_arg_fail(1)) SWIG_fail
;
41388 arg2
= (int)(SWIG_As_int(obj1
));
41389 if (SWIG_arg_fail(2)) SWIG_fail
;
41392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41393 (arg1
)->SetRow(arg2
);
41395 wxPyEndAllowThreads(__tstate
);
41396 if (PyErr_Occurred()) SWIG_fail
;
41398 Py_INCREF(Py_None
); resultobj
= Py_None
;
41405 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41406 PyObject
*resultobj
;
41407 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41409 PyObject
* obj0
= 0 ;
41410 PyObject
* obj1
= 0 ;
41411 char *kwnames
[] = {
41412 (char *) "self",(char *) "col", NULL
41415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41417 if (SWIG_arg_fail(1)) SWIG_fail
;
41419 arg2
= (int)(SWIG_As_int(obj1
));
41420 if (SWIG_arg_fail(2)) SWIG_fail
;
41423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41424 (arg1
)->SetCol(arg2
);
41426 wxPyEndAllowThreads(__tstate
);
41427 if (PyErr_Occurred()) SWIG_fail
;
41429 Py_INCREF(Py_None
); resultobj
= Py_None
;
41436 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41437 PyObject
*resultobj
;
41438 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41439 wxGBPosition
*arg2
= 0 ;
41441 wxGBPosition temp2
;
41442 PyObject
* obj0
= 0 ;
41443 PyObject
* obj1
= 0 ;
41444 char *kwnames
[] = {
41445 (char *) "self",(char *) "other", NULL
41448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41450 if (SWIG_arg_fail(1)) SWIG_fail
;
41453 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41457 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41459 wxPyEndAllowThreads(__tstate
);
41460 if (PyErr_Occurred()) SWIG_fail
;
41463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41471 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41472 PyObject
*resultobj
;
41473 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41474 wxGBPosition
*arg2
= 0 ;
41476 wxGBPosition temp2
;
41477 PyObject
* obj0
= 0 ;
41478 PyObject
* obj1
= 0 ;
41479 char *kwnames
[] = {
41480 (char *) "self",(char *) "other", NULL
41483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41485 if (SWIG_arg_fail(1)) SWIG_fail
;
41488 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41492 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41494 wxPyEndAllowThreads(__tstate
);
41495 if (PyErr_Occurred()) SWIG_fail
;
41498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41506 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41507 PyObject
*resultobj
;
41508 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41509 int arg2
= (int) 0 ;
41510 int arg3
= (int) 0 ;
41511 PyObject
* obj0
= 0 ;
41512 PyObject
* obj1
= 0 ;
41513 PyObject
* obj2
= 0 ;
41514 char *kwnames
[] = {
41515 (char *) "self",(char *) "row",(char *) "col", NULL
41518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41520 if (SWIG_arg_fail(1)) SWIG_fail
;
41523 arg2
= (int)(SWIG_As_int(obj1
));
41524 if (SWIG_arg_fail(2)) SWIG_fail
;
41529 arg3
= (int)(SWIG_As_int(obj2
));
41530 if (SWIG_arg_fail(3)) SWIG_fail
;
41534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41535 wxGBPosition_Set(arg1
,arg2
,arg3
);
41537 wxPyEndAllowThreads(__tstate
);
41538 if (PyErr_Occurred()) SWIG_fail
;
41540 Py_INCREF(Py_None
); resultobj
= Py_None
;
41547 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41548 PyObject
*resultobj
;
41549 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41551 PyObject
* obj0
= 0 ;
41552 char *kwnames
[] = {
41553 (char *) "self", NULL
41556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41558 if (SWIG_arg_fail(1)) SWIG_fail
;
41560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41561 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41563 wxPyEndAllowThreads(__tstate
);
41564 if (PyErr_Occurred()) SWIG_fail
;
41566 resultobj
= result
;
41573 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41576 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41578 return Py_BuildValue((char *)"");
41580 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41581 PyObject
*resultobj
;
41582 int arg1
= (int) 1 ;
41583 int arg2
= (int) 1 ;
41585 PyObject
* obj0
= 0 ;
41586 PyObject
* obj1
= 0 ;
41587 char *kwnames
[] = {
41588 (char *) "rowspan",(char *) "colspan", NULL
41591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41594 arg1
= (int)(SWIG_As_int(obj0
));
41595 if (SWIG_arg_fail(1)) SWIG_fail
;
41600 arg2
= (int)(SWIG_As_int(obj1
));
41601 if (SWIG_arg_fail(2)) SWIG_fail
;
41605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41606 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41608 wxPyEndAllowThreads(__tstate
);
41609 if (PyErr_Occurred()) SWIG_fail
;
41611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41618 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41619 PyObject
*resultobj
;
41620 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41622 PyObject
* obj0
= 0 ;
41623 char *kwnames
[] = {
41624 (char *) "self", NULL
41627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41629 if (SWIG_arg_fail(1)) SWIG_fail
;
41631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41632 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41634 wxPyEndAllowThreads(__tstate
);
41635 if (PyErr_Occurred()) SWIG_fail
;
41638 resultobj
= SWIG_From_int((int)(result
));
41646 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41647 PyObject
*resultobj
;
41648 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41650 PyObject
* obj0
= 0 ;
41651 char *kwnames
[] = {
41652 (char *) "self", NULL
41655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41657 if (SWIG_arg_fail(1)) SWIG_fail
;
41659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41660 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41662 wxPyEndAllowThreads(__tstate
);
41663 if (PyErr_Occurred()) SWIG_fail
;
41666 resultobj
= SWIG_From_int((int)(result
));
41674 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41675 PyObject
*resultobj
;
41676 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41678 PyObject
* obj0
= 0 ;
41679 PyObject
* obj1
= 0 ;
41680 char *kwnames
[] = {
41681 (char *) "self",(char *) "rowspan", NULL
41684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41686 if (SWIG_arg_fail(1)) SWIG_fail
;
41688 arg2
= (int)(SWIG_As_int(obj1
));
41689 if (SWIG_arg_fail(2)) SWIG_fail
;
41692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41693 (arg1
)->SetRowspan(arg2
);
41695 wxPyEndAllowThreads(__tstate
);
41696 if (PyErr_Occurred()) SWIG_fail
;
41698 Py_INCREF(Py_None
); resultobj
= Py_None
;
41705 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41706 PyObject
*resultobj
;
41707 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41709 PyObject
* obj0
= 0 ;
41710 PyObject
* obj1
= 0 ;
41711 char *kwnames
[] = {
41712 (char *) "self",(char *) "colspan", NULL
41715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41717 if (SWIG_arg_fail(1)) SWIG_fail
;
41719 arg2
= (int)(SWIG_As_int(obj1
));
41720 if (SWIG_arg_fail(2)) SWIG_fail
;
41723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41724 (arg1
)->SetColspan(arg2
);
41726 wxPyEndAllowThreads(__tstate
);
41727 if (PyErr_Occurred()) SWIG_fail
;
41729 Py_INCREF(Py_None
); resultobj
= Py_None
;
41736 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41737 PyObject
*resultobj
;
41738 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41739 wxGBSpan
*arg2
= 0 ;
41742 PyObject
* obj0
= 0 ;
41743 PyObject
* obj1
= 0 ;
41744 char *kwnames
[] = {
41745 (char *) "self",(char *) "other", NULL
41748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41750 if (SWIG_arg_fail(1)) SWIG_fail
;
41753 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41757 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41759 wxPyEndAllowThreads(__tstate
);
41760 if (PyErr_Occurred()) SWIG_fail
;
41763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41771 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41772 PyObject
*resultobj
;
41773 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41774 wxGBSpan
*arg2
= 0 ;
41777 PyObject
* obj0
= 0 ;
41778 PyObject
* obj1
= 0 ;
41779 char *kwnames
[] = {
41780 (char *) "self",(char *) "other", NULL
41783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41785 if (SWIG_arg_fail(1)) SWIG_fail
;
41788 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41792 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41794 wxPyEndAllowThreads(__tstate
);
41795 if (PyErr_Occurred()) SWIG_fail
;
41798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41806 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41807 PyObject
*resultobj
;
41808 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41809 int arg2
= (int) 1 ;
41810 int arg3
= (int) 1 ;
41811 PyObject
* obj0
= 0 ;
41812 PyObject
* obj1
= 0 ;
41813 PyObject
* obj2
= 0 ;
41814 char *kwnames
[] = {
41815 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41820 if (SWIG_arg_fail(1)) SWIG_fail
;
41823 arg2
= (int)(SWIG_As_int(obj1
));
41824 if (SWIG_arg_fail(2)) SWIG_fail
;
41829 arg3
= (int)(SWIG_As_int(obj2
));
41830 if (SWIG_arg_fail(3)) SWIG_fail
;
41834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41835 wxGBSpan_Set(arg1
,arg2
,arg3
);
41837 wxPyEndAllowThreads(__tstate
);
41838 if (PyErr_Occurred()) SWIG_fail
;
41840 Py_INCREF(Py_None
); resultobj
= Py_None
;
41847 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41848 PyObject
*resultobj
;
41849 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41851 PyObject
* obj0
= 0 ;
41852 char *kwnames
[] = {
41853 (char *) "self", NULL
41856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41858 if (SWIG_arg_fail(1)) SWIG_fail
;
41860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41861 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41863 wxPyEndAllowThreads(__tstate
);
41864 if (PyErr_Occurred()) SWIG_fail
;
41866 resultobj
= result
;
41873 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41876 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41878 return Py_BuildValue((char *)"");
41880 static int _wrap_DefaultSpan_set(PyObject
*) {
41881 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41886 static PyObject
*_wrap_DefaultSpan_get(void) {
41889 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41894 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41895 PyObject
*resultobj
;
41896 wxGBSizerItem
*result
;
41897 char *kwnames
[] = {
41901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41904 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41906 wxPyEndAllowThreads(__tstate
);
41907 if (PyErr_Occurred()) SWIG_fail
;
41909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41916 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41917 PyObject
*resultobj
;
41918 wxWindow
*arg1
= (wxWindow
*) 0 ;
41919 wxGBPosition
*arg2
= 0 ;
41920 wxGBSpan
*arg3
= 0 ;
41923 PyObject
*arg6
= (PyObject
*) NULL
;
41924 wxGBSizerItem
*result
;
41925 wxGBPosition temp2
;
41927 PyObject
* obj0
= 0 ;
41928 PyObject
* obj1
= 0 ;
41929 PyObject
* obj2
= 0 ;
41930 PyObject
* obj3
= 0 ;
41931 PyObject
* obj4
= 0 ;
41932 PyObject
* obj5
= 0 ;
41933 char *kwnames
[] = {
41934 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41939 if (SWIG_arg_fail(1)) SWIG_fail
;
41942 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41946 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41949 arg4
= (int)(SWIG_As_int(obj3
));
41950 if (SWIG_arg_fail(4)) SWIG_fail
;
41953 arg5
= (int)(SWIG_As_int(obj4
));
41954 if (SWIG_arg_fail(5)) SWIG_fail
;
41960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41961 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41963 wxPyEndAllowThreads(__tstate
);
41964 if (PyErr_Occurred()) SWIG_fail
;
41966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41973 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41974 PyObject
*resultobj
;
41975 wxSizer
*arg1
= (wxSizer
*) 0 ;
41976 wxGBPosition
*arg2
= 0 ;
41977 wxGBSpan
*arg3
= 0 ;
41980 PyObject
*arg6
= (PyObject
*) NULL
;
41981 wxGBSizerItem
*result
;
41982 wxGBPosition temp2
;
41984 PyObject
* obj0
= 0 ;
41985 PyObject
* obj1
= 0 ;
41986 PyObject
* obj2
= 0 ;
41987 PyObject
* obj3
= 0 ;
41988 PyObject
* obj4
= 0 ;
41989 PyObject
* obj5
= 0 ;
41990 char *kwnames
[] = {
41991 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41996 if (SWIG_arg_fail(1)) SWIG_fail
;
41999 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42003 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42006 arg4
= (int)(SWIG_As_int(obj3
));
42007 if (SWIG_arg_fail(4)) SWIG_fail
;
42010 arg5
= (int)(SWIG_As_int(obj4
));
42011 if (SWIG_arg_fail(5)) SWIG_fail
;
42017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42018 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42020 wxPyEndAllowThreads(__tstate
);
42021 if (PyErr_Occurred()) SWIG_fail
;
42023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42030 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42031 PyObject
*resultobj
;
42034 wxGBPosition
*arg3
= 0 ;
42035 wxGBSpan
*arg4
= 0 ;
42038 PyObject
*arg7
= (PyObject
*) NULL
;
42039 wxGBSizerItem
*result
;
42040 wxGBPosition temp3
;
42042 PyObject
* obj0
= 0 ;
42043 PyObject
* obj1
= 0 ;
42044 PyObject
* obj2
= 0 ;
42045 PyObject
* obj3
= 0 ;
42046 PyObject
* obj4
= 0 ;
42047 PyObject
* obj5
= 0 ;
42048 PyObject
* obj6
= 0 ;
42049 char *kwnames
[] = {
42050 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42055 arg1
= (int)(SWIG_As_int(obj0
));
42056 if (SWIG_arg_fail(1)) SWIG_fail
;
42059 arg2
= (int)(SWIG_As_int(obj1
));
42060 if (SWIG_arg_fail(2)) SWIG_fail
;
42064 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42068 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42071 arg5
= (int)(SWIG_As_int(obj4
));
42072 if (SWIG_arg_fail(5)) SWIG_fail
;
42075 arg6
= (int)(SWIG_As_int(obj5
));
42076 if (SWIG_arg_fail(6)) SWIG_fail
;
42082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42083 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42085 wxPyEndAllowThreads(__tstate
);
42086 if (PyErr_Occurred()) SWIG_fail
;
42088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42095 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42096 PyObject
*resultobj
;
42097 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42098 wxGBPosition result
;
42099 PyObject
* obj0
= 0 ;
42100 char *kwnames
[] = {
42101 (char *) "self", NULL
42104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42106 if (SWIG_arg_fail(1)) SWIG_fail
;
42108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42109 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42111 wxPyEndAllowThreads(__tstate
);
42112 if (PyErr_Occurred()) SWIG_fail
;
42115 wxGBPosition
* resultptr
;
42116 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42125 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42126 PyObject
*resultobj
;
42127 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42129 PyObject
* obj0
= 0 ;
42130 char *kwnames
[] = {
42131 (char *) "self", NULL
42134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42136 if (SWIG_arg_fail(1)) SWIG_fail
;
42138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42139 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42141 wxPyEndAllowThreads(__tstate
);
42142 if (PyErr_Occurred()) SWIG_fail
;
42145 wxGBSpan
* resultptr
;
42146 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42155 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42156 PyObject
*resultobj
;
42157 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42158 wxGBPosition
*arg2
= 0 ;
42160 wxGBPosition temp2
;
42161 PyObject
* obj0
= 0 ;
42162 PyObject
* obj1
= 0 ;
42163 char *kwnames
[] = {
42164 (char *) "self",(char *) "pos", NULL
42167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42169 if (SWIG_arg_fail(1)) SWIG_fail
;
42172 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42176 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42178 wxPyEndAllowThreads(__tstate
);
42179 if (PyErr_Occurred()) SWIG_fail
;
42182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42190 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42191 PyObject
*resultobj
;
42192 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42193 wxGBSpan
*arg2
= 0 ;
42196 PyObject
* obj0
= 0 ;
42197 PyObject
* obj1
= 0 ;
42198 char *kwnames
[] = {
42199 (char *) "self",(char *) "span", NULL
42202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42204 if (SWIG_arg_fail(1)) SWIG_fail
;
42207 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42211 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42213 wxPyEndAllowThreads(__tstate
);
42214 if (PyErr_Occurred()) SWIG_fail
;
42217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42225 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42226 PyObject
*resultobj
;
42227 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42228 wxGBSizerItem
*arg2
= 0 ;
42230 PyObject
* obj0
= 0 ;
42231 PyObject
* obj1
= 0 ;
42232 char *kwnames
[] = {
42233 (char *) "self",(char *) "other", NULL
42236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42238 if (SWIG_arg_fail(1)) SWIG_fail
;
42240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42241 if (SWIG_arg_fail(2)) SWIG_fail
;
42242 if (arg2
== NULL
) {
42243 SWIG_null_ref("wxGBSizerItem");
42245 if (SWIG_arg_fail(2)) SWIG_fail
;
42248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42249 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42251 wxPyEndAllowThreads(__tstate
);
42252 if (PyErr_Occurred()) SWIG_fail
;
42255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42263 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42264 PyObject
*resultobj
;
42265 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42266 wxGBPosition
*arg2
= 0 ;
42267 wxGBSpan
*arg3
= 0 ;
42269 wxGBPosition temp2
;
42271 PyObject
* obj0
= 0 ;
42272 PyObject
* obj1
= 0 ;
42273 PyObject
* obj2
= 0 ;
42274 char *kwnames
[] = {
42275 (char *) "self",(char *) "pos",(char *) "span", NULL
42278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42280 if (SWIG_arg_fail(1)) SWIG_fail
;
42283 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42287 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42291 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42293 wxPyEndAllowThreads(__tstate
);
42294 if (PyErr_Occurred()) SWIG_fail
;
42297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42305 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42306 PyObject
*resultobj
;
42307 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42308 wxGBPosition result
;
42309 PyObject
* obj0
= 0 ;
42310 char *kwnames
[] = {
42311 (char *) "self", NULL
42314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42316 if (SWIG_arg_fail(1)) SWIG_fail
;
42318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42319 result
= wxGBSizerItem_GetEndPos(arg1
);
42321 wxPyEndAllowThreads(__tstate
);
42322 if (PyErr_Occurred()) SWIG_fail
;
42325 wxGBPosition
* resultptr
;
42326 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42335 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42336 PyObject
*resultobj
;
42337 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42338 wxGridBagSizer
*result
;
42339 PyObject
* obj0
= 0 ;
42340 char *kwnames
[] = {
42341 (char *) "self", NULL
42344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42346 if (SWIG_arg_fail(1)) SWIG_fail
;
42348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42349 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42351 wxPyEndAllowThreads(__tstate
);
42352 if (PyErr_Occurred()) SWIG_fail
;
42354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42361 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42362 PyObject
*resultobj
;
42363 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42364 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42365 PyObject
* obj0
= 0 ;
42366 PyObject
* obj1
= 0 ;
42367 char *kwnames
[] = {
42368 (char *) "self",(char *) "sizer", NULL
42371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42373 if (SWIG_arg_fail(1)) SWIG_fail
;
42374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42375 if (SWIG_arg_fail(2)) SWIG_fail
;
42377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42378 (arg1
)->SetGBSizer(arg2
);
42380 wxPyEndAllowThreads(__tstate
);
42381 if (PyErr_Occurred()) SWIG_fail
;
42383 Py_INCREF(Py_None
); resultobj
= Py_None
;
42390 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42393 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42395 return Py_BuildValue((char *)"");
42397 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42398 PyObject
*resultobj
;
42399 int arg1
= (int) 0 ;
42400 int arg2
= (int) 0 ;
42401 wxGridBagSizer
*result
;
42402 PyObject
* obj0
= 0 ;
42403 PyObject
* obj1
= 0 ;
42404 char *kwnames
[] = {
42405 (char *) "vgap",(char *) "hgap", NULL
42408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42411 arg1
= (int)(SWIG_As_int(obj0
));
42412 if (SWIG_arg_fail(1)) SWIG_fail
;
42417 arg2
= (int)(SWIG_As_int(obj1
));
42418 if (SWIG_arg_fail(2)) SWIG_fail
;
42422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42423 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42425 wxPyEndAllowThreads(__tstate
);
42426 if (PyErr_Occurred()) SWIG_fail
;
42428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42435 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42436 PyObject
*resultobj
;
42437 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42438 PyObject
*arg2
= (PyObject
*) 0 ;
42439 wxGBPosition
*arg3
= 0 ;
42440 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42441 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42442 int arg5
= (int) 0 ;
42443 int arg6
= (int) 0 ;
42444 PyObject
*arg7
= (PyObject
*) NULL
;
42445 wxGBSizerItem
*result
;
42446 wxGBPosition temp3
;
42448 PyObject
* obj0
= 0 ;
42449 PyObject
* obj1
= 0 ;
42450 PyObject
* obj2
= 0 ;
42451 PyObject
* obj3
= 0 ;
42452 PyObject
* obj4
= 0 ;
42453 PyObject
* obj5
= 0 ;
42454 PyObject
* obj6
= 0 ;
42455 char *kwnames
[] = {
42456 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42461 if (SWIG_arg_fail(1)) SWIG_fail
;
42465 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42470 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42475 arg5
= (int)(SWIG_As_int(obj4
));
42476 if (SWIG_arg_fail(5)) SWIG_fail
;
42481 arg6
= (int)(SWIG_As_int(obj5
));
42482 if (SWIG_arg_fail(6)) SWIG_fail
;
42489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42490 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42492 wxPyEndAllowThreads(__tstate
);
42493 if (PyErr_Occurred()) SWIG_fail
;
42495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42502 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42503 PyObject
*resultobj
;
42504 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42505 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42506 wxGBSizerItem
*result
;
42507 PyObject
* obj0
= 0 ;
42508 PyObject
* obj1
= 0 ;
42509 char *kwnames
[] = {
42510 (char *) "self",(char *) "item", NULL
42513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42515 if (SWIG_arg_fail(1)) SWIG_fail
;
42516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42517 if (SWIG_arg_fail(2)) SWIG_fail
;
42519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42520 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42522 wxPyEndAllowThreads(__tstate
);
42523 if (PyErr_Occurred()) SWIG_fail
;
42525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42532 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42533 PyObject
*resultobj
;
42534 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42538 PyObject
* obj0
= 0 ;
42539 PyObject
* obj1
= 0 ;
42540 PyObject
* obj2
= 0 ;
42541 char *kwnames
[] = {
42542 (char *) "self",(char *) "row",(char *) "col", NULL
42545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42547 if (SWIG_arg_fail(1)) SWIG_fail
;
42549 arg2
= (int)(SWIG_As_int(obj1
));
42550 if (SWIG_arg_fail(2)) SWIG_fail
;
42553 arg3
= (int)(SWIG_As_int(obj2
));
42554 if (SWIG_arg_fail(3)) SWIG_fail
;
42557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42558 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42560 wxPyEndAllowThreads(__tstate
);
42561 if (PyErr_Occurred()) SWIG_fail
;
42564 wxSize
* resultptr
;
42565 resultptr
= new wxSize((wxSize
&)(result
));
42566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42574 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42575 PyObject
*resultobj
;
42576 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42578 PyObject
* obj0
= 0 ;
42579 char *kwnames
[] = {
42580 (char *) "self", NULL
42583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42585 if (SWIG_arg_fail(1)) SWIG_fail
;
42587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42588 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42590 wxPyEndAllowThreads(__tstate
);
42591 if (PyErr_Occurred()) SWIG_fail
;
42594 wxSize
* resultptr
;
42595 resultptr
= new wxSize((wxSize
&)(result
));
42596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42604 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42605 PyObject
*resultobj
;
42606 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42609 PyObject
* obj0
= 0 ;
42610 PyObject
* obj1
= 0 ;
42611 char *kwnames
[] = {
42612 (char *) "self",(char *) "sz", NULL
42615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42617 if (SWIG_arg_fail(1)) SWIG_fail
;
42620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42624 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42626 wxPyEndAllowThreads(__tstate
);
42627 if (PyErr_Occurred()) SWIG_fail
;
42629 Py_INCREF(Py_None
); resultobj
= Py_None
;
42636 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42637 PyObject
*resultobj
;
42638 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42639 wxWindow
*arg2
= (wxWindow
*) 0 ;
42640 wxGBPosition result
;
42641 PyObject
* obj0
= 0 ;
42642 PyObject
* obj1
= 0 ;
42644 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42646 if (SWIG_arg_fail(1)) SWIG_fail
;
42647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42648 if (SWIG_arg_fail(2)) SWIG_fail
;
42650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42651 result
= (arg1
)->GetItemPosition(arg2
);
42653 wxPyEndAllowThreads(__tstate
);
42654 if (PyErr_Occurred()) SWIG_fail
;
42657 wxGBPosition
* resultptr
;
42658 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42667 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42668 PyObject
*resultobj
;
42669 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42670 wxSizer
*arg2
= (wxSizer
*) 0 ;
42671 wxGBPosition result
;
42672 PyObject
* obj0
= 0 ;
42673 PyObject
* obj1
= 0 ;
42675 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42677 if (SWIG_arg_fail(1)) SWIG_fail
;
42678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42679 if (SWIG_arg_fail(2)) SWIG_fail
;
42681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42682 result
= (arg1
)->GetItemPosition(arg2
);
42684 wxPyEndAllowThreads(__tstate
);
42685 if (PyErr_Occurred()) SWIG_fail
;
42688 wxGBPosition
* resultptr
;
42689 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42698 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42699 PyObject
*resultobj
;
42700 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42702 wxGBPosition result
;
42703 PyObject
* obj0
= 0 ;
42704 PyObject
* obj1
= 0 ;
42706 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42708 if (SWIG_arg_fail(1)) SWIG_fail
;
42710 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42711 if (SWIG_arg_fail(2)) SWIG_fail
;
42714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42715 result
= (arg1
)->GetItemPosition(arg2
);
42717 wxPyEndAllowThreads(__tstate
);
42718 if (PyErr_Occurred()) SWIG_fail
;
42721 wxGBPosition
* resultptr
;
42722 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42731 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42736 argc
= PyObject_Length(args
);
42737 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42738 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42744 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42754 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42762 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42770 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42780 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42788 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42796 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42804 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42806 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42811 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42816 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42817 PyObject
*resultobj
;
42818 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42819 wxWindow
*arg2
= (wxWindow
*) 0 ;
42820 wxGBPosition
*arg3
= 0 ;
42822 wxGBPosition temp3
;
42823 PyObject
* obj0
= 0 ;
42824 PyObject
* obj1
= 0 ;
42825 PyObject
* obj2
= 0 ;
42827 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42829 if (SWIG_arg_fail(1)) SWIG_fail
;
42830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42831 if (SWIG_arg_fail(2)) SWIG_fail
;
42834 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42838 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42840 wxPyEndAllowThreads(__tstate
);
42841 if (PyErr_Occurred()) SWIG_fail
;
42844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42852 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42853 PyObject
*resultobj
;
42854 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42855 wxSizer
*arg2
= (wxSizer
*) 0 ;
42856 wxGBPosition
*arg3
= 0 ;
42858 wxGBPosition temp3
;
42859 PyObject
* obj0
= 0 ;
42860 PyObject
* obj1
= 0 ;
42861 PyObject
* obj2
= 0 ;
42863 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42865 if (SWIG_arg_fail(1)) SWIG_fail
;
42866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42867 if (SWIG_arg_fail(2)) SWIG_fail
;
42870 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42874 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42876 wxPyEndAllowThreads(__tstate
);
42877 if (PyErr_Occurred()) SWIG_fail
;
42880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42888 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42889 PyObject
*resultobj
;
42890 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42892 wxGBPosition
*arg3
= 0 ;
42894 wxGBPosition temp3
;
42895 PyObject
* obj0
= 0 ;
42896 PyObject
* obj1
= 0 ;
42897 PyObject
* obj2
= 0 ;
42899 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42901 if (SWIG_arg_fail(1)) SWIG_fail
;
42903 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42904 if (SWIG_arg_fail(2)) SWIG_fail
;
42908 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42912 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42914 wxPyEndAllowThreads(__tstate
);
42915 if (PyErr_Occurred()) SWIG_fail
;
42918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42926 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42931 argc
= PyObject_Length(args
);
42932 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42933 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42939 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42949 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42958 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42961 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42989 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42992 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43009 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43012 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43015 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43021 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43026 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43027 PyObject
*resultobj
;
43028 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43029 wxWindow
*arg2
= (wxWindow
*) 0 ;
43031 PyObject
* obj0
= 0 ;
43032 PyObject
* obj1
= 0 ;
43034 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43036 if (SWIG_arg_fail(1)) SWIG_fail
;
43037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43038 if (SWIG_arg_fail(2)) SWIG_fail
;
43040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43041 result
= (arg1
)->GetItemSpan(arg2
);
43043 wxPyEndAllowThreads(__tstate
);
43044 if (PyErr_Occurred()) SWIG_fail
;
43047 wxGBSpan
* resultptr
;
43048 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43057 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43058 PyObject
*resultobj
;
43059 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43060 wxSizer
*arg2
= (wxSizer
*) 0 ;
43062 PyObject
* obj0
= 0 ;
43063 PyObject
* obj1
= 0 ;
43065 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43067 if (SWIG_arg_fail(1)) SWIG_fail
;
43068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43069 if (SWIG_arg_fail(2)) SWIG_fail
;
43071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43072 result
= (arg1
)->GetItemSpan(arg2
);
43074 wxPyEndAllowThreads(__tstate
);
43075 if (PyErr_Occurred()) SWIG_fail
;
43078 wxGBSpan
* resultptr
;
43079 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43088 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43089 PyObject
*resultobj
;
43090 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43093 PyObject
* obj0
= 0 ;
43094 PyObject
* obj1
= 0 ;
43096 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43098 if (SWIG_arg_fail(1)) SWIG_fail
;
43100 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43101 if (SWIG_arg_fail(2)) SWIG_fail
;
43104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43105 result
= (arg1
)->GetItemSpan(arg2
);
43107 wxPyEndAllowThreads(__tstate
);
43108 if (PyErr_Occurred()) SWIG_fail
;
43111 wxGBSpan
* resultptr
;
43112 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43121 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43126 argc
= PyObject_Length(args
);
43127 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43128 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43134 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43144 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43152 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43160 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43170 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43178 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43186 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43194 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43196 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43201 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43206 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43207 PyObject
*resultobj
;
43208 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43209 wxWindow
*arg2
= (wxWindow
*) 0 ;
43210 wxGBSpan
*arg3
= 0 ;
43213 PyObject
* obj0
= 0 ;
43214 PyObject
* obj1
= 0 ;
43215 PyObject
* obj2
= 0 ;
43217 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43219 if (SWIG_arg_fail(1)) SWIG_fail
;
43220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43221 if (SWIG_arg_fail(2)) SWIG_fail
;
43224 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43228 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43230 wxPyEndAllowThreads(__tstate
);
43231 if (PyErr_Occurred()) SWIG_fail
;
43234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43242 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43243 PyObject
*resultobj
;
43244 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43245 wxSizer
*arg2
= (wxSizer
*) 0 ;
43246 wxGBSpan
*arg3
= 0 ;
43249 PyObject
* obj0
= 0 ;
43250 PyObject
* obj1
= 0 ;
43251 PyObject
* obj2
= 0 ;
43253 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43255 if (SWIG_arg_fail(1)) SWIG_fail
;
43256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43257 if (SWIG_arg_fail(2)) SWIG_fail
;
43260 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43264 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43266 wxPyEndAllowThreads(__tstate
);
43267 if (PyErr_Occurred()) SWIG_fail
;
43270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43278 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43279 PyObject
*resultobj
;
43280 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43282 wxGBSpan
*arg3
= 0 ;
43285 PyObject
* obj0
= 0 ;
43286 PyObject
* obj1
= 0 ;
43287 PyObject
* obj2
= 0 ;
43289 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43291 if (SWIG_arg_fail(1)) SWIG_fail
;
43293 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43294 if (SWIG_arg_fail(2)) SWIG_fail
;
43298 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43302 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43304 wxPyEndAllowThreads(__tstate
);
43305 if (PyErr_Occurred()) SWIG_fail
;
43308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43316 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43321 argc
= PyObject_Length(args
);
43322 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43323 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43329 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43339 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43348 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43351 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43360 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43370 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43379 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43382 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43391 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43399 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43402 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43405 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43411 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43416 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43417 PyObject
*resultobj
;
43418 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43419 wxWindow
*arg2
= (wxWindow
*) 0 ;
43420 wxGBSizerItem
*result
;
43421 PyObject
* obj0
= 0 ;
43422 PyObject
* obj1
= 0 ;
43424 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43426 if (SWIG_arg_fail(1)) SWIG_fail
;
43427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43428 if (SWIG_arg_fail(2)) SWIG_fail
;
43430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43431 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43433 wxPyEndAllowThreads(__tstate
);
43434 if (PyErr_Occurred()) SWIG_fail
;
43436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43443 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43444 PyObject
*resultobj
;
43445 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43446 wxSizer
*arg2
= (wxSizer
*) 0 ;
43447 wxGBSizerItem
*result
;
43448 PyObject
* obj0
= 0 ;
43449 PyObject
* obj1
= 0 ;
43451 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43453 if (SWIG_arg_fail(1)) SWIG_fail
;
43454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43455 if (SWIG_arg_fail(2)) SWIG_fail
;
43457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43458 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43460 wxPyEndAllowThreads(__tstate
);
43461 if (PyErr_Occurred()) SWIG_fail
;
43463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43470 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43475 argc
= PyObject_Length(args
);
43476 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43477 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43483 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43493 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43501 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43519 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43527 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43532 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43537 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43538 PyObject
*resultobj
;
43539 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43540 wxGBPosition
*arg2
= 0 ;
43541 wxGBSizerItem
*result
;
43542 wxGBPosition temp2
;
43543 PyObject
* obj0
= 0 ;
43544 PyObject
* obj1
= 0 ;
43545 char *kwnames
[] = {
43546 (char *) "self",(char *) "pos", NULL
43549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43551 if (SWIG_arg_fail(1)) SWIG_fail
;
43554 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43558 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43560 wxPyEndAllowThreads(__tstate
);
43561 if (PyErr_Occurred()) SWIG_fail
;
43563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43570 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43571 PyObject
*resultobj
;
43572 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43573 wxPoint
*arg2
= 0 ;
43574 wxGBSizerItem
*result
;
43576 PyObject
* obj0
= 0 ;
43577 PyObject
* obj1
= 0 ;
43578 char *kwnames
[] = {
43579 (char *) "self",(char *) "pt", NULL
43582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43584 if (SWIG_arg_fail(1)) SWIG_fail
;
43587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43591 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43593 wxPyEndAllowThreads(__tstate
);
43594 if (PyErr_Occurred()) SWIG_fail
;
43596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43603 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43604 PyObject
*resultobj
;
43605 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43606 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43607 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43609 PyObject
* obj0
= 0 ;
43610 PyObject
* obj1
= 0 ;
43611 PyObject
* obj2
= 0 ;
43612 char *kwnames
[] = {
43613 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43618 if (SWIG_arg_fail(1)) SWIG_fail
;
43619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43620 if (SWIG_arg_fail(2)) SWIG_fail
;
43622 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43623 if (SWIG_arg_fail(3)) SWIG_fail
;
43626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43627 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43629 wxPyEndAllowThreads(__tstate
);
43630 if (PyErr_Occurred()) SWIG_fail
;
43633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43641 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43642 PyObject
*resultobj
;
43643 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43644 wxGBPosition
*arg2
= 0 ;
43645 wxGBSpan
*arg3
= 0 ;
43646 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43648 wxGBPosition temp2
;
43650 PyObject
* obj0
= 0 ;
43651 PyObject
* obj1
= 0 ;
43652 PyObject
* obj2
= 0 ;
43653 PyObject
* obj3
= 0 ;
43654 char *kwnames
[] = {
43655 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43660 if (SWIG_arg_fail(1)) SWIG_fail
;
43663 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43667 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43670 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43671 if (SWIG_arg_fail(4)) SWIG_fail
;
43674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43675 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43677 wxPyEndAllowThreads(__tstate
);
43678 if (PyErr_Occurred()) SWIG_fail
;
43681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43689 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43692 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43694 return Py_BuildValue((char *)"");
43696 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43697 PyObject
*resultobj
;
43698 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43699 wxRelationship arg2
;
43700 wxWindow
*arg3
= (wxWindow
*) 0 ;
43702 int arg5
= (int) 0 ;
43703 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43704 PyObject
* obj0
= 0 ;
43705 PyObject
* obj1
= 0 ;
43706 PyObject
* obj2
= 0 ;
43707 PyObject
* obj3
= 0 ;
43708 PyObject
* obj4
= 0 ;
43709 PyObject
* obj5
= 0 ;
43710 char *kwnames
[] = {
43711 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43716 if (SWIG_arg_fail(1)) SWIG_fail
;
43718 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43719 if (SWIG_arg_fail(2)) SWIG_fail
;
43721 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43722 if (SWIG_arg_fail(3)) SWIG_fail
;
43724 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43725 if (SWIG_arg_fail(4)) SWIG_fail
;
43729 arg5
= (int)(SWIG_As_int(obj4
));
43730 if (SWIG_arg_fail(5)) SWIG_fail
;
43735 arg6
= (int)(SWIG_As_int(obj5
));
43736 if (SWIG_arg_fail(6)) SWIG_fail
;
43740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43741 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43743 wxPyEndAllowThreads(__tstate
);
43744 if (PyErr_Occurred()) SWIG_fail
;
43746 Py_INCREF(Py_None
); resultobj
= Py_None
;
43753 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43754 PyObject
*resultobj
;
43755 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43756 wxWindow
*arg2
= (wxWindow
*) 0 ;
43757 int arg3
= (int) 0 ;
43758 PyObject
* obj0
= 0 ;
43759 PyObject
* obj1
= 0 ;
43760 PyObject
* obj2
= 0 ;
43761 char *kwnames
[] = {
43762 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43767 if (SWIG_arg_fail(1)) SWIG_fail
;
43768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43769 if (SWIG_arg_fail(2)) SWIG_fail
;
43772 arg3
= (int)(SWIG_As_int(obj2
));
43773 if (SWIG_arg_fail(3)) SWIG_fail
;
43777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43778 (arg1
)->LeftOf(arg2
,arg3
);
43780 wxPyEndAllowThreads(__tstate
);
43781 if (PyErr_Occurred()) SWIG_fail
;
43783 Py_INCREF(Py_None
); resultobj
= Py_None
;
43790 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43791 PyObject
*resultobj
;
43792 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43793 wxWindow
*arg2
= (wxWindow
*) 0 ;
43794 int arg3
= (int) 0 ;
43795 PyObject
* obj0
= 0 ;
43796 PyObject
* obj1
= 0 ;
43797 PyObject
* obj2
= 0 ;
43798 char *kwnames
[] = {
43799 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43804 if (SWIG_arg_fail(1)) SWIG_fail
;
43805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43806 if (SWIG_arg_fail(2)) SWIG_fail
;
43809 arg3
= (int)(SWIG_As_int(obj2
));
43810 if (SWIG_arg_fail(3)) SWIG_fail
;
43814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43815 (arg1
)->RightOf(arg2
,arg3
);
43817 wxPyEndAllowThreads(__tstate
);
43818 if (PyErr_Occurred()) SWIG_fail
;
43820 Py_INCREF(Py_None
); resultobj
= Py_None
;
43827 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43828 PyObject
*resultobj
;
43829 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43830 wxWindow
*arg2
= (wxWindow
*) 0 ;
43831 int arg3
= (int) 0 ;
43832 PyObject
* obj0
= 0 ;
43833 PyObject
* obj1
= 0 ;
43834 PyObject
* obj2
= 0 ;
43835 char *kwnames
[] = {
43836 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43841 if (SWIG_arg_fail(1)) SWIG_fail
;
43842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43843 if (SWIG_arg_fail(2)) SWIG_fail
;
43846 arg3
= (int)(SWIG_As_int(obj2
));
43847 if (SWIG_arg_fail(3)) SWIG_fail
;
43851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43852 (arg1
)->Above(arg2
,arg3
);
43854 wxPyEndAllowThreads(__tstate
);
43855 if (PyErr_Occurred()) SWIG_fail
;
43857 Py_INCREF(Py_None
); resultobj
= Py_None
;
43864 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43865 PyObject
*resultobj
;
43866 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43867 wxWindow
*arg2
= (wxWindow
*) 0 ;
43868 int arg3
= (int) 0 ;
43869 PyObject
* obj0
= 0 ;
43870 PyObject
* obj1
= 0 ;
43871 PyObject
* obj2
= 0 ;
43872 char *kwnames
[] = {
43873 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43878 if (SWIG_arg_fail(1)) SWIG_fail
;
43879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43880 if (SWIG_arg_fail(2)) SWIG_fail
;
43883 arg3
= (int)(SWIG_As_int(obj2
));
43884 if (SWIG_arg_fail(3)) SWIG_fail
;
43888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43889 (arg1
)->Below(arg2
,arg3
);
43891 wxPyEndAllowThreads(__tstate
);
43892 if (PyErr_Occurred()) SWIG_fail
;
43894 Py_INCREF(Py_None
); resultobj
= Py_None
;
43901 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43902 PyObject
*resultobj
;
43903 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43904 wxWindow
*arg2
= (wxWindow
*) 0 ;
43906 int arg4
= (int) 0 ;
43907 PyObject
* obj0
= 0 ;
43908 PyObject
* obj1
= 0 ;
43909 PyObject
* obj2
= 0 ;
43910 PyObject
* obj3
= 0 ;
43911 char *kwnames
[] = {
43912 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43917 if (SWIG_arg_fail(1)) SWIG_fail
;
43918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43919 if (SWIG_arg_fail(2)) SWIG_fail
;
43921 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43922 if (SWIG_arg_fail(3)) SWIG_fail
;
43926 arg4
= (int)(SWIG_As_int(obj3
));
43927 if (SWIG_arg_fail(4)) SWIG_fail
;
43931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43932 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43934 wxPyEndAllowThreads(__tstate
);
43935 if (PyErr_Occurred()) SWIG_fail
;
43937 Py_INCREF(Py_None
); resultobj
= Py_None
;
43944 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43945 PyObject
*resultobj
;
43946 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43947 wxWindow
*arg2
= (wxWindow
*) 0 ;
43950 PyObject
* obj0
= 0 ;
43951 PyObject
* obj1
= 0 ;
43952 PyObject
* obj2
= 0 ;
43953 PyObject
* obj3
= 0 ;
43954 char *kwnames
[] = {
43955 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43960 if (SWIG_arg_fail(1)) SWIG_fail
;
43961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43962 if (SWIG_arg_fail(2)) SWIG_fail
;
43964 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43965 if (SWIG_arg_fail(3)) SWIG_fail
;
43968 arg4
= (int)(SWIG_As_int(obj3
));
43969 if (SWIG_arg_fail(4)) SWIG_fail
;
43972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43973 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43975 wxPyEndAllowThreads(__tstate
);
43976 if (PyErr_Occurred()) SWIG_fail
;
43978 Py_INCREF(Py_None
); resultobj
= Py_None
;
43985 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43986 PyObject
*resultobj
;
43987 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43989 PyObject
* obj0
= 0 ;
43990 PyObject
* obj1
= 0 ;
43991 char *kwnames
[] = {
43992 (char *) "self",(char *) "val", NULL
43995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43997 if (SWIG_arg_fail(1)) SWIG_fail
;
43999 arg2
= (int)(SWIG_As_int(obj1
));
44000 if (SWIG_arg_fail(2)) SWIG_fail
;
44003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44004 (arg1
)->Absolute(arg2
);
44006 wxPyEndAllowThreads(__tstate
);
44007 if (PyErr_Occurred()) SWIG_fail
;
44009 Py_INCREF(Py_None
); resultobj
= Py_None
;
44016 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44017 PyObject
*resultobj
;
44018 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44019 PyObject
* obj0
= 0 ;
44020 char *kwnames
[] = {
44021 (char *) "self", NULL
44024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44026 if (SWIG_arg_fail(1)) SWIG_fail
;
44028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44029 (arg1
)->Unconstrained();
44031 wxPyEndAllowThreads(__tstate
);
44032 if (PyErr_Occurred()) SWIG_fail
;
44034 Py_INCREF(Py_None
); resultobj
= Py_None
;
44041 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44042 PyObject
*resultobj
;
44043 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44044 PyObject
* obj0
= 0 ;
44045 char *kwnames
[] = {
44046 (char *) "self", NULL
44049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44051 if (SWIG_arg_fail(1)) SWIG_fail
;
44053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44056 wxPyEndAllowThreads(__tstate
);
44057 if (PyErr_Occurred()) SWIG_fail
;
44059 Py_INCREF(Py_None
); resultobj
= Py_None
;
44066 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44067 PyObject
*resultobj
;
44068 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44070 PyObject
* obj0
= 0 ;
44071 char *kwnames
[] = {
44072 (char *) "self", NULL
44075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44077 if (SWIG_arg_fail(1)) SWIG_fail
;
44079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44080 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44082 wxPyEndAllowThreads(__tstate
);
44083 if (PyErr_Occurred()) SWIG_fail
;
44086 resultobj
= wxPyMake_wxObject(result
, 0);
44094 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44095 PyObject
*resultobj
;
44096 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44098 PyObject
* obj0
= 0 ;
44099 char *kwnames
[] = {
44100 (char *) "self", NULL
44103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44105 if (SWIG_arg_fail(1)) SWIG_fail
;
44107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44108 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44110 wxPyEndAllowThreads(__tstate
);
44111 if (PyErr_Occurred()) SWIG_fail
;
44113 resultobj
= SWIG_From_int((result
));
44120 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44121 PyObject
*resultobj
;
44122 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44124 PyObject
* obj0
= 0 ;
44125 PyObject
* obj1
= 0 ;
44126 char *kwnames
[] = {
44127 (char *) "self",(char *) "which", NULL
44130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44132 if (SWIG_arg_fail(1)) SWIG_fail
;
44134 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44135 if (SWIG_arg_fail(2)) SWIG_fail
;
44138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44139 (arg1
)->SetEdge((wxEdge
)arg2
);
44141 wxPyEndAllowThreads(__tstate
);
44142 if (PyErr_Occurred()) SWIG_fail
;
44144 Py_INCREF(Py_None
); resultobj
= Py_None
;
44151 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44152 PyObject
*resultobj
;
44153 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44155 PyObject
* obj0
= 0 ;
44156 PyObject
* obj1
= 0 ;
44157 char *kwnames
[] = {
44158 (char *) "self",(char *) "v", NULL
44161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44163 if (SWIG_arg_fail(1)) SWIG_fail
;
44165 arg2
= (int)(SWIG_As_int(obj1
));
44166 if (SWIG_arg_fail(2)) SWIG_fail
;
44169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44170 (arg1
)->SetValue(arg2
);
44172 wxPyEndAllowThreads(__tstate
);
44173 if (PyErr_Occurred()) SWIG_fail
;
44175 Py_INCREF(Py_None
); resultobj
= Py_None
;
44182 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44183 PyObject
*resultobj
;
44184 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44186 PyObject
* obj0
= 0 ;
44187 char *kwnames
[] = {
44188 (char *) "self", NULL
44191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44193 if (SWIG_arg_fail(1)) SWIG_fail
;
44195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44196 result
= (int)(arg1
)->GetMargin();
44198 wxPyEndAllowThreads(__tstate
);
44199 if (PyErr_Occurred()) SWIG_fail
;
44202 resultobj
= SWIG_From_int((int)(result
));
44210 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44211 PyObject
*resultobj
;
44212 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44214 PyObject
* obj0
= 0 ;
44215 PyObject
* obj1
= 0 ;
44216 char *kwnames
[] = {
44217 (char *) "self",(char *) "m", NULL
44220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44222 if (SWIG_arg_fail(1)) SWIG_fail
;
44224 arg2
= (int)(SWIG_As_int(obj1
));
44225 if (SWIG_arg_fail(2)) SWIG_fail
;
44228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44229 (arg1
)->SetMargin(arg2
);
44231 wxPyEndAllowThreads(__tstate
);
44232 if (PyErr_Occurred()) SWIG_fail
;
44234 Py_INCREF(Py_None
); resultobj
= Py_None
;
44241 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44242 PyObject
*resultobj
;
44243 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44245 PyObject
* obj0
= 0 ;
44246 char *kwnames
[] = {
44247 (char *) "self", NULL
44250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44252 if (SWIG_arg_fail(1)) SWIG_fail
;
44254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44255 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44257 wxPyEndAllowThreads(__tstate
);
44258 if (PyErr_Occurred()) SWIG_fail
;
44261 resultobj
= SWIG_From_int((int)(result
));
44269 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44270 PyObject
*resultobj
;
44271 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44273 PyObject
* obj0
= 0 ;
44274 char *kwnames
[] = {
44275 (char *) "self", NULL
44278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44280 if (SWIG_arg_fail(1)) SWIG_fail
;
44282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44283 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44285 wxPyEndAllowThreads(__tstate
);
44286 if (PyErr_Occurred()) SWIG_fail
;
44289 resultobj
= SWIG_From_int((int)(result
));
44297 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44298 PyObject
*resultobj
;
44299 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44301 PyObject
* obj0
= 0 ;
44302 char *kwnames
[] = {
44303 (char *) "self", NULL
44306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44308 if (SWIG_arg_fail(1)) SWIG_fail
;
44310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44311 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44313 wxPyEndAllowThreads(__tstate
);
44314 if (PyErr_Occurred()) SWIG_fail
;
44317 resultobj
= SWIG_From_int((int)(result
));
44325 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44326 PyObject
*resultobj
;
44327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44329 PyObject
* obj0
= 0 ;
44330 char *kwnames
[] = {
44331 (char *) "self", NULL
44334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44336 if (SWIG_arg_fail(1)) SWIG_fail
;
44338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44339 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44341 wxPyEndAllowThreads(__tstate
);
44342 if (PyErr_Occurred()) SWIG_fail
;
44345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44353 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44354 PyObject
*resultobj
;
44355 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44357 PyObject
* obj0
= 0 ;
44358 PyObject
* obj1
= 0 ;
44359 char *kwnames
[] = {
44360 (char *) "self",(char *) "d", NULL
44363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44365 if (SWIG_arg_fail(1)) SWIG_fail
;
44367 arg2
= (bool)(SWIG_As_bool(obj1
));
44368 if (SWIG_arg_fail(2)) SWIG_fail
;
44371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44372 (arg1
)->SetDone(arg2
);
44374 wxPyEndAllowThreads(__tstate
);
44375 if (PyErr_Occurred()) SWIG_fail
;
44377 Py_INCREF(Py_None
); resultobj
= Py_None
;
44384 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44385 PyObject
*resultobj
;
44386 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44387 wxRelationship result
;
44388 PyObject
* obj0
= 0 ;
44389 char *kwnames
[] = {
44390 (char *) "self", NULL
44393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44395 if (SWIG_arg_fail(1)) SWIG_fail
;
44397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44398 result
= (wxRelationship
)(arg1
)->GetRelationship();
44400 wxPyEndAllowThreads(__tstate
);
44401 if (PyErr_Occurred()) SWIG_fail
;
44403 resultobj
= SWIG_From_int((result
));
44410 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44411 PyObject
*resultobj
;
44412 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44413 wxRelationship arg2
;
44414 PyObject
* obj0
= 0 ;
44415 PyObject
* obj1
= 0 ;
44416 char *kwnames
[] = {
44417 (char *) "self",(char *) "r", NULL
44420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44422 if (SWIG_arg_fail(1)) SWIG_fail
;
44424 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44425 if (SWIG_arg_fail(2)) SWIG_fail
;
44428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44429 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44431 wxPyEndAllowThreads(__tstate
);
44432 if (PyErr_Occurred()) SWIG_fail
;
44434 Py_INCREF(Py_None
); resultobj
= Py_None
;
44441 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44442 PyObject
*resultobj
;
44443 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44444 wxWindow
*arg2
= (wxWindow
*) 0 ;
44446 PyObject
* obj0
= 0 ;
44447 PyObject
* obj1
= 0 ;
44448 char *kwnames
[] = {
44449 (char *) "self",(char *) "otherW", NULL
44452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44454 if (SWIG_arg_fail(1)) SWIG_fail
;
44455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44456 if (SWIG_arg_fail(2)) SWIG_fail
;
44458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44459 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44461 wxPyEndAllowThreads(__tstate
);
44462 if (PyErr_Occurred()) SWIG_fail
;
44465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44473 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44474 PyObject
*resultobj
;
44475 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44476 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44477 wxWindow
*arg3
= (wxWindow
*) 0 ;
44479 PyObject
* obj0
= 0 ;
44480 PyObject
* obj1
= 0 ;
44481 PyObject
* obj2
= 0 ;
44482 char *kwnames
[] = {
44483 (char *) "self",(char *) "constraints",(char *) "win", NULL
44486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44488 if (SWIG_arg_fail(1)) SWIG_fail
;
44489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44490 if (SWIG_arg_fail(2)) SWIG_fail
;
44491 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44492 if (SWIG_arg_fail(3)) SWIG_fail
;
44494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44495 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44497 wxPyEndAllowThreads(__tstate
);
44498 if (PyErr_Occurred()) SWIG_fail
;
44501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44509 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44510 PyObject
*resultobj
;
44511 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44513 wxWindow
*arg3
= (wxWindow
*) 0 ;
44514 wxWindow
*arg4
= (wxWindow
*) 0 ;
44516 PyObject
* obj0
= 0 ;
44517 PyObject
* obj1
= 0 ;
44518 PyObject
* obj2
= 0 ;
44519 PyObject
* obj3
= 0 ;
44520 char *kwnames
[] = {
44521 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44526 if (SWIG_arg_fail(1)) SWIG_fail
;
44528 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44529 if (SWIG_arg_fail(2)) SWIG_fail
;
44531 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44532 if (SWIG_arg_fail(3)) SWIG_fail
;
44533 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44534 if (SWIG_arg_fail(4)) SWIG_fail
;
44536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44537 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44539 wxPyEndAllowThreads(__tstate
);
44540 if (PyErr_Occurred()) SWIG_fail
;
44543 resultobj
= SWIG_From_int((int)(result
));
44551 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44554 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44556 return Py_BuildValue((char *)"");
44558 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44559 PyObject
*resultobj
;
44560 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44561 wxIndividualLayoutConstraint
*result
;
44562 PyObject
* obj0
= 0 ;
44563 char *kwnames
[] = {
44564 (char *) "self", NULL
44567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44569 if (SWIG_arg_fail(1)) SWIG_fail
;
44570 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44579 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44580 PyObject
*resultobj
;
44581 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44582 wxIndividualLayoutConstraint
*result
;
44583 PyObject
* obj0
= 0 ;
44584 char *kwnames
[] = {
44585 (char *) "self", NULL
44588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44590 if (SWIG_arg_fail(1)) SWIG_fail
;
44591 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44600 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44601 PyObject
*resultobj
;
44602 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44603 wxIndividualLayoutConstraint
*result
;
44604 PyObject
* obj0
= 0 ;
44605 char *kwnames
[] = {
44606 (char *) "self", NULL
44609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44611 if (SWIG_arg_fail(1)) SWIG_fail
;
44612 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44621 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44622 PyObject
*resultobj
;
44623 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44624 wxIndividualLayoutConstraint
*result
;
44625 PyObject
* obj0
= 0 ;
44626 char *kwnames
[] = {
44627 (char *) "self", NULL
44630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44632 if (SWIG_arg_fail(1)) SWIG_fail
;
44633 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44642 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44643 PyObject
*resultobj
;
44644 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44645 wxIndividualLayoutConstraint
*result
;
44646 PyObject
* obj0
= 0 ;
44647 char *kwnames
[] = {
44648 (char *) "self", NULL
44651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44653 if (SWIG_arg_fail(1)) SWIG_fail
;
44654 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44663 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44664 PyObject
*resultobj
;
44665 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44666 wxIndividualLayoutConstraint
*result
;
44667 PyObject
* obj0
= 0 ;
44668 char *kwnames
[] = {
44669 (char *) "self", NULL
44672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44674 if (SWIG_arg_fail(1)) SWIG_fail
;
44675 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44684 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44685 PyObject
*resultobj
;
44686 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44687 wxIndividualLayoutConstraint
*result
;
44688 PyObject
* obj0
= 0 ;
44689 char *kwnames
[] = {
44690 (char *) "self", NULL
44693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44695 if (SWIG_arg_fail(1)) SWIG_fail
;
44696 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44705 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44706 PyObject
*resultobj
;
44707 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44708 wxIndividualLayoutConstraint
*result
;
44709 PyObject
* obj0
= 0 ;
44710 char *kwnames
[] = {
44711 (char *) "self", NULL
44714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44716 if (SWIG_arg_fail(1)) SWIG_fail
;
44717 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44726 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44727 PyObject
*resultobj
;
44728 wxLayoutConstraints
*result
;
44729 char *kwnames
[] = {
44733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44736 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44738 wxPyEndAllowThreads(__tstate
);
44739 if (PyErr_Occurred()) SWIG_fail
;
44741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44748 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44749 PyObject
*resultobj
;
44750 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44751 wxWindow
*arg2
= (wxWindow
*) 0 ;
44752 int *arg3
= (int *) 0 ;
44756 PyObject
* obj0
= 0 ;
44757 PyObject
* obj1
= 0 ;
44758 char *kwnames
[] = {
44759 (char *) "self",(char *) "win", NULL
44762 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44765 if (SWIG_arg_fail(1)) SWIG_fail
;
44766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44767 if (SWIG_arg_fail(2)) SWIG_fail
;
44769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44770 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44772 wxPyEndAllowThreads(__tstate
);
44773 if (PyErr_Occurred()) SWIG_fail
;
44776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44778 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44779 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44786 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44787 PyObject
*resultobj
;
44788 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44790 PyObject
* obj0
= 0 ;
44791 char *kwnames
[] = {
44792 (char *) "self", NULL
44795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44797 if (SWIG_arg_fail(1)) SWIG_fail
;
44799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44800 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44802 wxPyEndAllowThreads(__tstate
);
44803 if (PyErr_Occurred()) SWIG_fail
;
44806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44814 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44817 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44819 return Py_BuildValue((char *)"");
44821 static PyMethodDef SwigMethods
[] = {
44822 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44823 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44824 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44827 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44848 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44861 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44876 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44929 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44957 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44976 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44978 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44986 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44987 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44999 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45011 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45015 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45021 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45031 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45041 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45045 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45120 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45122 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45124 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45126 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45128 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45130 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45132 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45134 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45136 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45138 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45140 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45142 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45144 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45158 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45176 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45179 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45182 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45194 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45199 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45205 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45211 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45274 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45281 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45317 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45327 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45333 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45335 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45337 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45340 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45344 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45347 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45350 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45352 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45357 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45365 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45369 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45372 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45374 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45378 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45395 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45397 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45400 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45402 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45410 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45421 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45424 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45431 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45438 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45443 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45448 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45452 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45497 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45517 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45524 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45528 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45538 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45708 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45750 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45764 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45767 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45822 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45849 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45893 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45920 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45921 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45988 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45991 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45995 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45998 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46008 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46020 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46032 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46042 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46052 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46066 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46073 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46074 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46075 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46076 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46077 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46082 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46109 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46121 { NULL
, NULL
, 0, NULL
}
46125 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46127 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46128 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46130 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46131 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46133 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46134 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46136 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46137 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46139 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46140 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46142 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46143 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46145 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46146 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46148 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46149 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46151 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46152 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46154 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46155 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46157 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46160 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46161 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46163 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46164 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46166 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46167 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46169 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46170 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46172 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46173 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46175 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46176 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46178 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46179 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46181 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46182 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46184 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46187 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46188 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46190 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46193 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46194 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46196 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46197 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46199 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46200 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46202 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46203 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46205 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46206 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46208 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46209 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46211 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46212 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46214 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46215 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46217 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46218 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46220 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46223 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46224 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46226 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46227 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46229 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46230 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46232 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46233 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46235 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46236 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46238 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46239 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46241 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46242 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46244 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46245 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46247 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46248 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46250 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46251 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46253 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46254 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46256 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46257 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46259 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46260 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46262 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46263 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46265 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46266 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46268 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46269 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46271 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46272 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46274 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46275 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46277 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46278 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46280 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46281 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46283 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46284 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46286 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46289 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46290 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46292 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46293 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46295 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46296 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46298 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46299 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46301 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46302 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46304 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46305 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46307 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46308 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46310 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46311 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46313 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46314 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46316 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46317 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46319 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46320 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46322 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46323 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46325 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46326 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46328 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46329 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46331 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46332 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46334 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46335 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46337 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46338 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46340 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46341 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46343 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46344 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46346 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46347 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46349 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46350 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46352 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46353 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46355 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46356 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46358 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46359 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46361 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46362 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46364 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46365 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46367 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46368 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46370 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46371 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46373 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46374 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46376 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46379 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46380 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46382 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46383 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46385 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46386 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46388 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46389 return (void *)((wxObject
*) ((wxSizer
*) x
));
46391 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46392 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46394 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46395 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46397 static void *_p_wxEventTo_p_wxObject(void *x
) {
46398 return (void *)((wxObject
*) ((wxEvent
*) x
));
46400 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46401 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46403 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46404 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46406 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46407 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46409 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46410 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46412 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46413 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46415 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46416 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46418 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46419 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46421 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46422 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46424 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46425 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46427 static void *_p_wxControlTo_p_wxObject(void *x
) {
46428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46430 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46431 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46433 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46434 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46436 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46437 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46439 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46440 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46442 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46445 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46446 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46448 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46449 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46451 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46454 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46455 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46457 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46460 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46461 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46463 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46464 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46466 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46467 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46469 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46470 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46472 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46473 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46475 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46476 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46478 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46481 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46482 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46484 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46487 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46488 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46490 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46491 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46493 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46494 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46496 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46497 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46499 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46500 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46502 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46503 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46505 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46506 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46508 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46509 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46511 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46512 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46514 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46515 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46517 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46518 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46520 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46521 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46523 static void *_p_wxImageTo_p_wxObject(void *x
) {
46524 return (void *)((wxObject
*) ((wxImage
*) x
));
46526 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46527 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46529 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46532 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46533 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46535 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46536 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46538 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46539 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46541 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46542 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46544 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46547 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46548 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46550 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46553 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46554 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46556 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46557 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46559 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46560 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46562 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46563 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46565 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46566 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46568 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46569 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46571 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46572 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46574 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46575 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46577 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46578 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46580 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46583 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46586 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46589 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46590 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46592 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46593 return (void *)((wxWindow
*) ((wxControl
*) x
));
46595 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46596 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46598 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46599 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46601 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46602 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46604 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46605 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46607 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46608 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46610 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46611 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46613 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46614 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46616 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46617 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46619 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46620 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46622 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46623 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46625 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46626 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46628 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46629 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46631 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}};
46632 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}};
46633 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}};
46634 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}};
46635 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}};
46636 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}};
46637 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}};
46638 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}};
46639 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}};
46640 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}};
46641 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}};
46642 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}};
46643 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}};
46644 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}};
46645 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}};
46646 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}};
46647 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}};
46648 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}};
46649 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}};
46650 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}};
46651 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}};
46652 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}};
46653 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}};
46654 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}};
46655 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}};
46656 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}};
46657 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}};
46658 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}};
46659 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}};
46660 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}};
46661 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}};
46662 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}};
46663 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}};
46664 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}};
46665 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}};
46666 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}};
46667 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}};
46668 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}};
46669 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}};
46670 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}};
46671 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}};
46672 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}};
46673 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}};
46674 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}};
46675 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}};
46676 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}};
46677 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}};
46678 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}};
46679 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}};
46680 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}};
46681 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}};
46682 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}};
46683 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}};
46684 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}};
46685 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}};
46686 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}};
46687 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}};
46688 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}};
46689 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}};
46690 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}};
46691 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}};
46692 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}};
46693 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}};
46694 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}};
46695 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}};
46696 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}};
46697 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}};
46698 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}};
46699 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}};
46700 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}};
46701 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}};
46702 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}};
46703 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}};
46704 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}};
46705 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}};
46706 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}};
46707 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}};
46708 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}};
46709 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}};
46710 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}};
46711 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}};
46712 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}};
46713 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}};
46714 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}};
46715 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}};
46716 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}};
46717 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}};
46718 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}};
46719 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}};
46720 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}};
46721 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}};
46722 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}};
46723 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}};
46724 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}};
46725 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}};
46726 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}};
46727 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}};
46728 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}};
46729 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}};
46730 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}};
46731 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}};
46732 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}};
46733 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}};
46734 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}};
46735 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}};
46736 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}};
46737 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}};
46738 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}};
46739 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}};
46740 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}};
46741 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}};
46742 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}};
46743 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}};
46744 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}};
46745 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}};
46746 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}};
46747 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}};
46748 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}};
46749 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}};
46750 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}};
46751 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}};
46752 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}};
46753 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}};
46754 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}};
46755 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}};
46756 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}};
46757 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}};
46759 static swig_type_info
*swig_types_initial
[] = {
46760 _swigt__p_wxLayoutConstraints
,
46761 _swigt__p_wxRealPoint
,
46762 _swigt__p_wxSizerItem
,
46763 _swigt__p_wxGBSizerItem
,
46764 _swigt__p_wxScrollEvent
,
46765 _swigt__p_wxEventLoop
,
46766 _swigt__p_wxIndividualLayoutConstraint
,
46768 _swigt__p_wxBoxSizer
,
46769 _swigt__p_wxStaticBoxSizer
,
46770 _swigt__p_wxGridBagSizer
,
46771 _swigt__p_wxAcceleratorEntry
,
46772 _swigt__p_wxUpdateUIEvent
,
46775 _swigt__p_wxGridSizer
,
46776 _swigt__p_wxFlexGridSizer
,
46777 _swigt__p_wxInitDialogEvent
,
46778 _swigt__p_wxItemContainer
,
46779 _swigt__p_wxNcPaintEvent
,
46780 _swigt__p_wxPaintEvent
,
46781 _swigt__p_wxSysColourChangedEvent
,
46782 _swigt__p_wxMouseCaptureChangedEvent
,
46783 _swigt__p_wxDisplayChangedEvent
,
46784 _swigt__p_wxPaletteChangedEvent
,
46785 _swigt__p_wxControl
,
46787 _swigt__p_wxMenuBarBase
,
46788 _swigt__p_wxSetCursorEvent
,
46789 _swigt__p_wxFSFile
,
46792 _swigt__std__ptrdiff_t
,
46793 _swigt__p_wxRegion
,
46794 _swigt__p_wxPoint2D
,
46798 _swigt__p_wxPySizer
,
46799 _swigt__p_wxVisualAttributes
,
46800 _swigt__p_wxNotifyEvent
,
46801 _swigt__p_wxPyEvent
,
46802 _swigt__p_wxPropagationDisabler
,
46803 _swigt__p_form_ops_t
,
46804 _swigt__p_wxAppTraits
,
46805 _swigt__p_wxArrayString
,
46806 _swigt__p_wxShowEvent
,
46807 _swigt__p_wxToolTip
,
46808 _swigt__p_wxMoveEvent
,
46809 _swigt__p_wxSizeEvent
,
46810 _swigt__p_wxActivateEvent
,
46811 _swigt__p_wxIconizeEvent
,
46812 _swigt__p_wxMaximizeEvent
,
46813 _swigt__p_wxQueryNewPaletteEvent
,
46814 _swigt__p_wxWindowCreateEvent
,
46815 _swigt__p_wxIdleEvent
,
46816 _swigt__p_wxDateEvent
,
46817 _swigt__p_wxMenuItem
,
46818 _swigt__p_wxStaticBox
,
46820 _swigt__p_wxDuplexMode
,
46821 _swigt__p_wxTIFFHandler
,
46822 _swigt__p_wxXPMHandler
,
46823 _swigt__p_wxPNMHandler
,
46824 _swigt__p_wxJPEGHandler
,
46825 _swigt__p_wxPCXHandler
,
46826 _swigt__p_wxGIFHandler
,
46827 _swigt__p_wxPNGHandler
,
46828 _swigt__p_wxANIHandler
,
46829 _swigt__p_wxMemoryFSHandler
,
46830 _swigt__p_wxZipFSHandler
,
46831 _swigt__p_wxInternetFSHandler
,
46832 _swigt__p_wxPyFileSystemHandler
,
46833 _swigt__p_wxEvtHandler
,
46834 _swigt__p_wxCURHandler
,
46835 _swigt__p_wxICOHandler
,
46836 _swigt__p_wxBMPHandler
,
46837 _swigt__p_wxImageHandler
,
46838 _swigt__p_wxFileSystemHandler
,
46840 _swigt__p_wxButton
,
46841 _swigt__p_wxGBSpan
,
46842 _swigt__p_wxPropagateOnce
,
46843 _swigt__p_wxAcceleratorTable
,
46844 _swigt__p_wxStdDialogButtonSizer
,
46846 _swigt__p_wxGBPosition
,
46849 _swigt__p_wxScrollWinEvent
,
46850 _swigt__p_wxPaperSize
,
46851 _swigt__p_wxImageHistogram
,
46853 _swigt__p_wxCursor
,
46854 _swigt__p_wxObject
,
46855 _swigt__p_wxInputStream
,
46856 _swigt__p_wxOutputStream
,
46857 _swigt__p_wxPyInputStream
,
46858 _swigt__p_wxDateTime
,
46859 _swigt__p_wxKeyEvent
,
46860 _swigt__p_wxNavigationKeyEvent
,
46861 _swigt__p_wxWindowDestroyEvent
,
46862 _swigt__p_unsigned_long
,
46863 _swigt__p_wxWindow
,
46864 _swigt__p_wxMenuBar
,
46865 _swigt__p_wxFileSystem
,
46866 _swigt__p_wxBitmap
,
46867 _swigt__unsigned_int
,
46868 _swigt__p_unsigned_int
,
46869 _swigt__p_wxMenuEvent
,
46870 _swigt__p_wxContextMenuEvent
,
46871 _swigt__p_unsigned_char
,
46872 _swigt__p_wxEraseEvent
,
46873 _swigt__p_wxMouseEvent
,
46874 _swigt__p_wxCloseEvent
,
46876 _swigt__p_wxCommandEvent
,
46877 _swigt__p_wxPyCommandEvent
,
46878 _swigt__p_wxPyDropTarget
,
46879 _swigt__p_wxQuantize
,
46880 _swigt__p_wxChildFocusEvent
,
46881 _swigt__p_wxFocusEvent
,
46882 _swigt__p_wxDropFilesEvent
,
46883 _swigt__p_wxControlWithItems
,
46884 _swigt__p_wxColour
,
46885 _swigt__p_wxValidator
,
46886 _swigt__p_wxPyValidator
,
46891 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46893 static swig_const_info swig_const_table
[] = {
46894 {0, 0, 0, 0.0, 0, 0}};
46905 /* Python-specific SWIG API */
46906 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46907 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46908 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46910 /* -----------------------------------------------------------------------------
46911 * global variable support code.
46912 * ----------------------------------------------------------------------------- */
46914 typedef struct swig_globalvar
{
46915 char *name
; /* Name of global variable */
46916 PyObject
*(*get_attr
)(); /* Return the current value */
46917 int (*set_attr
)(PyObject
*); /* Set the value */
46918 struct swig_globalvar
*next
;
46921 typedef struct swig_varlinkobject
{
46923 swig_globalvar
*vars
;
46924 } swig_varlinkobject
;
46927 swig_varlink_repr(swig_varlinkobject
*v
) {
46929 return PyString_FromString("<Swig global variables>");
46933 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46934 swig_globalvar
*var
;
46936 fprintf(fp
,"Swig global variables { ");
46937 for (var
= v
->vars
; var
; var
=var
->next
) {
46938 fprintf(fp
,"%s", var
->name
);
46939 if (var
->next
) fprintf(fp
,", ");
46941 fprintf(fp
," }\n");
46946 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46947 swig_globalvar
*var
= v
->vars
;
46949 if (strcmp(var
->name
,n
) == 0) {
46950 return (*var
->get_attr
)();
46954 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46959 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46960 swig_globalvar
*var
= v
->vars
;
46962 if (strcmp(var
->name
,n
) == 0) {
46963 return (*var
->set_attr
)(p
);
46967 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46971 static PyTypeObject varlinktype
= {
46972 PyObject_HEAD_INIT(0)
46973 0, /* Number of items in variable part (ob_size) */
46974 (char *)"swigvarlink", /* Type name (tp_name) */
46975 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46976 0, /* Itemsize (tp_itemsize) */
46977 0, /* Deallocator (tp_dealloc) */
46978 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46979 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46980 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46981 0, /* tp_compare */
46982 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46983 0, /* tp_as_number */
46984 0, /* tp_as_sequence */
46985 0, /* tp_as_mapping */
46989 0, /* tp_getattro */
46990 0, /* tp_setattro */
46991 0, /* tp_as_buffer */
46994 #if PY_VERSION_HEX >= 0x02000000
46995 0, /* tp_traverse */
46998 #if PY_VERSION_HEX >= 0x02010000
46999 0, /* tp_richcompare */
47000 0, /* tp_weaklistoffset */
47002 #if PY_VERSION_HEX >= 0x02020000
47003 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47005 #if PY_VERSION_HEX >= 0x02030000
47008 #ifdef COUNT_ALLOCS
47009 0,0,0,0 /* tp_alloc -> tp_next */
47013 /* Create a variable linking object for use later */
47015 SWIG_Python_newvarlink(void) {
47016 swig_varlinkobject
*result
= 0;
47017 result
= PyMem_NEW(swig_varlinkobject
,1);
47018 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47019 result
->ob_type
= &varlinktype
;
47021 result
->ob_refcnt
= 0;
47022 Py_XINCREF((PyObject
*) result
);
47023 return ((PyObject
*) result
);
47027 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47028 swig_varlinkobject
*v
;
47029 swig_globalvar
*gv
;
47030 v
= (swig_varlinkobject
*) p
;
47031 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47032 gv
->name
= (char *) malloc(strlen(name
)+1);
47033 strcpy(gv
->name
,name
);
47034 gv
->get_attr
= get_attr
;
47035 gv
->set_attr
= set_attr
;
47036 gv
->next
= v
->vars
;
47040 /* -----------------------------------------------------------------------------
47041 * constants/methods manipulation
47042 * ----------------------------------------------------------------------------- */
47044 /* Install Constants */
47046 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47049 for (i
= 0; constants
[i
].type
; i
++) {
47050 switch(constants
[i
].type
) {
47052 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47054 case SWIG_PY_FLOAT
:
47055 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47057 case SWIG_PY_STRING
:
47058 if (constants
[i
].pvalue
) {
47059 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47061 Py_INCREF(Py_None
);
47065 case SWIG_PY_POINTER
:
47066 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47068 case SWIG_PY_BINARY
:
47069 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47076 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47082 /* -----------------------------------------------------------------------------*/
47083 /* Fix SwigMethods to carry the callback ptrs when needed */
47084 /* -----------------------------------------------------------------------------*/
47087 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47088 swig_const_info
*const_table
,
47089 swig_type_info
**types
,
47090 swig_type_info
**types_initial
) {
47092 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47093 char *c
= methods
[i
].ml_doc
;
47094 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47096 swig_const_info
*ci
= 0;
47097 char *name
= c
+ 10;
47098 for (j
= 0; const_table
[j
].type
; j
++) {
47099 if (strncmp(const_table
[j
].name
, name
,
47100 strlen(const_table
[j
].name
)) == 0) {
47101 ci
= &(const_table
[j
]);
47106 size_t shift
= (ci
->ptype
) - types
;
47107 swig_type_info
*ty
= types_initial
[shift
];
47108 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47109 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47110 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47112 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47113 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47115 strncpy(buff
, "swig_ptr: ", 10);
47117 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47118 methods
[i
].ml_doc
= ndoc
;
47124 /* -----------------------------------------------------------------------------*
47125 * Initialize type list
47126 * -----------------------------------------------------------------------------*/
47128 #if PY_MAJOR_VERSION < 2
47129 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47130 is copied out of Python/modsupport.c in python version 2.3.4 */
47132 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47135 if (!PyModule_Check(m
)) {
47136 PyErr_SetString(PyExc_TypeError
,
47137 "PyModule_AddObject() needs module as first arg");
47141 PyErr_SetString(PyExc_TypeError
,
47142 "PyModule_AddObject() needs non-NULL value");
47146 dict
= PyModule_GetDict(m
);
47147 if (dict
== NULL
) {
47148 /* Internal error -- modules must have a dict! */
47149 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47150 PyModule_GetName(m
));
47153 if (PyDict_SetItemString(dict
, name
, o
))
47160 static swig_type_info
**
47161 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47162 static PyMethodDef swig_empty_runtime_method_table
[] = {
47164 NULL
, NULL
, 0, NULL
47168 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47169 swig_empty_runtime_method_table
);
47170 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47171 if (pointer
&& module) {
47172 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47174 return type_list_handle
;
47177 static swig_type_info
**
47178 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47179 swig_type_info
**type_pointer
;
47181 /* first check if module already created */
47182 type_pointer
= SWIG_Python_GetTypeListHandle();
47183 if (type_pointer
) {
47184 return type_pointer
;
47186 /* create a new module and variable */
47187 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47195 /* -----------------------------------------------------------------------------*
47196 * Partial Init method
47197 * -----------------------------------------------------------------------------*/
47199 #ifdef SWIG_LINK_RUNTIME
47203 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47209 SWIGEXPORT(void) SWIG_init(void) {
47210 static PyObject
*SWIG_globals
= 0;
47211 static int typeinit
= 0;
47214 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47216 /* Fix SwigMethods to carry the callback ptrs when needed */
47217 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47219 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47220 d
= PyModule_GetDict(m
);
47223 #ifdef SWIG_LINK_RUNTIME
47224 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47226 # ifndef SWIG_STATIC_RUNTIME
47227 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47230 for (i
= 0; swig_types_initial
[i
]; i
++) {
47231 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47235 SWIG_InstallConstants(d
,swig_const_table
);
47238 #ifndef wxPyUSE_EXPORT
47239 // Make our API structure a CObject so other modules can import it
47240 // from this module.
47241 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47242 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47247 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47250 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47253 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47256 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47259 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47262 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47265 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47268 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47271 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47274 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47277 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47280 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47283 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47286 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47289 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47292 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47295 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47298 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47301 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47304 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47307 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47310 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47313 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47316 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47319 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47322 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47325 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47328 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47331 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47334 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47337 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47340 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47343 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47346 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47349 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47352 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47355 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47358 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47361 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47364 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47367 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47370 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47373 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47376 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47379 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47382 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47385 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47388 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47391 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47394 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47397 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47400 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47403 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47406 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47409 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47412 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47415 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47418 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47421 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47424 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47427 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47430 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47433 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47436 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47439 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47442 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47445 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47448 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47451 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47454 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47457 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47460 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47463 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47466 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47469 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47472 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47475 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47478 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47481 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47484 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47487 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47490 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47493 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47496 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47499 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47502 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47505 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47508 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47511 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47514 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47517 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47520 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47523 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47526 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47529 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47532 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47535 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47538 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47541 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47544 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47547 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47550 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47553 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47556 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47559 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47562 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47565 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47568 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47571 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47574 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47577 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47580 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47583 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47586 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47589 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47592 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47595 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47598 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47601 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47604 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47607 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47610 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47613 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47616 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47619 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47622 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47625 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47628 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47631 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47634 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47637 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47640 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47643 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47646 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47649 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47652 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47655 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47658 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47661 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47664 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47667 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47670 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47673 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47676 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47679 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47682 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47685 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47688 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47691 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47694 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47697 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47700 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47703 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47706 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47709 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47712 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47715 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47718 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47721 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47724 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47727 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47730 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47733 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47736 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47739 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47742 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47745 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47748 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47751 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47754 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47757 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47760 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47763 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47766 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47769 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47772 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47775 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47778 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47781 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47784 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47787 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47790 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47793 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47796 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47799 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47802 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47805 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47808 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47811 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47814 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47817 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47820 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47823 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47826 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47829 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47832 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47835 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47838 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47841 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47844 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47847 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47850 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47853 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47856 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47859 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47862 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47865 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47868 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47871 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47874 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47877 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47880 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47883 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47886 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47889 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47892 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47895 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47898 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47901 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47904 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47907 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47910 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47913 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47916 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47919 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47922 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47925 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47928 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47931 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47934 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47937 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47940 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47943 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47946 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47949 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47952 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47955 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47958 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47961 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47964 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47967 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47970 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47973 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47976 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47979 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47982 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47985 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47988 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47991 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47994 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47997 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48000 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48003 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48006 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48009 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48012 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48015 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48018 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48021 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48024 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48027 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48030 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48033 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48036 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48039 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48042 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48045 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48048 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48051 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48054 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48057 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48060 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48063 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48066 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48069 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48072 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48075 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48078 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48081 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48084 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48087 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48090 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48093 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48096 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48099 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48102 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48105 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48108 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48111 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48114 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48117 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48120 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48123 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48126 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48129 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48132 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48135 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48138 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48141 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48144 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48147 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48150 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48153 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48156 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48159 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48162 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48165 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48168 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48171 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48174 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48177 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48180 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48183 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48186 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48189 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48192 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48195 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48198 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48201 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48204 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48207 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48210 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48213 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48216 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48219 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48222 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48225 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48228 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48231 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48234 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48237 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48240 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48243 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48246 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48249 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48252 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48255 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48258 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48261 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48264 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48267 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48270 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48273 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48276 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48279 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48282 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48285 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48288 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48291 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48294 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48297 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48300 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48303 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48306 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48309 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48312 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48315 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48318 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48321 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48324 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48327 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48330 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48333 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48336 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48339 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48342 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48345 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48348 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48351 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48354 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48357 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48360 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48363 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48366 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48369 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48372 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48375 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48378 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48381 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48384 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48387 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48390 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48393 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48396 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48399 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48402 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48405 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48408 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48411 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48414 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48417 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48420 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48423 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48426 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48429 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48432 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48435 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48438 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48441 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48444 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48447 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48450 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48453 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48456 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48459 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48462 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48465 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48468 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48471 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48474 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48477 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48480 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48483 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48486 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48489 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48492 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48495 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48498 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48501 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48504 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48507 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48510 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48513 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48516 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48519 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48522 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48525 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48528 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48531 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48534 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48537 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48540 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48543 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48546 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48549 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48552 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48555 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48558 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48561 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48564 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48567 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48570 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48573 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48576 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48579 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48582 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48585 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48588 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48591 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48594 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48597 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48600 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48603 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48606 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48609 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48612 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48615 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48618 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48621 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48624 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48627 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48630 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48633 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48636 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48639 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48642 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48645 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48648 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48651 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48654 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48657 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48660 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48663 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48666 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48669 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48672 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48675 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48678 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48681 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48684 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48687 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48690 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48693 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48696 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48699 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48702 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48705 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48708 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48711 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48714 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48717 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48720 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48723 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48726 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48729 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48732 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48735 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48738 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48741 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48744 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48747 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48750 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48753 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48756 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48759 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48762 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48765 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48768 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48771 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48774 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48777 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48780 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48783 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48786 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48789 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48792 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48795 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48798 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48801 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48804 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48807 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48810 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48813 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48816 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48819 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48822 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48825 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48828 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48831 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48834 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48837 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48840 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48843 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48846 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48849 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48851 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48852 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48854 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48857 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48860 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48863 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48866 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48869 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48872 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48875 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48878 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48881 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48884 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48887 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48890 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48893 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48896 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48899 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48902 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48905 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48908 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48911 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48914 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48917 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48920 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48923 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48926 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48929 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48932 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48935 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48938 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48941 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48944 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48947 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48950 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48953 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48956 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48959 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48962 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48965 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48968 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48971 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48974 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48977 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48980 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48983 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48986 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48989 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48992 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48995 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48998 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49001 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49004 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49006 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49007 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49009 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49012 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49015 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49018 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49021 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49023 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49024 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49025 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49026 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49027 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49028 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49029 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49030 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49031 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49032 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49034 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49037 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49039 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49040 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49041 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49042 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49043 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49044 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49046 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49049 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49052 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49055 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49058 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49061 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49064 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49067 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49070 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49073 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49076 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49079 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49082 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49085 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49088 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49091 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49093 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49094 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49095 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49096 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49097 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49098 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49099 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49100 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49101 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49102 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49104 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49105 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49106 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49107 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49108 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49109 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49111 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49112 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49113 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49114 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49115 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49116 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49117 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49118 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49119 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49120 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49121 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49122 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49123 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49124 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49125 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49126 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49127 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49128 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49129 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49130 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49131 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49132 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49133 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49134 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49135 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49136 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49137 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49138 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49139 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49140 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49141 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49142 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49143 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49144 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49145 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49146 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49147 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49148 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49149 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49150 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49151 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49152 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49153 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49154 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49155 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49156 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49157 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49158 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49159 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49160 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49161 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49162 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49163 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49164 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49165 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49166 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49167 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49168 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49169 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49170 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49171 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49172 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49173 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49174 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49175 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49176 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49177 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49178 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49179 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49180 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49181 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49182 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49183 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49184 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49185 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49186 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49187 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49188 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49189 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49190 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49191 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49192 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49193 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49194 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49195 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49196 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49197 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49198 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49199 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49200 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49201 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49202 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49203 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49204 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49205 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49206 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49208 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49211 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49214 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49217 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49220 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49223 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49226 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49229 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49232 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49235 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49238 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49241 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49244 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49246 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49248 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49251 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49254 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49257 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49260 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49263 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49265 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49266 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49268 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49271 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49274 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49277 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49280 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49282 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49283 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49285 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49288 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49291 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49293 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49295 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49298 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49301 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49304 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49307 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49310 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49313 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49316 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49319 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49322 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49325 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49328 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49331 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49334 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49337 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49340 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49343 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49346 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49349 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49352 // Initialize threading, some globals and such
49356 // Although these are defined in __version__ they need to be here too so
49357 // that an assert can be done to ensure that the wxPython and the wxWindows
49359 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49360 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49361 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));